4 #include <SFML/System/String.hpp> 11 #include "GUIManager.hpp" 19 static bool loadFile(
const sf::String& path);
20 static bool loadFileList(
const sf::String& path);
22 static sf::String translate(
const sf::String& str);
24 static bool set(
const sf::String& lang);
26 static void previous();
28 static sf::String getSelected();
29 static sf::String getDefaultLang();
30 static sf::String getAlternativeLang();
32 static void setTmpPrefix(
const sf::String& value);
33 static sf::String getTmpPrefix();
35 static void setDefLangUniq(
bool fileLoad =
false);
36 static void setAltLangUniq(
bool fileLoad =
false);
37 static void setTranslation(
const sf::String& a,
const sf::String& b);
38 static sf::String getList(
const sf::String& separator =
";");
39 static void setActive(
const std::vector<sf::String>& langs);
43 static std::map<sf::String, sf::String> lmap;
44 static std::set<sf::String> lset;
45 static sf::String defLang;
46 static sf::String altLang;
47 static sf::String selected;
48 static sf::String tmpPrefix;
49 static bool defFileInited;
50 static bool altFileInited;
55 #define l(S) Lang::translate(S)
Definition: GUIManager.hpp:63