aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-10-14 16:15:57 -0400
committerBill Nottingham <notting@redhat.com>2008-10-14 16:15:57 -0400
commit60798049b5988c556d123b1acbdeee3ef16dd223 (patch)
tree3198e03a3d99ed734422d8fc8b3cc87ab4f780f3
parenteec8a2a09859cc70aeb64d10db3f9c34ae66bc08 (diff)
downloadinitscripts-60798049b5988c556d123b1acbdeee3ef16dd223.tar
initscripts-60798049b5988c556d123b1acbdeee3ef16dd223.tar.gz
initscripts-60798049b5988c556d123b1acbdeee3ef16dd223.tar.bz2
initscripts-60798049b5988c556d123b1acbdeee3ef16dd223.tar.xz
initscripts-60798049b5988c556d123b1acbdeee3ef16dd223.zip
Override Arabic, Persian, and Hebrew on the console as well. (<alsadi@ojuba.org>)
Even though we have font coverage, the bidi aspect makes it pretty much illegible.
-rwxr-xr-xlang.csh6
-rwxr-xr-xlang.sh6
2 files changed, 12 insertions, 0 deletions
diff --git a/lang.csh b/lang.csh
index 40fb0b49..04288571 100755
--- a/lang.csh
+++ b/lang.csh
@@ -42,6 +42,9 @@ if ($sourced == 1) then
case ko*:
case si*:
case zh*:
+ case ar*:
+ case fa*:
+ case he*:
case *_IN*:
setenv LANG en_US.UTF-8
breaksw
@@ -61,6 +64,9 @@ if ($sourced == 1) then
case ko*:
case si*:
case zh*:
+ case ar*:
+ case fa*:
+ case he*:
case *_IN*:
setenv LANG en_US
breaksw
diff --git a/lang.sh b/lang.sh
index 7fe9e3ff..b1f3b1ad 100755
--- a/lang.sh
+++ b/lang.sh
@@ -55,6 +55,9 @@ if [ "$sourced" = 1 ]; then
ko*) LANG=en_US.UTF-8 ;;
si*) LANG=en_US.UTF-8 ;;
zh*) LANG=en_US.UTF-8 ;;
+ ar*) LANG=en_US.UTF-8 ;;
+ fa*) LANG=en_US.UTF-8 ;;
+ he*) LANG=en_US.UTF-8 ;;
en_IN*) ;;
*_IN*) LANG=en_US.UTF-8 ;;
esac
@@ -69,6 +72,9 @@ if [ "$sourced" = 1 ]; then
ko*) LANG=en_US ;;
si*) LANG=en_US ;;
zh*) LANG=en_US ;;
+ ar*) LANG=en_US ;;
+ fa*) LANG=en_US ;;
+ he*) LANG=en_US ;;
en_IN*) ;;
*_IN*) LANG=en_US ;;
esac