From 20762f714bdf1df11383c46437528bdb5a1c497d Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 5 Apr 2002 15:39:16 +0000 Subject: [PATCH] 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. --- share/monetdef/Makefile | 2 ++ share/msgdef/Makefile | 1 + share/msgdef/ja_JP.SJIS.src | 13 +++++++++++++ share/numericdef/Makefile | 2 ++ 4 files changed, 18 insertions(+) create mode 100644 share/msgdef/ja_JP.SJIS.src diff --git a/share/monetdef/Makefile b/share/monetdef/Makefile index 7613ff9a73e3..b9bc7633e3d5 100644 --- a/share/monetdef/Makefile +++ b/share/monetdef/Makefile @@ -82,5 +82,7 @@ afterinstall: ln -sf ../${CH_SRC}.ISO8859-1/LC_MONETARY \ ${LOCALEDIR}/${link}.ISO8859-1/LC_MONETARY .endfor + ln -sf ../ja_JP.eucJP/LC_MONETARY \ + ${LOCALEDIR}/ja_JP.SJIS/LC_MONETARY .include diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile index 6dcd69e1d03f..18164f662f3d 100644 --- a/share/msgdef/Makefile +++ b/share/msgdef/Makefile @@ -38,6 +38,7 @@ LOCALES= af_ZA.ISO8859-1 \ uk_UA.KOI8-U \ ko_KR.eucKR \ ja_JP.eucJP \ + ja_JP.SJIS \ zh_TW.Big5 \ zh_CN.eucCN diff --git a/share/msgdef/ja_JP.SJIS.src b/share/msgdef/ja_JP.SJIS.src new file mode 100644 index 000000000000..8a209e5b8526 --- /dev/null +++ b/share/msgdef/ja_JP.SJIS.src @@ -0,0 +1,13 @@ +# $FreeBSD$ +# +# XXX: ja_JP.SJIS contains english messages only. Someone familiar with +# this locale is wanted to complete it! +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# yesexpr +^[yY].* +# noexpr +^[nN].* +# EOF diff --git a/share/numericdef/Makefile b/share/numericdef/Makefile index 49a42c73f032..550ba443d122 100644 --- a/share/numericdef/Makefile +++ b/share/numericdef/Makefile @@ -114,5 +114,7 @@ afterinstall: ln -sf ../${link}.ISO8859-1/LC_NUMERIC \ ${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC .endfor + ln -sf ../ja_JP.eucJP/LC_NUMERIC \ + ${LOCALEDIR}/ja_JP.SJIS/LC_NUMERIC .include