MythTV
master
|
ISO 3166-1 support functions. More...
Go to the source code of this file.
Typedefs | |
using | ISO3166ToNameMap = QMap< QString, QString > |
Functions | |
MBASE_PUBLIC ISO3166ToNameMap | GetISO3166EnglishCountryMap (void) |
Returns a map of ISO-3166 country codes mapped to the country name in English. More... | |
MBASE_PUBLIC QString | GetISO3166EnglishCountryName (const QString &iso3166Code) |
MBASE_PUBLIC ISO3166ToNameMap | GetISO3166CountryMap (void) |
MBASE_PUBLIC QString | GetISO3166CountryName (const QString &iso3166Code) |
ISO 3166-1 support functions.
ISO 3166-1 alpha-2 is the two letter standard for specifying a country. This is used by MythTV for locale support.
In many contexts, such as with translations, these country codes can be prefixed with a 2 digit ISO639 language code and an underscore.
Definition in file iso3166.h.
using ISO3166ToNameMap = QMap<QString, QString> |
MBASE_PUBLIC ISO3166ToNameMap GetISO3166EnglishCountryMap | ( | void | ) |
Returns a map of ISO-3166 country codes mapped to the country name in English.
Definition at line 344 of file iso3166.cpp.
Referenced by V2Config::GetCountries(), and LanguageSelection::Load().
MBASE_PUBLIC QString GetISO3166EnglishCountryName | ( | const QString & | iso3166Code | ) |
Definition at line 352 of file iso3166.cpp.
Referenced by MythLocale::GetCountry().
MBASE_PUBLIC ISO3166ToNameMap GetISO3166CountryMap | ( | void | ) |
Definition at line 360 of file iso3166.cpp.
MBASE_PUBLIC QString GetISO3166CountryName | ( | const QString & | iso3166Code | ) |
Definition at line 368 of file iso3166.cpp.
Referenced by V2Config::GetCountries(), MythLocale::GetNativeCountry(), and LanguageSelection::Load().