mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
75ba929987
It is not specified what should be the content of d_t_fmt and date_fmt but in the built-in C locale those fields have only one difference: date_fmt contains "%Z" (the current time zone) while d_t_fmt does not. For most of the locales this commit does the following operation: copy d_t_fmt to date_fmt, and then remove "%Z" from d_t_fmt. If "%Z" was originally missing from d_t_fmt add it to date_fmt. It also corrects comments where necessary. Exceptions: * In bo_CN, dz_BT, and km_KH "%Z" has not been added to date_fmt because it was too difficult. In these locales date_fmt has been set to the copy of d_t_fmt. * In en_DK "%Z" has not been removed from d_t_fmt in order to preserve the conformance with the standard mentioned in the comment. The command to identify and initially edit the locales that need the update was: for i in `grep -lw d_t_fmt *` do if ! grep -qw date_fmt $i ; then awk '/d_t_fmt/ { print $0; gsub("d_t_fmt", "date_fmt"); } //{ print $0 }' < $i > $i.next mv $i.next $i fi done and then each file was further edited manually.
370 lines
12 KiB
Plaintext
370 lines
12 KiB
Plaintext
comment_char %
|
||
escape_char /
|
||
|
||
% This file is part of the GNU C Library and contains locale data.
|
||
% The Free Software Foundation does not claim any copyright interest
|
||
% in the locale data contained in this file. The foregoing does not
|
||
% affect the license of the GNU C Library as a whole. It does not
|
||
% exempt you from the conditions of the license if your use would
|
||
% otherwise be governed by that license.
|
||
|
||
%---------------------------------------------------
|
||
% Note: bg_BG is a base locale. Since there are different character
|
||
% sets used with Cyrillic, it's highly recommended to generate system
|
||
% locales in most of the used variants. When compiling system locales
|
||
% from this one, please consider using a common naming scheme, like
|
||
% this: bg_BG.CP1251 (CP1251 is for coresponding charset), bg_BG.KOI8R,
|
||
% bg_BG.ISO88595 and bg_BG.UTF8.
|
||
%---------------------------------------------------
|
||
|
||
LC_IDENTIFICATION
|
||
title "Bulgarian locale for Bulgaria"
|
||
source "Linux Society Bulgaria"
|
||
address "develop@linux.zonebg.com"
|
||
contact "Delyan Toshev"
|
||
email "delyant@yahoo.com"
|
||
tel ""
|
||
fax ""
|
||
language "Bulgarian"
|
||
territory "Bulgaria"
|
||
revision "2.0.1"
|
||
date "2002-09-10"
|
||
|
||
category "i18n:2012";LC_IDENTIFICATION
|
||
category "i18n:2012";LC_CTYPE
|
||
category "i18n:2012";LC_COLLATE
|
||
category "i18n:2012";LC_TIME
|
||
category "i18n:2012";LC_NUMERIC
|
||
category "i18n:2012";LC_MONETARY
|
||
category "i18n:2012";LC_MESSAGES
|
||
category "i18n:2012";LC_PAPER
|
||
category "i18n:2012";LC_NAME
|
||
category "i18n:2012";LC_ADDRESS
|
||
category "i18n:2012";LC_TELEPHONE
|
||
category "i18n:2012";LC_MEASUREMENT
|
||
END LC_IDENTIFICATION
|
||
|
||
LC_CTYPE
|
||
copy "i18n"
|
||
|
||
translit_start
|
||
include "translit_combining";""
|
||
translit_end
|
||
END LC_CTYPE
|
||
|
||
LC_COLLATE
|
||
% CLDR collation rules for Bulgarian:
|
||
% (see: https://unicode.org/cldr/trac/browser/trunk/common/collation/bg.xml)
|
||
%
|
||
% <collation type="standard">
|
||
% <cr><![CDATA[
|
||
% [reorder Cyrl]
|
||
% # The root collation already sorts й/Й as a base letter.
|
||
% ]]></cr>
|
||
% </collation>
|
||
%
|
||
% And CLDR also lists the following
|
||
% index characters:
|
||
% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/bg.xml)
|
||
%
|
||
% <exemplarCharacters type="index" draft="contributed">[А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ю Я]</exemplarCharacters>
|
||
%
|
||
% The following rules implement the same order for glibc.
|
||
|
||
|
||
copy "iso14651_t1"
|
||
% Put Cyrillic before Latin because CLDR has:
|
||
%
|
||
% [reorder Cyrl]
|
||
%
|
||
% and because the old glibc collation for Bulgarian also did put
|
||
% Cyrillic before Latin.
|
||
%
|
||
% I copied the whole Cyrillic block from iso14651_t1_common here.
|
||
%
|
||
% I cannot find any better way doing this.
|
||
|
||
reorder-after <BEFORE-LATIN>
|
||
<S0430> % CYRILLIC SMALL LETTER A
|
||
<S04D9> % CYRILLIC SMALL LETTER SCHWA
|
||
<S04D5> % CYRILLIC SMALL LIGATURE A IE
|
||
<S0431> % CYRILLIC SMALL LETTER BE
|
||
<S0432> % CYRILLIC SMALL LETTER VE
|
||
<S0433> % CYRILLIC SMALL LETTER GHE
|
||
<S0493> % CYRILLIC SMALL LETTER GHE WITH STROKE
|
||
<S04FB> % CYRILLIC SMALL LETTER GHE WITH STROKE AND HOOK
|
||
<S0495> % CYRILLIC SMALL LETTER GHE WITH MIDDLE HOOK
|
||
<S04F7> % CYRILLIC SMALL LETTER GHE WITH DESCENDER
|
||
<S0434> % CYRILLIC SMALL LETTER DE
|
||
<S0501> % CYRILLIC SMALL LETTER KOMI DE
|
||
<SA681> % CYRILLIC SMALL LETTER DWE
|
||
<S0452> % CYRILLIC SMALL LETTER DJE
|
||
<SA663> % CYRILLIC SMALL LETTER SOFT DE
|
||
<S0503> % CYRILLIC SMALL LETTER KOMI DJE
|
||
<S0499> % CYRILLIC SMALL LETTER ZE WITH DESCENDER
|
||
<S0435> % CYRILLIC SMALL LETTER IE
|
||
<S0454> % CYRILLIC SMALL LETTER UKRAINIAN IE
|
||
<S0436> % CYRILLIC SMALL LETTER ZHE
|
||
<S052B> % CYRILLIC SMALL LETTER DZZHE
|
||
<SA685> % CYRILLIC SMALL LETTER ZHWE
|
||
<S0497> % CYRILLIC SMALL LETTER ZHE WITH DESCENDER
|
||
<S0437> % CYRILLIC SMALL LETTER ZE
|
||
<SA641> % CYRILLIC SMALL LETTER ZEMLYA
|
||
<S0505> % CYRILLIC SMALL LETTER KOMI ZJE
|
||
<S0511> % CYRILLIC SMALL LETTER REVERSED ZE
|
||
<SA643> % CYRILLIC SMALL LETTER DZELO
|
||
<S0455> % CYRILLIC SMALL LETTER DZE
|
||
<SA645> % CYRILLIC SMALL LETTER REVERSED DZE
|
||
<S04E1> % CYRILLIC SMALL LETTER ABKHASIAN DZE
|
||
<SA689> % CYRILLIC SMALL LETTER DZZE
|
||
<S0507> % CYRILLIC SMALL LETTER KOMI DZJE
|
||
<SA683> % CYRILLIC SMALL LETTER DZWE
|
||
<S0438> % CYRILLIC SMALL LETTER I
|
||
<S048B> % CYRILLIC SMALL LETTER SHORT I WITH TAIL
|
||
<S0456> % CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
|
||
<SA647> % CYRILLIC SMALL LETTER IOTA
|
||
<S0439> % CYRILLIC SMALL LETTER SHORT I
|
||
<S0458> % CYRILLIC SMALL LETTER JE
|
||
<SA649> % CYRILLIC SMALL LETTER DJERV
|
||
<S043A> % CYRILLIC SMALL LETTER KA
|
||
<S049B> % CYRILLIC SMALL LETTER KA WITH DESCENDER
|
||
<S04C4> % CYRILLIC SMALL LETTER KA WITH HOOK
|
||
<S04A1> % CYRILLIC SMALL LETTER BASHKIR KA
|
||
<S049F> % CYRILLIC SMALL LETTER KA WITH STROKE
|
||
<S049D> % CYRILLIC SMALL LETTER KA WITH VERTICAL STROKE
|
||
<S051F> % CYRILLIC SMALL LETTER ALEUT KA
|
||
<S051B> % CYRILLIC SMALL LETTER QA
|
||
<S043B> % CYRILLIC SMALL LETTER EL
|
||
<S1D2B> % CYRILLIC LETTER SMALL CAPITAL EL
|
||
<S04C6> % CYRILLIC SMALL LETTER EL WITH TAIL
|
||
<S052F> % CYRILLIC SMALL LETTER EL WITH DESCENDER
|
||
<S0513> % CYRILLIC SMALL LETTER EL WITH HOOK
|
||
<S0521> % CYRILLIC SMALL LETTER EL WITH MIDDLE HOOK
|
||
<S0459> % CYRILLIC SMALL LETTER LJE
|
||
<SA665> % CYRILLIC SMALL LETTER SOFT EL
|
||
<S0509> % CYRILLIC SMALL LETTER KOMI LJE
|
||
<S0515> % CYRILLIC SMALL LETTER LHA
|
||
<S043C> % CYRILLIC SMALL LETTER EM
|
||
<S04CE> % CYRILLIC SMALL LETTER EM WITH TAIL
|
||
<SA667> % CYRILLIC SMALL LETTER SOFT EM
|
||
<S043D> % CYRILLIC SMALL LETTER EN
|
||
<S0529> % CYRILLIC SMALL LETTER EN WITH LEFT HOOK
|
||
<S04CA> % CYRILLIC SMALL LETTER EN WITH TAIL
|
||
<S04A3> % CYRILLIC SMALL LETTER EN WITH DESCENDER
|
||
<S04C8> % CYRILLIC SMALL LETTER EN WITH HOOK
|
||
<S0523> % CYRILLIC SMALL LETTER EN WITH MIDDLE HOOK
|
||
<S04A5> % CYRILLIC SMALL LIGATURE EN GHE
|
||
<S045A> % CYRILLIC SMALL LETTER NJE
|
||
<S050B> % CYRILLIC SMALL LETTER KOMI NJE
|
||
<S043E> % CYRILLIC SMALL LETTER O
|
||
<S04E9> % CYRILLIC SMALL LETTER BARRED O
|
||
<S043F> % CYRILLIC SMALL LETTER PE
|
||
<S0525> % CYRILLIC SMALL LETTER PE WITH DESCENDER
|
||
<S04A7> % CYRILLIC SMALL LETTER PE WITH MIDDLE HOOK
|
||
<S0481> % CYRILLIC SMALL LETTER KOPPA
|
||
<S0440> % CYRILLIC SMALL LETTER ER
|
||
<S048F> % CYRILLIC SMALL LETTER ER WITH TICK
|
||
<S0517> % CYRILLIC SMALL LETTER RHA
|
||
<S0441> % CYRILLIC SMALL LETTER ES
|
||
<S050D> % CYRILLIC SMALL LETTER KOMI SJE
|
||
<S04AB> % CYRILLIC SMALL LETTER ES WITH DESCENDER
|
||
<S0442> % CYRILLIC SMALL LETTER TE
|
||
<SA68D> % CYRILLIC SMALL LETTER TWE
|
||
<S050F> % CYRILLIC SMALL LETTER KOMI TJE
|
||
<S04AD> % CYRILLIC SMALL LETTER TE WITH DESCENDER
|
||
<SA68B> % CYRILLIC SMALL LETTER TE WITH MIDDLE HOOK
|
||
<S045B> % CYRILLIC SMALL LETTER TSHE
|
||
<S0443> % CYRILLIC SMALL LETTER U
|
||
<S04AF> % CYRILLIC SMALL LETTER STRAIGHT U
|
||
<S04B1> % CYRILLIC SMALL LETTER STRAIGHT U WITH STROKE
|
||
<SA64B> % CYRILLIC SMALL LETTER MONOGRAPH UK
|
||
<S0479> % CYRILLIC SMALL LETTER UK
|
||
<S0444> % CYRILLIC SMALL LETTER EF
|
||
<S0445> % CYRILLIC SMALL LETTER HA
|
||
<S04FD> % CYRILLIC SMALL LETTER HA WITH HOOK
|
||
<S04FF> % CYRILLIC SMALL LETTER HA WITH STROKE
|
||
<S04B3> % CYRILLIC SMALL LETTER HA WITH DESCENDER
|
||
<S04BB> % CYRILLIC SMALL LETTER SHHA
|
||
<S0527> % CYRILLIC SMALL LETTER SHHA WITH DESCENDER
|
||
<SA695> % CYRILLIC SMALL LETTER HWE
|
||
<S0461> % CYRILLIC SMALL LETTER OMEGA
|
||
<S047F> % CYRILLIC SMALL LETTER OT
|
||
<SA64D> % CYRILLIC SMALL LETTER BROAD OMEGA
|
||
<S047D> % CYRILLIC SMALL LETTER OMEGA WITH TITLO
|
||
<S047B> % CYRILLIC SMALL LETTER ROUND OMEGA
|
||
<S0446> % CYRILLIC SMALL LETTER TSE
|
||
<SA661> % CYRILLIC SMALL LETTER REVERSED TSE
|
||
<SA68F> % CYRILLIC SMALL LETTER TSWE
|
||
<S04B5> % CYRILLIC SMALL LIGATURE TE TSE
|
||
<SA691> % CYRILLIC SMALL LETTER TSSE
|
||
<S0447> % CYRILLIC SMALL LETTER CHE
|
||
<S052D> % CYRILLIC SMALL LETTER DCHE
|
||
<SA693> % CYRILLIC SMALL LETTER TCHE
|
||
<S04B7> % CYRILLIC SMALL LETTER CHE WITH DESCENDER
|
||
<S04CC> % CYRILLIC SMALL LETTER KHAKASSIAN CHE
|
||
<S04B9> % CYRILLIC SMALL LETTER CHE WITH VERTICAL STROKE
|
||
<SA687> % CYRILLIC SMALL LETTER CCHE
|
||
<S04BD> % CYRILLIC SMALL LETTER ABKHASIAN CHE
|
||
<S04BF> % CYRILLIC SMALL LETTER ABKHASIAN CHE WITH DESCENDER
|
||
<S045F> % CYRILLIC SMALL LETTER DZHE
|
||
<S0448> % CYRILLIC SMALL LETTER SHA
|
||
<SA697> % CYRILLIC SMALL LETTER SHWE
|
||
<S0449> % CYRILLIC SMALL LETTER SHCHA
|
||
<SA64F> % CYRILLIC SMALL LETTER NEUTRAL YER
|
||
<S2E2F> % VERTICAL TILDE
|
||
<SA67F> % CYRILLIC PAYEROK
|
||
<S044A> % CYRILLIC SMALL LETTER HARD SIGN
|
||
<SA651> % CYRILLIC SMALL LETTER YERU WITH BACK YER
|
||
<S044B> % CYRILLIC SMALL LETTER YERU
|
||
<S044C> % CYRILLIC SMALL LETTER SOFT SIGN
|
||
<S048D> % CYRILLIC SMALL LETTER SEMISOFT SIGN
|
||
<S0463> % CYRILLIC SMALL LETTER YAT
|
||
<SA653> % CYRILLIC SMALL LETTER IOTIFIED YAT
|
||
<S044D> % CYRILLIC SMALL LETTER E
|
||
<S044E> % CYRILLIC SMALL LETTER YU
|
||
<SA655> % CYRILLIC SMALL LETTER REVERSED YU
|
||
<SA657> % CYRILLIC SMALL LETTER IOTIFIED A
|
||
<S044F> % CYRILLIC SMALL LETTER YA
|
||
<S0519> % CYRILLIC SMALL LETTER YAE
|
||
<S0465> % CYRILLIC SMALL LETTER IOTIFIED E
|
||
<S0467> % CYRILLIC SMALL LETTER LITTLE YUS
|
||
<SA659> % CYRILLIC SMALL LETTER CLOSED LITTLE YUS
|
||
<S046B> % CYRILLIC SMALL LETTER BIG YUS
|
||
<SA65B> % CYRILLIC SMALL LETTER BLENDED YUS
|
||
<S0469> % CYRILLIC SMALL LETTER IOTIFIED LITTLE YUS
|
||
<SA65D> % CYRILLIC SMALL LETTER IOTIFIED CLOSED LITTLE YUS
|
||
<S046D> % CYRILLIC SMALL LETTER IOTIFIED BIG YUS
|
||
<S046F> % CYRILLIC SMALL LETTER KSI
|
||
<S0471> % CYRILLIC SMALL LETTER PSI
|
||
<S0473> % CYRILLIC SMALL LETTER FITA
|
||
<S0475> % CYRILLIC SMALL LETTER IZHITSA
|
||
<SA65F> % CYRILLIC SMALL LETTER YN
|
||
<S04A9> % CYRILLIC SMALL LETTER ABKHASIAN HA
|
||
<S051D> % CYRILLIC SMALL LETTER WE
|
||
<S04CF> % CYRILLIC SMALL LETTER PALOCHKA
|
||
|
||
reorder-end
|
||
|
||
END LC_COLLATE
|
||
|
||
LC_MONETARY
|
||
int_curr_symbol "BGN "
|
||
currency_symbol "<U043B><U0432>."
|
||
mon_decimal_point ","
|
||
mon_thousands_sep "<U202F>"
|
||
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
|
||
END LC_MONETARY
|
||
|
||
LC_NUMERIC
|
||
decimal_point ","
|
||
thousands_sep ""
|
||
grouping 3;3
|
||
END LC_NUMERIC
|
||
|
||
LC_TIME
|
||
d_t_fmt "%x (%a) %X"
|
||
date_fmt "%x (%a) %X %Z"
|
||
d_fmt "%e.%m.%Y"
|
||
t_fmt "%k:%M:%S"
|
||
am_pm "";""
|
||
t_fmt_ampm ""
|
||
%
|
||
week 7;19971130;4
|
||
first_weekday 2
|
||
abday "<U043D><U0434>";/
|
||
"<U043F><U043D>";/
|
||
"<U0432><U0442>";/
|
||
"<U0441><U0440>";/
|
||
"<U0447><U0442>";/
|
||
"<U043F><U0442>";/
|
||
"<U0441><U0431>"
|
||
day "<U043D><U0435><U0434><U0435><U043B><U044F>";/
|
||
"<U043F><U043E><U043D><U0435><U0434><U0435><U043B><U043D><U0438><U043A>";/
|
||
"<U0432><U0442><U043E><U0440><U043D><U0438><U043A>";/
|
||
"<U0441><U0440><U044F><U0434><U0430>";/
|
||
"<U0447><U0435><U0442><U0432><U044A><U0440><U0442><U044A><U043A>";/
|
||
"<U043F><U0435><U0442><U044A><U043A>";/
|
||
"<U0441><U044A><U0431><U043E><U0442><U0430>"
|
||
abmon "<U044F><U043D><U0443>";/
|
||
"<U0444><U0435><U0432>";/
|
||
"<U043C><U0430><U0440>";/
|
||
"<U0430><U043F><U0440>";/
|
||
"<U043C><U0430><U0439>";/
|
||
"<U044E><U043D><U0438>";/
|
||
"<U044E><U043B><U0438>";/
|
||
"<U0430><U0432><U0433>";/
|
||
"<U0441><U0435><U043F>";/
|
||
"<U043E><U043A><U0442>";/
|
||
"<U043D><U043E><U0435>";/
|
||
"<U0434><U0435><U043A>"
|
||
mon "<U044F><U043D><U0443><U0430><U0440><U0438>";/
|
||
"<U0444><U0435><U0432><U0440><U0443><U0430><U0440><U0438>";/
|
||
"<U043C><U0430><U0440><U0442>";/
|
||
"<U0430><U043F><U0440><U0438><U043B>";/
|
||
"<U043C><U0430><U0439>";/
|
||
"<U044E><U043D><U0438>";/
|
||
"<U044E><U043B><U0438>";/
|
||
"<U0430><U0432><U0433><U0443><U0441><U0442>";/
|
||
"<U0441><U0435><U043F><U0442><U0435><U043C><U0432><U0440><U0438>";/
|
||
"<U043E><U043A><U0442><U043E><U043C><U0432><U0440><U0438>";/
|
||
"<U043D><U043E><U0435><U043C><U0432><U0440><U0438>";/
|
||
"<U0434><U0435><U043A><U0435><U043C><U0432><U0440><U0438>"
|
||
|
||
END LC_TIME
|
||
|
||
LC_MESSAGES
|
||
yesexpr "^[+1yYdDoO<U0414><U0434>]"
|
||
noexpr "^[-0nNkK<U041D><U043D>]"
|
||
yesstr "<U0434><U0430>"
|
||
nostr "<U043D><U0435>"
|
||
END LC_MESSAGES
|
||
|
||
LC_PAPER
|
||
copy "i18n"
|
||
END LC_PAPER
|
||
|
||
LC_NAME
|
||
name_fmt "%s%t%g%t%m%t%f"
|
||
name_mr "<U0433>-<U0434><U0438><U043D>"
|
||
name_ms "<U0433>-<U0436><U0430>"
|
||
name_mrs "<U0433>-<U0436><U0430>"
|
||
name_miss "<U0433>-<U0436><U0438><U0446><U0430>"
|
||
END LC_NAME
|
||
|
||
LC_ADDRESS
|
||
postal_fmt "%f%N%a%N%d%N%b%N%sN%h, %e, %r%N%z %T%N%c%N"
|
||
country_name "<U0411><U044A><U043B><U0433><U0430><U0440><U0438><U044F>"
|
||
country_post "BG"
|
||
country_ab2 "BG"
|
||
country_ab3 "BGR"
|
||
country_num 100
|
||
country_car "BG"
|
||
country_isbn 954
|
||
% български език
|
||
lang_name "<U0431><U044A><U043B><U0433><U0430><U0440><U0441><U043A><U0438>"
|
||
lang_ab "bg"
|
||
lang_term "bul"
|
||
lang_lib "bul"
|
||
END LC_ADDRESS
|
||
|
||
LC_TELEPHONE
|
||
tel_int_fmt "(+%c %a) %l"
|
||
tel_dom_fmt "(0%a) %l"
|
||
int_prefix "359"
|
||
int_select "00"
|
||
END LC_TELEPHONE
|
||
|
||
LC_MEASUREMENT
|
||
copy "i18n"
|
||
END LC_MEASUREMENT
|