[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17243: {incognito} Chinese keyboards == US keyboards, apparently. (in incognito/trunk: arch/x86/overlay/isolinux root_overlay/etc/init.d)



Author: anonym
Date: 2008-11-11 09:43:36 -0500 (Tue, 11 Nov 2008)
New Revision: 17243

Modified:
   incognito/trunk/arch/x86/overlay/isolinux/isolinux.cfg
   incognito/trunk/root_overlay/etc/init.d/external-locale
Log:
Chinese keyboards == US keyboards, apparently.


Modified: incognito/trunk/arch/x86/overlay/isolinux/isolinux.cfg
===================================================================
--- incognito/trunk/arch/x86/overlay/isolinux/isolinux.cfg	2008-11-11 01:26:18 UTC (rev 17242)
+++ incognito/trunk/arch/x86/overlay/isolinux/isolinux.cfg	2008-11-11 14:43:36 UTC (rev 17243)
@@ -27,7 +27,7 @@
 label gentoo-zh
   menu label Chinese
   kernel gentoo
-  append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:incognito-2008.1 console=tty1 acpi=on dopcmcia quiet lang=zh dokeymap
+  append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=gentoo.igz vga=791 splash=silent,theme:incognito-2008.1 console=tty1 acpi=on dopcmcia quiet lang=zh keymap=us dokeymap
 
 label gentoo-en
   menu label English

Modified: incognito/trunk/root_overlay/etc/init.d/external-locale
===================================================================
--- incognito/trunk/root_overlay/etc/init.d/external-locale	2008-11-11 01:26:18 UTC (rev 17242)
+++ incognito/trunk/root_overlay/etc/init.d/external-locale	2008-11-11 14:43:36 UTC (rev 17243)
@@ -69,6 +69,9 @@
 	    local CFONT=""
 	    local CTRANS=""
 	    case "${LANGUAGE}" in
+                "zh")
+                    KEYMAP="us"
+                    ;;
                 "us")
 		    KEYMAP="us"
 		    CFONT="default8x16"
@@ -116,7 +119,7 @@
 		    CFONT="lat0-16"
 		    ;;
 		*)  
-		    # For the others (like Chinese) it seems we can do nothing.
+		    # For the others it seems we can do nothing.
 		    ;;
 	    esac