mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00: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.
193 lines
4.8 KiB
Plaintext
193 lines
4.8 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.
|
|
|
|
% Punjabi (Shamukhi) Language Locale for Pakistan
|
|
% Source:
|
|
% Contact: Amanpreet Singh Alam
|
|
% Email: amanpreetalam@yahoo.com
|
|
% Language: pa
|
|
% Territory: PK
|
|
% Revision: 0.1
|
|
% Date: 2005-12-31
|
|
% Users: general
|
|
|
|
LC_IDENTIFICATION
|
|
title "Punjabi (Shahmukhi) Language Locale for Pakistan"
|
|
source ""
|
|
address ""
|
|
contact ""
|
|
email "bug-glibc-locales@gnu.org"
|
|
tel ""
|
|
fax ""
|
|
language "Punjabi"
|
|
territory "Pakistan"
|
|
revision "0.3"
|
|
date "2000-07-11"
|
|
|
|
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";""
|
|
|
|
% those two lettes are not in cp1256...
|
|
|
|
% Maddah above -> Alef with madda above
|
|
<U0653> "<U0622>"
|
|
% Farsi yeh -> yeh
|
|
<U06CC> "<U064A>"
|
|
|
|
translit_end
|
|
END LC_CTYPE
|
|
|
|
LC_COLLATE
|
|
copy "en_DK"
|
|
END LC_COLLATE
|
|
|
|
LC_MONETARY
|
|
copy "ur_PK"
|
|
END LC_MONETARY
|
|
|
|
LC_NUMERIC
|
|
copy "ur_PK"
|
|
END LC_NUMERIC
|
|
|
|
% Since their is no abbreviated version of the days in urdu I have used the
|
|
% full names of the days
|
|
% Using only the first letters of the day would have caused a conflict here
|
|
% as both "Jumairat(Thurs)" and "Juma(Friday)" have the same starting letter
|
|
% Jeem <U062C>
|
|
LC_TIME
|
|
|
|
abday "<U0627><U062A><U0648><U0627><U0631>";/
|
|
"<U067E><U064A><U0631>";/
|
|
"<U0645><U0646><U06AF><U0644>";/
|
|
"<U0628><U062F><U06BE>";/
|
|
"<U062C><U0645><U0639><U0631><U0627><U062A>";/
|
|
"<U062C><U0645><U0639><U0647>";/
|
|
"<U0647><U0641><U062A><U0647>"
|
|
day "<U0627><U062A><U0648><U0627><U0631>";/
|
|
"<U067E><U064A><U0631>";/
|
|
"<U0645><U0646><U06AF><U0644>";/
|
|
"<U0628><U062F><U06BE>";/
|
|
"<U062C><U0645><U0639><U0631><U0627><U062A>";/
|
|
"<U062C><U0645><U0639><U0647>";/
|
|
"<U0647><U0641><U062A><U0647>"
|
|
abmon "<U062C><U0646><U0648><U0631><U064A>";/
|
|
"<U0641><U0631><U0648><U0631><U064A>";/
|
|
"<U0645><U0627><U0631><U0686>";/
|
|
"<U0627><U067E><U0631><U064A><U0644>";/
|
|
"<U0645><U0653><U06CC>";/
|
|
"<U062C><U0648><U0646>";/
|
|
"<U062C><U0648><U0644><U0627><U064A>";/
|
|
"<U0627><U06AF><U0633><U062A>";/
|
|
"<U0633><U062A><U0645><U0628><U0631>";/
|
|
"<U0627><U0643><U062A><U0648><U0628><U0631>";/
|
|
"<U0646><U0648><U0645><U0628><U0631>";/
|
|
"<U062F><U0633><U0645><U0628><U0631>"
|
|
mon "<U062C><U0646><U0648><U0631><U064A>";/
|
|
"<U0641><U0631><U0648><U0631><U064A>";/
|
|
"<U0645><U0627><U0631><U0686>";/
|
|
"<U0627><U067E><U0631><U064A><U0644>";/
|
|
"<U0645><U0653><U06CC>";/
|
|
"<U062C><U0648><U0646>";/
|
|
"<U062C><U0648><U0644><U0627><U064A>";/
|
|
"<U0627><U06AF><U0633><U062A>";/
|
|
"<U0633><U062A><U0645><U0628><U0631>";/
|
|
"<U0627><U0643><U062A><U0648><U0628><U0631>";/
|
|
"<U0646><U0648><U0645><U0628><U0631>";/
|
|
"<U062F><U0633><U0645><U0628><U0631>"
|
|
|
|
% Date Time Format
|
|
d_t_fmt "<U0648> %H:%M:%S <U062A> %d %B %Y"
|
|
|
|
% Date Time Format for date(1)
|
|
date_fmt "<U0648> %H:%M:%S %Z <U062A> %d %B %Y"
|
|
|
|
% date Format. I have put this in reverse order to try to get the date
|
|
% in R->L order
|
|
d_fmt "%d//%m//%Y"
|
|
|
|
% time format
|
|
t_fmt "%H:%M:%S"
|
|
|
|
%<U0635> stands for <U0635><U0628><U062D>
|
|
%<U0634> stands for <U0634><U0627><U0645>
|
|
am_pm "<U0635>";"<U0634>"
|
|
|
|
%time format in 12 hour clock
|
|
t_fmt_ampm "%P %I:%M:%S"
|
|
|
|
% display columns right to left ?
|
|
cal_direction 3
|
|
week 7;19971130;1
|
|
END LC_TIME
|
|
|
|
LC_MESSAGES
|
|
|
|
% locale based messages
|
|
% Can we put in the values for a cancel exression here?? I found a term that
|
|
% would define cancel appropriately
|
|
% <U0647> = <U0647><U0627><U06BA> , the last tag is for noon-ghunna!
|
|
% <U0628> = <U0628><U0644><U0643><U0644>
|
|
% again f and o are place holders
|
|
% <U0646> = <U0646><U0647><U064A><U06BA>
|
|
yesexpr "^[+1yY<U0647><U0628>f]"
|
|
noexpr "^[-0nN<U0646>o]"
|
|
yesstr "<U0628><U0644><U0643><U0644>"
|
|
nostr "<U0646><U0647><U064A><U06BA>"
|
|
END LC_MESSAGES
|
|
|
|
%Draft Finished: 17:00 09/07/2000
|
|
|
|
LC_PAPER
|
|
copy "ur_PK"
|
|
END LC_PAPER
|
|
|
|
LC_MEASUREMENT
|
|
copy "ur_PK"
|
|
END LC_MEASUREMENT
|
|
|
|
LC_NAME
|
|
% FIXME
|
|
copy "ur_PK"
|
|
END LC_NAME
|
|
|
|
LC_ADDRESS
|
|
% FIXME
|
|
postal_fmt "%a%N%f%N%d%N%b%N%h %s %e %r%N%T %z%N%c%N"
|
|
country_name "<U067E><U06A9><U0633><U062A><U0627><U0646>"
|
|
country_ab2 "PK"
|
|
country_ab3 "PAK"
|
|
country_num 586
|
|
country_car "PK"
|
|
lang_name "<U067E><U0646><U062C><U0627><U0628><U06CC>"
|
|
lang_ab "pa"
|
|
lang_term "pan"
|
|
lang_lib "pan"
|
|
END LC_ADDRESS
|
|
|
|
LC_TELEPHONE
|
|
copy "ur_PK"
|
|
END LC_TELEPHONE
|