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

Function languageName

3ds/source/SettingsScreen.cpp:95–114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 1

drawGeneralMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected