[UX] ru keyboard ё popup and translation (#5662)

Changes in this commit:
- Fix arrays to large (10 elements instead of 8) copied from the old keyboard system.  Issue introduced in #5610 
- Add ё popup.
- Change shift key as per #5659 (for both ro and ru keyboards)
- Translate Russian space and symbol keys.
- Rename Sym key to 123
reviewable/pr5670/r1
Mihai Vasiliu 5 years ago committed by Frans de Jonge
parent 3d191490d0
commit e8f91ab399

@ -7,4 +7,12 @@ return {
"ж",
north = "ӂ", -- ж with breve (Moldavian)
},
_Ye_ = {
"Е",
north = "Ё",
},
_ye_ = {
"е",
north = "ё",
},
}

@ -18,7 +18,7 @@ local _u_ = ro_popup._u_
return {
min_layer = 1,
max_layer = 8,
shiftmode_keys = {[""] = true},
shiftmode_keys = {[""] = true, ["1/2"] = true, ["2/2"] = true},
symbolmode_keys = {["123"] = true, ["ABC"] = true, ["alt"] = true},
utf8mode_keys = {["🌐"] = true},
umlautmode_keys = {["Îșț"] = true},
@ -50,7 +50,7 @@ return {
},
-- third row
{ -- 1 2 3 4 5 6 7 8
{ label = "",
{ "", "", "2/2", "1/2", "", "", "", "",
width = 1.5
},
{ "Z", "z", "&", "7", "Ѣ", "ѣ", "Ű", "ű", },

@ -6,14 +6,16 @@ local _at = en_popup._at
local _eq = en_popup._eq -- equals sign (=)
local _Je_ = ru_popup._Je_
local _je_ = ru_popup._je_
local _Ye_ = ru_popup._Ye_
local _ye_ = ru_popup._ye_
return {
min_layer = 1,
max_layer = 8,
shiftmode_keys = {[""] = true},
symbolmode_keys = {["Sym"] = true, ["ABC"] = true},
shiftmode_keys = {[""] = true, ["1/2"] = true, ["2/2"] = true},
symbolmode_keys = {["123"] = true, ["АБВ"] = true, ["ещё"] = true},
utf8mode_keys = {["🌐"] = true},
umlautmode_keys = {["Äéß"] = true},
umlautmode_keys = {["Жбъ"] = true},
keys = {
-- first row
{ -- 1 2 3 4 5 6 7 8
@ -21,7 +23,7 @@ return {
{ "Ц", "ц", "!", "1", "(", "1", "2", "º", },
{ "У", "у", _at, "2", ")", "2", "3", "¡", },
{ "К", "к", "#", "3", "~", "3", "4", "¿", },
{ "Е", "е", "+", _eq, "Ә", "ә", "5", "¼", },
{ _Ye_, _ye_, "+", _eq, "Ә", "ә", "5", "¼", },
{ "Н", "н", "", "(", "І", "і", "6", "½", },
{ "Г", "г", "", ")", "Ң", "ң", "7", "¾", },
{ "Ш", "ш", "|", "\\", "Ғ", "ғ", "8", "©", },
@ -30,19 +32,19 @@ return {
},
-- second row
{ -- 1 2 3 4 5 6 7 8
{ "Ф", "ф", "", _at, "*", "0", "Ş", "ş", },
{ "Ы", "ы", "$", "4", "+", "4", "İ", "ı", },
{ "Ф", "ф", "", _at, "*", "0", "«", "«", },
{ "Ы", "ы", "$", "4", "+", "4", "»", "»", },
{ "В", "в", "%", "5", "-", "5", "Ğ", "ğ", },
{ "А", "а", "^", "6", _eq, "6", "Ć", "ć", },
{ "П", "п", ":", ";", "Ү", "ү", "Č", "č", },
{ "Р", "р", '"', "'", "Ұ", "ұ", "Đ", "đ", },
{ "О", "о", "{", "[", "Қ", "қ", "Š", "š", },
{ "Л", "л", "}", "]", _Je_, _je_, "Ž", "ž", },
{ "Д", "д", "_", "-", "Э", "э", "Ő", "ő", },
{ "Д", "д", "_", "-", "Э", "э", "§", "§", },
},
-- third row
{ -- 1 2 3 4 5 6 7 8
{ label = "",
{ "", "", "2/2", "1/2", "", "", "", "",
width = 1.5
},
{ "Я", "я", "&", "7", ":", "7", "Ű", "ű", },
@ -59,17 +61,17 @@ return {
},
-- fourth row
{
{ "Sym", "Sym", "ABC", "ABC", "ABC", "ABC", "Sym", "Sym", "ABC", "ABC",
{ "123", "123", "АБВ", "АБВ", "ещё", "ещё", "АБВ", "АБВ",
width = 1.5},
{ label = "🌐", },
{ "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", "Äéß", },
{ label = "space",
" ", " ", " ", " ", " ", " ", " ", " ", " ", " ",
{ "Жбъ", "Жбъ", "Жбъ", "Жбъ", "Жбъ", "Жбъ", "Жбъ", "Жбъ", },
{ label = "пробел",
" ", " ", " ", " ", " ", " ", " ", " ",
width = 3.0},
{ com, com, "", "", "Ё", "ё", "Ũ", "ũ", com, com, },
{ prd, prd, "", "", prd, prd, "Ĩ", "ĩ", prd, prd, },
{ com, com, "", "", "Ё", "ё", com, com, },
{ prd, prd, "", "", prd, prd, prd, prd, },
{ label = "",
"\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n",
"\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n",
width = 1.5,
bold = true
},

Loading…
Cancel
Save