From bf908a83ba0a1b0b9571b824edc606637f09f644 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Thu, 20 Dec 2001 20:48:31 +0000 Subject: [PATCH] Add uk_UA.ISO8859-5 locale PR: 32450 Submitted by: partially by Alexey Klimov --- etc/mtree/BSD.local.dist | 2 + etc/mtree/BSD.usr.dist | 4 ++ share/colldef/Makefile | 2 + share/colldef/uk_UA.ISO8859-5.src | 37 ++++++++++ share/mklocale/Makefile | 6 ++ share/monetdef/Makefile | 1 + share/monetdef/uk_UA.ISO8859-5.src | 36 ++++++++++ share/msgdef/Makefile | 1 + share/msgdef/uk_UA.ISO8859-5.src | 14 ++++ share/numericdef/Makefile | 1 + share/numericdef/uk_UA.ISO8859-5.src | 12 ++++ share/timedef/Makefile | 1 + share/timedef/uk_UA.ISO8859-5.src | 102 +++++++++++++++++++++++++++ 13 files changed, 219 insertions(+) create mode 100644 share/colldef/uk_UA.ISO8859-5.src create mode 100644 share/monetdef/uk_UA.ISO8859-5.src create mode 100644 share/msgdef/uk_UA.ISO8859-5.src create mode 100644 share/numericdef/uk_UA.ISO8859-5.src create mode 100644 share/timedef/uk_UA.ISO8859-5.src diff --git a/etc/mtree/BSD.local.dist b/etc/mtree/BSD.local.dist index d02eb5d0e62a..34f5a21600c1 100644 --- a/etc/mtree/BSD.local.dist +++ b/etc/mtree/BSD.local.dist @@ -387,6 +387,8 @@ .. tr_TR.ISO8859-9 .. + uk_UA.ISO8859-5 + .. uk_UA.KOI8-U .. zh_CN.eucCN diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index 590a9ddfbabd..b6b1ee974cc8 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -633,6 +633,8 @@ .. tr_TR.ISO8859-9 .. + uk_UA.ISO8859-5 + .. uk_UA.KOI8-U .. zh_CN.eucCN @@ -947,6 +949,8 @@ .. tr_TR.ISO8859-9 .. + uk_UA.ISO8859-5 + .. uk_UA.KOI8-U .. zh_CN.eucCN diff --git a/share/colldef/Makefile b/share/colldef/Makefile index 6b48271d04bc..60e15bedd328 100644 --- a/share/colldef/Makefile +++ b/share/colldef/Makefile @@ -25,6 +25,7 @@ LOCALES= bg_BG.CP1251 \ ru_RU.KOI8-R \ sv_SE.ISO8859-15 \ sv_SE.ISO8859-1 \ + uk_UA.ISO8859-5 \ uk_UA.KOI8-U LOCALEDIR= ${DESTDIR}/usr/share/locale @@ -71,6 +72,7 @@ ru_RU.ISO8859-5.out: map.ISO8859-5 ru_RU.KOI8-R.out: map.KOI8-R sv_SE.ISO8859-15.out: map.ISO8859-15 sv_SE.ISO8859-1.out: map.ISO8859-1 +uk_UA.ISO8859-5.out: map.ISO8859-5 uk_UA.KOI8-U.out: map.KOI8-U afterinstall: diff --git a/share/colldef/uk_UA.ISO8859-5.src b/share/colldef/uk_UA.ISO8859-5.src new file mode 100644 index 000000000000..4c66279d49d6 --- /dev/null +++ b/share/colldef/uk_UA.ISO8859-5.src @@ -0,0 +1,37 @@ +# Ukrainian part of ISO8859-5 with russian letters (backward compatible with ASCII) +# +# $FreeBSD$ +# +charmap map.ISO8859-5 +order \ +# controls + ;...;;\ +# + ;;!;\";;;\ + %;&;';\(;\);*;+;\,;-;.;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;\ +# capital + A;...;Z;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;<=">;;;;;<%">;\ +# + [;\\;];^;_;`;\ +# small + a;...;z;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;<='>;;;;;<%'>;\ +# + \{;|;\};~;
;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;;;\ + ;;;;;;;<-->;;\ + ;;;;;;;;;\ + ;;;;; diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile index b4214da0ccb5..bba1e21c5581 100644 --- a/share/mklocale/Makefile +++ b/share/mklocale/Makefile @@ -36,6 +36,8 @@ LATIN2LINKS = cs_CZ hr_HR hu_HU pl_PL sl_SI sk_SK LATIN4LINKS = lt_LT +LATIN5LINKS = uk_UA + .SUFFIXES: .src .out .src.out: @@ -64,6 +66,10 @@ afterinstall: ln -fs ../la_LN.ISO8859-4/LC_CTYPE \ ${LOCALEDIR}/${link}.ISO8859-4/LC_CTYPE .endfor +.for link in ${LATIN5LINKS} + ln -fs ../ru_RU.ISO8859-5/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO8859-5/LC_CTYPE +.endfor .for link in ${ASCIILINKS} ln -fs ../la_LN.US-ASCII/LC_CTYPE \ ${LOCALEDIR}/${link}.US-ASCII/LC_CTYPE diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile index a61b48bb8219..06c2ef078b2c 100644 --- a/share/monetdef/Makefile +++ b/share/monetdef/Makefile @@ -36,6 +36,7 @@ LOCALES= af_ZA.ISO8859-1 \ sl_SI.ISO8859-2 \ sv_SE.ISO8859-1 \ tr_TR.ISO8859-9 \ + uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ ko_KR.eucKR \ ja_JP.eucJP \ diff --git a/share/monetdef/uk_UA.ISO8859-5.src b/share/monetdef/uk_UA.ISO8859-5.src new file mode 100644 index 000000000000..b95e3bd3be7f --- /dev/null +++ b/share/monetdef/uk_UA.ISO8859-5.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 ade99db2ff4f..54a72bd4ce3b 100644 --- a/share/msgdef/Makefile +++ b/share/msgdef/Makefile @@ -32,6 +32,7 @@ LOCALES= af_ZA.ISO8859-1 \ sl_SI.ISO8859-2 \ sv_SE.ISO8859-1 \ tr_TR.ISO8859-9 \ + uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ ko_KR.eucKR \ ja_JP.eucJP \ diff --git a/share/msgdef/uk_UA.ISO8859-5.src b/share/msgdef/uk_UA.ISO8859-5.src new file mode 100644 index 000000000000..cc508146e827 --- /dev/null +++ b/share/msgdef/uk_UA.ISO8859-5.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 6832d4522707..5b50da451d76 100644 --- a/share/numericdef/Makefile +++ b/share/numericdef/Makefile @@ -30,6 +30,7 @@ LOCALES= af_ZA.ISO8859-1 \ sl_SI.ISO8859-2 \ sv_SE.ISO8859-1 \ tr_TR.ISO8859-9 \ + uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ ko_KR.eucKR \ ja_JP.eucJP \ diff --git a/share/numericdef/uk_UA.ISO8859-5.src b/share/numericdef/uk_UA.ISO8859-5.src new file mode 100644 index 000000000000..4ebc899962aa --- /dev/null +++ b/share/numericdef/uk_UA.ISO8859-5.src @@ -0,0 +1,12 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# decimal_point +, +# thousands_sep + +# grouping, separated by ; +3;3 +# EOF diff --git a/share/timedef/Makefile b/share/timedef/Makefile index 9268f38085e4..a7946f89254b 100644 --- a/share/timedef/Makefile +++ b/share/timedef/Makefile @@ -36,6 +36,7 @@ LOCALES= bg_BG.CP1251 \ sl_SI.ISO8859-2 \ sv_SE.ISO8859-1 \ tr_TR.ISO8859-9 \ + uk_UA.ISO8859-5 \ uk_UA.KOI8-U \ zh_CN.eucCN \ zh_TW.Big5 diff --git a/share/timedef/uk_UA.ISO8859-5.src b/share/timedef/uk_UA.ISO8859-5.src new file mode 100644 index 000000000000..f4be516312e0 --- /dev/null +++ b/share/timedef/uk_UA.ISO8859-5.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