[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#481176: [l10n:ro] xkeyboard-config needs to comply with Romanian standards (apply patch or let 1.3 in lenny)



Package: xkeyboard-config
Version: 1.2~cvs.20080501.1-1
Severity: normal
Tags: patch l10n


Hello,

Almost 4 years have passed since the creation of the Romanian standard
for keyboard (SR13992:2004). There are 2 layouts legislated by this
standard and they can be seen in these pictures at
http://www.i18n.ro/tastaturi:

http://www.i18n.ro/Imagine:Ro.png
http://www.i18n.ro/Imagine:Ro-us.png


Each of these 2 layouts have been implemented in two variants with
commabelow sStT and with cedilla sStT, respectively.
Currently, in Debian, the default xkeyboard-config is the cedilla
(ro-us) variant of the layout and we want to change this.
( For more information about this commabellow/cedilla issue, see:
http://wiki.debian.org/L10N/Romanian/CommaTransition )


The correct variants are the ones with commabelow, while the cedilla
ones are incorrect and kept for compatibility reasons with other OSes.
Using comma below diacritics by default is an unofficial release goal
of the Romanian l10n team for the lenny release.



The upstream deals with this issue in this BR:
https://bugs.freedesktop.org/show_bug.cgi?id=13277

while the repo already has these changes included in the proposed patch:
https://bugs.freedesktop.org/attachment.cgi?id=16354.



Please apply the attached patch or use the next upstream release in
lenny (1.3 - scheduled for the 27th of May) to fix this issue.

-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Index: rules/base.xml.in
===================================================================
RCS file: /cvs/xkeyboard-config/xkeyboard-config/rules/base.xml.in,v
retrieving revision 1.254
diff -u -r1.254 base.xml.in
--- rules/base.xml.in	30 Apr 2008 21:29:08 -0000	1.254
+++ rules/base.xml.in	5 May 2008 05:02:19 -0000
@@ -3095,14 +3095,14 @@
       <variantList>
         <variant>
           <configItem>
-            <name>comma</name>
-            <_description>Commabelow</_description>
+            <name>cedilla</name>
+            <_description>Cedilla</_description>
           </configItem>
         </variant>
         <variant>
           <configItem>
-            <name>std_comma</name>
-            <_description>Standard (Commabelow)</_description>
+            <name>std</name>
+            <_description>Standard</_description>
           </configItem>
         </variant>
         <variant>
Index: symbols/ro
===================================================================
RCS file: /cvs/xkeyboard-config/xkeyboard-config/symbols/ro,v
retrieving revision 1.17
diff -u -r1.17 ro
--- symbols/ro	2 Jan 2008 20:34:24 -0000	1.17
+++ symbols/ro	5 May 2008 05:02:20 -0000
@@ -7,15 +7,15 @@
 // 
 // The default mapping is the RO_US/Programmers layout because of the lack of 
 // Romanian hardware keyboards. The primary standard layout is implemented as 
-// the "std_cedilla" variant. If you're determined to get commabelows as in
-// ISO-8859-16 (and not cedillas as in ISO-8859-2) use the defined variants  
-// "comma" for the default layout or "std_comma" for the standard one.
-// MS compatible layout included (use the "winkeys" variant).
+// the "std" variant. If you're determined to get cedillas as in ISO-8859-2  
+// (and not commabelow accents as in ISO-8859-16) use the defined variants 
+// "cedilla" for the default layout or "std_cedilla" for the standard one. 
+// Pre-Vista MS compatible layout included (use the "winkeys" variant).
 // 
 // Created by Cristian Gafton, <gafton@redhat.com> (C) 2000
 // Modified by Marius Andreiana, <mandreiana@yahoo.com> (C) 2001
-// Completed by Misu Moldovan, <dumol@gnome.ro> (C) 2001, 2004-2007.
-// v 1.3
+// Completed by Misu Moldovan, <dumol@gnome.ro> (C) 2001, 2004-2008.
+// v 1.4
 
 
 default partial alphanumeric_keys
@@ -45,13 +45,13 @@
     key <AD01> { [ q,                      Q,  acircumflex,   Acircumflex ] };
     key <AD02> { [ w,                      W,  ssharp	 	          ] };
     key <AD03> { [ e,                      E,  EuroSign  	          ] };
-    key <AD05> { [ t,                      T,  tcedilla,	 Tcedilla ] };
+    key <AD05> { [ t,                      T,  0x100021b,       0x100021a ] };
     key <AD08> { [ i,                      I,  icircumflex,   Icircumflex ] };
     key <AD10> { [ p,                      P,  section 			  ] };
     key <AD11> { [ bracketleft,    braceleft,  doublelowquotemark 	  ] };
     key <AD12> { [ bracketright,  braceright,  rightdoublequotemark 	  ] };
     key <AC01> { [ a,                      A,  abreve,             Abreve ] };
-    key <AC02> { [ s,                      S,  scedilla,	 Scedilla ] };
+    key <AC02> { [ s,                      S,  0x1000219,       0x1000218 ] };
     key <AC03> { [ d,                      D,  dstroke,  	  Dstroke ] };
     key <AC09> { [ l,                      L,  lstroke,  	  Lstroke ] };
     key <LSGT> { [ backslash,            bar                              ] };
@@ -63,22 +63,21 @@
 };
 
 partial alphanumeric_keys
-xkb_symbols "comma" {
-    // Variant of the basic layout with commabelow.
-    // Implements S and T with commabelow as in ISO-8859-16.
-    // Hopefully these should become mainstream in the near future.
-    // For now it's just an odd variant (although the correct one).
+xkb_symbols "cedilla" {
+    // Variant of the basic layout with cedillas.
+    // Implements S and T with cedilllas as in ISO-8859-2.
+    // Included for compatibility reasons (this used to be the default variant).
 
     include "ro(basic)"
 
-    name[Group1]="Romania - Commabelow";
+    name[Group1]="Romania - Cedilla";
 
-    key <AD05>	{ [ t,                     T,  0x100021b,       0x100021a ] };
-    key <AC02>	{ [ s,          	   S,  0x1000219,       0x1000218 ] };
+    key <AD05> { [ t,                      T,  tcedilla,	 Tcedilla ] };
+    key <AC02> { [ s,                      S,  scedilla,	 Scedilla ] };
 };
 
 partial alphanumeric_keys
-xkb_symbols "std_cedilla" {
+xkb_symbols "std" {
     // Primary layout in the new Romanian standard.
     // Implemented here as a variant because of the lack of hardware 
     // Romanian keyboards and because of the predilection of Romanian
@@ -86,7 +85,7 @@
 
     include "us"
 
-    name[Group1]="Romania - Standard (Cedilla)";
+    name[Group1]="Romania - Standard";
 
     key <TLDE> { [ doublelowquotemark, rightdoublequotemark, grave, asciitilde ] };
     key <AE01> { [ 1,                 exclam,  dead_tilde		  ] };
@@ -109,8 +108,8 @@
     key <AC02> { [ s, 			   S,  ssharp			  ] };
     key <AC03> { [ d,                      D,  dstroke,  	  Dstroke ] };
     key <AC09> { [ l,                      L,  lstroke,  	  Lstroke ] };
-    key <AC10> { [ scedilla, 	    Scedilla,  semicolon, 	    colon ] };
-    key <AC11> { [ tcedilla, 	    Tcedilla,  apostrophe, 	 quotedbl ] };
+    key <AC10> { [ 0x1000219,	   0x1000218,  semicolon, 	    colon ] };
+    key <AC11> { [ 0x100021b,	   0x100021a,  apostrophe, 	 quotedbl ] };
     key <LSGT> { [ backslash,            bar                              ] };
     key <AB03> { [ c,                      C,  copyright 	       	  ] };
     key <AB08> { [ comma, 	   semicolon,  less, 	    guillemotleft ] };
@@ -123,18 +122,17 @@
 
 
 partial alphanumeric_keys
-xkb_symbols "std_comma" {
-    // Academic variant of the standard layout with commabelow.
-    // Implements S and T with commabelow as in ISO-8859-16.
-    // Hopefully these should become mainstream in a few years.
-    // For now it's the oddest variant (although the perfect one).
+xkb_symbols "std_cedilla" {
+    // Variant of the "std" layout with cedillas.
+    // Implements S and T with cedillas as in ISO-8859-2.
+    // Included for compatibility reasons.
 
-    include "ro(std_cedilla)"
+    include "ro(std)"
 
-    name[Group1]="Romania - Standard (Commabelow)";
+    name[Group1]="Romania - Standard (Cedilla)";
 
-    key <AC10> { [ 0x1000219,	   0x1000218 ] };
-    key <AC11> { [ 0x100021b,	   0x100021a ] };
+    key <AC10> { [ scedilla, 	    Scedilla ] };
+    key <AC11> { [ tcedilla, 	    Tcedilla ] };
 };
 
 

Reply to: