Fix translations: add three new missing options (#370)

* updated spanish translation

* fix translation of 'blinking'

* print which translation json is being read

* removed PID settings

* #362: updated italian translation

* improved json error reporting in make_translation.py

* fixed extra escape character in LANG_SV

* Update translation definitions and Lithuanian translation

* Fix translations: add three new missing options
This commit is contained in:
Julius Vitkauskas
2018-10-09 07:35:31 +03:00
committed by Ben V. Brown
parent 5bce2d3b03
commit a609d702f5
25 changed files with 607 additions and 818 deletions

112
Translation Editor/make_translation.py Normal file → Executable file
View File

@@ -1,3 +1,5 @@
#!/usr/bin/env python
from __future__ import print_function
import json
import os
@@ -35,8 +37,13 @@ def readTranslations(jsonDir):
# Read only translation_XX.json
if lf.startswith("translation_") and lf.endswith(".json"):
lang = loadJson(fileWithPath, False)
try:
lang = loadJson(fileWithPath, False)
except json.decoder.JSONDecodeError as e:
print("Failed to decode " + lf)
print(str(e))
sys.exit(2)
# Extract lang code from file name
langCode = fileName[12:-5].upper()
# ...and the one specified in the JSON file...
@@ -65,10 +72,10 @@ def writeStart(f):
def escapeC(s):
return s.replace("\"", "\\\"");
return s.replace("\"", "\\\"")
def writeLanguage(languageCode):
def writeLanguage(languageCode, defs, f):
print("Generating block for " + languageCode)
lang = langDict[languageCode]
@@ -167,52 +174,65 @@ def writeLanguage(languageCode):
# ----- Block end
f.write(to_unicode("#endif\n"))
def read_opts():
""" Reading input parameters
First parameter = json directory
Second parameter = target directory
"""
if len(sys.argv) > 1:
jsonDir = sys.argv[1]
else:
jsonDir = "."
if len(sys.argv) > 2:
outFile = sys.argv[2]
else:
outDir = os.path.relpath(jsonDir + "/../workspace/TS100/src/")
outFile = os.path.join(outDir, TRANSLATION_CPP)
if len(sys.argv) > 3:
raise Exception("Too many parameters!")
return jsonDir, outFile
def orderOutput(langDict):
# These languages go first
mandatoryOrder = ['EN']
# Then add all others in alphabetical order
sortedKeys = sorted(langDict.keys())
# Add the rest as they come
for key in sortedKeys:
if key not in mandatoryOrder:
mandatoryOrder.append(key)
return mandatoryOrder
''' Reading input parameters
First parameter = json directory
Second parameter = target directory
'''
def writeTarget(outFile, defs, langCodes):
# Start writing the file
with io.open(outFile, 'w', encoding='utf-8', newline="\n") as f:
writeStart(f)
for langCode in langCodes:
writeLanguage(langCode, defs, f)
print("Making " + TRANSLATION_CPP + ":")
if __name__ == "__main__":
try:
jsonDir, outFile = read_opts()
except:
print("usage: make_translation.py {json dir} {cpp dir}")
sys.exit(1)
if len(sys.argv) > 1:
jsonDir = sys.argv[1]
else:
jsonDir = "."
print("Making " + outFile + " from " + jsonDir)
jsonDir = os.path.abspath(jsonDir)
langDict = readTranslations(jsonDir)
defs = loadJson(os.path.join(jsonDir, "translations_def.js"), True)
langCodes = orderOutput(langDict)
writeTarget(outFile, defs, langCodes)
if len(sys.argv) > 2:
outDir = sys.argv[2]
else:
outDir = jsonDir + "/../workspace/TS100/src/"
langDict = readTranslations(jsonDir)
# Read definition (required for ordering)
defs = loadJson(os.path.join(jsonDir, "translations_def.js"), True)
# These languages go first
mandatoryOrder = ['EN']
# Then add all others in alphabetical order
sortedKeys = sorted(langDict.keys())
for key in sortedKeys:
if key not in mandatoryOrder:
mandatoryOrder.append(key)
# Add the rest as they come
# Start writing the file
targetTranslationFile = os.path.join(outDir, TRANSLATION_CPP)
with io.open(targetTranslationFile, 'w', encoding='utf-8', newline="\n") as f:
writeStart(f)
for langCode in mandatoryOrder:
writeLanguage(langCode)
print("Done")

View File

@@ -195,30 +195,30 @@
],
"desc": "Скорост на движение на този текст"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "български"
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Rychlost skrolování popisků podobných tomuto <P=Pomalu,R=Rychle>"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Český"
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Scrollgeschwindigkeit der Texte"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Deutsch"
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Speed this text scrolls past at"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Dansk"
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Speed this text scrolls past at"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}

