diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile index f822d987fb1c..35acb42b9f88 100644 --- a/share/mklocale/Makefile +++ b/share/mklocale/Makefile @@ -3,7 +3,8 @@ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= el_GR.ISO8859-7 \ +LOCALES= bg_BG.CP1251 \ + el_GR.ISO8859-7 \ ja_JP.eucJP \ ja_JP.SJIS \ ko_KR.eucKR \ diff --git a/share/mklocale/bg_BG.CP1251.src b/share/mklocale/bg_BG.CP1251.src new file mode 100644 index 000000000000..9e6c45f1cfee --- /dev/null +++ b/share/mklocale/bg_BG.CP1251.src @@ -0,0 +1,37 @@ +/* + * LOCALE_CTYPE for Bulgarian Cyrillic character set (CP1251) + * + * $FreeBSD$ + */ +ENCODING "NONE" +VARIABLE Bulgarian Cyrillic character set (CP1251) by roam@ringlet.net + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' 0xc0 - 0xdf 0xe0 - 0xff +CONTROL 0x00 - 0x1f 0x7f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0x80 - 0xff +LOWER 'a' - 'z' 0xe0 - 0xff +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e +SPACE 0x09 - 0x0d 0x20 +UPPER 'A' - 'Z' 0xc0 - 0xdf +XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' +PRINT 0x20 - 0x7e 0x80 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xc0 - 0xdf : 0xe0> +MAPLOWER <0xe0 - 0xff : 0xe0> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xc0 - 0xdf : 0xc0> +MAPUPPER <0xe0 - 0xff : 0xc0> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10> diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile index e55f688317c2..cd2cc17f6f56 100644 --- a/share/monetdef/Makefile +++ b/share/monetdef/Makefile @@ -4,6 +4,7 @@ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} LOCALES= af_ZA.ISO8859-1 \ + bg_BG.CP1251 \ cs_CZ.ISO8859-2 \ da_DK.ISO8859-1 \ de_AT.ISO8859-1 \ diff --git a/share/monetdef/bg_BG.CP1251.src b/share/monetdef/bg_BG.CP1251.src new file mode 100644 index 000000000000..4d8efffa438d --- /dev/null +++ b/share/monetdef/bg_BG.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) +BGN +# currency_symbol +лв. +# mon_decimal_point +, +# mon_thousands_sep + +# mon_grouping +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