MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / GetLanguage

Method GetLanguage

Goldleaf/source/cfg/cfg_Settings.cpp:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 }
215
216 Language Settings::GetLanguage() {
217 if(this->lang == Language::Auto) {
218 EnsureDefaultLanguage();
219 return g_DefaultLanguage;
220 }
221 else {
222 return this->lang;
223 }
224 }
225
226}

Callers 2

PrepareInstallationMethod · 0.80
LoadStringsFunction · 0.80

Calls 1

EnsureDefaultLanguageFunction · 0.85

Tested by

no test coverage detected