glibc/localedata/locales/yuw_PG
Alexandre Oliva 8da25eec0a Collation fix: make forward accent sorting the default [BZ #17750]
[BZ #17750]
	* Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
	* localedata/fr_CA.UTF-8.in: New file with test data for backward
	accents sorting.
	* localedata/fr_FR.UTF-8.in: Fix test data for forward accents
	sorting.
	* localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
	* localedata/locales/de_DE (LC_COLLATE): Likewise.
	* localedata/locales/hu_HU (LC_COLLATE): Likewise.
	* localedata/locales/lb_LU (LC_COLLATE): Likewise.
	* localedata/locales/yuw_PG (LC_COLLATE): Likewise.
	* localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
	* localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
	instead of “ifdef DIACRIT_BACKWARD”.

The only locale which currently needs backward accents sorting is fr_CA.
Therefore, forward accents sorting should be the default.

Before this patch, backwards accent sorting was the default and all
locales except fr_CA had to use

    define DIACRIT_FORWARD

before

    copy "iso14651_t1"

Most locales didn’t do that and thus got the inappropriate backwards accents sorting
by accident. Now only the fr_CA locale needs to use

    define DIACRIT_BACKWARD

before

    copy "iso14651_t1"

Original patch slightly modified by: Mike FABIAN <mfabian@redhat.com>
2017-11-29 11:56:46 +01:00

153 lines
3.3 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 "Yau/Nungon locale for Papua New Guinea"
source "Information from native speakers"
address ""
contact "Hannah Sarvasy"
email "nungon.localization@gmail.com"
tel ""
fax ""
language "Yau/Nungon"
territory "Papua New Guinea"
revision "1.0"
date "2016-12-07"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
category "i18n:2012";LC_COLLATE
category "i18n:2012";LC_MONETARY
category "i18n:2012";LC_NUMERIC
category "i18n:2012";LC_TIME
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
copy "iso14651_t1"
END LC_COLLATE
LC_MONETARY
int_curr_symbol "PGK "
currency_symbol "K"
mon_decimal_point "."
mon_thousands_sep ","
mon_grouping 3;3
positive_sign ""
negative_sign "-"
int_frac_digits 2
frac_digits 2
p_cs_precedes 1
p_sep_by_space 0
n_cs_precedes 1
n_sep_by_space 0
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
abday "s<U00F6>n";"m<U00F6>n";/
"sin";"mit";/
"soi";"nen";/
"sab"
day "s<U00F6>nda";/
"m<U00F6>nda";/
"sinda";/
"mitiw<U00F6>";/
"sogipbono";/
"nenggo";/
"s<U00F6>ndanggie"
abmon "jen";"feb";/
"mas";"epr";/
"mei";"jun";/
"jul";"<U00F6>gu";/
"sep";"<U00F6>kt";/
"n<U00F6>w";"dis"
mon "jenuari";/
"febuari";/
"mas";/
"epril";/
"mei";/
"jun";/
"julai";/
"<U00F6>gus";/
"septemba";/
"<U00F6>ktoba";/
"n<U00F6>wemba";/
"diksemba"
d_t_fmt "%a %d %b %Y %T %Z"
d_fmt "%d//%m//%y"
t_fmt "%T"
am_pm "AM";"PM"
t_fmt_ampm "%I:%M:%S %p"
week 7;19971130;1
END LC_TIME
LC_MESSAGES
yesexpr "^[+1yY<U00F6><U00D6>]"
noexpr "^[-0nNmM]"
yesstr "<U00F6><U00F6>"
nostr "muuno"
END LC_MESSAGES
LC_PAPER
copy "i18n"
END LC_PAPER
LC_NAME
name_fmt "%d%t%g%t%m%t%f"
END LC_NAME
LC_ADDRESS
postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
country_name "Papua New Guinea"
country_post ""
country_ab2 "PG"
country_ab3 "PNG"
% ISO 3166-1 numeric code for PNG
country_num 598
% Yau/Nungon
lang_name "Yau/Nungon"
country_car "PNG"
lang_ab ""
lang_term "yuw"
lang_lib "yuw"
END LC_ADDRESS
LC_TELEPHONE
tel_int_fmt "+%c %a %l"
int_prefix "675"
int_select "00"
END LC_TELEPHONE
LC_MEASUREMENT
copy "i18n"
END LC_MEASUREMENT