Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate OFF in external module setup #2998

Merged
merged 2 commits into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions companion/src/firmwares/moduledata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,28 +156,28 @@ QString ModuleData::indexToString(int index, Firmware * fw)
// static
QString ModuleData::protocolToString(unsigned int protocol)
{
static const char * strings[] = {
"OFF",
"PPM",
"Silverlit A", "Silverlit B", "Silverlit C",
"CTP1009",
"LP45", "DSM2", "DSMX",
"PPM16", "PPMsim",
"FrSky XJT (D16)", "FrSky XJT (D8)", "FrSky XJT (LR12)", "FrSky DJT",
"Crossfire",
"Multi",
"FrSky R9M",
"FrSky R9M Lite",
"FrSky R9M Lite Pro",
"SBUS output at VBat",
"FrSky ACCESS ISRM", "FrSky ACCST ISRM D16",
"FrSky ACCESS R9M 2019",
"FrSky ACCESS R9M Lite",
"FrSky ACCESS R9M Lite Pro",
"FrSky XJT lite (D16)", "FrSky XJT lite (D8)", "FrSky XJT lite (LR12)",
"AFHDS3",
"Ghost",
"Lemon-Rx DSMP",
static const QString strings[] = {
tr("OFF"),
tr("PPM"),
tr("Silverlit A"), tr("Silverlit B"), tr("Silverlit C"),
tr("CTP1009"),
tr("LP45"), tr("DSM2"), tr("DSMX"),
tr("PPM16"), tr("PPMsim"),
tr("FrSky XJT (D16)"), tr("FrSky XJT (D8)"), tr("FrSky XJT (LR12)"), tr("FrSky DJT"),
tr("Crossfire"),
tr("Multi"),
tr("FrSky R9M"),
tr("FrSky R9M Lite"),
tr("FrSky R9M Lite Pro"),
tr("SBUS output at VBat"),
tr("FrSky ACCESS ISRM"), tr("FrSky ACCST ISRM D16"),
tr("FrSky ACCESS R9M 2019"),
tr("FrSky ACCESS R9M Lite"),
tr("FrSky ACCESS R9M Lite Pro"),
tr("FrSky XJT lite (D16)"), tr("FrSky XJT lite (D8)"), tr("FrSky XJT lite (LR12)"),
tr("AFHDS3"),
tr("Ghost"),
tr("Lemon-Rx DSMP"),
};

return CHECK_IN_ARRAY(strings, protocol);
Expand Down
6 changes: 5 additions & 1 deletion companion/src/translations/companion_da.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ Vil du indlæse indstillinger fra en fil?</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;Thank you for upgrading to EdgeTX %1.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;This is a major upgrade that adds and modifies a lot of things, so please make sure that you read release notes carefully to learn about the changes, and thoroughly check each of your models for proper function.&lt;/p&gt;&lt;p&gt;Please visit &lt;a href=&apos;https://edgetx.org&apos;&gt;edgetx.org&lt;/a&gt; for release notes and other documentation.&lt;/p&gt;- The EdgeTX Team.</source>
<translation>&lt;p&gt;&lt;b&gt;Tak for at du opgraderer til EdgeTX %1.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Dette er en major release som tilføjer og ændrer mange ting, så læs omhyggeligt release beskrivelse for at kende ændringer, og gennemgå omhyggeligt at hver af dine modeller fungerer som forventet.&lt;/p&gt;&lt;p&gt;Besæh venligst &lt;a href=&apos;https://edgetx.org&apos;&gt;edgetx.org&lt;/a&gt; for at læse release beskrivelse og andre dokumenter (engelsk).&lt;/p&gt;- EdgeTX Team.</translation>
<translation>&lt;p&gt;&lt;b&gt;Tak for at du opgraderer til EdgeTX %1.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Dette er en major release som tilføjer og ændrer mange ting, så læs omhyggeligt release beskrivelse for at kende ændringer, og gennemgå omhyggeligt at hver af dine modeller fungerer som forventet.&lt;/p&gt;&lt;p&gt;Besøg venligst &lt;a href=&apos;https://edgetx.org&apos;&gt;edgetx.org&lt;/a&gt; for at læse release beskrivelse og andre dokumenter (engelsk).&lt;/p&gt;- EdgeTX Team.</translation>
</message>
</context>
<context>
Expand Down Expand Up @@ -7731,6 +7731,10 @@ p, li { white-space: pre-wrap; }
<source>2 W</source>
<translation>2 W</translation>
</message>
<message>
<source>OFF</source>
<translation>FRA</translation>
</message>
</context>
<context>
<name>ModulePanel</name>
Expand Down