From 9b964b4b27ed415233b0f59029012d397389de4b Mon Sep 17 00:00:00 2001 From: Zachary Vonler Date: Tue, 5 Sep 2023 19:10:35 -0500 Subject: [PATCH] Added STICK_COMMAND_EXECUTED beeper condition. --- locales/ca/messages.json | 3 +++ locales/da/messages.json | 3 +++ locales/de/messages.json | 3 +++ locales/en/messages.json | 3 +++ locales/es/messages.json | 3 +++ locales/eu/messages.json | 3 +++ locales/fr/messages.json | 3 +++ locales/gl/messages.json | 3 +++ locales/it/messages.json | 3 +++ locales/ja/messages.json | 3 +++ locales/ko/messages.json | 3 +++ locales/nl/messages.json | 3 +++ locales/pl/messages.json | 3 +++ locales/pt/messages.json | 3 +++ locales/pt_BR/messages.json | 3 +++ locales/ru/messages.json | 3 +++ locales/uk/messages.json | 3 +++ locales/zh_CN/messages.json | 3 +++ locales/zh_TW/messages.json | 3 +++ src/js/Beepers.js | 1 + 20 files changed, 58 insertions(+) diff --git a/locales/ca/messages.json b/locales/ca/messages.json index 0a7fa193069..855b73a7bbc 100644 --- a/locales/ca/messages.json +++ b/locales/ca/messages.json @@ -1384,6 +1384,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Emet un beep quan el suavitzat armat i rc no ha inicialitzat filtres" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Emet un beep quan s'executa una ordre del pal" + }, "configuration3d": { "message": "Característiques 3D ESC/Motor" }, diff --git a/locales/da/messages.json b/locales/da/messages.json index 3796fef66ab..f77d30d3f47 100644 --- a/locales/da/messages.json +++ b/locales/da/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Bip når aktiveret og rc smooting ikke har initialiseret filtre" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Bip, når en stick-kommando udføres" + }, "configuration3d": { "message": "3D ESC/Motorfunktioner" }, diff --git a/locales/de/messages.json b/locales/de/messages.json index 8a4132eb9b5..fd3ee87b997 100644 --- a/locales/de/messages.json +++ b/locales/de/messages.json @@ -1348,6 +1348,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Piept, wenn Copter gearmed ist und 'RC Smoothing' die Filter nicht initialisiert hat" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Piept, wenn ein Stick-Befehl ausgeführt wird" + }, "configuration3d": { "message": "3D Regler / Motor Funktionen" }, diff --git a/locales/en/messages.json b/locales/en/messages.json index 0e70dfe512f..0c31f7efceb 100755 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -1472,6 +1472,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Beep when armed and rc smoothing has not initialized filters" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Beep whenever a stick command is executed" + }, "configuration3d": { "message": "3D ESC/Motor Features" }, diff --git a/locales/es/messages.json b/locales/es/messages.json index 81b88675313..a8bb560b23f 100644 --- a/locales/es/messages.json +++ b/locales/es/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Pita cuando está armado y el suavizado rc no ha inicializado los filtros" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Pita cuando se ejecuta un comando de palanca" + }, "configuration3d": { "message": "3D" }, diff --git a/locales/eu/messages.json b/locales/eu/messages.json index 840571ffb38..25ee07ebf78 100644 --- a/locales/eu/messages.json +++ b/locales/eu/messages.json @@ -1113,6 +1113,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Soinua eman armatuta dagoenean eta rc leuntzeak ez ditu iragazkiak hasieratu" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Soinua makila komando bat exekutatzen denean" + }, "configuration3d": { "message": "3D ESC/Motorren ezaugarriak" }, diff --git a/locales/fr/messages.json b/locales/fr/messages.json index cee30d3d210..4fb0c8c8d43 100644 --- a/locales/fr/messages.json +++ b/locales/fr/messages.json @@ -1248,6 +1248,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Bip à l'armement quand le lissage rc n'a pas initialisé les filtres" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Bip lorsqu'une commande stick est exécutée" + }, "configuration3d": { "message": "Fonctions ESC/Moteurs 3D" }, diff --git a/locales/gl/messages.json b/locales/gl/messages.json index acef5799aab..097ce0c243b 100644 --- a/locales/gl/messages.json +++ b/locales/gl/messages.json @@ -1379,6 +1379,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Bip cando se arme e non teña os filtros de suavizado inicializados" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Bip cando se executa un comando de pau" + }, "configuration3d": { "message": "Características do 3D ESC/Motor" }, diff --git a/locales/it/messages.json b/locales/it/messages.json index d832ae6bdb6..f375185df61 100644 --- a/locales/it/messages.json +++ b/locales/it/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Beep quando si arma e l'rc smoothing non ha inizializzato i filtri" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Beep quando viene eseguito un comando tramite stick" + }, "configuration3d": { "message": "Funzionalità ESC 3D/Motori" }, diff --git a/locales/ja/messages.json b/locales/ja/messages.json index 6c685e21d8d..b280b3a02e6 100644 --- a/locales/ja/messages.json +++ b/locales/ja/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "アーム時にRCスムージングがフィルターを初期化できていない時のビープ音" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "スティックコマンドが実行されるとビープ音が鳴ります" + }, "configuration3d": { "message": "3D ESC / モーター機能" }, diff --git a/locales/ko/messages.json b/locales/ko/messages.json index ae834483fdd..03d61ea640d 100644 --- a/locales/ko/messages.json +++ b/locales/ko/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "아밍시 rc 스무딩이 필터를 초기화하지 않은 때 비프음" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "스틱 명령이 실행되면 경고음이 울립니다." + }, "configuration3d": { "message": "3D ESC/모터 기능" }, diff --git a/locales/nl/messages.json b/locales/nl/messages.json index d3da8510222..9e61f844871 100644 --- a/locales/nl/messages.json +++ b/locales/nl/messages.json @@ -1148,6 +1148,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Piep bij armen en als rc smoothing nog niet de filters heeft geïnitialiseerd" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Piep wanneer een stick-commando wordt uitgevoerd" + }, "configuration3d": { "message": "3D ESC/Motor Features" }, diff --git a/locales/pl/messages.json b/locales/pl/messages.json index ce526356004..7da46050214 100644 --- a/locales/pl/messages.json +++ b/locales/pl/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Sygnał dzwiękowy gdy uzbrojono a wygładzanie rc nie zainicjowało filtrów" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Sygnał dźwiękowy po wykonaniu polecenia drążka" + }, "configuration3d": { "message": "Ustawienia ESC/Silnika do lotów 3D" }, diff --git a/locales/pt/messages.json b/locales/pt/messages.json index b18e53659b2..6fdde56355e 100644 --- a/locales/pt/messages.json +++ b/locales/pt/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Emite um sinal sonoro quando armado e o \"suavizar RC\" não iniciou os filtros" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Emite um sinal sonoro quando um comando stick é executado" + }, "configuration3d": { "message": "Modo 3D dos Motores/ESC" }, diff --git a/locales/pt_BR/messages.json b/locales/pt_BR/messages.json index 088ee1ca20c..73f3afa07b5 100644 --- a/locales/pt_BR/messages.json +++ b/locales/pt_BR/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Emite um sinal sonoro quando armado e o \"Suavizar RC\" não iniciou seus filtros" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Emite um sinal sonoro quando um comando stick é executado" + }, "configuration3d": { "message": "Modo 3D dos Motores/ESC" }, diff --git a/locales/ru/messages.json b/locales/ru/messages.json index a102a7fdaca..062632966c3 100644 --- a/locales/ru/messages.json +++ b/locales/ru/messages.json @@ -1170,6 +1170,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Бипер если арминг не прошел инициализацию по фильтрам" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Звуковой сигнал при выполнении команды стика" + }, "configuration3d": { "message": "3D функционал Моторов/Регуляторов" }, diff --git a/locales/uk/messages.json b/locales/uk/messages.json index 19b85839341..0967d8b92da 100644 --- a/locales/uk/messages.json +++ b/locales/uk/messages.json @@ -1376,6 +1376,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "Звуковий сигнал при взведенні, коли згладжування команд пульта не ініціалізувало фільтри" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "Звуковий сигнал, коли виконується команда ручки" + }, "configuration3d": { "message": "3D Функції ESC/двигуна" }, diff --git a/locales/zh_CN/messages.json b/locales/zh_CN/messages.json index e881b60d26f..14a7b9ef298 100644 --- a/locales/zh_CN/messages.json +++ b/locales/zh_CN/messages.json @@ -1194,6 +1194,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "当已解锁且 RC 平滑尚未完成滤波器初始化时发出警告" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "执行摇杆命令时发出蜂鸣声" + }, "configuration3d": { "message": "3D 电调/电机功能" }, diff --git a/locales/zh_TW/messages.json b/locales/zh_TW/messages.json index 6c7a2e4bfd5..8cc31ea77d9 100644 --- a/locales/zh_TW/messages.json +++ b/locales/zh_TW/messages.json @@ -1095,6 +1095,9 @@ "beeperRC_SMOOTHING_INIT_FAIL": { "message": "當已解鎖且 RC 平滑尚未完成濾波器初始化時發出警告" }, + "beeperSTICK_COMMAND_EXECUTED": { + "message": "執行搖桿命令時發出蜂鳴聲" + }, "configuration3d": { "message": "3D 電調/電機功能" }, diff --git a/src/js/Beepers.js b/src/js/Beepers.js index 2571ef0dd93..1e9029ceca6 100644 --- a/src/js/Beepers.js +++ b/src/js/Beepers.js @@ -29,6 +29,7 @@ class Beepers { { bit: 20, name: 'CAM_CONNECTION_OPEN', visible: true }, { bit: 21, name: 'CAM_CONNECTION_CLOSE', visible: true }, { bit: 22, name: 'RC_SMOOTHING_INIT_FAIL', visible: true }, + { bit: 24, name: 'STICK_COMMAND_EXECUTED', visible: true }, ]; if (supportedConditions) {