Commit Graph

95 Commits

Author SHA1 Message Date
bapt
9889527f5a Posixify the locales name for variants
For all locales with variants:
- if no ambiguity on the locale (only one variant) just use the regular name
- if ambiguity, pick one as default and append @<variant> to the others
  respecting POSIX

As a result:
- All the 3 components locales added recently are renamed to the usual 2
  components version for all but sr_RS.UTF-8
- Set sr_RS.UTF-8 to the cyrillic variant
- Add sr_RS.UTF-8@latin
- Remove the symlinks aliases they were created to represent the 2 components
  version as aliasas and are now useless
- Update the OptionalObsoleteFiles.inc and ObsoleteFiles.inc to reflect those
  changes

Discussed with:	ache@
Approved by:	re@ (gjb)
2016-07-03 18:21:11 +00:00
bapt
6d8d86e462 Fix generation of locales with multiple variants
Serbian locales have triple components to represent the 2 variations of the
locale: Latin and Cyrillic. Previously the tools generatic the locale were
appending both definitions instead of differentiating them.

Reported by:	ache
Approved by:	re (gjb)
2016-06-20 06:45:42 +00:00
bapt
2d1226d5e3 Regenerates locales Makefiles and locales 2016-04-16 17:55:11 +00:00
bapt
429291909c Simplify the locale generated Makefiles by using bmake multi variables for loops 2015-12-18 21:34:28 +00:00
bdrewery
a23213fe40 META MODE: Fix 'make the-lot' with recent locale changes
Sponsored by:	EMC / Isilon Storage Division
2015-11-25 19:13:28 +00:00
bapt
3f00265ee4 Bring back a couple of ISO8859-15 locales:
- af_ZA.ISO8859-15
- en_AU.ISO8859-15
- en_CA.ISO8859-15
- en_NZ.ISO8859-15
- en_US.ISO8859-15
- fr_CA.ISO8859-15
2015-11-16 12:58:47 +00:00
bapt
ded369f5b9 Regenerate locales after readding ISO8859-1 for locales that have ISO8859-15
Requested by:	arche
2015-11-15 14:51:10 +00:00
bdrewery
bf614d3ddb Use explicit filename when creating locale symlinks to avoid creating a
directory symlink when the target directory does not exist.  This will
cause an error instead of a broken setup.

