[gnome-shell/wip/fmuellner/pardon-my-french: 22/22] osk-layouts: Fix French layout
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/pardon-my-french: 22/22] osk-layouts: Fix French layout
- Date: Mon, 4 Mar 2019 20:56:43 +0000 (UTC)
commit 859aef78c4d2472b2545ce9ecc889c00b9893494
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 27 20:11:35 2019 +0100
osk-layouts: Fix French layout
The script to convert XML keyboard layouts to json has a small bug
that causes the French-Canadian layout to end up as French.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/997
data/gnome-shell-osk-layouts.gresource.xml | 1 +
data/osk-layouts/ca.json | 599 +++++++++++++++++++++++++++++
data/osk-layouts/fr.json | 89 +++--
3 files changed, 652 insertions(+), 37 deletions(-)
---
diff --git a/data/gnome-shell-osk-layouts.gresource.xml b/data/gnome-shell-osk-layouts.gresource.xml
index dbc1c1270..8730e1d4a 100644
--- a/data/gnome-shell-osk-layouts.gresource.xml
+++ b/data/gnome-shell-osk-layouts.gresource.xml
@@ -6,6 +6,7 @@
<file>be.json</file>
<file>bg.json</file>
<file>by.json</file>
+ <file>ca.json</file>
<file>cz.json</file>
<file>de.json</file>
<file>dk.json</file>
diff --git a/data/osk-layouts/ca.json b/data/osk-layouts/ca.json
new file mode 100644
index 000000000..2b2bedc3d
--- /dev/null
+++ b/data/osk-layouts/ca.json
@@ -0,0 +1,599 @@
+{
+ "levels": [
+ {
+ "level": "",
+ "mode": "default",
+ "rows": [
+ [
+ [
+ "q"
+ ],
+ [
+ "w"
+ ],
+ [
+ "e",
+ "é",
+ "è",
+ "ê",
+ "ë",
+ "%",
+ "ę",
+ "ė",
+ "ē"
+ ],
+ [
+ "r"
+ ],
+ [
+ "t"
+ ],
+ [
+ "y",
+ "%",
+ "ÿ"
+ ],
+ [
+ "u",
+ "ù",
+ "û",
+ "%",
+ "ü",
+ "ú",
+ "ū"
+ ],
+ [
+ "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+ "]"
+ ]
+ ],
+ [
+ [
+ "*",
+ "†",
+ "‡",
+ "★"
+ ],
+ [
+ "\"",
+ "“",
+ "”",
+ "«",
+ "»"
+ ],
+ [
+ "'",
+ "‘",
+ "’",
+ "‹",
+ "›"
+ ],
+ [
+ ":"
+ ],
+ [
+ ";"
+ ],
+ [
+ "!",
+ "¡"
+ ],
+ [
+ "?",
+ "¿"
+ ]
+ ],
+ [
+ [
+ "_"
+ ],
+ [
+ "/"
+ ],
+ [
+ " "
+ ],
+ [
+ ","
+ ],
+ [
+ ".",
+ "…"
+ ]
+ ]
+ ]
+ },
+ {
+ "level": "opt+shift",
+ "mode": "locked",
+ "rows": [
+ [
+ [
+ "~"
+ ],
+ [
+ "`"
+ ],
+ [
+ "|"
+ ],
+ [
+ "•",
+ "♪",
+ "♥",
+ "♠",
+ "♦",
+ "♣"
+ ],
+ [
+ "√"
+ ],
+ [
+ "Π",
+ "π"
+ ],
+ [
+ "÷"
+ ],
+ [
+ "×"
+ ],
+ [
+ "¶",
+ "§"
+ ],
+ [
+ "∆"
+ ]
+ ],
+ [
+ [
+ "£"
+ ],
+ [
+ "¢"
+ ],
+ [
+ "€"
+ ],
+ [
+ "¥"
+ ],
+ [
+ "^",
+ "↑",
+ "↓",
+ "←",
+ "→"
+ ],
+ [
+ "°",
+ "′",
+ "″"
+ ],
+ [
+ "=",
+ "≠",
+ "≈",
+ "∞"
+ ],
+ [
+ "{"
+ ],
+ [
+ "}"
+ ]
+ ],
+ [
+ [
+ "\\"
+ ],
+ [
+ "©"
+ ],
+ [
+ "®"
+ ],
+ [
+ "™"
+ ],
+ [
+ "℅"
+ ],
+ [
+ "["
+ ],
+ [
+ "]"
+ ]
+ ],
+ [
+ [
+ "<",
+ "‹",
+ "≤",
+ "«"
+ ],
+ [
+ ">",
+ "›",
+ "≥",
+ "»"
+ ],
+ [
+ " "
+ ],
+ [
+ ","
+ ],
+ [
+ ".",
+ "…"
+ ]
+ ]
+ ]
+ }
+ ],
+ "locale": "fr-CA",
+ "name": "French Canada"
+}
\ No newline at end of file
diff --git a/data/osk-layouts/fr.json b/data/osk-layouts/fr.json
index 2b2bedc3d..dd572b136 100644
--- a/data/osk-layouts/fr.json
+++ b/data/osk-layouts/fr.json
@@ -6,10 +6,20 @@
"rows": [
[
[
- "q"
+ "a",
+ "à",
+ "â",
+ "%",
+ "æ",
+ "á",
+ "ä",
+ "ã",
+ "å",
+ "ā",
+ "ª"
],
[
- "w"
+ "z"
],
[
"e",
@@ -71,17 +81,7 @@
],
[
[
- "a",
- "à",
- "â",
- "%",
- "æ",
- "á",
- "ä",
- "ã",
- "å",
- "ā",
- "ª"
+ "q"
],
[
"s"
@@ -106,11 +106,14 @@
],
[
"l"
+ ],
+ [
+ "m"
]
],
[
[
- "z"
+ "w"
],
[
"x"
@@ -131,7 +134,11 @@
"n"
],
[
- "m"
+ "'",
+ "‘",
+ "’",
+ "‹",
+ "›"
]
],
[
@@ -161,10 +168,20 @@
"rows": [
[
[
- "Q"
+ "A",
+ "À",
+ "Â",
+ "%",
+ "Æ",
+ "Á",
+ "Ä",
+ "Ã",
+ "Å",
+ "Ā",
+ "ª"
],
[
- "W"
+ "Z"
],
[
"E",
@@ -226,17 +243,7 @@
],
[
[
- "A",
- "À",
- "Â",
- "%",
- "Æ",
- "Á",
- "Ä",
- "Ã",
- "Å",
- "Ā",
- "ª"
+ "Q"
],
[
"S"
@@ -261,11 +268,14 @@
],
[
"L"
+ ],
+ [
+ "M"
]
],
[
[
- "Z"
+ "W"
],
[
"X"
@@ -286,7 +296,11 @@
"N"
],
[
- "M"
+ "'",
+ "‘",
+ "’",
+ "‹",
+ "›"
]
],
[
@@ -369,10 +383,10 @@
"#"
],
[
- "$",
+ "€",
"¢",
"£",
- "€",
+ "$",
"¥",
"₱"
],
@@ -511,13 +525,14 @@
"£"
],
[
- "¢"
+ "¥"
],
[
- "€"
+ "$",
+ "¢"
],
[
- "¥"
+ "¢"
],
[
"^",
@@ -594,6 +609,6 @@
]
}
],
- "locale": "fr-CA",
- "name": "French Canada"
+ "locale": "fr",
+ "name": "French"
}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]