diff --git a/Translation Editor/translation_bg.json b/Translation Editor/translation_bg.json index 29830d24..3fb24b8e 100644 --- a/Translation Editor/translation_bg.json +++ b/Translation Editor/translation_bg.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Нулиране завършено", "YourGainMessage": "Усилване:", "SettingsResetMessage": "Настройките бяха\nнулирани!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_cs.json b/Translation Editor/translation_cs.json index 98961268..af1103c9 100644 --- a/Translation Editor/translation_cs.json +++ b/Translation Editor/translation_cs.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Zisk:", "SettingsResetMessage": "Tov. nas. obnov.", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_da.json b/Translation Editor/translation_da.json index 8950c923..b98220a1 100644 --- a/Translation Editor/translation_da.json +++ b/Translation Editor/translation_da.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_de.json b/Translation Editor/translation_de.json index 0ba7c800..62aa6731 100644 --- a/Translation Editor/translation_de.json +++ b/Translation Editor/translation_de.json @@ -25,6 +25,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your Gain:", "SettingsResetMessage": "Einstellungen\nzurück gesetzt!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_en.json b/Translation Editor/translation_en.json index 7394907d..e7d66512 100644 --- a/Translation Editor/translation_en.json +++ b/Translation Editor/translation_en.json @@ -25,6 +25,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_es.json b/Translation Editor/translation_es.json index b5986ff9..8adca0d9 100644 --- a/Translation Editor/translation_es.json +++ b/Translation Editor/translation_es.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Hecho. ", "YourGainMessage": "Gananc.:", "SettingsResetMessage": "Ajustes borrados", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_fi.json b/Translation Editor/translation_fi.json index 3da677f0..d2319978 100644 --- a/Translation Editor/translation_fi.json +++ b/Translation Editor/translation_fi.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_fr.json b/Translation Editor/translation_fr.json index 2bb56164..ce77f890 100644 --- a/Translation Editor/translation_fr.json +++ b/Translation Editor/translation_fr.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Gain :", "SettingsResetMessage": "Réglage réinit. !", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": "VERROUIL", "UnlockingKeysString": "DEVERROU", "WarningKeysLockedString": "! VERR. !" @@ -274,4 +276,4 @@ "desc": "Sensibilité du capteur à effet Hall lors de la détection de mise en veille " } } -} +} \ No newline at end of file diff --git a/Translation Editor/translation_hr.json b/Translation Editor/translation_hr.json index f19e0d8f..11f6c884 100644 --- a/Translation Editor/translation_hr.json +++ b/Translation Editor/translation_hr.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_hu.json b/Translation Editor/translation_hu.json index 54c7a649..5941d22f 100644 --- a/Translation Editor/translation_hu.json +++ b/Translation Editor/translation_hu.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_it.json b/Translation Editor/translation_it.json index 6e1de23d..51845e80 100644 --- a/Translation Editor/translation_it.json +++ b/Translation Editor/translation_it.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Guad.: ", "SettingsResetMessage": "Reset effettuato", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": "Blocc.", "UnlockingKeysString": "Sblocc.", "WarningKeysLockedString": "BLOCCATO" @@ -274,4 +276,4 @@ "desc": "Blocca i tasti durante la modalità Saldatura; tieni premuto entrambi per bloccare/sbloccare " } } -} +} \ No newline at end of file diff --git a/Translation Editor/translation_lt.json b/Translation Editor/translation_lt.json index a7443461..ec91e1a0 100644 --- a/Translation Editor/translation_lt.json +++ b/Translation Editor/translation_lt.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Gain:", "SettingsResetMessage": "Nust. atstatyti!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " UŽRAKIN", "UnlockingKeysString": "ATRAKIN", "WarningKeysLockedString": "!UŽRAK!" @@ -274,4 +276,4 @@ "desc": "Lituodami, ilgai paspauskite abu mygtukus, kad juos užrakintumėte " } } -} +} \ No newline at end of file diff --git a/Translation Editor/translation_nl.json b/Translation Editor/translation_nl.json index adf99708..d4abf365 100644 --- a/Translation Editor/translation_nl.json +++ b/Translation Editor/translation_nl.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Niveau:", "SettingsResetMessage": "Instellingen zijn\ngereset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " GEBLOKKEERD", "UnlockingKeysString": "GEDEBLOKKEERD", "WarningKeysLockedString": "!GEBLOKKEERD!" diff --git a/Translation Editor/translation_nl_be.json b/Translation Editor/translation_nl_be.json index 9a168cb8..2713d418 100644 --- a/Translation Editor/translation_nl_be.json +++ b/Translation Editor/translation_nl_be.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_no.json b/Translation Editor/translation_no.json index 8df24c27..fa90ecf4 100644 --- a/Translation Editor/translation_no.json +++ b/Translation Editor/translation_no.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_pl.json b/Translation Editor/translation_pl.json index d4fc563f..320574d4 100644 --- a/Translation Editor/translation_pl.json +++ b/Translation Editor/translation_pl.json @@ -25,6 +25,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Us.zysk:", "SettingsResetMessage": "Ust. zresetowane", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " ZABLOK.", "UnlockingKeysString": "ODBLOK.", "WarningKeysLockedString": "!ZABLOK!" @@ -275,4 +277,4 @@ "desc": "W trybie lutowania, wciśnij oba przyciski aby je zablokować " } } -} +} \ No newline at end of file diff --git a/Translation Editor/translation_pt.json b/Translation Editor/translation_pt.json index e8d62a23..4bf003d1 100644 --- a/Translation Editor/translation_pt.json +++ b/Translation Editor/translation_pt.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_ru.json b/Translation Editor/translation_ru.json index 35357108..ae2e4db5 100644 --- a/Translation Editor/translation_ru.json +++ b/Translation Editor/translation_ru.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Сброс OK", "YourGainMessage": "Прирост:", "SettingsResetMessage": "Настройки сброшены!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" @@ -274,4 +276,4 @@ "desc": "При работе длинное нажатие обеих кнопок блокирует их " } } -} +} \ No newline at end of file diff --git a/Translation Editor/translation_sk.json b/Translation Editor/translation_sk.json index 4c47b721..05848f63 100644 --- a/Translation Editor/translation_sk.json +++ b/Translation Editor/translation_sk.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Zisk:", "SettingsResetMessage": "Nast. Obnovené!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_sl.json b/Translation Editor/translation_sl.json index f6d99f15..9658a6f4 100644 --- a/Translation Editor/translation_sl.json +++ b/Translation Editor/translation_sl.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Ojačan.:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_sr_cyrl.json b/Translation Editor/translation_sr_cyrl.json index 570df775..9fa61a14 100644 --- a/Translation Editor/translation_sr_cyrl.json +++ b/Translation Editor/translation_sr_cyrl.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_sr_latn.json b/Translation Editor/translation_sr_latn.json index a14cad93..43e64b7d 100644 --- a/Translation Editor/translation_sr_latn.json +++ b/Translation Editor/translation_sr_latn.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_sv.json b/Translation Editor/translation_sv.json index 1b6e039f..a3411b75 100644 --- a/Translation Editor/translation_sv.json +++ b/Translation Editor/translation_sv.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Reset OK", "YourGainMessage": "Your gain:", "SettingsResetMessage": "Settings were\nreset!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translation_tr.json b/Translation Editor/translation_tr.json index aba6a920..8c0f3881 100644 --- a/Translation Editor/translation_tr.json +++ b/Translation Editor/translation_tr.json @@ -23,7 +23,9 @@ "OffString": "Kapalı", "ResetOKMessage": "Sıfırlama Tamam", "YourGainMessage": "Kazancınız:", - "SettingsResetMessage": "Ayarlar Sıfırlandı" + "SettingsResetMessage": "Ayarlar Sıfırlandı", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!" }, "characters": { "SettingRightChar": "R", diff --git a/Translation Editor/translation_uk.json b/Translation Editor/translation_uk.json index ab83795f..4f1e2154 100644 --- a/Translation Editor/translation_uk.json +++ b/Translation Editor/translation_uk.json @@ -24,6 +24,8 @@ "ResetOKMessage": "Скидання OK", "YourGainMessage": "Приріст:", "SettingsResetMessage": "Налаштування скинуті!", + "NoAccelerometerMessage": "No accelerometer\ndetected!", + "NoPowerDeliveryMessage": "No USB-PD IC\ndetected!", "LockingKeysString": " LOCKED", "UnlockingKeysString": "UNLOCKED", "WarningKeysLockedString": "!LOCKED!" diff --git a/Translation Editor/translations_def.js b/Translation Editor/translations_def.js index aae794a7..82cc9ff0 100644 --- a/Translation Editor/translations_def.js +++ b/Translation Editor/translations_def.js @@ -95,6 +95,16 @@ var def = "maxLen": 16, "default": "Settings were\nreset!" }, + { + "id": "NoAccelerometerMessage", + "maxLen": 16, + "default": "No accelerometer\ndetected!" + }, + { + "id": "NoPowerDeliveryMessage", + "maxLen": 16, + "default": "No USB-PD IC\ndetected!" + }, { "id": "LockingKeysString", "maxLen": 8, diff --git a/workspace/TS100/Core/Inc/Translation.h b/workspace/TS100/Core/Inc/Translation.h index 1ee90e2a..b9a4421f 100755 --- a/workspace/TS100/Core/Inc/Translation.h +++ b/workspace/TS100/Core/Inc/Translation.h @@ -38,6 +38,8 @@ extern const char *OffString; extern const char *ResetOKMessage; extern const char *YourGainMessage; extern const char *SettingsResetMessage; +extern const char *NoAccelerometerMessage; +extern const char *NoPowerDeliveryMessage; extern const char *LockingKeysString; extern const char *UnlockingKeysString; extern const char *WarningKeysLockedString;