Sponsored by:	EMC / Isilon Storage Division
2015-11-11 18:45:48 +00:00
bapt
1477bec6db Merge from head 2015-11-01 21:17:38 +00:00
bdrewery
b5aa209983 Use more appropriate ${SHAREDIR} rather than /usr/share.
MFC after:	2 weeks
Sponsored by:	EMC / Isilon Storage Division
2015-10-27 23:35:02 +00:00
bapt
9e21b4c174 Regenerate locales 2015-10-13 20:24:57 +00:00
bapt
671598262f Add newly generated locales from CLDR 27.0.1
only skip timedef until I figure out how to workaround svn painful mime-type handling
2015-08-08 01:45:53 +00:00
sjg
008d7c831f Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
af658cbca3 Ensure SYMLINKS fully specified
Differential Revision:       D2748
Reviewed by: brooks
2015-06-11 21:09:03 +00:00
sjg
75a137820d dirdeps.mk now sets DEP_RELDIR 2015-06-08 23:35:17 +00:00
sjg
0ee5295509 Updated dependencies 2013-02-16 01:23:54 +00:00
obrien
3028e3f8ab Sync with HEAD. 2013-02-08 16:10:16 +00:00
brooks
df93558da4 Don't link two different things to the same paths. As tiebreaker I've
picked the link that was installed last so as to not change the behavior.
The one exception is sr_YU.ISO8859-2/LC_MONETARY where a file was being
replaced by a link.
2013-01-24 17:00:11 +00:00
sjg
ce5707f03f Include the target filename in SYMLINKS to avoid any confusion about
what is dirname and filename.
2013-01-23 00:49:05 +00:00
marcel
9dd41e3647 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
ache
fce8a646ce Add lv_LV 2009-09-03 17:37:23 +00:00
edwin
f4fc80f170 add ca_AD, ca_FR and ca_IT locales
Catalan language is not only spoken in Spain (ca_ES), but also
    in Andorra, France and Italy. In Andorra it is the official
    language.

    (see http://en.wikipedia.org/wiki/Catalan_language#Geographic_distribution)

Add a bunch of symlinks to between ca_ES and ca_AD, ca_FR and ca_IT.

PR:		conf/92541
Submitted by:	<rmh@io.debian.net>
MFC after:	1 week
2009-06-10 12:20:11 +00:00
edwin
9acfe97a2e Fix LC_NUMERIC and LC_MONETARY for de_CH locale
With the de_CH (swiss german) locale, numbers should look like this:

    numbers: 1'234.45
    monetary values: Fr. 1'234.45

Previously, the thousands separator was missing for numbers, and
"." for monetary values, and "," was incorrectly used as decimal
point.

PR:		conf/75502
Submitted by:	Benjamin Lutz <benlutz@datacomm.ch>
MFC after:	1 week
2009-06-09 22:22:04 +00:00
des
a9a2f810d6 Add locales for nb_NO and nn_NO.
Reviewed by:	philip
2006-11-09 18:10:34 +00:00
ache
c12a3c74f9 Add mn_MN.UTF-8
Submitted by:   Ganbold <ganbold@micom.mng.net>
2006-10-02 00:36:52 +00:00
ru
47f2612399 New Ukrainian locale: uk_UA.CP1251.
Submitted by:	Alexander Peresunko
2005-03-04 14:24:30 +00:00
tobez
79cd9caa77 Use comma instead of a single quote as the decimal point separator for
eu_ES.* locales.

Discussed with: "J. Vicente Carrasco -Bixen- " <carvay@tikismikis.org>,
		the eu_ES.* locales submitter, tjr
2004-11-16 14:58:20 +00:00
ru
a1b79e2908 Utilize FILES and SYMLINKS. 2004-10-18 08:54:17 +00:00
keramida
3563cef597 Add the necessary magic to make the thousands separator work for
floating-point formats in the Greek locale.  This allows printing
numbers with the ' format modifier, like this:

$ env -i LC_NUMERIC=el_GR.ISO8859-7 printf "%'.3f\n" 1024000
1.024.000,000

Reviewed by:	das
2004-10-13 22:12:59 +00:00
tjr
3f14b0370b Symlink missing lt_LT.ISO8859-4 LC_MONETARY, LC_MESSAGES and LC_NUMERIC
data files to the ISO8859-13 versions.
2004-08-28 13:24:24 +00:00
tjr
73afa7d781 Add Basque (Spain) locales: eu_ES.ISO8859-1, eu_ES.ISO8859-15, eu_ES.UTF-8.
(This differs somewhat from the version originally submitted - any mistakes
are my own.)

PR:		68524
Submitted by:	J. Vicente Carrasco -Bixen-
2004-08-28 12:52:31 +00:00
tjr
1511636f6c Add an Israel Hebrew locale: he_IL.UTF-8.
PR:		65826
Submitted by:	Hye-Shik Chang
2004-04-21 15:28:23 +00:00
tjr
76dcd1b254 Add data for missing categories to zh_HK.Big5HKSCS locale. 2004-04-04 12:24:05 +00:00
tjr
642f4c91af Add UTF-8 versions of all the currently supported system locales. Most of
the hard work was done by Hye-Shik Chang in the misc/utf8locale port; I made
a few minor adjustments and merged the makefiles.

PR:	44307
2004-03-27 08:14:15 +00:00
cperciva
a586e42a8c Use correct thousands separator for the Italian locale.
PR:		misc/54477
Submitted by:	Nicola Vitale <nivit@libero.it>
Approved by:	rwatson (mentor)
Confirmed by: 	#freebsd, Google
2004-02-18 05:23:09 +00:00
ache
93aa5eecf9 Add kk_KZ.PT154
Submitted by:   Birsh T <tim@zhezu.kz>
2004-01-29 16:28:22 +00:00
ache
ac5798858c Add be_BY.*
Submitted by:   Yury Tarasievich <grog@grsu.by>
2003-12-20 11:18:43 +00:00
davidxu
09e99681c0 Enable GB2312 locale. 2003-11-05 23:39:03 +00:00
ache
ce14ae208f Add ko_KR.CP949 locale
PR:             55341
submitted by:   Hye-Shik Chang <perky@freebsd.org>
2003-08-08 13:43:49 +00:00
mtm
55db7693f7 Support for the Amharic locale. 2003-08-05 05:42:08 +00:00
ache
74be324290 Add GB18030 locale
PR:             51729
Submitted by:   Kang Liu <liukang@bjpu.edu.cn>
2003-07-29 16:12:56 +00:00
ache
1a67969367 Add ARMSCSII-8 locale
Submitted by:   Vahe Khachikyan <vahe@khachikyan.de>
PR:             53944
2003-07-05 12:03:16 +00:00
ache
90a400aeb4 Replace uk_UA.ISO8859-5 by link
Add link for zh_CN.GBK
2003-06-07 01:24:02 +00:00
ache
5c74315d99 Fix typo in prev. commit 2003-06-07 01:06:03 +00:00
ache
22ac24d03e Replace by links ru_RU.CP866 and ru_RU.ISO8859-5
Add link to ru_RU.CP1251
2003-06-07 00:19:50 +00:00
ache
eb7d34a1e1 Add ca_ES locale
PR:             45874
Submitted by:   Joan Picanyol i Puig <joan-dev@biaix.org>
2002-12-30 09:09:58 +00:00
ache
afbee5cba8 Add lt_LT.ISO8859-13
PR:             44268
Submitted by:   Kestutis Paulikas <kestas@elen.ktu.lt>
2002-10-25 22:02:10 +00:00
ache
8ad465aa86 Add sr_YU locales
Submitted by:    Toni Andjelkovic <toni@soth.at>
2002-10-19 13:04:05 +00:00
ru
a8adf98c82 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
phantom
88fdbeb725 Unbreak ja_JP.SJIS locale by adding following associations:
LC_NUMERIC:     ja_JP.eucJP -> ja_JP.SJIS
        LC_MONETARY:    ja_JP.eucJP -> ja_JP.SJIS
        LC_MESSAGES:    en_GB.ISO8859-1 -> ja_JP.SJIS

2Japansese folks: Feel free to fix as you desire correct.
2002-04-05 15:39:16 +00:00