[PC-BSD Commits] r3232 - pcbsd/trunk/system-overlay/PCBSD/bin

svn at pcbsd.org svn at pcbsd.org
Mon Jan 12 12:25:35 PST 2009


Author: kris
Date: 2009-01-12 12:25:34 -0800 (Mon, 12 Jan 2009)
New Revision: 3232

Modified:
   pcbsd/trunk/system-overlay/PCBSD/bin/pdm
Log:

Updated pdm to set the LANG variable so that KDM shows up in the right language properly



Modified: pcbsd/trunk/system-overlay/PCBSD/bin/pdm
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/bin/pdm	2009-01-12 19:42:52 UTC (rev 3231)
+++ pcbsd/trunk/system-overlay/PCBSD/bin/pdm	2009-01-12 20:25:34 UTC (rev 3232)
@@ -24,6 +24,13 @@
         xvesa=$v
 fi
 
+# Check if we need to set the LANG variable so that KDM works with i18n
+KLANG="`grep ^Language= /PCBSD/local/kde4/share/config/kdmrc | cut -d '=' -f 2`"
+if [ "$KLANG" != "" -a "${KLANG}" != "en_US" ]
+then
+   LANG="${KLANG}" ; export LANG
+fi
+
 # Start our loop
 while
 i=1



More information about the Commits mailing list