View File

@@ -150,7 +150,7 @@
"CooldownBlink": {
"text": "CLBLNK",
"text2": [
"Temp. en el",
"Parpadea m.",
"enfriamiento"
],
"desc": "Parpadea la temperatura en el enfriamiento si la punta sigue caliente."
@@ -183,7 +183,7 @@
"text": "ADVSLD",
"text2": [
"Inf detallada",
"de soldadura"
"del soldadura"
],
"desc": "Mostrar información detallada mientras suelda."
},
@@ -195,30 +195,30 @@
],
"desc": "Velocidad de desplazamiento del texto."
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Español"
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Näiden selitetekstien vieritysnopeus."
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Vitesse de défilement de ce texte en <R=Rapide L=Lent>"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Français"
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Brzina kretanja dugačkih poruka. <B=brzo, S=sporo>"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Szöveg görgetésének gyorsítása"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Magyar"
}
}

View File

@@ -15,7 +15,7 @@
"WarningAdvancedString": "PUNTA CALDA!",
"SleepingTipAdvancedString": "Punta:",
"IdleTipString": "Punta:",
"IdleSetString": " Im:",
"IdleSetString": "/",
"TipDisconnectedString": "PUNTA ASSENTE",
"SolderingAdvancedPowerPrompt": "Potenza:",
"OffString": "OFF"
@@ -34,28 +34,28 @@
"Opzioni",
"saldatura"
],
"desc": "Menù impostazioni saldatura"
"desc": "Menù d'impostazioni della modalità Saldatura"
},
"PowerSavingMenu": {
"text2": [
"Risparmio",
"energetico"
],
"desc": "Menù risparmio energetico"
"desc": "Menù d'impostazioni per il risparmio energetico"
},
"UIMenu": {
"text2": [
"Interfaccia",
"utente"
],
"desc": "Menù interfaccia utente"
"desc": "Menù d'impostazioni dell'interfaccia utente"
},
"AdvancedMenu": {
"text2": [
"Opzioni",
"avanzate"
],
"desc": "Menù impostazioni avanzate"
"desc": "Menù d'impostazioni avanzate"
}
},
"menuOptions": {
@@ -65,7 +65,7 @@
"Sorgente",
"alimentaz"
],
"desc": "Scegli la sorgente di alimentazione; se a batteria, limita lo scaricamento al valore di soglia <DC: 10V; S: 3.3V per cella>"
"desc": "Scegli la sorgente di alimentazione; se a batteria, limita lo scaricamento al valore di soglia <DC: 10V; S: 3,3V per cella>"
},
"SleepTemperature": {
"text": "",
@@ -127,7 +127,7 @@
"text": "",
"text2": [
"Funzione",
"\"boost\""
"«Turbo»"
],
"desc": "Il tasto superiore attiva la funzione «Turbo» durante la modalità Saldatura"
},
@@ -135,7 +135,7 @@
"text": "",
"text2": [
"Temp",
"\"boost\""
"«Turbo»"
],
"desc": "Imposta la temperatura della funzione «Turbo»"
},
@@ -153,7 +153,7 @@
"Avviso",
"punta calda"
],
"desc": "Mostra la temperatura durante il raffreddamento se la punta è ancora calda"
"desc": "Mostra, lampeggiante, la temperatura durante il raffreddamento se la punta è ancora calda"
},
"TemperatureCalibration": {
"text": "",
@@ -195,30 +195,30 @@
],
"desc": "Imposta la velocità di scorrimento del testo <L: lento; V: veloce>"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Italiano"
}
}

