TS100: move translation generation to Makefile

Translation.cpp is now automatically regenerated when necessary.
This frees the developer from having to remember to execute build.sh
after the translations have changed.

Translation.cpp has been moved from Core/Src/ to the new Core/Gen/ as
otherwise it would end up twice in SOURCE, once through the source
discovery and once through the explicit entry.
This commit is contained in:
Thomas Weißschuh
2021-01-15 16:45:55 +01:00
parent 4e46e2b3b9
commit 884a830d62
38 changed files with 16 additions and 13 deletions

View File

@@ -0,0 +1,279 @@
{
"languageCode": "SK",
"languageLocalName": "Slovenčina",
"cyrillicGlyphs": false,
"messages": {
"SettingsCalibrationDone": "Kalibrácia hotová!",
"SettingsCalibrationWarning": "Najprv sa prosím uistite, že hrot má izbovú teplotu!",
"SettingsResetWarning": "Naozaj chcete obnovit nastavenia?",
"UVLOWarningString": "Nízke U!",
"UndervoltageString": "Nízke napätie",
"InputVoltageString": "Vstupné U: ",
"WarningTipTempString": "Tep. hrotu: ",
"BadTipString": "ZLÝ HROT",
"SleepingSimpleString": "Chrr",
"SleepingAdvancedString": "Kľudový režim...",
"WarningSimpleString": "HOT!",
"WarningAdvancedString": "HROT JE HORÚCI !",
"SleepingTipAdvancedString": "Hrot:",
"IdleTipString": "Hrot:",
"IdleSetString": " Set:",
"TipDisconnectedString": "HROT ODPOJENÝ",
"SolderingAdvancedPowerPrompt": "Výkon: ",
"OffString": "Vyp",
"ResetOKMessage": "Reset OK",
"YourGainMessage": "Zisk:",
"SettingsResetMessage": "Nast. Obnovené!",
"NoAccelerometerMessage": "No accelerometer\ndetected!",
"NoPowerDeliveryMessage": "No USB-PD IC\ndetected!",
"LockingKeysString": " LOCKED",
"UnlockingKeysString": "UNLOCKED",
"WarningKeysLockedString": "!LOCKED!"
},
"characters": {
"SettingRightChar": "P",
"SettingLeftChar": "L",
"SettingAutoChar": "A",
"SettingFastChar": "R",
"SettingSlowChar": "P",
"SettingStartSolderingChar": "S",
"SettingStartSleepChar": "K",
"SettingStartSleepOffChar": "O",
"SettingStartNoneChar": "N",
"SettingSensitivityOff": "O",
"SettingSensitivityLow": "L",
"SettingSensitivityMedium": "M",
"SettingSensitivityHigh": "H",
"SettingLockDisableChar": "D",
"SettingLockBoostChar": "B",
"SettingLockFullChar": "F"
},
"menuGroups": {
"SolderingMenu": {
"text2": [
"Nastavenie",
"spájkovania"
],
"desc": "Nastavenie spájkovania"
},
"PowerSavingMenu": {
"text2": [
"Úsporný",
"režim"
],
"desc": "Nastavenia režimov úspory energie"
},
"UIMenu": {
"text2": [
"Nastavenie",
"zobrazenia"
],
"desc": "Nastavenie zobrazenia"
},
"AdvancedMenu": {
"text2": [
"Pokročilé",
"nastavenia"
],
"desc": "Pokročilé nastavenia"
}
},
"menuOptions": {
"DCInCutoff": {
"text2": [
"Zdroj",
"napätia"
],
"desc": "Zdroj napätia. Nastavenie napätia pre vypnutie (cutoff) <DC=10V, nS=n*3.3V pre LiIon články>"
},
"SleepTemperature": {
"text2": [
"Kľudová",
"teplota"
],
"desc": "Kľudová teplota (v nastavených jednotkách)"
},
"SleepTimeout": {
"text2": [
"Kľudový",
"režim po"
],
"desc": "Kludovy rezim po <sekundach/minutach>"
},
"ShutdownTimeout": {
"text2": [
"Vypnutie",
"po"
],
"desc": "Čas na vypnutie <minuty>"
},
"MotionSensitivity": {
"text2": [
"Citlivosť",
"pohybu"
],
"desc": "Citlivosť detekcie pohybu <0=Vyp, 1=Min ... 9=Max>"
},
"TemperatureUnit": {
"text2": [
"Jednotka",
"teploty"
],
"desc": "Jednotky merania teploty <C=stupne Celzia, F=stupne Fahrenheita>"
},
"AdvancedIdle": {
"text2": [
"Detaily v",
"kľud. režime"
],
"desc": "Zobraziť detailné informácie v kľudovom režime <T=Zap, F=Vyp>"
},
"DisplayRotation": {
"text2": [
"Orientácia",
"displeja"
],
"desc": "Orientácia displeja <A=Auto, L=Ľavák, P=Pravák>"
},
"BoostTemperature": {
"text2": [
"Boost",
"teplota"
],
"desc": "Cieľová teplota pre prudký náhrev (v nastavených jednotkách)"
},
"AutoStart": {
"text2": [
"Automatické",
"spustenie"
],
"desc": "Pri štarte spustiť režim spájkovania <S=Zap, N=Vyp, K=Spanok>"
},
"CooldownBlink": {
"text2": [
"Blikanie pri",
"chladnutí"
],
"desc": "Blikanie ukazovateľa teploty počas chladnutia hrotu"
},
"TemperatureCalibration": {
"text2": [
"Kalibrácia",
"teploty"
],
"desc": "Kalibrácia posunu teploty hrotu"
},
"SettingsReset": {
"text2": [
"Obnovenie",
"nastavení"
],
"desc": "Obnovenie nastavení na pôvodné hodnoty"
},
"VoltageCalibration": {
"text2": [
"Kalibrácia",
"vst. napätia"
],
"desc": "Kalibrácia napätia. Krátke stlačenie mení nastavenie, dlhé stlačenie pre návrat"
},
"AdvancedSoldering": {
"text2": [
"Detaily počas",
"spájkovania"
],
"desc": "Zobrazenie detailov počas spájkovania"
},
"ScrollingSpeed": {
"text2": [
"Rýchlost",
"skrolovania"
],
"desc": "Rychlost pohybu tohoto textu"
},
"TipModel": {
"text2": [
"Typ",
"hrotu"
],
"desc": "Zvolenie hrotu"
},
"SimpleCalibrationMode": {
"text2": [
"Zjednodušená",
"kalibrácia"
],
"desc": "Zjednodušená kalibrácia pomocou horúcej vody"
},
"AdvancedCalibrationMode": {
"text2": [
"Pokročilá",
"kalibrácia"
],
"desc": "Pokročilá kalibrácia meraním teploty hrotu"
},
"QCMaxVoltage": {
"text2": [
"Obmedzenie",
"výkonu"
],
"desc": "Obmedzenie výkonu podľa použitého zdroja"
},
"PowerLimit": {
"text2": [
"Obmedzenie",
"výkonu"
],
"desc": "Obmedzenie výkonu podľa použitého zdroja <watt>"
},
"ReverseButtonTempChange": {
"text2": [
"Otočenie",
"tlačidiel +/-"
],
"desc": "Prehodenie tlačidiel na nastavovanie teploty"
},
"TempChangeShortStep": {
"text2": [
"Malý krok",
"teploty"
],
"desc": "Zmena teploty pri krátkom stlačení tlačidla"
},
"TempChangeLongStep": {
"text2": [
"Veľký krok",
"teploty"
],
"desc": "Zmena teploty pri držaní tlačidla"
},
"PowerPulsePower": {
"text2": [
"Impulz",
"W"
],
"desc": "Impulz udržujúci napájací zdroj zapnutý <watt>"
},
"TipGain": {
"text2": [
"Zisk",
"hrotu"
],
"desc": "Úprava zisku hrotu"
},
"HallEffSensitivity": {
"text2": [
"Hall Eff",
"Sensitivity"
],
"desc": "Sensitivity of the Hall effect sensor in detecting sleep <O=Off,L=Low,M=Medium,H=High>"
},
"LockingMode": {
"text2": [
"Allow buttons",
"locking"
],
"desc": "When soldering, long press on both buttons lock them <D=Disable, B=Boost only, F=Full locking>"
}
}
}