Fix Persian layout

This commit is contained in:
Danial Behzadi
2024-02-23 03:49:25 +03:30
parent 30904afb4b
commit 6145f9b652
4 changed files with 45 additions and 33 deletions

5
data/icons/zwnj.svg Normal 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

@ -8,22 +8,22 @@ outlines:
views:
base:
- "ض ص ق ف غ ع ه خ ح ج"
- "ش س ی ب ل ا ت ن م ک"
- "Shift_L ظ ط ز ر ذ د و BackSpace"
- "show_numbers preferences space period Return"
- "ض ص ث ق ف غ ع ه خ ح ج"
- "ش س ی ب ل ا ت ن م ک گ"
- "Shift_L ظ ط ز ر ذ د پ و BackSpace"
- "show_numbers preferences space zwnj period Return"
upper:
- "پ { } [ ] ّ َ ِ ُ چ"
- "ؤ‌ ئ ي إ أ آ ة » « گ"
- "Shift_L ك ٓ ژ ء > < ؟ BackSpace"
- "show_numbers preferences space period Return"
- " ْ ٌ ٍ ً ُ ِ َ ّ # @ چ"
- "_ ئ ي إ أ آ ة » « : ؛"
- "Shift_L ك ٓ ژ ٔ ء > < ؟ BackSpace"
- "show_numbers preferences space ! ، Return"
numbers:
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰"
- "@ # ﷼ % & - _ + ( )"
- "show_symbols , \" ' colon ؛ ! ? BackSpace"
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ |"
- "… ٬ ٫ ﷼ ٪ ، * ) ( ـ"
- "show_symbols + - × ÷ = ^ % / BackSpace"
- "show_letters preferences space period Return"
symbols:
- "~ ` | · π τ ÷ × ¶"
- "& ` | · • % π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space period Return"
@ -48,17 +48,17 @@ buttons:
action:
set_view: "numbers"
outline: "wide"
label: "123"
label: "۱۲۳"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
label: "۱۲۳"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
label: "ا‌ب‌پ"
show_symbols:
action:
set_view: "symbols"
@ -74,5 +74,8 @@ buttons:
outline: "wide"
icon: "key-enter"
keysym: "Return"
zwnj:
icon: "zwnj"
text: ""
colon:
text: ":"

View File

@ -8,25 +8,25 @@ outlines:
views:
base:
- "ض ص ق ف غ ع ه خ ح ج"
- "ش س ی ب ل ا ت ن م ک"
- "Shift_L ظ ط ز ر ذ د و BackSpace"
- "show_numbers preferences space period Return"
- "ض ص ث ق ف غ ع ه خ ح ج چ \\"
- "ش س ی ب ل ا ت ن م ک گ"
- "Shift_L ظ ط ز ر ذ د پ و ، / BackSpace"
- "show_numbers preferences space zwnj ؟ ! period Return"
upper:
- "پ { } [ ] ّ َ ِ ُ چ"
- ئ ي إ أ آ ة » « گ"
- "Shift_L ك ٓ ژ ء > < ؟ BackSpace"
- "show_numbers preferences space period Return"
- " ْ ٌ ٍ ً ُ ِ َ ّ ] [ @ # _"
- "ؤ ئ ي إ أ آ ة » « : ؛"
- "Shift_L ك ٓ ژ ٰ ٔ ء > < ؟ BackSpace"
- "show_numbers preferences space ، ؟ ! period Return"
numbers:
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰"
- "@ # ﷼ % & - _ + ( )"
- "show_symbols , \" ' colon ؛ ! ? BackSpace"
- "show_letters preferences space period Return"
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ | ="
- "… ٬ ٫ ﷼ ٪ ، * ) ( _"
- "show_symbols + - × ÷ = ^ % / BackSpace"
- "show_letters preferences space ، ؟ ! period Return"
symbols:
- "~ ` | · π τ ÷ × ¶"
- "& ` | · • % π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space period Return"
- "show_letters preferences space ، ؟ ! period Return"
buttons:
Shift_L:
@ -48,23 +48,23 @@ buttons:
action:
set_view: "numbers"
outline: "wide"
label: "123"
label: "۱۲۳"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
label: "۱۲۳"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
label: "ا‌ب‌پ"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
".":
period:
outline: "special"
text: "."
space:
@ -74,5 +74,8 @@ buttons:
outline: "wide"
icon: "key-enter"
keysym: "Return"
zwnj:
icon: "zwnj"
text: ""
colon:
text: ":"

View File

@ -8,5 +8,6 @@
<file>icons/key-enter.svg</file>
<file>icons/key-shift.svg</file>
<file>icons/keyboard-mode-symbolic.svg</file>
<file>icons/zwnj.svg</file>
</gresource>
</gresources>