diff options
author | bapt <bapt@FreeBSD.org> | 2015-11-15 12:44:31 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-11-15 12:44:31 +0000 |
commit | ff63dbca6e1ace69739dba252945a53929f2f322 (patch) | |
tree | edc206fd2e32330f9445ac543bc957e598794bfe /share | |
parent | ae1d62cec88b407829500bdbda089bfdb1a116f8 (diff) | |
download | FreeBSD-src-ff63dbca6e1ace69739dba252945a53929f2f322.zip FreeBSD-src-ff63dbca6e1ace69739dba252945a53929f2f322.tar.gz |
Rework locale-links to not make symlinks on directories but symlinks on files
The goal here is to make the upgrade seamless for users
Add aliases for zh_HK
Remove bad symlinks created by previous bad upgrade procedure.
Complete ObsoleteFiles.inc with more locales that have been removed
Diffstat (limited to 'share')
-rw-r--r-- | share/locale-links/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/share/locale-links/Makefile b/share/locale-links/Makefile index 06fc9e4..4b4d6ac 100644 --- a/share/locale-links/Makefile +++ b/share/locale-links/Makefile @@ -1,16 +1,28 @@ # $FreeBSD$ LOCALEDIR= ${SHAREDIR}/locale +LC_FILES= LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC \ + LC_TIME # We need to keep zh_CN.* around as aliases to zh_Hans_CN.* because some # of the lang catalogs use zh_CN still (e.g. vi), plus people may expect it # We won't alias zh_Hans_CN or zh_Hans_UTF8 though .for CN in GB18030 GB2312 GBK UTF-8 eucCN -SYMLINKS+= zh_Hans_CN.${CN} ${LOCALEDIR}/zh_CN.${CN} +.for f in ${LC_FILES} +SYMLINKS+= zh_Hans_CN.${CN}/${f} ${LOCALEDIR}/zh_CN.${CN}/${f} +.endfor +.endfor + +.for HK in Big5HKSCS UTF-8 +.for f in ${LC_FILES} +SYMLINKS+= zh_Hant_HK.${HK}/${f} ${LOCALEDIR}/zh_HK.${HK}/${f} +.endfor .endfor .for TW in Big5 UTF-8 -SYMLINKS+= zh_Hant_TW.${TW} ${LOCALEDIR}/zh_TW.${TW} +.for f in ${LC_FILES} +SYMLINKS+= zh_Hant_TW.${TW}/${f} ${LOCALEDIR}/zh_TW.${TW}/${f} +.endfor .endfor .include <bsd.prog.mk> |