MCPcopy Create free account
hub / github.com/MeisApps/pcbu-desktop / ToString

Method ToString

common/src/utils/LocaleHelper.cpp:78–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78std::string LocaleHelper::ToString(Locale locale) {
79 switch(locale) {
80 case Locale::ENGLISH:
81 return "English";
82 case Locale::GERMAN:
83 return "German";
84 case Locale::CHINESE_SIMPLIFIED:
85 return "Chinese (Simplified)";
86 case Locale::PORTUGUESE_PT:
87 return "Portuguese";
88 case Locale::PORTUGUESE_BR:
89 return "Portuguese (Brazil)";
90 default:
91 return "Unknown";
92 }
93}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected