locale fixes

This commit is contained in:
aliriza committed 2022-12-02 08:38:59 +00:00
1 parent ff77575a9d
commit a6790b543e
4 files changed
+30 -21

No files matched your search

+1
View File
@@ -4,3 +4,4 @@
/bin/busybox chmod +x -R /sbin /bin/busybox chmod +x -R /sbin
/bin/busybox chmod +x -R /usr/bin /bin/busybox chmod +x -R /usr/bin
/bin/busybox chmod +x -R /usr/sbin /bin/busybox chmod +x -R /usr/sbin
/bin/busybox chmod +x -R /usr/libexec
+21 -21
View File
@@ -8,7 +8,7 @@ escape_char /
% exempt you from the conditions of the license if your use would % exempt you from the conditions of the license if your use would
% otherwise be governed by that license. % otherwise be governed by that license.
% Turkish Language Locale for Turkey % Turkish Language Locale for Turkiye
% Source: RAP % Source: RAP
% Address: Sankt Jo//rgens Alle 8 % Address: Sankt Jo//rgens Alle 8
% DK-1615 Ko//benhavn V, Danmark % DK-1615 Ko//benhavn V, Danmark
@@ -26,14 +26,14 @@ escape_char /
% Corrections by: % Corrections by:
% 1998-01-11T15:54:39 % 1998-01-11T15:54:39
% Onur Tolga Sehitoglu <onur@ceng.metu.edu.tr>, % Onur Tolga Sehitoglu <onur@ceng.metu.edu.tr>,
% Dept. of Comp. Eng. METU/Ankara Turkey % Dept. of Comp. Eng. METU/Ankara Turkiye
% 2004-05-29T15:13 % 2004-05-29T15:13
% Deniz Akkus Kanca <deniz@arayan.com> % Deniz Akkus Kanca <deniz@arayan.com>
% 2004-10-30T10:28:35 % 2004-10-30T10:28:35
% Nilg<U00FC>n Belma Bug<U00FC>ner <nilgun@belgeler.org> % Nilg<U00FC>n Belma Bug<U00FC>ner <nilgun@belgeler.org>
LC_IDENTIFICATION LC_IDENTIFICATION
title "Turkish locale for Turkey" title "Turkish locale for Turkiye"
source "RAP" source "RAP"
address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark" address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark"
contact "" contact ""
@@ -41,7 +41,7 @@ email "bug-glibc-locales@gnu.org"
tel "" tel ""
fax "" fax ""
language "Turkish" language "Turkish"
territory "Turkey" territory "Turkiye"
revision "1.0" revision "1.0"
date "2021-09-27" date "2021-09-27"
@@ -133,7 +133,7 @@ LC_MESSAGES
yesexpr "^[+1yYeE]" yesexpr "^[+1yYeE]"
noexpr "^[-0nNhH]" noexpr "^[-0nNhH]"
yesstr "evet" yesstr "evet"
nostr "hay<U0131>r" nostr "hayir"
END LC_MESSAGES END LC_MESSAGES
LC_MONETARY LC_MONETARY
@@ -164,37 +164,37 @@ END LC_NUMERIC
LC_TIME LC_TIME
abday "Paz";"Pzt";"Sal";/ abday "Paz";"Pzt";"Sal";/
"<U00C7>r<U015F>";"Pr<U015F>";"Cum";"Cts" "Crs";"Prs";"Cum";"Cts"
day "Pazar";/ day "Pazar";/
"Pazartesi";/ "Pazartesi";/
"Sal<U0131>";/ "Sali";/
"<U00C7>ar<U015F>amba";/ "Carsamba";/
"Per<U015F>embe";/ "Persembe";/
"Cuma";/ "Cuma";/
"Cumartesi" "Cumartesi"
abmon "Oca";"<U015E>ub";/ abmon "Oca";"Sub";/
"Mar";"Nis";/ "Mar";"Nis";/
"May";"Haz";/ "May";"Haz";/
"Tem";"A<U011F>u";/ "Tem";"Agu";/
"Eyl";"Eki";/ "Eyl";"Eki";/
"Kas";"Ara" "Kas";"Ara"
mon "Ocak";/ mon "Ocak";/
"<U015E>ubat";/ "Subat";/
"Mart";/ "Mart";/
"Nisan";/ "Nisan";/
"May<U0131>s";/ "Mayis";/
"Haziran";/ "Haziran";/
"Temmuz";/ "Temmuz";/
"A<U011F>ustos";/ "Agustos";/
"Eyl<U00FC>l";/ "Eylul";/
"Ekim";/ "Ekim";/
"Kas<U0131>m";/ "Kasim";/
"Aral<U0131>k" "Aralik"
d_t_fmt "%a %d %b %Y %T" d_t_fmt "%a %d %b %Y %T"
date_fmt "%a %d %b %Y %T %Z" date_fmt "%a %d %b %Y %T %Z"
d_fmt "%m//%d//%Y" d_fmt "%m//%d//%Y"
t_fmt "%T" t_fmt "%T"
am_pm "<U00D6><U00D6>";"<U00D6>S" am_pm "OO";"OS"
t_fmt_ampm "%I:%M:%S %p" t_fmt_ampm "%I:%M:%S %p"
week 7;19971130;1 week 7;19971130;1
first_weekday 2 first_weekday 2
@@ -216,7 +216,7 @@ END LC_MEASUREMENT
LC_NAME LC_NAME
name_fmt "%d%t%g%t%m%t%f" name_fmt "%d%t%g%t%m%t%f"
name_gen "Say<U0131>n" name_gen "Sayin"
name_mr "Bay" name_mr "Bay"
name_mrs "Bayan" name_mrs "Bayan"
name_miss "Bayan" name_miss "Bayan"
@@ -225,14 +225,14 @@ END LC_NAME
LC_ADDRESS LC_ADDRESS
postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N" postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
country_name "T<U00FC>rkiye" country_name "Turkiye"
country_post "TR" country_post "TR"
country_car "TR" country_car "TR"
country_isbn 975 country_isbn 975
country_num 792 country_num 792
country_ab2 "TR" country_ab2 "TR"
country_ab3 "TUR" country_ab3 "TUR"
lang_name "T<U00FC>rk<U00E7>e" lang_name "Turkce"
lang_term "tur" lang_term "tur"
lang_lib "tur" lang_lib "tur"
lang_ab "tr" lang_ab "tr"
+1
View File
@@ -28,6 +28,7 @@ is_entry_ok() {
} }
echo "Generating locales..." echo "Generating locales..."
touch /etc/locale.gen
while read locale charset; do \ while read locale charset; do \
case $locale in \#*) continue;; "") continue;; esac; \ case $locale in \#*) continue;; "") continue;; esac; \
is_entry_ok || continue is_entry_ok || continue
+7
View File
@@ -116,5 +116,12 @@ package(){
install ../revdep-rebuild ${DESTDIR}/bin/revdep-rebuild install ../revdep-rebuild ${DESTDIR}/bin/revdep-rebuild
# replace buggy turkish format with better one # replace buggy turkish format with better one
install ../tr_TR ${DESTDIR}/usr/share/i18n/locales/tr_TR install ../tr_TR ${DESTDIR}/usr/share/i18n/locales/tr_TR
# remove unused languages
for l in ku hy ; do
rm -rf ${DESTDIR}/usr/lib/locale/${i}_*
rm -rf ${DESTDIR/usr/share/locale/${i}_*
rm -rf ${DESTDIR/usr/share/i18n/locales/${i}_*
done
} }