Well, that is cyrillic
This commit is contained in:
MeiraxG 2022-11-11 21:50:47 +04:00 committed by GitHub
parent 7a5deedf7d
commit 6990f53088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,28 @@ class Language
}
input.index = 17 # Start on あ
input.table_height = 5
input.init
elsif $persistent.langcode == 'ru'
input = Window_NameInput.new
input.ok_text = 'ОК'
input.set_mode_buttons [[tr('Англ.'), tr('Рус.')]]
input.character_tables = {
[0] => [ # Latin
"A","B","C","D","E","F","G","H","I","a","b","c","d","e","f","g","h","i",
"J","K","L","M","N","O","P","Q","R","j","k","l","m","n","o","p","q","r",
"S","T","U","V","W","X","Y","Z"," ","s","t","u","v","w","x","y","z"," ",
"0","1","2","3","4","+","-","=","&","!","?","'",'"',".",",",":",";","$",
"5","6","7","8","9","*","/","#","|","[","]","(",")","<",">","{","}","@",
],
[1] => [ # Cyrillic
"А","Б","В","Г","Д","Е","Ё","Ж","З","а","б","в","г","д","е","ё","ж","з",
"И","Й","К","Л","М","Н","О","П","Р","и","й","к","л","м","н","о","п","р",
"С","Т","У","Ф","Х","Ц","Ч","Ш"," ","с","т","у","ф","х","ц","ч","ш"," ",
"Щ","Ъ","Ы","Ь","Э","Ю","Я","","","щ","ъ","ы","ь","э","ю","я","","",
"","%","~","^","","§","\\","","©","®","","","","","","«","»","¿",
],
}
input.table_height = 5
input.init
else
input = Window_NameInput.new