From bdc2f971eec30e23fd0bc55af3f589d93542cd7b Mon Sep 17 00:00:00 2001 From: Kevin Bortis Date: Mon, 9 May 2011 14:04:43 -0400 Subject: [PATCH] Add wae_CH locale --- ChangeLog | 4 + NEWS | 10 +- locale/iso-639.def | 1 + localedata/ChangeLog | 5 + localedata/SUPPORTED | 1 + localedata/locales/wae_CH | 240 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 256 insertions(+), 5 deletions(-) create mode 100644 localedata/locales/wae_CH diff --git a/ChangeLog b/ChangeLog index 10428ef..71710bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-05-09 Ulrich Drepper + [BZ #12178] + * locale/iso-639.def: Add wae entry. + Patch by Kevin Bortis . + [BZ #12545] * locale/programs/localedef.c (construct_output_path): Use ssize_t for n. diff --git a/NEWS b/NEWS index 1aca1e0..443747e 100644 --- a/NEWS +++ b/NEWS @@ -9,10 +9,10 @@ Version 2.14 * The following bugs are resolved with this release: - 11724, 12346, 12393, 12420, 12445, 12449, 12454, 12460, 12469, 12489, - 12509, 12510, 12518, 12541, 12545, 12551, 12583, 12587, 12597, 12611, - 12631, 12650, 12653, 12655, 12660, 12681, 12685, 12711, 12713, 12714, - 12717, 12723, 12734, 12738 + 11724, 12178, 12346, 12393, 12420, 12445, 12449, 12454, 12460, 12469, + 12489, 12509, 12510, 12518, 12541, 12545, 12551, 12583, 12587, 12597, + 12611, 12631, 12650, 12653, 12655, 12660, 12681, 12685, 12711, 12713, + 12714, 12717, 12723, 12734, 12738 * The RPC implementation in libc is obsoleted. Old programs keep working but new programs cannot be linked with the routines in libc anymore. @@ -27,7 +27,7 @@ Version 2.14 * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at, syncfs -* New locales: os_RU, bem_ZA, en_ZA, ff_SN, sw_KE, sw_TZ, lb_LU +* New locales: os_RU, bem_ZA, en_ZA, ff_SN, sw_KE, sw_TZ, lb_LU, wae_CH Version 2.13 diff --git a/locale/iso-639.def b/locale/iso-639.def index bb12d82..4ff961b 100644 --- a/locale/iso-639.def +++ b/locale/iso-639.def @@ -476,6 +476,7 @@ DEFINE_LANGUAGE_CODE ("Vietnamese", vi, vie, vie) DEFINE_LANGUAGE_CODE ("Volapük", vo, vol, vol) DEFINE_LANGUAGE_CODE3 ("Votic", vot, vot) DEFINE_LANGUAGE_CODE3 ("Wakashan languages", wak, wak) +DEFINE_LANGUAGE_CODE3 ("Walser", wae, wae) DEFINE_LANGUAGE_CODE3 ("Walamo", wal, wal) DEFINE_LANGUAGE_CODE ("Walloon", wa, wln, wln) DEFINE_LANGUAGE_CODE3 ("Waray", war, war) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 9ac93fd..3f63bac 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,5 +1,10 @@ 2011-05-09 Ulrich Drepper + [BZ #12178] + * locales/wae_CH: New file. + * SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry. + Patch mostly by Kevin Bortis . + [BZ #12346] * locales/et_EE (LC_MONETARY): Change to Euro. Patch by Priit Laes . diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 794cf43..24468f5 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -406,6 +406,7 @@ vi_VN/UTF-8 \ wa_BE/ISO-8859-1 \ wa_BE@euro/ISO-8859-15 \ wa_BE.UTF-8/UTF-8 \ +wae_CH/UTF-8 \ wo_SN/UTF-8 \ xh_ZA.UTF-8/UTF-8 \ xh_ZA/ISO-8859-1 \ diff --git a/localedata/locales/wae_CH b/localedata/locales/wae_CH new file mode 100644 index 0000000..bbda7b7 --- /dev/null +++ b/localedata/locales/wae_CH @@ -0,0 +1,240 @@ +escape_char / +comment_char % + +% Charset: UTF-8 + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% ChangeLog +% 0.1 2010-10-25 Kevin Bortis +% - First version of wae_CH locale file +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +LC_IDENTIFICATION +title "Walser locale for Switzerland" +source "" +address "" +contact "Walser Translation Team" +email "ml@translate-wae.ch" +tel "" +fax "" +language "Walser" +territory "Switzerland" +revision "0.1" +date "2010-10-25" +% +category "wae_CH:2000";LC_IDENTIFICATION +category "wae_CH:2000";LC_CTYPE +category "wae_CH:2000";LC_COLLATE +category "wae_CH:2000";LC_TIME +category "wae_CH:2000";LC_NUMERIC +category "wae_CH:2000";LC_MONETARY +category "wae_CH:2000";LC_MESSAGES +category "wae_CH:2000";LC_MEASUREMENT +category "wae_CH:2000";LC_PAPER +category "wae_CH:2000";LC_NAME +category "wae_CH:2000";LC_ADDRESS +category "wae_CH:2000";LC_TELEPHONE +% +END LC_IDENTIFICATION + +LC_CTYPE +% Using same characters as in German language (Switzerland) +copy "de_CH" +END LC_CTYPE + +LC_COLLATE +% Copy the template from ISO/IEC 14651 +copy "iso14651_t1" +END LC_COLLATE + +LC_TIME +% abday - The abbreviations for the week days: +% - Sun, Män, Zis, Mit, Fro, Fri, Sam +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +% day - The full names of the week days: +% - Suntag, Mäntag, Zischtag, Mittwuch, Frontag, Fritag, Samschtag +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +% abmon - The abbreviations for the months +% - Jen, Hor, Mär, Abr, Mei, Brá, Hei, Öig, Her, Wím, Win, Chr +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +% mon - The full names of the months - +% - Jener, Hornig, Märze, Abrille, Meije, Braachet, Heiwet, +% Öigschte, Herbschtmaanet, Wiimaanet, Wintermaanet, Chrischtmaanet +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +% Abreviated date and time representation to be referenced by the "%c" field descriptor - +d_t_fmt "" +% +% "%a" (short weekday name), +% "%d" (day of month as a decimal number), +% "%b" (short month name), +% "%Y" (year with century as a decimal number), +% "%T" (24-hour clock time in format HH:MM:SS), +% "%Z" (Time zone name) + +% Date representation to be referenced by the "%x" field descriptor - +% "%Y-%m-%d", year.month.day as decimal numbers (2000-12-01). +d_fmt "" + +% Time representation to be referenced by the "%X" field descriptor - +% "%T" (24-hour clock time in format HH:MM:SS) +t_fmt "" + +% Define representation of ante meridiem and post meridiem strings - +% The ""s mean default to "AM" and "PM". +am_pm "";"" + +% Define time representation in 12-hour format with "am_pm", to be referenced by the "%r" +% field descriptor - +% The "" means that this format is not supported. +t_fmt_ampm "" + +% Date representation not described in ISO/IEC 14652. Comes out as - +% "%a %b %e %H:%M:%S %Z %Y" + +date_fmt "/ +/ +" +% which is +% %a - abbreviated weekday name, +% %b - abreviated month name, +% %e - day of month as a decimal number with leading space (1 to 31), +% %H - hour (24-hour clock) as a decimal number (00 to 23), +% %M - minute as a decimal number (00 to 59), +% %S - seconds as a decimal number (00 to 59), +% %Z - time-zone name, +% %Y - year with century as a decimal number,e.g. 2001. + +week 7;19971130;4 +first_weekday 2 +first_workday 2 +END LC_TIME + +LC_MONETARY +copy "de_CH" +END LC_MONETARY + +LC_NUMERIC +copy "de_CH" +END LC_NUMERIC + +LC_MESSAGES +% jJyY, nN, Ja, Nei +yesexpr "" +noexpr "" +yesstr "" +nostr "" +END LC_MESSAGES + +LC_PAPER +copy "de_CH" +END LC_PAPER + +LC_TELEPHONE +copy "de_CH" +END LC_TELEPHONE + +LC_MEASUREMENT +copy "de_CH" +END LC_MEASUREMENT + +LC_NAME +name_fmt "/ +" +% Format for addressing a person. +% "%d%t%g%t%m%t%f" +% "Salutation", +% "Empty string, or ", +% "First given name", +% "Empty string, or ", +% "Middle names", +% "Empty string, or ", +% "Clan names" +% +name_miss "" +% Salutation for unmarried females - "Frölein" +% +name_mr "" +% Salutation for males - "Herr" +% +name_mrs "" +% Salutation for married females - "Fröiw" +% +name_ms "" +% Salutation valid for all females - "Fröiw" +END LC_NAME + +LC_ADDRESS +country_name "/ +" +% Country name "Switzerland" +% +country_post "" +% Abbreviated country postal name - "CH" +% +lang_name "" +% Language name - "Walser" + +% UN Geneve 1949:68 Distinguishing signs of vehicles in international traffic +% "CH" +country_car "" + +% ISO 639 two and three letter language names +% see http://www.loc.gov/standards/iso639-2/englangn.html +% "", "wae", "wae" +lang_ab "" +lang_term "" +lang_lib "" + +postal_fmt "/ +/ +/ +/ +" + +% ISO 3166 country number and 2 and 3 letter abreviations +% http://www.unicode.org/onlinedat/countries.html +% "CH", "CHE" +country_ab2 "" +country_ab3 "" +country_num 756 +country_isbn 3 + +END LC_ADDRESS -- 2.7.4