osk-layouts: Fixed Persian OSK

Remove duplicate and unnecessary keys, and add missing ones
(e.g. ZWNJ).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3409>
This commit is contained in:
Sohrab Behdani 2024-07-09 22:24:04 +03:30 committed by Marge Bot
parent 811a4103e4
commit 459981ef79
3 changed files with 46 additions and 50 deletions

View File

@ -46,6 +46,7 @@
<file preprocess="xml-stripblanks">scalable/status/keyboard-hide-symbolic.svg</file> <file preprocess="xml-stripblanks">scalable/status/keyboard-hide-symbolic.svg</file>
<file preprocess="xml-stripblanks">scalable/status/keyboard-layout-symbolic.svg</file> <file preprocess="xml-stripblanks">scalable/status/keyboard-layout-symbolic.svg</file>
<file preprocess="xml-stripblanks">scalable/status/keyboard-shift-symbolic.svg</file> <file preprocess="xml-stripblanks">scalable/status/keyboard-shift-symbolic.svg</file>
<file preprocess="xml-stripblanks">scalable/status/keyboard-zwnj-symbolic.svg</file>
<file preprocess="xml-stripblanks">scalable/status/message-indicator-symbolic.svg</file> <file preprocess="xml-stripblanks">scalable/status/message-indicator-symbolic.svg</file>
<file preprocess="xml-stripblanks">scalable/status/no-notifications-symbolic.svg</file> <file preprocess="xml-stripblanks">scalable/status/no-notifications-symbolic.svg</file>
<file preprocess="xml-stripblanks">scalable/status/screen-privacy-disabled-symbolic.svg</file> <file preprocess="xml-stripblanks">scalable/status/screen-privacy-disabled-symbolic.svg</file>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1">
<path d="M 3,0.5 V 1 c 2.5,0 4.5,1 4.5,2 v 12.5 h 1 V 3 c 0,-1 2,-2 4.5,-2 V 0.5 Z" />
</svg>

After

Width:  |  Height:  |  Size: 231 B

View File

@ -22,16 +22,12 @@
}, },
{ {
"strings": [ "strings": [
"ق", "ق"
"ڨ"
] ]
}, },
{ {
"strings": [ "strings": [
"ف", "ف"
"ڤ",
"ڢ",
"ڥ"
] ]
}, },
{ {
@ -47,7 +43,7 @@
{ {
"strings": [ "strings": [
"ه", "ه",
"ه" "ة"
] ]
}, },
{ {
@ -62,21 +58,25 @@
}, },
{ {
"strings": [ "strings": [
"ج", "ج"
]
},
{
"strings": [
"چ" "چ"
] ]
}, },
{ {
"action": "delete", "action": "delete",
"iconName": "edit-clear-symbolic", "iconName": "edit-clear-symbolic",
"width": 1.5 "width": 1
} }
], ],
[ [
{ {
"leftOffset": 0.5,
"strings": [ "strings": [
"ش", "ش"
"ڜ"
] ]
}, },
{ {
@ -86,24 +86,18 @@
}, },
{ {
"strings": [ "strings": [
"ي", "ی",
"ئ", "ئ"
"ى"
] ]
}, },
{ {
"strings": [ "strings": [
"ب", "ب"
"پ"
] ]
}, },
{ {
"strings": [ "strings": [
"ل", "ل"
"لا",
"لأ",
"لإ",
"لآ"
] ]
}, },
{ {
@ -133,14 +127,13 @@
}, },
{ {
"strings": [ "strings": [
"ك", "ک",
"گ", "ك"
"ک"
] ]
}, },
{ {
"strings": [ "strings": [
"ط" "گ"
] ]
}, },
{ {
@ -151,19 +144,24 @@
], ],
[ [
{ {
"leftOffset": 1, "leftOffset": 1.5,
"strings": [ "strings": [
"ذ" "ظ"
] ]
}, },
{ {
"strings": [ "strings": [
"ء" "ط"
] ]
}, },
{ {
"strings": [ "strings": [
"ؤ" "ژ"
]
},
{
"strings": [
"ز"
] ]
}, },
{ {
@ -173,13 +171,12 @@
}, },
{ {
"strings": [ "strings": [
"ى", "ذ"
"ئ"
] ]
}, },
{ {
"strings": [ "strings": [
"ة" "د"
] ]
}, },
{ {
@ -189,25 +186,14 @@
}, },
{ {
"strings": [ "strings": [
"ز", "پ"
"ژ"
]
},
{
"strings": [
"ظ"
]
},
{
"strings": [
"د"
] ]
} }
], ],
[ [
{ {
"action": "levelSwitch", "action": "levelSwitch",
"label": "?123", "label": "۱۲۳؟",
"level": "opt", "level": "opt",
"width": 1.5 "width": 1.5
}, },
@ -220,7 +206,7 @@
"strings": [ "strings": [
" " " "
], ],
"width": 6 "width": 5.5
}, },
{ {
"strings": [ "strings": [
@ -243,6 +229,10 @@
"(" "("
] ]
}, },
{
"iconName": "keyboard-zwnj-symbolic",
"keyval": "0x100200c"
},
{ {
"action": "emoji", "action": "emoji",
"iconName": "face-smile-symbolic" "iconName": "face-smile-symbolic"
@ -475,7 +465,7 @@
[ [
{ {
"action": "levelSwitch", "action": "levelSwitch",
"label": "ABC", "label": "الف‌ب‌پ",
"level": "default", "level": "default",
"width": 1.5 "width": 1.5
}, },
@ -672,7 +662,7 @@
[ [
{ {
"action": "levelSwitch", "action": "levelSwitch",
"label": "?123", "label": "۱۲۳؟",
"level": "opt", "level": "opt",
"width": 1.5 "width": 1.5
}, },
@ -713,7 +703,7 @@
}, },
{ {
"action": "levelSwitch", "action": "levelSwitch",
"label": "?123", "label": "۱۲۳؟",
"level": "opt", "level": "opt",
"width": 3 "width": 3
} }
@ -721,7 +711,7 @@
[ [
{ {
"action": "levelSwitch", "action": "levelSwitch",
"label": "ABC", "label": "الف‌ب‌پ",
"level": "default", "level": "default",
"width": 1.5 "width": 1.5
}, },