Posixify the locales name for variants
authorbapt <bapt@FreeBSD.org>
Sun, 3 Jul 2016 18:21:11 +0000 (18:21 +0000)
committerbapt <bapt@FreeBSD.org>
Sun, 3 Jul 2016 18:21:11 +0000 (18:21 +0000)
commit9889527f5a2ab902035c679c612e4e5687466fea
tree5a15a869f837abcd6acea9d7a7ce6d0c1e536aa0
parent2ff8e9c6364b43e59db4e7bcb2dafb66980c2024
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)
57 files changed:
ObsoleteFiles.inc
etc/mtree/BSD.usr.dist
share/Makefile
share/colldef/Makefile
share/colldef/kk_KZ.UTF-8.src [moved from share/colldef/kk_Cyrl_KZ.UTF-8.src with 100% similarity]
share/colldef/zh_CN.UTF-8.src [moved from share/colldef/zh_Hans_CN.UTF-8.src with 100% similarity]
share/colldef/zh_TW.UTF-8.src [moved from share/colldef/zh_Hant_TW.UTF-8.src with 100% similarity]
share/ctypedef/Makefile
share/ctypedef/ja_JP.SJIS.src [moved from share/ctypedef/ja_JP.eucJP.src with 100% similarity]
share/ctypedef/zh_CN.GB18030.src [moved from share/ctypedef/zh_Hans_CN.eucCN.src with 100% similarity]
share/ctypedef/zh_TW.Big5.src [moved from share/ctypedef/zh_Hant_TW.Big5.src with 100% similarity]
share/locale-links/Makefile [deleted file]
share/locale-links/Makefile.depend [deleted file]
share/monetdef/Makefile
share/monetdef/kk_KZ.UTF-8.src [moved from share/monetdef/kk_Cyrl_KZ.UTF-8.src with 100% similarity]
share/monetdef/mn_MN.UTF-8.src [moved from share/monetdef/mn_Cyrl_MN.UTF-8.src with 100% similarity]
share/monetdef/sr_RS.UTF-8@latin.src [moved from share/monetdef/sr_Latn_RS.UTF-8.src with 100% similarity]
share/monetdef/zh_CN.GB2312.src [moved from share/monetdef/zh_Hans_CN.GB2312.src with 100% similarity]
share/monetdef/zh_CN.GBK.src [moved from share/monetdef/zh_Hans_CN.GBK.src with 100% similarity]
share/monetdef/zh_CN.UTF-8.src [moved from share/monetdef/zh_Hans_CN.UTF-8.src with 100% similarity]
share/monetdef/zh_CN.eucCN.src [moved from share/monetdef/zh_Hans_CN.eucCN.src with 100% similarity]
share/monetdef/zh_HK.UTF-8.src [moved from share/monetdef/zh_Hant_HK.UTF-8.src with 100% similarity]
share/monetdef/zh_TW.Big5.src [moved from share/monetdef/zh_Hant_TW.Big5.src with 100% similarity]
share/monetdef/zh_TW.UTF-8.src [moved from share/monetdef/zh_Hant_TW.UTF-8.src with 100% similarity]
share/msgdef/Makefile
share/msgdef/kk_KZ.UTF-8.src [moved from share/msgdef/kk_Cyrl_KZ.UTF-8.src with 100% similarity]
share/msgdef/mn_MN.UTF-8.src [moved from share/msgdef/mn_Cyrl_MN.UTF-8.src with 100% similarity]
share/msgdef/sr_RS.ISO8859-5.src [moved from share/msgdef/sr_Cyrl_RS.ISO8859-5.src with 100% similarity]
share/msgdef/sr_RS.UTF-8.src [moved from share/msgdef/sr_Cyrl_RS.UTF-8.src with 100% similarity]
share/msgdef/sr_RS.UTF-8@latin.src [moved from share/msgdef/sr_Latn_RS.UTF-8.src with 100% similarity]
share/msgdef/zh_CN.GB2312.src [moved from share/msgdef/zh_Hans_CN.GB2312.src with 100% similarity]
share/msgdef/zh_CN.GBK.src [moved from share/msgdef/zh_Hans_CN.GBK.src with 100% similarity]
share/msgdef/zh_CN.UTF-8.src [moved from share/msgdef/zh_Hans_CN.UTF-8.src with 100% similarity]
share/msgdef/zh_HK.UTF-8.src [moved from share/msgdef/zh_Hant_HK.UTF-8.src with 100% similarity]
share/msgdef/zh_TW.Big5.src [moved from share/msgdef/zh_Hant_TW.Big5.src with 100% similarity]
share/msgdef/zh_TW.UTF-8.src [moved from share/msgdef/zh_Hant_TW.UTF-8.src with 100% similarity]
share/numericdef/Makefile
share/numericdef/zh_CN.GB2312.src [moved from share/numericdef/zh_Hans_CN.GB2312.src with 100% similarity]
share/numericdef/zh_CN.eucCN.src [moved from share/numericdef/zh_Hans_CN.eucCN.src with 100% similarity]
share/numericdef/zh_TW.Big5.src [moved from share/numericdef/zh_Hant_TW.Big5.src with 100% similarity]
share/timedef/Makefile
share/timedef/kk_KZ.UTF-8.src [moved from share/timedef/kk_Cyrl_KZ.UTF-8.src with 100% similarity]
share/timedef/mn_MN.UTF-8.src [moved from share/timedef/mn_Cyrl_MN.UTF-8.src with 100% similarity]
share/timedef/sr_RS.ISO8859-2.src [moved from share/timedef/sr_Latn_RS.ISO8859-2.src with 100% similarity]
share/timedef/sr_RS.ISO8859-5.src [moved from share/timedef/sr_Cyrl_RS.ISO8859-5.src with 100% similarity]
share/timedef/sr_RS.UTF-8.src [moved from share/timedef/sr_Cyrl_RS.UTF-8.src with 100% similarity]
share/timedef/sr_RS.UTF-8@latin.src [moved from share/timedef/sr_Latn_RS.UTF-8.src with 100% similarity]
share/timedef/zh_CN.GB2312.src [moved from share/timedef/zh_Hans_CN.GB2312.src with 100% similarity]
share/timedef/zh_CN.GBK.src [moved from share/timedef/zh_Hans_CN.GBK.src with 100% similarity]
share/timedef/zh_CN.UTF-8.src [moved from share/timedef/zh_Hans_CN.UTF-8.src with 100% similarity]
share/timedef/zh_CN.eucCN.src [moved from share/timedef/zh_Hans_CN.eucCN.src with 100% similarity]
share/timedef/zh_HK.UTF-8.src [moved from share/timedef/zh_Hant_HK.UTF-8.src with 100% similarity]
share/timedef/zh_TW.Big5.src [moved from share/timedef/zh_Hant_TW.Big5.src with 100% similarity]
share/timedef/zh_TW.UTF-8.src [moved from share/timedef/zh_Hant_TW.UTF-8.src with 100% similarity]
tools/build/mk/OptionalObsoleteFiles.inc
tools/tools/locale/tools/cldr2def.pl
tools/tools/locale/tools/finalize