diff options
author | Eike Rathke <erack@redhat.com> | 2012-04-04 16:58:40 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-04-04 16:59:59 +0200 |
commit | 9dce646fbc187a0ca0ef0b22a0a2bdd8845689d0 (patch) | |
tree | fbf5ac2688a6a81ecebeb3f57037a147a3a5fbc5 /i18npool | |
parent | 34f4cc01241c916c7d2a39360bc98af6d67dbb6a (diff) |
fdo#48111 added English_Malawi [en-MW] locale data
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/Library_localedata_en.mk | 1 | ||||
-rw-r--r-- | i18npool/inc/i18npool/lang.h | 1 | ||||
-rw-r--r-- | i18npool/source/isolang/isolang.cxx | 1 | ||||
-rw-r--r-- | i18npool/source/localedata/data/en_MW.xml | 33 | ||||
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 1 |
5 files changed, 37 insertions, 0 deletions
diff --git a/i18npool/Library_localedata_en.mk b/i18npool/Library_localedata_en.mk index c91c4080184a..f44fab2da2e6 100644 --- a/i18npool/Library_localedata_en.mk +++ b/i18npool/Library_localedata_en.mk @@ -40,6 +40,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_en,\ CustomTarget/i18npool/localedata/localedata_en_GH \ CustomTarget/i18npool/localedata/localedata_en_IE \ CustomTarget/i18npool/localedata/localedata_en_JM \ + CustomTarget/i18npool/localedata/localedata_en_MW \ CustomTarget/i18npool/localedata/localedata_en_NA \ CustomTarget/i18npool/localedata/localedata_en_NZ \ CustomTarget/i18npool/localedata/localedata_en_PH \ diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h index 6fa05a8bffce..4fb9eca7d251 100644 --- a/i18npool/inc/i18npool/lang.h +++ b/i18npool/inc/i18npool/lang.h @@ -541,6 +541,7 @@ typedef unsigned short LanguageType; #define LANGUAGE_USER_KOMI_ZYRIAN 0x0669 #define LANGUAGE_USER_KOMI_PERMYAK 0x066A #define LANGUAGE_USER_PITJANTJATJARA 0x066B +#define LANGUAGE_USER_ENGLISH_MALAWI 0x8809 /* makeLangID( 0x22, getPrimaryLanguage( LANGUAGE_ENGLISH_UK)) */ #endif /* INCLUDED_I18NPOOL_LANG_H */ diff --git a/i18npool/source/isolang/isolang.cxx b/i18npool/source/isolang/isolang.cxx index 35a92506a03f..f27cd887b3ad 100644 --- a/i18npool/source/isolang/isolang.cxx +++ b/i18npool/source/isolang/isolang.cxx @@ -439,6 +439,7 @@ static MsLangId::IsoLangEntry const aImplIsoLangEntries[] = { LANGUAGE_USER_LINGALA_DRCONGO, "ln", "CD" }, { LANGUAGE_USER_LOW_GERMAN, "nds", "DE" }, { LANGUAGE_USER_HILIGAYNON, "hil", "PH" }, + { LANGUAGE_USER_ENGLISH_MALAWI, "en", "MW" }, /* en default for MW */ { LANGUAGE_USER_NYANJA, "ny", "MW" }, { LANGUAGE_USER_KASHUBIAN, "csb", "PL" }, { LANGUAGE_USER_SPANISH_CUBA, "es", "CU" }, diff --git a/i18npool/source/localedata/data/en_MW.xml b/i18npool/source/localedata/data/en_MW.xml new file mode 100644 index 000000000000..bc2f108502f6 --- /dev/null +++ b/i18npool/source/localedata/data/en_MW.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE Locale SYSTEM 'locale.dtd'> +<Locale versionDTD="2.0.3" allowUpdateFromCLDR="no" version="1.0"> + <LC_INFO> + <Language> + <LangID>en</LangID> + <DefaultName>English</DefaultName> + </Language> + <Country> + <CountryID>MW</CountryID> + <DefaultName>Malawi</DefaultName> + </Country> + </LC_INFO> + <LC_CTYPE ref="en_GB" /> + <LC_FORMAT ref="en_GB" replaceFrom="[CURRENCY]" replaceTo="[$MK-8809]" /> + <LC_COLLATION ref="en_GB" /> + <LC_SEARCH ref="en_GB"/> + <LC_INDEX ref="en_GB"/> + <LC_CALENDAR ref="en_GB"/> + <LC_CURRENCY> + <Currency default="true" usedInCompatibleFormatCodes="true"> + <CurrencyID>MWK</CurrencyID> + <CurrencySymbol>MK</CurrencySymbol> + <BankSymbol>MWK</BankSymbol> + <CurrencyName>Malawian kwacha</CurrencyName> + <DecimalPlaces>2</DecimalPlaces> + </Currency> + </LC_CURRENCY> + <LC_TRANSLITERATION ref="en_GB"/> + <LC_MISC ref="en_GB"/> + <LC_NumberingLevel ref="en_GB"/> + <LC_OutLineNumberingLevel ref="en_GB"/> +</Locale> diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index b6605b569bf9..dd3f7cf5791e 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -73,6 +73,7 @@ static const struct { { "en_ZW", lcl_DATA_EN }, { "en_NA", lcl_DATA_EN }, { "en_GH", lcl_DATA_EN }, + { "en_MW", lcl_DATA_EN }, { "es_ES", lcl_DATA_ES }, { "es_AR", lcl_DATA_ES }, |