mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Add cyrillic parameter for font selection in json language files
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
if (!isDefined(lang)) {
|
||||
lang = {
|
||||
languageCode: langCode,
|
||||
cyrillicGlyphs: false,
|
||||
messages: {},
|
||||
characters: {},
|
||||
menuDouble : false,
|
||||
@@ -97,6 +98,13 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
// Use Cyrillic glyphs
|
||||
if (startsWith(line, "#define CYRILLIC_GLYPHS")) {
|
||||
lang.cyrillicGlyphs = true;
|
||||
entryIndex = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Menu type
|
||||
reMenuMode.lastIndex = 0;
|
||||
match = reMenuMode.exec(line);
|
||||
|
||||
Reference in New Issue
Block a user