glibc/localedata/locales/oc_FR
Rafał Lużyński 75ba929987 Multiple locales: Add date_fmt (bug 24054)
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.
2020-01-02 11:45:45 +01:00

149 lines
2.9 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.
LC_IDENTIFICATION
title "Occitan Language Locale for France"
source "RAP"
address "Los Genets, 12290 Pont de Salars"
contact "Jean-Paul Fraysse"
email "Jean-Paul.Fraysse@wanadoo.fr"
tel ""
fax ""
language "Occitan"
territory "France"
revision "0.3"
date "2018-04-12"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_ADDRESS
category "i18n:2012";LC_CTYPE
category "i18n:2012";LC_COLLATE
category "i18n:2012";LC_MESSAGES
category "i18n:2012";LC_MONETARY
category "i18n:2012";LC_NAME
category "i18n:2012";LC_NUMERIC
category "i18n:2012";LC_PAPER
category "i18n:2012";LC_MEASUREMENT
category "i18n:2012";LC_TIME
category "i18n:2012";LC_TELEPHONE
END LC_IDENTIFICATION
LC_ADDRESS
postal_fmt "%d%N%f%N%d%N%b%N%s %h 5e %r%N%C%z %T%N%c%N"
country_name "Fran<U00E7>a"
country_post "F"
country_ab2 "FR"
country_ab3 "FRA"
country_num 250
country_isbn "979-10"
country_car "F"
lang_name "occitan"
lang_ab "oc"
lang_term "oci"
lang_lib "oci"
END LC_ADDRESS
LC_CTYPE
copy "i18n"
translit_start
include "translit_combining";""
translit_end
END LC_CTYPE
LC_COLLATE
copy "ca_ES"
END LC_COLLATE
LC_MESSAGES
yesexpr "^[+1oOsSyY]"
noexpr "^[-0nN]"
END LC_MESSAGES
LC_MONETARY
copy "fr_FR"
END LC_MONETARY
LC_NUMERIC
copy "fr_FR"
END LC_NUMERIC
LC_PAPER
copy "fr_FR"
END LC_PAPER
LC_MEASUREMENT
copy "fr_FR"
END LC_MEASUREMENT
LC_TELEPHONE
copy "fr_FR"
END LC_TELEPHONE
LC_TIME
abday "dg.";"dl.";"dm.";"dc.";"dj.";"dv.";"ds."
day "dimenge";/
"diluns";/
"dimars";/
"dim<U00E8>cres";/
"dij<U00F3>us";/
"divendres";/
"dissabte"
abmon "gen.";/
"febr.";/
"mar<U00E7>";/
"abr.";/
"mai";/
"junh";/
"jul.";/
"ago.";/
"set.";/
"oct.";/
"nov.";/
"dec."
alt_mon "geni<U00E8>r";/
"febri<U00E8>r";/
"mar<U00E7>";/
"abrial";/
"mai";/
"junh";/
"julhet";/
"agost";/
"setembre";/
"oct<U00F2>bre";/
"novembre";/
"decembre"
mon "de geni<U00E8>r";/
"de febri<U00E8>r";/
"de mar<U00E7>";/
"d<U2019>abrial";/
"de mai";/
"de junh";/
"de julhet";/
"d<U2019>agost";/
"de setembre";/
"d<U2019>oct<U00F2>bre";/
"de novembre";/
"de decembre"
d_t_fmt "%a %d %b %Y %T"
date_fmt "%a %d %b %Y %T %Z"
d_fmt "%d//%m//%Y"
t_fmt "%T"
am_pm "";""
t_fmt_ampm ""
week 7;19971130;4
first_weekday 2
END LC_TIME
LC_NAME
name_fmt "%d%t%g%t%m%t%f"
name_mr "En"
name_mrs "Na"
END LC_NAME