View File

@@ -2,7 +2,7 @@
"languageCode": "LT",
"languageLocalName": "Lietuvių",
"messages": {
"SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationDone": "Kalibracija atlikta!",
"SettingsCalibrationWarning": "Prieš tęsdami įsitikinkite, kad antgalis yra kambario temperatūros!",
"SettingsResetWarning": "Ar norite atstatyti nustatymus į numatytas reikšmes?",
"UVLOWarningString": "MAŽ VOLT",
@@ -196,29 +196,29 @@
],
"desc": "Greitis, kuriuo šis tekstas slenka"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Antgalio",
"modelis"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Antgalio modelio pasirinkimas"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Paprasta",
"kalibracija"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Paprasta kalibracija naudojant karštą vandienį"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Išplėstinė",
"kalibracija"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Išplėstinė kalibracija naudojant termoelementą"
}
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Snelheid waarmee de tekst scrolt."
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Hastigheten på rulletekst"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Speed this text scrolls past at"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Polski"
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Velocidade que esse texto é exibido"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Portugues"
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Скорость прокрутки текста"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Русский"
}
}

View File

@@ -195,29 +195,29 @@
],
"desc": "Speed this text scrolls past at"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Brzina kretanja dugačkih poruka <B=brzo, S=sporo>"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -138,7 +138,7 @@
"Turbo-",
"temp"
],
"desc": "Temperatur i \\\"turbo\\\"-läge"
"desc": "Temperatur i \"turbo\"-läge"
},
"AutoStart": {
"text": "",
@@ -196,29 +196,29 @@
],
"desc": "Hastighet som den här texten rullar i"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}

View File

@@ -195,30 +195,30 @@
],
"desc": "Speed this text scrolls past at"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
},
"languageLocalName": "Türk"
}
}

View File

@@ -196,29 +196,29 @@
],
"desc": "Швидкість прокрутки тексту"
},
"PidSettingsP": {
"text": "PIDP",
"TipModel": {
"text": "TIPMO",
"text2": [
"PID",
"P"
"Tip",
"Model"
],
"desc": "PID P term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Tip Model selection"
},
"PidSettingsI": {
"text": "PIDI",
"SimpleCalibrationMode": {
"text": "SMPCAL",
"text2": [
"PID",
"I"
"Simple",
"Calibration"
],
"desc": "PID I term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Simple Calibration using Hot water"
},
"PidSettingsD": {
"text": "PIDD",
"AdvancedCalibrationMode": {
"text": "ADVCAL",
"text2": [
"PID",
"D"
"Advanced",
"Calibration"
],
"desc": "PID D term. Inverse values! This acts as a divisor. So Larger numbers == typically smaller in other systems"
"desc": "Advanced calibration using thermocouple on the tip"
}
}
}
}

View File

@@ -1,6 +1,9 @@
var def =
{
"messages": [
{
"id": "SettingsCalibrationDone"
},
{
"id": "SettingsCalibrationWarning"
},
@@ -206,22 +209,19 @@ var def =
"maxLen2": 11
},
{
"id": "PidSettingsP",
"maxLen": 6,
"maxLen2": 11,
"feature": "PIDSETTINGS"
"id": "TipModel",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "PidSettingsI",
"maxLen": 6,
"maxLen2": 11,
"feature": "PIDSETTINGS"
"id": "SimpleCalibrationMode",
"maxLen": 8,
"maxLen2": 16
},
{
"id": "PidSettingsD",
"maxLen": 6,
"maxLen2": 11,
"feature": "PIDSETTINGS"
"id": "AdvancedCalibrationMode",
"maxLen": 8,
"maxLen2": 16
}
]
}
}