[PATCH libX11 06/11] i18n: Treat 'a3_AZ' as an alias for 'az_AZ'.

Egbert Eich eich at freedesktop.org
Wed Sep 7 08:02:27 PDT 2011


locale.alias contains a comment:
XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3".
Thus lets treat 'a3' as an alias for 'az'.

Signed-off-by: Egbert Eich <eich at freedesktop.org>
---
 nls/compose.dir.pre  |    4 ++--
 nls/locale.alias.pre |    8 +++++---
 nls/locale.dir.pre   |    2 --
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/nls/compose.dir.pre b/nls/compose.dir.pre
index 2b2d2e7..21d6737 100644
--- a/nls/compose.dir.pre
+++ b/nls/compose.dir.pre
@@ -22,7 +22,7 @@ iso8859-6/Compose:		ar_SA.ISO8859-6
 iso8859-6/Compose:		ar_TN.ISO8859-6
 iso8859-6/Compose:		ar_YE.ISO8859-6
 iso8859-9e/Compose:		az_AZ.ISO8859-9E
-koi8-c/Compose:			a3_AZ.KOI8-C
+koi8-c/Compose:			az_AZ.KOI8-C
 microsoft-cp1251/Compose:	be_BY.CP1251
 iso8859-5/Compose:		bg_BG.ISO8859-5
 microsoft-cp1251/Compose:	bg_BG.CP1251
@@ -256,7 +256,7 @@ en_US.UTF-8/Compose:		ar_YE.UTF-8
 en_US.UTF-8/Compose:		bo_IN.UTF-8
 en_US.UTF-8/Compose:		bs_BA.UTF-8
 en_US.UTF-8/Compose:		az_AZ.UTF-8
-en_US.UTF-8/Compose:		a3_AZ.UTF-8
+en_US.UTF-8/Compose:		az_AZ.UTF-8
 en_US.UTF-8/Compose:		be_BY.UTF-8
 en_US.UTF-8/Compose:		bg_BG.UTF-8
 en_US.UTF-8/Compose:		bn_IN.UTF-8
diff --git a/nls/locale.alias.pre b/nls/locale.alias.pre
index b6ef4f5..3bdbc02 100644
--- a/nls/locale.alias.pre
+++ b/nls/locale.alias.pre
@@ -17,9 +17,11 @@ Cextend.en:					en_US.ISO8859-1
 English_United-States.437:			C
 C.UTF-8:					en_US.UTF-8
 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3".
-a3:						a3_AZ.KOI8-C
-a3_AZ:						a3_AZ.KOI8-C
-a3_AZ.koi8c:					a3_AZ.KOI8-C
+a3:						az_AZ.KOI8-C
+a3_AZ:						az_AZ.KOI8-C
+a3_AZ.koi8c:					az_AZ.KOI8-C
+a3_AZ.KOI-C:					az_AZ.KOI8-C
+a3_AZ.UTF-8:					az_AZ.UTF-8
 af:						af_ZA.ISO8859-1
 af_ZA:						af_ZA.ISO8859-1
 af_ZA.iso88591:					af_ZA.ISO8859-1
diff --git a/nls/locale.dir.pre b/nls/locale.dir.pre
index bc527b2..2657472 100644
--- a/nls/locale.dir.pre
+++ b/nls/locale.dir.pre
@@ -27,7 +27,6 @@ iso8859-6/XLC_LOCALE:			ar_YE.ISO8859-6
 iso8859-6/XLC_LOCALE:			ar_AE.ISO8859-6
 iso8859-9e/XLC_LOCALE:			az_AZ.ISO8859-9E
 koi8-c/XLC_LOCALE:			az_AZ.KOI8-C
-koi8-c/XLC_LOCALE:			a3_AZ.KOI8-C
 iso8859-5/XLC_LOCALE:			be_BY.ISO8859-5
 microsoft-cp1251/XLC_LOCALE:		be_BY.CP1251
 iso8859-5/XLC_LOCALE:			bg_BG.ISO8859-5
@@ -294,7 +293,6 @@ en_US.UTF-8/XLC_LOCALE:			ar_TN.UTF-8
 en_US.UTF-8/XLC_LOCALE:			ar_YE.UTF-8
 en_US.UTF-8/XLC_LOCALE:			as_IN.UTF-8
 en_US.UTF-8/XLC_LOCALE:			az_AZ.UTF-8
-en_US.UTF-8/XLC_LOCALE:			a3_AZ.UTF-8
 en_US.UTF-8/XLC_LOCALE:			be_BY.UTF-8
 en_US.UTF-8/XLC_LOCALE:			bg_BG.UTF-8
 en_US.UTF-8/XLC_LOCALE:			bn_BD.UTF-8
-- 
1.7.3.4



More information about the xorg-devel mailing list