From 08f8440ba43aef5d5755c7b907e0112b1b7966d7 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 4 Mar 2005 14:24:30 +0000 Subject: [PATCH] New Ukrainian locale: uk_UA.CP1251. Submitted by: Alexander Peresunko --- etc/mtree/BSD.usr.dist | 2 + share/colldef/Makefile | 1 + share/colldef/uk_UA.CP1251.src | 42 +++++++++++++ share/mklocale/Makefile | 2 +- share/monetdef/Makefile | 1 + share/monetdef/uk_UA.CP1251.src | 36 +++++++++++ share/msgdef/Makefile | 1 + share/msgdef/uk_UA.CP1251.src | 14 +++++ share/numericdef/Makefile | 1 + share/timedef/Makefile | 1 + share/timedef/uk_UA.CP1251.src | 102 ++++++++++++++++++++++++++++++++ 11 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 share/colldef/uk_UA.CP1251.src create mode 100644 share/monetdef/uk_UA.CP1251.src create mode 100644 share/msgdef/uk_UA.CP1251.src create mode 100644 share/timedef/uk_UA.CP1251.src diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index df7ce5f53731..9ecabfa07c19 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -613,6 +613,8 @@ .. tr_TR.UTF-8 .. + uk_UA.CP1251 + .. uk_UA.ISO8859-5 .. uk_UA.KOI8-U diff --git a/share/colldef/Makefile b/share/colldef/Makefile index d2896877172c..1ada2dece619 100644 --- a/share/colldef/Makefile +++ b/share/colldef/Makefile @@ -34,6 +34,7 @@ LOCALES= bg_BG.CP1251 \ sr_YU.ISO8859-5 \ sv_SE.ISO8859-1 \ sv_SE.ISO8859-15 \ + uk_UA.CP1251 \ uk_UA.ISO8859-5 \ uk_UA.KOI8-U diff --git a/share/colldef/uk_UA.CP1251.src b/share/colldef/uk_UA.CP1251.src new file mode 100644 index 000000000000..6bf3454748cc --- /dev/null +++ b/share/colldef/uk_UA.CP1251.src @@ -0,0 +1,42 @@ +# CP1251 (for Ukrainian) +# +# $FreeBSD$ +# +charmap map.CP1251 +order \ +# controls + ;...;;\ +# + ;;!;\";<"6>;<"9>;<<<>;/>>;\ + ;;;;\ + %;&;';<'6>;<'9>;\(;\);*;+;<+->;\,;<-->;-;.;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;;;;;\ +# capital + A;...;Z;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;<%">;\ +# + [;\\;];^;_;`;\ +# small + a;...;z;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;<%'>;\ +# + \{;;|;;\};~;<.M>;;;\ + <-N>;<-M>;<.9>;<:9>;;;<.3>;<%0>;<<1>;1>;\ + ;;;;
;\ +# + ;;;\ + ;;;;;\ + ;\ + ;;;;;\ + ;;;\ + ;;;\ + ;;;;<=">;<='>;; diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile index ea3790d587a9..477630b1b4bf 100644 --- a/share/mklocale/Makefile +++ b/share/mklocale/Makefile @@ -70,7 +70,7 @@ ISO8859-4_ISO8859-4= ${LATIN4LINKS:C/^/la_LN:/} LATIN5LINKS= sr_YU uk_UA be_BY ISO8859-5_ISO8859-5= ${LATIN5LINKS:C/^/ru_RU:/} -CP1251LINKS= ru_RU be_BY +CP1251LINKS= ru_RU be_BY uk_UA CP1251_CP1251= ${CP1251LINKS:C/^/bg_BG:/} UTF8LINKS= af_ZA be_BY bg_BG ca_ES cs_CZ da_DK de_AT de_CH de_DE el_GR \ diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile index b210672ba0e8..5908ad9539be 100644 --- a/share/monetdef/Makefile +++ b/share/monetdef/Makefile @@ -64,6 +64,7 @@ LOCALES= af_ZA.ISO8859-1 \ sr_YU.UTF-8 \ sv_SE.ISO8859-1 \ tr_TR.ISO8859-9 \ + uk_UA.CP1251 \ uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ uk_UA.UTF-8 \ diff --git a/share/monetdef/uk_UA.CP1251.src b/share/monetdef/uk_UA.CP1251.src new file mode 100644 index 000000000000..807dded42272 --- /dev/null +++ b/share/monetdef/uk_UA.CP1251.src @@ -0,0 +1,36 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# int_curr_symbol (last character always SPACE) +UAH +# currency_symbol +грн. +# mon_decimal_point +, +# mon_thousands_sep + +# mon_grouping, separated by ; +3;3 +# positive_sign + +# negative_sign +- +# int_frac_digits +2 +# frac_digits +2 +# p_cs_precedes +0 +# p_sep_by_space +1 +# n_cs_precedes +0 +# n_sep_by_space +1 +# p_sign_posn +1 +# n_sign_posn +1 +# EOF diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile index c95a83f1df61..bec0b20047f4 100644 --- a/share/msgdef/Makefile +++ b/share/msgdef/Makefile @@ -51,6 +51,7 @@ LOCALES= af_ZA.ISO8859-1 \ sr_YU.UTF-8 \ sv_SE.ISO8859-1 \ tr_TR.ISO8859-9 \ + uk_UA.CP1251 \ uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ uk_UA.UTF-8 \ diff --git a/share/msgdef/uk_UA.CP1251.src b/share/msgdef/uk_UA.CP1251.src new file mode 100644 index 000000000000..f3fd7765ad95 --- /dev/null +++ b/share/msgdef/uk_UA.CP1251.src @@ -0,0 +1,14 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# yesexpr +^[тТyY].* +# noexpr +^[нНnN].* +# yesstr +так +# nostr +ні +# EOF diff --git a/share/numericdef/Makefile b/share/numericdef/Makefile index 70971da83eab..f87fa129b01b 100644 --- a/share/numericdef/Makefile +++ b/share/numericdef/Makefile @@ -99,6 +99,7 @@ ISO8859-1_UTF-8= af_ZA ca_ES da_DK de_DE en_US es_ES eu_ES fi_FI fr_BE \ fr_FR is_IS it_IT nl_NL no_NO pt_BR pt_PT sv_SE ISO8859-2_UTF-8= cs_CZ hr_HR hu_HU pl_PL ro_RO sk_SK sl_SI ISO8859-5_UTF-8= sr_YU uk_UA +ISO8859-5_CP1251= uk_UA ISO8859-7_UTF-8= el_GR ISO8859-9_UTF-8= tr_TR ISO8859-13_ISO8859-4= lt_LT diff --git a/share/timedef/Makefile b/share/timedef/Makefile index d14f23d00e55..6cf7107b81a5 100644 --- a/share/timedef/Makefile +++ b/share/timedef/Makefile @@ -80,6 +80,7 @@ LOCALES= am_ET.UTF-8 \ sv_SE.UTF-8 \ tr_TR.ISO8859-9 \ tr_TR.UTF-8 \ + uk_UA.CP1251 \ uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ uk_UA.UTF-8 \ diff --git a/share/timedef/uk_UA.CP1251.src b/share/timedef/uk_UA.CP1251.src new file mode 100644 index 000000000000..52d45d9c18d9 --- /dev/null +++ b/share/timedef/uk_UA.CP1251.src @@ -0,0 +1,102 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# Short months names +# +січ +лют +бер +кві +тра +чер +лип +сер +вер +жов +лис +гру +# +# Long months names +# +січня +лютого +березня +квітня +травня +червня +липня +серпня +вересня +жовтня +листопада +грудня +# +# Short weekdays names +# +нд +пн +вт +ср +чт +пт +сб +# +# Long weekdays names +# +неділя +понеділок +вівторок +середа +четвер +п'ятниця +субота +# +# X_fmt +# +%H:%M:%S +# +# x_fmt +# +%d.%m.%Y +# +# c_fmt +# +%a %e %b %X %Y +# +# am +# + +# +# pm +# + +# +# date_fmt +# +%a %e %b %Y %X %Z +# +# Long month names in alternative form +# +січень +лютий +березень +квітень +травень +червень +липень +серпень +вересень +жовтень +листопад +грудень +# +# md_order +# +dm +# +# ampm_fmt +# + +# EOF