summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2023-04-24 13:22:09 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2023-04-25 08:55:37 +0200
commitd2d2b7ba9c1b84b649582279e697ea87dbcfc154 (patch)
tree7f41c97e44445a7396d83d27df276ae78b70ad68
parent8877d052b1d60bc6c9ce87b2cfb092a6fb865b91 (diff)
downloadxkeyboard-config-d2d2b7ba9c1b84b649582279e697ea87dbcfc154.tar.gz
improve the names of two Czech and two Slovak variants
Nineteen years ago, commit 8e1e2d8195 baptized these four variants with the words "extended backslash". Nine months later, commit 999e981f4c synced these names to the relevant symbol files. But just two days later, commit 3ad7cee7c5 changed one of the names to read "with <\|> key", in response to https://bugs.freedesktop.org/2319. (A week later, commit 1b8556fe6f synced this name to the XML file.) This gave one of the four very similar variants a deviant name. The string "with <\|> key" is difficult for translators. For a long time I have thought that "<" and ">" were the relevant symbols, and that the "|" was an OR symbol, escaped by the "\". In other words: I thought that the string referred to the LSGT key. :/ What the four variants actually do is: put the backslash and vertical bar characters on the BKSL key (replacing the dead diaeresis and the apostrophe), for those keyboards that lack the LSGT key, to make typing "\" and "|" more straightforward -- these symbols are present also on the third level of the Q and W keys. So what those variants do is: add an *extra* backslash and vertical bar character to the layout, for easier access, at the cost of having the apostrophe accessible only via AltGr and the dead diaeresis only via Shift+AltGr. So... name all four variants more fittingly and in the same manner. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-rw-r--r--rules/base.xml8
-rw-r--r--symbols/cz8
-rw-r--r--symbols/sk8
3 files changed, 10 insertions, 14 deletions
diff --git a/rules/base.xml b/rules/base.xml
index 8204928..18d0ae2 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -3229,7 +3229,7 @@
<variant>
<configItem>
<name>bksl</name>
- <description>Czech (with &lt;\|&gt; key)</description>
+ <description>Czech (extra backslash)</description>
</configItem>
</variant>
<variant>
@@ -3241,7 +3241,7 @@
<variant>
<configItem>
<name>qwerty_bksl</name>
- <description>Czech (QWERTY, extended backslash)</description>
+ <description>Czech (QWERTY, extra backslash)</description>
</configItem>
</variant>
<variant>
@@ -5450,7 +5450,7 @@
<variant>
<configItem>
<name>bksl</name>
- <description>Slovak (extended backslash)</description>
+ <description>Slovak (extra backslash)</description>
</configItem>
</variant>
<variant>
@@ -5462,7 +5462,7 @@
<variant>
<configItem>
<name>qwerty_bksl</name>
- <description>Slovak (QWERTY, extended backslash)</description>
+ <description>Slovak (QWERTY, extra backslash)</description>
</configItem>
</variant>
</variantList>
diff --git a/symbols/cz b/symbols/cz
index 064c562..487036f 100644
--- a/symbols/cz
+++ b/symbols/cz
@@ -69,10 +69,10 @@ xkb_symbols "basic" {
xkb_symbols "bksl" {
- // Use <BKSL> instead of <LSGT> (useful for keyboards without <LSGT> key).
+ // Put backslash on BKSL key (for when LSGT key is missing).
include "cz(basic)"
- name[Group1]= "Czech (with <\|> key)";
+ name[Group1]= "Czech (extra backslash)";
key <BKSL> {[ backslash, bar, slash, NoSymbol ] };
};
@@ -99,10 +99,8 @@ xkb_symbols "qwerty" {
xkb_symbols "qwerty_bksl" {
- // Use <BKSL> instead of <LSGT> (useful for keyboards without <LSGT> key).
-
include "cz(qwerty)"
- name[Group1]= "Czech (QWERTY, extended backslash)";
+ name[Group1]= "Czech (QWERTY, extra backslash)";
key <BKSL> {[ backslash, bar, slash, NoSymbol ] };
};
diff --git a/symbols/sk b/symbols/sk
index 2bc5083..9f8234b 100644
--- a/symbols/sk
+++ b/symbols/sk
@@ -110,10 +110,10 @@ xkb_symbols "acc" {
xkb_symbols "bksl" {
- // Use <BKSL> instead of <LSGT> (useful for keyboards without <LSGT> key).
+ // Put backslash on BKSL key (for when LSGT key is missing).
include "sk(basic)"
- name[Group1] = "Slovak (extended backslash)";
+ name[Group1] = "Slovak (extra backslash)";
key <BKSL> { [ backslash, bar, slash, parenright ] };
key <LSGT> { [ backslash, parenleft, slash, NoSymbol ] };
@@ -135,10 +135,8 @@ xkb_symbols "qwerty" {
xkb_symbols "qwerty_bksl" {
- // Use <BKSL> instead of <LSGT> (useful for keyboards without <LSGT> key).
-
include "sk(qwerty)"
- name[Group1] = "Slovak (QWERTY, extended backslash)";
+ name[Group1] = "Slovak (QWERTY, extra backslash)";
key <BKSL> { [ backslash, bar, slash, parenright ] };
key <LSGT> { [ backslash, parenleft, slash, NoSymbol ] };