mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-04-26 10:15:22 -05:00
16 lines
484 B
C++
16 lines
484 B
C++
#pragma once
|
|
|
|
#include <map>
|
|
|
|
//Strings since translation support
|
|
namespace ui
|
|
{
|
|
void initStrings();
|
|
void loadTrans();
|
|
void saveTranslationFiles(void *a);
|
|
extern std::map<std::pair<std::string, int>, std::string> strings;
|
|
|
|
inline std::string getUIString(const std::string& _name, int ind){ return strings[std::make_pair(_name, ind)]; }
|
|
inline const char *getUICString(const std::string& _name, int ind){ return strings[std::make_pair(_name, ind)].c_str(); }
|
|
}
|