summaryrefslogtreecommitdiff
path: root/arabic/kde4-l10n/scripts/Configure
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-10-27 08:50:18 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-10-27 08:50:18 +0000
commitc96b4198d04ef13644dca1de6867298c4297c52a (patch)
treeffe73c51995d3862d69046d02f360431d0359cd7 /arabic/kde4-l10n/scripts/Configure
parentUpgrade to version 1.1.7 (diff)
Upgrade to 2.2.1.
Submitted by: SASAKI Katuhiro <sahiro@crest.ocn.ne.jp> (with slight modifications)
Diffstat (limited to 'arabic/kde4-l10n/scripts/Configure')
-rw-r--r--arabic/kde4-l10n/scripts/Configure20
1 files changed, 18 insertions, 2 deletions
diff --git a/arabic/kde4-l10n/scripts/Configure b/arabic/kde4-l10n/scripts/Configure
index c8c2ea595ce7..55988c58cf5b 100644
--- a/arabic/kde4-l10n/scripts/Configure
+++ b/arabic/kde4-l10n/scripts/Configure
@@ -7,11 +7,12 @@ if [ "${LINGUAS}" ]; then
set `echo $LINGUAS`
else
if [ "${BATCH}" ]; then
- set \"az\" \"bg\" \"cs\" \"da\" \"el\" \"en_GB\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"lt\" \"lv\" \"mt\" \"nl\" \"no_NY\" \"pl\" \"pt\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"ta\" \"tr\"
+ set \"af\" \"az\" \"bg\" \"cs\" \"da\" \"el\" \"en_GB\" \"eo\" \"es\" \"et\" \"fi\" \"he\" \"hu\" \"is\" \"it\" \"lt\" \"lv\" \"mt\" \"nl\" \"no\" \"no_NY\" \"pl\" \"pt\" \"pt_BR\" \"ro\" \"sk\" \"sl\" \"sr\" \"sv\" \"ta\" \"th\" \"tr\" \"xh\" \"zh_TW.Big5\"
else
/usr/bin/dialog --title "Select languages" --clear \
--checklist "\n\
Please select desired languages:" -1 -1 16 \
+af "Afrikaans" OFF \
az "Azerbaijani Turkish" OFF \
bg "Bulgarisch" OFF \
cs "Czech" OFF \
@@ -28,12 +29,15 @@ hu "Hungarian" OFF \
is "Icelandic" OFF \
it "Italian" OFF \
ja "Japanese" ON \
+ko "Korean" ON \
lt "Lithuanian" ON \
lv "Latvian" ON \
mt "Maltese" ON \
+no "Norwegian" OFF \
no_NY "Norwegian (Nynorsk)" OFF \
pl "Polish" OFF \
pt "Portuguese" OFF \
+pt_BR "Portuguese (Brazil)" OFF \
ro "Romanian" OFF \
ru "Russian" ON \
sr "Serbian" OFF \
@@ -42,9 +46,13 @@ sk "Slovak" OFF \
sl "Slovenian" OFF \
es "Spanish" OFF \
sv "Swedish" OFF \
+ta "Tamil" OFF \
+th "Thai" OFF \
+zh_TW.Big5 "Traditional Chinese" ON \
tr "Turkish" OFF \
en_GB "UK English" OFF \
-uk "Ukrainian" OFF \
+uk "Ukrainian" ON \
+xh "Xhosa" OFF \
2> /tmp/chklist.tmp.$$
retval=$?
@@ -76,7 +84,15 @@ while [ "$1" ]; do
/usr/bin/grep "^[^@].*/$a/.*" ${CURDIR}/pkg-plist >> ${PLIST}
/usr/bin/grep "^[^@].*-$a\$" ${CURDIR}/pkg-plist >> ${PLIST}
/usr/bin/grep "^@.*/$a/.*" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
+ /usr/bin/grep "^@.*/$a$" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
+ if [ x$a = xzh_TW.Big5 ]; then
+ /usr/bin/grep "^[^@].*/zh_TW/.*" ${CURDIR}/pkg-plist >> ${PLIST}
+ /usr/bin/grep "^[^@].*-zh_TW\$" ${CURDIR}/pkg-plist >> ${PLIST}
+ /usr/bin/grep "^@.*/zh_TW/.*" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
+ /usr/bin/grep "^@.*/zh_TW$" ${CURDIR}/pkg-plist >> ${PLIST}.dirs
+ fi
shift
done
/bin/cat ${PLIST}.dirs >> ${PLIST}
+/bin/cat ${FILESDIR}/pkg-plist.sub >> ${PLIST}