From 4cc33214a5acf278b9549e21627ff44a01ce5f5f Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 16 Jan 2017 21:16:11 +0100 Subject: tdf#104950 add English (Malaysia) [en-MY] locale data en-MY is a known locale with already assigned LangID and mapping, adding just its locale data will have it appear as 'en-MY' in the number formatter's Language listbox instead of "English (Malaysia)", but solves the users' problem. Change-Id: I32a7e9985d37c962d077531bc8d15162f8e2b48c --- i18npool/Library_localedata_others.mk | 1 + i18npool/source/localedata/data/en_MY.xml | 34 +++++++++++++++++++++++++++++++ i18npool/source/localedata/localedata.cxx | 1 + 3 files changed, 36 insertions(+) create mode 100644 i18npool/source/localedata/data/en_MY.xml (limited to 'i18npool') diff --git a/i18npool/Library_localedata_others.mk b/i18npool/Library_localedata_others.mk index b485379792b6..b447d061c4d1 100644 --- a/i18npool/Library_localedata_others.mk +++ b/i18npool/Library_localedata_others.mk @@ -50,6 +50,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,localedata_others,\ CustomTarget/i18npool/localedata/localedata_ebo_CG \ CustomTarget/i18npool/localedata/localedata_ee_GH \ CustomTarget/i18npool/localedata/localedata_en_IN \ + CustomTarget/i18npool/localedata/localedata_en_MY \ CustomTarget/i18npool/localedata/localedata_eo \ CustomTarget/i18npool/localedata/localedata_fa_IR \ CustomTarget/i18npool/localedata/localedata_gu_IN \ diff --git a/i18npool/source/localedata/data/en_MY.xml b/i18npool/source/localedata/data/en_MY.xml new file mode 100644 index 000000000000..09a9369933a5 --- /dev/null +++ b/i18npool/source/localedata/data/en_MY.xml @@ -0,0 +1,34 @@ + + + + + + + en + English + + + MY + Malaysia + + + + + + + + + + + + + + + diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 1051e1175e87..3a0c0ee2eeeb 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -215,6 +215,7 @@ static const struct { { "hu_HU", lcl_DATA_OTHERS }, { "id_ID", lcl_DATA_OTHERS }, { "ms_MY", lcl_DATA_OTHERS }, + { "en_MY", lcl_DATA_OTHERS }, { "ia", lcl_DATA_OTHERS }, { "mn_Cyrl_MN", lcl_DATA_OTHERS }, { "az_AZ", lcl_DATA_OTHERS }, -- cgit v1.2.3