feat: Add SF to mute audio amplifier on supported radios (#3753)

* SF Audio amplifier mute port to 2.10

* added missing definition STR_SF_DISABLE_AUDIO_AMP

* exclude radios not able to switch audio amp off

* radio/src/storage/yaml/yaml_datastructs_128x64.cpp needs to distinguish between radios with or without switchable audio amps. Expample Zorro vs X9lites

* updated companion and radio language PL

* - added Companion and radio language SE

- removed type unfinished for translated languages

* added radio and companion language JP

* - reverted change to 128x64 yaml_datastructs.h

- moved exclusion of SF DISABLE_AUDIO_AMP based on hw capabilities to UI level

* confused FUNC_ with FUNCTION_

* confused FUNCTION_* with FUNC_*
This commit is contained in:
Michael
2023-09-14 19:33:03 +10:00
committed by GitHub
parent 16276d3d15
commit d30499f19b
53 changed files with 148 additions and 3 deletions
@@ -2059,6 +2059,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Vypnutí zesilovače zvuku</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2359,6 +2359,11 @@ Vil du indlæse indstillinger fra en fil?</translation>
<source>Set Main Screen</source>
<translation>Indstil hoved billede</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Sluk audio amplifier</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="373"/>
<source>Value</source>
@@ -2064,6 +2064,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Audio Amp AUS</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2037,6 +2037,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2064,6 +2064,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2060,6 +2060,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2079,6 +2079,11 @@ Voulez-vous importer les paramètres depuis un fichier?</translation>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Désact. Ampli Audio</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>!1x</source>
@@ -2107,6 +2107,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="143"/>
<source>s</source>
@@ -2057,6 +2057,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Amplificatore audio off</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2051,6 +2051,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>オーディオアンプ OFF</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>!1x</source>
@@ -2107,6 +2107,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="143"/>
<source>s</source>
@@ -2041,6 +2041,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Wycisz wzmacniacz audio</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2107,6 +2107,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="143"/>
<source>s</source>
@@ -2060,6 +2060,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>
@@ -2359,6 +2359,11 @@ Vill du hämta inställningarna från en fil?</translation>
<source>Set Main Screen</source>
<translation>Ställ in huvudskärm</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>Audioförstärkare av</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="371"/>
<source>Value</source>
@@ -2065,6 +2065,11 @@ Do you want to import settings from a file?</source>
<source>Disable Touch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>关闭音频功放</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="127"/>
<source>Set Main Screen</source>
@@ -2070,6 +2070,11 @@ Do you want to import settings from a file?</source>
<source>Set Main Screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="129"/>
<source>Audio Amp Off</source>
<translation>關閉音頻功放</translation>
</message>
<message>
<location filename="../firmwares/customfunctiondata.cpp" line="216"/>
<source>Played once, not during startup</source>