| 76 | } |
| 77 | |
| 78 | std::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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected