Layouts: Add Belarusian layout

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/668>
This commit is contained in:
MoonlightWave-12
2024-09-05 23:32:17 +02:00
committed by Marge Bot
parent 4668138aa6
commit 9decd5bd74
4 changed files with 183 additions and 0 deletions

91
data/keyboards/by.yaml Normal file
View File

@ -0,0 +1,91 @@
# Language: Belarusian
---
outlines:
default: { width: 32.45, height: 52 }
altline: { width: 32, height: 52 }
wide: { width: 64.55, height: 52 }
change-view: { width: 32, height: 52 }
change-view-2: { width: 64.55, height: 52 }
spaceline: { width: 91.96, height: 52 }
fill: { width: 156.86, height: 52 }
fill-2: { width: 64.9, height: 52 }
special: { width: 35.67, height: 52 }
large: { width: 35.67, height: 52 }
views:
base:
- "й ц у к е н г ш ў з х"
- "ф ы в а п р о л д ж э"
- "Shift_L я ч с м і т ь б ю BackSpace"
- "show_numbers preferences ё space , . Return"
upper:
- "Й Ц У К Е Н Г Ш Ў З Х"
- "Ф Ы В А П Р О Л Д Ж Э"
- "Shift_L Я Ч С М І Т Ь Б Ю BackSpace"
- "show_numbers preferences Ё space , . Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
- "show_symbols , \" ' : ; ! ? BackSpace-wide"
- "show_letters preferences space-fill . Return"
symbols:
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers \\ / < > = [ ] BackSpace-wide"
- "show_letters preferences space-fill . Return"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: "erase"
BackSpace-wide:
outline: "wide"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "change-view-2"
label: "123"
show_letters:
action:
set_view: "base"
outline: "change-view-2"
label: "АБВ"
show_symbols:
action:
set_view: "symbols"
outline: "change-view-2"
label: "*/="
.:
outline: "large"
space:
outline: "spaceline"
text: " "
space-fill:
outline: "fill"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
5:
outline: "fill-2"
"&":
outline: "fill-2"
:
outline: "fill-2"
¥:
outline: "fill-2"

View File

@ -0,0 +1,88 @@
# Language: Belarusian
---
outlines:
default: { width: 48.75, height: 42 }
altline: { width: 48.75, height: 42 }
wide: { width: 97.5, height: 42 }
change-view: { width: 48.75, height: 42 }
change-view-2: { width: 97.5, height: 42 }
spaceline: { width: 146.5, height: 42 }
fill: { width: 244, height: 42 }
fill-2: { width: 97.5, height: 42 }
special: { width: 48.75, height: 42 }
views:
base:
- "й ц у к е н г ш ў з х"
- "ф ы в а п р о л д ж э"
- "Shift_L я ч с м і т ь б ю BackSpace"
- "show_numbers preferences ё space , . Return"
upper:
- "Й Ц У К Е Н Г Ш Ў З Х"
- "Ф Ы В А П Р О Л Д Ж Э"
- "Shift_L Я Ч С М І Т Ь Б Ю BackSpace"
- "show_numbers preferences Ё space , . Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
- "show_symbols , \" ' : ; ! ? BackSpace-wide"
- "show_letters preferences space-fill . Return"
symbols:
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers \\ / < > = [ ] BackSpace-wide"
- "show_letters preferences space-fill . Return"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "change-view"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: "erase"
BackSpace-wide:
outline: "wide"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "change-view-2"
label: "123"
show_letters:
action:
set_view: "base"
outline: "change-view-2"
label: "АБВ"
show_symbols:
action:
set_view: "symbols"
outline: "change-view-2"
label: "*/="
space:
outline: "spaceline"
text: " "
space-fill:
outline: "fill"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
5:
outline: "fill-2"
"&":
outline: "fill-2"
:
outline: "fill-2"
¥:
outline: "fill-2"