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.
This commit is contained in:
parent
1cd40f107f
commit
d4e3d567ce
|
@ -8,13 +8,23 @@
|
||||||
|
|
||||||
namespace FileSys {
|
namespace FileSys {
|
||||||
|
|
||||||
const std::array<const char*, 15> LANGUAGE_NAMES = {
|
const std::array<const char*, 15> LANGUAGE_NAMES{{
|
||||||
"AmericanEnglish", "BritishEnglish", "Japanese",
|
"AmericanEnglish",
|
||||||
"French", "German", "LatinAmericanSpanish",
|
"BritishEnglish",
|
||||||
"Spanish", "Italian", "Dutch",
|
"Japanese",
|
||||||
"CanadianFrench", "Portugese", "Russian",
|
"French",
|
||||||
"Korean", "Taiwanese", "Chinese",
|
"German",
|
||||||
};
|
"LatinAmericanSpanish",
|
||||||
|
"Spanish",
|
||||||
|
"Italian",
|
||||||
|
"Dutch",
|
||||||
|
"CanadianFrench",
|
||||||
|
"Portuguese",
|
||||||
|
"Russian",
|
||||||
|
"Korean",
|
||||||
|
"Taiwanese",
|
||||||
|
"Chinese",
|
||||||
|
}};
|
||||||
|
|
||||||
std::string LanguageEntry::GetApplicationName() const {
|
std::string LanguageEntry::GetApplicationName() const {
|
||||||
return Common::StringFromFixedZeroTerminatedBuffer(application_name.data(),
|
return Common::StringFromFixedZeroTerminatedBuffer(application_name.data(),
|
||||||
|
|
Reference in New Issue