diff --git a/data/keyboards/de.yaml b/data/keyboards/de.yaml index 4693e95e452d84c9cb9c041c643e8601c0770caa..2021f7d28b0390929a0995207f49412734f585db 100644 --- a/data/keyboards/de.yaml +++ b/data/keyboards/de.yaml @@ -1,5 +1,4 @@ -# German layout by Mark Müller -# Version 2019111700 +# Maintained by: Mark Müller <markmueller86@gmail.com> --- bounds: { x: 0, y: 1, width: 360, height: 208 } @@ -25,22 +24,22 @@ views: - "Q W E R T Z U I O P" - "A S D F G H J K L" - "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: - "1 2 3 4 5 6 7 8 9 0" - "@ # € % & - _ + ( )" - "show_symbols , \" ' : = < > BackSpace" - - "show_letters show_dechars preferences space , . Return" + - "show_letters show_eschars preferences space , . Return" symbols: - "~ ` ´ | · √ µ ÷ × ¶" - "© ® £ $ Â¥ ^ ° * { }" - "show_numbers \\ / § Ï€ Ï„ [ ] BackSpace" - - "show_letters show_dechars preferences space , . Return" - dechars: + - "show_letters show_eschars preferences space , . Return" + eschars: - "ä è é ö ü Ä È É Ö Ü" - "à â ê î ô À Â È ÃŽ Ô" - "show_numbers « » ç Ç æ Å“ ß BackSpace" - - "show_letters show_dechars preferences space „ “ Return" + - "show_letters show_eschars preferences space „ “ Return" buttons: Shift_L: @@ -73,15 +72,16 @@ buttons: set_view: "symbols" outline: "altline" label: "*/=" - show_dechars: + show_eschars: action: locking: - lock_view: "dechars" + lock_view: "eschars" unlock_view: "base" outline: "altline" label: "äÄ" space: outline: "spaceline" + label: " " text: " " Return: outline: "altline" diff --git a/data/keyboards/jp+kana.yaml b/data/keyboards/jp+kana.yaml index e0f35cbdd5365adc451c33de9f3c4b66378599dc..b20d2bf95015ce804b3f331d1f236c4598de708a 100644 --- a/data/keyboards/jp+kana.yaml +++ b/data/keyboards/jp+kana.yaml @@ -1,5 +1,4 @@ -# Japanese Kana layout by Mark Müller -# Version 2019111800 +# Maintained by: Mark Müller <markmueller86@gmail.com> --- bounds: { x: 0, y: 1, width: 360, height: 208 } @@ -221,7 +220,7 @@ buttons: action: "show_prefs" outline: "special" icon: "keyboard-mode-symbolic" - # space button with unicode keysym for ideographic space + # space button using text tag for ideographic space space: outline: "default-wide" label: "â£" diff --git a/data/langs/ja-JP.txt b/data/langs/ja-JP.txt new file mode 100644 index 0000000000000000000000000000000000000000..840b1a23e55877608a24279e84a6a334c705e01a --- /dev/null +++ b/data/langs/ja-JP.txt @@ -0,0 +1,8 @@ +us 英語 (US) +de ドイツ語 +el ギリシャ語 +es スペイン語 +it イタリア語 +jp+kana 日本語 (ã‹ãª) +nb ノルウェー語 + diff --git a/src/resources.rs b/src/resources.rs index cfc56b5a331d95823ef3781ad0c083032e686956..feee081f1be24e0131b2b4be10ea5f7c7a18c991 100644 --- a/src/resources.rs +++ b/src/resources.rs @@ -42,6 +42,7 @@ const LAYOUT_NAMES: &[(*const str, *const str)] = &[ ("de-DE", include_str!("../data/langs/de-DE.txt")), ("en-US", include_str!("../data/langs/en-US.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")), ];