aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJulius Vitkauskas <[email protected]>2018-03-18 12:36:38 +0200
committerBen V. Brown <[email protected]>2018-03-18 21:36:38 +1100
commit30be520692540683c054e79d8058b802971f4ad2 (patch)
tree0f2dcb368514920c6530482aa331e7cdf97d37be
parentebab60c79bec7b7d7a417ec4b67c7525e0016783 (diff)
downloadIronOS-30be520692540683c054e79d8058b802971f4ad2.tar.gz
IronOS-30be520692540683c054e79d8058b802971f4ad2.zip
Add Lithuanian language (#239)
-rw-r--r--workspace/TS100/inc/Font.h12
-rw-r--r--workspace/TS100/src/Translation.cpp81
2 files changed, 87 insertions, 6 deletions
diff --git a/workspace/TS100/inc/Font.h b/workspace/TS100/inc/Font.h
index 9d5cbf6e..2cc9510f 100644
--- a/workspace/TS100/inc/Font.h
+++ b/workspace/TS100/inc/Font.h
@@ -942,8 +942,8 @@ const uint8_t FONT_6x8[] = {
0x20, 0x55, 0x55, 0x55, 0x78, 0x00, // 193: 'ā' U+0101 (utf-8: c4 81)
0x78, 0x15, 0x16, 0x15, 0x78, 0x00, // 194: 'Ă' U+0102 (utf-8: c4 82)
0x20, 0x55, 0x56, 0x55, 0x78, 0x00, // 195: 'ă' U+0103 (utf-8: c4 83)
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 196: 'Ą' U+0104 (utf-8: c4 84)
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 197: 'ą' U+0105 (utf-8: c4 85)
+ 0x7e, 0x09, 0x09, 0x49, 0xbe, 0x00, // 196: 'Ą' U+0104 (utf-8: c4 84)
+ 0x20, 0x54, 0x54, 0xd4, 0x78, 0x00, // 197: 'ą' U+0105 (utf-8: c4 85)
0x38, 0x44, 0x46, 0x45, 0x28, 0x00, // 198: 'Ć' U+0106 (utf-8: c4 86)
0x38, 0x44, 0x46, 0x45, 0x20, 0x00, // 199: 'ć' U+0107 (utf-8: c4 87)
0x38, 0x46, 0x45, 0x46, 0x28, 0x00, // 200: 'Ĉ' U+0108 (utf-8: c4 88)
@@ -962,8 +962,8 @@ const uint8_t FONT_6x8[] = {
0x38, 0x55, 0x56, 0x55, 0x08, 0x00, // 213: 'ĕ' U+0115 (utf-8: c4 95)
0x7c, 0x54, 0x55, 0x54, 0x44, 0x00, // 214: 'Ė' U+0116 (utf-8: c4 96)
0x38, 0x54, 0x55, 0x54, 0x08, 0x00, // 215: 'ė' U+0117 (utf-8: c4 97)
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 216: 'Ę' U+0118 (utf-8: c4 98)
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 217: 'ę' U+0119 (utf-8: c4 99)
+ 0x7f, 0x49, 0x49, 0xc9, 0x41, 0x00, // 216: 'Ę' U+0118 (utf-8: c4 98)
+ 0x38, 0x54, 0x54, 0xd4, 0x18, 0x00, // 217: 'ę' U+0119 (utf-8: c4 99)
0x7c, 0x55, 0x56, 0x55, 0x44, 0x00, // 218: 'Ě' U+011a (utf-8: c4 9a)
0x38, 0x55, 0x56, 0x55, 0x08, 0x00, // 219: 'ě' U+011b (utf-8: c4 9b)
0x38, 0x46, 0x55, 0x56, 0x70, 0x00, // 220: 'Ĝ' U+011c (utf-8: c4 9c)
@@ -984,8 +984,8 @@ const uint8_t FONT_6x8[] = {
0x00, 0x45, 0x7d, 0x41, 0x00, 0x00, // 235: 'ī' U+012b (utf-8: c4 ab)
0x44, 0x45, 0x7e, 0x45, 0x44, 0x00, // 236: 'Ĭ' U+012c (utf-8: c4 ac)
0x00, 0x45, 0x7e, 0x41, 0x00, 0x00, // 237: 'ĭ' U+012d (utf-8: c4 ad)
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 238: 'Į' U+012e (utf-8: c4 ae)
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 239: 'į' U+012f (utf-8: c4 af)
+ 0x00, 0x41, 0x7f, 0xc1, 0x00, 0x00, // 238: 'Į' U+012e (utf-8: c4 ae)
+ 0x00, 0x44, 0x7d, 0xc0, 0x00, 0x00, // 239: 'į' U+012f (utf-8: c4 af)
0x44, 0x44, 0x7d, 0x44, 0x44, 0x00, // 240: 'İ' U+0130 (utf-8: c4 b0)
0x00, 0x44, 0x7c, 0x40, 0x00, 0x00, // 241: 'ı' U+0131 (utf-8: c4 b1)
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 242: 'IJ' U+0132 (utf-8: c4 b2)
diff --git a/workspace/TS100/src/Translation.cpp b/workspace/TS100/src/Translation.cpp
index b2023c12..c2a6d9d1 100644
--- a/workspace/TS100/src/Translation.cpp
+++ b/workspace/TS100/src/Translation.cpp
@@ -1265,3 +1265,84 @@ const char* SettingsMenuEntriesDescriptions[4] ={
"Advanced options"
};
#endif
+
+#ifdef LANG_LT
+const char* SettingsDescriptions[17] = {
+ // These are all the help text for all the settings.
+ // No requirements on spacing or length.
+ /* Power source (DC or batt) */ "Išjungimo įtampa. <DC 10V arba celių (S) kiekis (3.3V per celę)>",
+ /* Sleep temperature */ "Miego temperatūra <C>",
+ /* Sleep timeout */ "Miego laikas <minutės/sekundės>",
+ /* Shutdown timeout */ "Išjungimo laikas <minutės>",
+ /* Motion sensitivity level */ "Jautrumas judesiui <0 - išjungta, 1 - mažiausias, 9 - didžiausias>",
+ /* Temperature in F and C */ "Temperatūros vienetai <C - Celsijus, F - Farenheitas>",
+ /* Advanced idle display mode enabled */ "Ar rodyti papildomą informaciją mažesniu šriftu laukimo ekrane",
+ /* Display rotation mode */ "Ekrano orientacija <A - automatinė, K - kairiarankiams, D - dešiniarankiams>",
+ /* Boost enabled */ "Ar lituojant viršutinis mygtukas įjungia turbo režimą",
+ /* Boost temperature */ "Temperatūra turbo režimu",
+ /* Automatic start mode */ "Ar pradėti kaitininti iš karto įjungus lituoklį",
+ /* Cooldown blink */ "Ar mirksėti temperatūrą ekrane kol vėstantis antgalis vis dar karštas",
+ /* Temperature calibration enter menu */ "Antgalio temperatūros kalibravimas",
+ /* Settings reset command */ "Nustatyti nustatymus iš naujo",
+ /* Calibrate input voltage */ "Įvesties įtampos kalibravimas. Trumpai paspauskite, norėdami nustatyti, ilgai paspauskite, kad išeitumėte",
+ /* Advanced soldering screen enabled */ "Ar rodyti išsamią informaciją lituojant",
+ /* Description Scroll Speed */ "Greitis, kuriuo šis tekstas slenka",
+};
+
+const char* SettingsCalibrationWarning = "Prieš tęsdami įsitikinkite, kad antgalis yra kambario temperatūros!";
+const char* SettingsResetWarning = "Ar norite atstatyti nustatymus į numatytas reikšmes?";
+const char* UVLOWarningString = "MAŽ VOLT"; // <=8 chars
+const char* UndervoltageString = "Žema įtampa"; // <=16 chars
+const char* InputVoltageString = "Įvestis V: "; // <=11 chars, preferably end with a space
+const char* WarningTipTempString = "Antgl Temp: "; // <=12 chars, preferably end with a space
+const char* BadTipString = "BLOG ANT"; // <=8 chars
+const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars
+const char* SleepingAdvancedString = "Miegu..."; // <=16 chars
+const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars
+const char* WarningAdvancedString = "ANTGALIS KARŠTAS"; // <=16 chars
+const char* SleepingTipAdvancedString = "Antgl:"; // <=6 chars
+const char* IdleTipString = "Ant:"; // IdleTipString+IdleSetString <= 10
+const char* IdleSetString = " Nust:"; // preferably start with a space; IdleTipString+IdleSetString <= 10
+const char* TipDisconnectedString = "ANTGAL ATJUNGTAS"; // <=16 chars
+const char* SolderingAdvancedPowerPrompt = "Maitinimas: ";
+
+const char SettingRightChar = 'D';
+const char SettingLeftChar = 'K';
+const char SettingAutoChar = 'A';
+
+const char SettingFastChar = 'T';
+const char SettingSlowChar = 'N';
+
+const enum ShortNameType SettingsShortNameType = SHORT_NAME_DOUBLE_LINE;
+const char* SettingsShortNames[17][2] = {
+ /* (<= 11) Power source (DC or batt) */ {"Maitinimo", "šaltinis"},
+ /* (<= 9) Sleep temperature */ {"Miego", "temperat."},
+ /* (<= 9) Sleep timeout */ {"Miego", "laikas"},
+ /* (<= 11) Shutdown timeout */ {"Išjungimo", "laikas"},
+ /* (<= 13) Motion sensitivity level */ {"Jautrumas", "judesiui"},
+ /* (<= 13) Temperature in F and C */ {"Temperatūros", "vienetai"},
+ /* (<= 13) Advanced idle display mode enabled */ {"Detalus lauki-", "mo ekranas"},
+ /* (<= 13) Display rotation mode */ {"Ekrano", "orientacija"},
+ /* (<= 13) Boost enabled */ {"Turbo režimas", "įjungtas"},
+ /* (<= 9) Boost temperature */ {"Turbo", "temperat."},
+ /* (<= 13) Automatic start mode */ {"Auto", "paleidimas"},
+ /* (<= 13) Cooldown blink */ {"Atvėsimo", "mirksėjimas"},
+ /* (<= 16) Temperature calibration enter menu */ {"Kalibruoti", "temperatūrą?"},
+ /* (<= 16) Settings reset command */ {"Atstatyti", "nustatymus?"},
+ /* (<= 16) Calibrate input voltage */ {"Kalibruoti", "įvesties įtampą?"},
+ /* (<= 13) Advanced soldering screen enabled */ {"Detalus lita-", "vimo ekranas"},
+ /* (<= 11) Display Help Text Scroll Speed */ {"Greitas apra-","šymo slinkimas"},
+};
+
+const char* SettingsMenuEntries[4] = {
+/*Soldering Menu*/"Litavimo\nnustatymai",
+/* Power Saving Menu*/"Miego\nrežimai",
+/* UI Menu*/"Naudotojo\nsąsaja",
+/* Advanced Menu*/"Išplėstiniai\nnustatymai", };
+const char* SettingsMenuEntriesDescriptions[4] ={
+"Litavimo nustatymai",
+"Energijos vartojimo nustatymai",
+"Naudotojo sąsajos nustatymai",
+"Išplėstiniai nustatymai"
+};
+#endif