From eb829a739bf948b6dc2c5d03619a51513fb0a678 Mon Sep 17 00:00:00 2001 From: svu Date: Sun, 20 Jun 2004 13:57:33 +0000 Subject: [PATCH] Second phase of i18n. Frank rocks the world:) --- docs/Makefile.am | 2 +- docs/README.symbols | 38 ++++++++++++++++++++++++++++++++++++++ rules/base | 6 +++--- rules/base.xml.in | 40 ++++++++++++++++++++-------------------- symbols/{ar => ara} | 0 symbols/{bs => ba} | 0 symbols/{dev => deva} | 0 symbols/{dz => dzo} | 0 symbols/{el => gr} | 0 symbols/{gur => guru} | 0 symbols/{iu => iku} | 0 symbols/{lo => lao} | 0 symbols/{la => latam} | 0 symbols/{ml => mal} | 0 symbols/{mi => mao} | 0 symbols/{ogham => ogam} | 0 symbols/{sr => scc} | 0 symbols/{sapmi => smi} | 0 symbols/{tml => tam} | 0 xkeyboard-config.spec.in | 2 +- 20 files changed, 63 insertions(+), 25 deletions(-) create mode 100644 docs/README.symbols rename symbols/{ar => ara} (100%) rename symbols/{bs => ba} (100%) rename symbols/{dev => deva} (100%) rename symbols/{dz => dzo} (100%) rename symbols/{el => gr} (100%) rename symbols/{gur => guru} (100%) rename symbols/{iu => iku} (100%) rename symbols/{lo => lao} (100%) rename symbols/{la => latam} (100%) rename symbols/{ml => mal} (100%) rename symbols/{mi => mao} (100%) rename symbols/{ogham => ogam} (100%) rename symbols/{sr => scc} (100%) rename symbols/{sapmi => smi} (100%) rename symbols/{tml => tam} (100%) diff --git a/docs/Makefile.am b/docs/Makefile.am index 73ab745..5ae0e80 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1 +1 @@ -EXTRA_DIST= README.config README.enhancing HOWTO.transition HOWTO.testing +EXTRA_DIST= README.config README.enhancing README.symbols HOWTO.transition HOWTO.testing diff --git a/docs/README.symbols b/docs/README.symbols new file mode 100644 index 0000000..10be81c --- /dev/null +++ b/docs/README.symbols @@ -0,0 +1,38 @@ + +The files in the symbols directory describe possible layouts for a given +keyboard. + +The default layout in each file should describe the most common layout +for its kind, ususally the symbols printed on the keys. Layout variants +can describe common differences that are not necessarily printed on the keys. +(e.g. a phonetic version of Cyrillic). + +The names of the files are referenced throughout the XKB rules, and may be +exposed in the X server configuration and in user configuration tools. +The filenames use the following convention: + +Country layouts: + + Keyboard layouts for a country must use the 2-letter code from the + ISO-3166 standard. + +Language layouts: + + Keyboard layouts for a language must use the 3-letter code from the + ISO-639 standard. + +Script layouts: + + Keyboard layouts for a script must use the 4-letter code from the + ISO-15924 standard. + +Other: + + Keyboard layouts that do not fit in the above model and directories + must use a filename between 5 and 8 characters. + +The ISO codes can be found at the following addressed: + +Country layouts: http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/iso_3166-1_decoding_table.html +Language layouts: http://www.loc.gov/standards/iso639-2/langcodes.html +Script layouts: http://www.unicode.org/iso15924/iso15924-codes.html diff --git a/rules/base b/rules/base index 87d9a06..1470b2c 100644 --- a/rules/base +++ b/rules/base @@ -10,9 +10,9 @@ // If you want non-latin layouts implicitly include the en_US layout // uncomment lines below -//! $nonlatin = am ar ben bg by dev el ge guj gur il \ -// ir iu kan lo mk mm ml ori ru sr syr tel th\ -// tj tml ua +//! $nonlatin = am ara ben bg by deva ge gr guj guru il \ +// ir iku kan lao mk mm mal ori ru scc syr tel th\ +// tj tam ua ! $pcmodels = pc101 pc102 pc104 pc105 ! $maclaptop = ibook powerbook diff --git a/rules/base.xml.in b/rules/base.xml.in index df6716d..ad95455 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -663,7 +663,7 @@ - ar + ara <_shortDescription>Ara <_description>Arabic @@ -794,7 +794,7 @@ - bs + ba <_shortDescription>Bih <_description>Bosnian @@ -989,7 +989,7 @@ - dz + dzo <_shortDescription>Dzo <_description>Dzongkha @@ -1136,7 +1136,7 @@ - el + gr <_shortDescription>Gre <_description>Greek @@ -1171,17 +1171,17 @@ - gur - <_shortDescription>Pan + guru + <_shortDescription>Guru <_description>Gurmukhi - dev - <_shortDescription>Hin - <_description>Hindi + deva + <_shortDescription>Deva + <_description>Devanagari @@ -1338,7 +1338,7 @@ - iu + iku <_shortDescription>Iku <_description>Inuktitut @@ -1454,7 +1454,7 @@ - mi + mao <_shortDescription>Mao <_description>Maori @@ -1477,7 +1477,7 @@ - ml + mal <_shortDescription>Mal <_description>Malayalam @@ -1530,8 +1530,8 @@ - ogham - <_shortDescription>Ogh + ogam + <_shortDescription>Ogam <_description>Ogham @@ -1656,8 +1656,8 @@ - sr - <_shortDescription>Scg + scc + <_shortDescription>Scc <_description>Serbian @@ -1810,8 +1810,8 @@ - tml - <_shortDescription>Tml + tam + <_shortDescription>Tam <_description>Tamil @@ -2032,8 +2032,8 @@ - sapmi - <_shortDescription>Sme + sami + <_shortDescription>Sami <_description>Northern Saami diff --git a/symbols/ar b/symbols/ara similarity index 100% rename from symbols/ar rename to symbols/ara diff --git a/symbols/bs b/symbols/ba similarity index 100% rename from symbols/bs rename to symbols/ba diff --git a/symbols/dev b/symbols/deva similarity index 100% rename from symbols/dev rename to symbols/deva diff --git a/symbols/dz b/symbols/dzo similarity index 100% rename from symbols/dz rename to symbols/dzo diff --git a/symbols/el b/symbols/gr similarity index 100% rename from symbols/el rename to symbols/gr diff --git a/symbols/gur b/symbols/guru similarity index 100% rename from symbols/gur rename to symbols/guru diff --git a/symbols/iu b/symbols/iku similarity index 100% rename from symbols/iu rename to symbols/iku diff --git a/symbols/lo b/symbols/lao similarity index 100% rename from symbols/lo rename to symbols/lao diff --git a/symbols/la b/symbols/latam similarity index 100% rename from symbols/la rename to symbols/latam diff --git a/symbols/ml b/symbols/mal similarity index 100% rename from symbols/ml rename to symbols/mal diff --git a/symbols/mi b/symbols/mao similarity index 100% rename from symbols/mi rename to symbols/mao diff --git a/symbols/ogham b/symbols/ogam similarity index 100% rename from symbols/ogham rename to symbols/ogam diff --git a/symbols/sr b/symbols/scc similarity index 100% rename from symbols/sr rename to symbols/scc diff --git a/symbols/sapmi b/symbols/smi similarity index 100% rename from symbols/sapmi rename to symbols/smi diff --git a/symbols/tml b/symbols/tam similarity index 100% rename from symbols/tml rename to symbols/tam diff --git a/xkeyboard-config.spec.in b/xkeyboard-config.spec.in index 1cb3a30..3ea4d9f 100644 --- a/xkeyboard-config.spec.in +++ b/xkeyboard-config.spec.in @@ -41,5 +41,5 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version} %files %defattr(-, root, root) -%doc AUTHORS ChangeLog NEWS README COPYING docs/README.config docs/README.enhancing docs/HOWTO.transition docs/HOWTO.testing +%doc AUTHORS ChangeLog NEWS README COPYING docs/README.config docs/README.enhancing docs/README.symbols docs/HOWTO.transition docs/HOWTO.testing %{_prefix}/X11R6/lib/X11/xkb/* -- 2.32.0.93.g670b81a890