translation: Japanese and minor layout fixes

This commit is contained in:
Mark Müller
2019-11-30 12:22:45 +00:00
committed by Dorota Czaplejewicz
parent a901c85bcb
commit 2ddfcfaff0
4 changed files with 20 additions and 12 deletions

View File

@ -1,5 +1,4 @@
# German layout by Mark Müller # Maintained by: Mark Müller <markmueller86@gmail.com>
# Version 2019111700
--- ---
bounds: { x: 0, y: 1, width: 360, height: 208 } bounds: { x: 0, y: 1, width: 360, height: 208 }
@ -25,22 +24,22 @@ views:
- "Q W E R T Z U I O P" - "Q W E R T Z U I O P"
- "A S D F G H J K L" - "A S D F G H J K L"
- "Shift_L Y X C V B N M BackSpace" - "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_dechars preferences space ! ? Return" - "show_numbers show_eschars preferences space ! ? 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 show_dechars preferences space , . Return" - "show_letters show_eschars preferences space , . Return"
symbols: symbols:
- "~ ` ´ | · √ µ ÷ × ¶" - "~ ` ´ | · √ µ ÷ × ¶"
- "© ® £ $ ¥ ^ ° * { }" - "© ® £ $ ¥ ^ ° * { }"
- "show_numbers \\ / § π τ [ ] BackSpace" - "show_numbers \\ / § π τ [ ] BackSpace"
- "show_letters show_dechars preferences space , . Return" - "show_letters show_eschars preferences space , . Return"
dechars: eschars:
- "ä è é ö ü Ä È É Ö Ü" - "ä è é ö ü Ä È É Ö Ü"
- "à â ê î ô À Â È Î Ô" - "à â ê î ô À Â È Î Ô"
- "show_numbers « » ç Ç æ œ ß BackSpace" - "show_numbers « » ç Ç æ œ ß BackSpace"
- "show_letters show_dechars preferences space „ “ Return" - "show_letters show_eschars preferences space „ “ Return"
buttons: buttons:
Shift_L: Shift_L:
@ -73,15 +72,16 @@ buttons:
set_view: "symbols" set_view: "symbols"
outline: "altline" outline: "altline"
label: "*/=" label: "*/="
show_dechars: show_eschars:
action: action:
locking: locking:
lock_view: "dechars" lock_view: "eschars"
unlock_view: "base" unlock_view: "base"
outline: "altline" outline: "altline"
label: "äÄ" label: "äÄ"
space: space:
outline: "spaceline" outline: "spaceline"
label: " "
text: " " text: " "
Return: Return:
outline: "altline" outline: "altline"

View File

@ -1,5 +1,4 @@
# Japanese Kana layout by Mark Müller # Maintained by: Mark Müller <markmueller86@gmail.com>
# Version 2019111800
--- ---
bounds: { x: 0, y: 1, width: 360, height: 208 } bounds: { x: 0, y: 1, width: 360, height: 208 }
@ -221,7 +220,7 @@ buttons:
action: "show_prefs" action: "show_prefs"
outline: "special" outline: "special"
icon: "keyboard-mode-symbolic" icon: "keyboard-mode-symbolic"
# space button with unicode keysym for ideographic space # space button using text tag for ideographic space
space: space:
outline: "default-wide" outline: "default-wide"
label: "␣" label: "␣"

8
data/langs/ja-JP.txt Normal file
View File

@ -0,0 +1,8 @@
us 英語 (US)
de ドイツ語
el ギリシャ語
es スペイン語
it イタリア語
jp+kana 日本語 (かな)
nb ノルウェー語

View File

@ -42,6 +42,7 @@ const LAYOUT_NAMES: &[(*const str, *const str)] = &[
("de-DE", include_str!("../data/langs/de-DE.txt")), ("de-DE", include_str!("../data/langs/de-DE.txt")),
("en-US", include_str!("../data/langs/en-US.txt")), ("en-US", include_str!("../data/langs/en-US.txt")),
("es-ES", include_str!("../data/langs/es-ES.txt")), ("es-ES", include_str!("../data/langs/es-ES.txt")),
("ja-JP", include_str!("../data/langs/ja-JP.txt")),
("pl-PL", include_str!("../data/langs/pl-PL.txt")), ("pl-PL", include_str!("../data/langs/pl-PL.txt")),
]; ];