MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getLanguage

Function getLanguage

Tactility/Source/settings/Language.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21Language getLanguage() {
22 SystemSettings properties;
23 if (!loadSystemSettings(properties)) {
24 return Language::en_US;
25 } else {
26 return properties.language;
27 }
28}
29
30std::string toString(Language language) {
31 switch (language) {

Callers 3

getDesiredLocaleFunction · 0.85
updateViewsMethod · 0.85
onShowMethod · 0.85

Calls 1

loadSystemSettingsFunction · 0.85

Tested by

no test coverage detected