layouts: Improve the size of the Thai (th) layout

and adjust the views which were arranged differently,
so that those are more similar to other layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/684>
This commit is contained in:
MoonlightWave-12
2024-09-29 17:39:27 +02:00
parent 0552b9cd3b
commit 97495b73c2
2 changed files with 111 additions and 57 deletions

View File

@ -1,44 +1,45 @@
# Language: Thai # Language: Thai
--- ---
outlines: outlines:
default: { width: 34, height: 52 } default: { width: 37.142, height: 52 }
large: { width: 44, height: 52 } special: { width: 37.142, height: 52 }
altline: { width: 52.67, height: 52 } special-2: { width: 40.856, height: 52 }
wide: { width: 86.67, height: 52 } special-3: { width: 74.284, height: 52 }
change-view: { width: 52.67, height: 52 } change-view: { width: 37.142, height: 52 }
change-view-2: { width: 86.67, height: 52 } change-view-2: { width: 74.284, height: 52 }
spaceline: { width: 184, height: 52 } spaceline: { width: 215.424, height: 52 }
special: { width: 44, height: 52 } large: { width: 40.856, height: 52 }
placeholder: { width: 34, height: 52 } placeholder: { width: 37.142, height: 52 }
fill: { width: 74.284, height: 52 }
views: views:
base: base:
- "ๅ / _ ภ ถ ุ ึ ค ต จ ข ช" - "ๅ / _ ภ ถ ุ ึ ค ต จ ข ช"
- "ๆ ไ ำ พ ะ ั ี ร น ย บ ล" - "ๆ ไ ำ พ ะ ั ี ร น ย บ ล"
- "ฟ ห ก ด เ ้ ่ า ส ว ง ฃ" - "ฟ ห ก ด เ ้ ่ า ส ว ง ฃ"
- "Shift_L ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace" - "show_upper ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace"
- "show_numbers preferences space .-large Return" - "show_numbers preferences space .-large Return"
upper: upper:
- "+ ๑ ๒ ๓ ๔ ู ฿ ๕ ๖ ๗ ๘ ๙" - "+ ๑ ๒ ๓ ๔ ู ฿ ๕ ๖ ๗ ๘ ๙"
- " \" ฎ ฑ ธ ํ ๊ ณ ฯ ญ ฐ ," - " \" ฎ ฑ ธ ํ ๊ ณ ฯ ญ ฐ ,"
- "ฤ ฆ ฏ โ ฌ ็ ๋ ษ ศ ซ . ฅ" - "ฤ ฆ ฏ โ ฌ ็ ๋ ษ ศ ซ . ฅ"
- "Shift_L ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace" - "show_upper ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace"
- "show_numbers preferences space .-large Return" - "show_numbers preferences space .-large Return"
numbers: numbers:
- "-- -- -- -- -- -- -- -- -- -- -- --" - "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- , \" ' : ; ! ? -- -- --" - "1 2 3 4 5 6 7 8 9 0"
- "-- 1 2 3 4 5 6 7 8 9 0 --" - "@ # $ % & - _ + ( )"
- "show_symbols @ # $ % & - _ + ( ) BackSpace" - "show_symbols , \" ' : ; ! ? BackSpace"
- "show_letters preferences space .-large Return" - "show_letters preferences space .-large Return"
symbols: symbols:
- "-- -- -- -- -- -- -- -- -- -- -- --" - "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- \\ / < > = [ ] -- -- --" - "© ® £ € ¥ ^ ° * { }"
- "-- © ® £ € ¥ ^ ° * { } --" - "~ ` | · √ π τ ÷ ×"
- "show_numbers_from_symbols ~ ` | · √ π τ ÷ × BackSpace" - "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space .-large Return" - "show_letters preferences space .-large Return"
buttons: buttons:
Shift_L: show_upper:
action: action:
locking: locking:
lock_view: "upper" lock_view: "upper"
@ -46,12 +47,12 @@ buttons:
outline: "change-view" outline: "change-view"
icon: "key-shift" icon: "key-shift"
BackSpace: BackSpace:
outline: "altline" outline: "special"
icon: "edit-clear-symbolic" icon: "edit-clear-symbolic"
action: "erase" action: "erase"
preferences: preferences:
action: "show_prefs" action: "show_prefs"
outline: "special" outline: "special-2"
icon: "keyboard-mode-symbolic" icon: "keyboard-mode-symbolic"
show_numbers: show_numbers:
action: action:
@ -61,7 +62,7 @@ buttons:
show_numbers_from_symbols: show_numbers_from_symbols:
action: action:
set_view: "numbers" set_view: "numbers"
outline: "change-view" outline: "change-view-2"
label: "123" label: "123"
show_letters: show_letters:
action: action:
@ -71,18 +72,42 @@ buttons:
show_symbols: show_symbols:
action: action:
set_view: "symbols" set_view: "symbols"
outline: "change-view" outline: "change-view-2"
label: "*/=" label: "*/="
space: space:
outline: "spaceline" outline: "spaceline"
text: " " text: " "
Return: Return:
outline: "wide" outline: "special-3"
icon: "key-enter" icon: "key-enter"
keysym: "Return" keysym: "Return"
.-large:
outline: "large"
text: "."
--: --:
outline: "placeholder" outline: "placeholder"
text: "" text: ""
.-large:
outline: "large"
text: "."
5:
outline: "fill"
6:
outline: "fill"
"&":
outline: "fill"
-:
outline: "fill"
"'":
outline: "fill"
::
outline: "fill"
¥:
outline: "fill"
^:
outline: "fill"
:
outline: "fill"
π:
outline: "fill"
<:
outline: "fill"
">":
outline: "fill"

View File

@ -1,43 +1,45 @@
# Language: Thai # Language: Thai
--- ---
outlines: outlines:
default: { width: 75, height: 56 } default: { width: 56, height: 42 }
altline: { width: 75, height: 56 } special: { width: 56, height: 42 }
wide: { width: 135, height: 56 } special-2: { width: 61.6, height: 42 }
change-view: { width: 75, height: 56 } special-3: { width: 112, height: 42 }
change-view-2: { width: 135, height: 56 } change-view: { width: 56, height: 42 }
spaceline: { width: 480, height: 56 } change-view-2: { width: 112, height: 42 }
special: { width: 75, height: 56 } spaceline: { width: 324.8, height: 42 }
placeholder: { width: 75, height: 56 } large: { width: 61.6, height: 42 }
placeholder: { width: 56, height: 42 }
fill: { width: 112, height: 42 }
views: views:
base: base:
- "ๅ / _ ภ ถ ุ ึ ค ต จ ข ช" - "ๅ / _ ภ ถ ุ ึ ค ต จ ข ช"
- "ๆ ไ ำ พ ะ ั ี ร น ย บ ล" - "ๆ ไ ำ พ ะ ั ี ร น ย บ ล"
- "ฟ ห ก ด เ ้ ่ า ส ว ง ฃ" - "ฟ ห ก ด เ ้ ่ า ส ว ง ฃ"
- "Shift_L ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace" - "show_upper ผ ป แ อ ิ ื ท ม ใ ฝ BackSpace"
- "show_numbers preferences space . Return" - "show_numbers preferences space .-large Return"
upper: upper:
- "+ ๑ ๒ ๓ ๔ ู ฿ ๕ ๖ ๗ ๘ ๙" - "+ ๑ ๒ ๓ ๔ ู ฿ ๕ ๖ ๗ ๘ ๙"
- " \" ฎ ฑ ธ ํ ๊ ณ ฯ ญ ฐ ," - " \" ฎ ฑ ธ ํ ๊ ณ ฯ ญ ฐ ,"
- "ฤ ฆ ฏ โ ฌ ็ ๋ ษ ศ ซ . ฅ" - "ฤ ฆ ฏ โ ฌ ็ ๋ ษ ศ ซ . ฅ"
- "Shift_L ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace" - "show_upper ( ) ฉ ฮ ฺ ์ ? ฒ ฬ ฦ BackSpace"
- "show_numbers preferences space . Return" - "show_numbers preferences space .-large Return"
numbers: numbers:
- "-- -- -- -- -- -- -- -- -- -- -- --" - "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- , \" ' : ; ! ? -- -- --" - "1 2 3 4 5 6 7 8 9 0"
- "-- 1 2 3 4 5 6 7 8 9 0 --" - "@ # $ % & - _ + ( )"
- "show_symbols @ # $ % & - _ + ( ) BackSpace" - "show_symbols , \" ' : ; ! ? BackSpace"
- "show_letters preferences space . Return" - "show_letters preferences space .-large Return"
symbols: symbols:
- "-- -- -- -- -- -- -- -- -- -- -- --" - "-- -- -- -- -- -- -- -- -- -- -- --"
- "-- -- \\ / < > = [ ] -- -- --" - "© ® £ € ¥ ^ ° * { }"
- "-- © ® £ € ¥ ^ ° * { } --" - "~ ` | · √ π τ ÷ ×"
- "show_numbers_from_symbols ~ ` | · √ π τ ÷ × BackSpace" - "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space . Return" - "show_letters preferences space .-large Return"
buttons: buttons:
Shift_L: show_upper:
action: action:
locking: locking:
lock_view: "upper" lock_view: "upper"
@ -45,12 +47,12 @@ buttons:
outline: "change-view" outline: "change-view"
icon: "key-shift" icon: "key-shift"
BackSpace: BackSpace:
outline: "altline" outline: "special"
icon: "edit-clear-symbolic" icon: "edit-clear-symbolic"
action: "erase" action: "erase"
preferences: preferences:
action: "show_prefs" action: "show_prefs"
outline: "special" outline: "special-2"
icon: "keyboard-mode-symbolic" icon: "keyboard-mode-symbolic"
show_numbers: show_numbers:
action: action:
@ -60,7 +62,7 @@ buttons:
show_numbers_from_symbols: show_numbers_from_symbols:
action: action:
set_view: "numbers" set_view: "numbers"
outline: "change-view" outline: "change-view-2"
label: "123" label: "123"
show_letters: show_letters:
action: action:
@ -70,15 +72,42 @@ buttons:
show_symbols: show_symbols:
action: action:
set_view: "symbols" set_view: "symbols"
outline: "change-view" outline: "change-view-2"
label: "*/=" label: "*/="
space: space:
outline: "spaceline" outline: "spaceline"
text: " " text: " "
Return: Return:
outline: "wide" outline: "special-3"
icon: "key-enter" icon: "key-enter"
keysym: "Return" keysym: "Return"
--: --:
outline: "placeholder" outline: "placeholder"
text: "" text: ""
.-large:
outline: "large"
text: "."
5:
outline: "fill"
6:
outline: "fill"
"&":
outline: "fill"
-:
outline: "fill"
"'":
outline: "fill"
::
outline: "fill"
¥:
outline: "fill"
^:
outline: "fill"
:
outline: "fill"
π:
outline: "fill"
<:
outline: "fill"
">":
outline: "fill"