MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / languageName

Function languageName

3ds/source/SettingsScreen.cpp:96–117  ·  view source on GitHub ↗

Display name for a language code, in its own language (never localized).

Source from the content-addressed store, hash-verified

94
95 // Display name for a language code, in its own language (never localized).
96 const char* languageName(const std::string& code)
97 {
98 if (code == "it")
99 return "Italiano";
100 if (code == "es")
101 return "Español";
102 if (code == "fr")
103 return "Français";
104 if (code == "de")
105 return "Deutsch";
106 if (code == "pt")
107 return "Português";
108 if (code == "nl")
109 return "Nederlands";
110 if (code == "ja")
111 return "日本語";
112 if (code == "zh")
113 return "简体中文";
114 if (code == "ru")
115 return "Русский";
116 return "English";
117 }
118
119 size_t languageIndex(const std::string& code)
120 {

Callers 1

drawGeneralMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected