diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-27 13:18:12 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-27 13:21:46 -0500 |
commit | d4e3d567cee786a1bb73d023528306dad9816ec1 (patch) | |
tree | b5602f36d71a5a0dde382c06eff4f6e336488b13 /src | |
parent | 1cd40f107f2681bf3df84aa148feb20a179d6c23 (diff) |
control_metadata: Correct typo in language name (Portugese -> Portuguese)
While we're at it, organize the array linearly, since clang formats the
array elements quite wide length-wise with the addition of the missing
'u'.
Technically also fixes patch lookup and icon lookup with Portuguese,
though I doubt anyone has actually run into this issue.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/file_sys/control_metadata.cpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp index c8fa912bf..e065e592f 100644 --- a/src/core/file_sys/control_metadata.cpp +++ b/src/core/file_sys/control_metadata.cpp @@ -8,13 +8,23 @@ namespace FileSys { -const std::array<const char*, 15> LANGUAGE_NAMES = { - "AmericanEnglish", "BritishEnglish", "Japanese", - "French", "German", "LatinAmericanSpanish", - "Spanish", "Italian", "Dutch", - "CanadianFrench", "Portugese", "Russian", - "Korean", "Taiwanese", "Chinese", -}; +const std::array<const char*, 15> LANGUAGE_NAMES{{ + "AmericanEnglish", + "BritishEnglish", + "Japanese", + "French", + "German", + "LatinAmericanSpanish", + "Spanish", + "Italian", + "Dutch", + "CanadianFrench", + "Portuguese", + "Russian", + "Korean", + "Taiwanese", + "Chinese", +}}; std::string LanguageEntry::GetApplicationName() const { return Common::StringFromFixedZeroTerminatedBuffer(application_name.data(), |