Skip to content

Commit

Permalink
feat: Add Russian translation to firmware 🇷🇺 (#4067)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobakirill authored Oct 20, 2023
1 parent 1ca1c92 commit 7322084
Show file tree
Hide file tree
Showing 31 changed files with 43,080 additions and 7 deletions.
1 change: 1 addition & 0 deletions companion/src/firmwares/opentx/opentxinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class OpenTxFirmware: public Firmware
addLanguage("nl");
addLanguage("pl");
addLanguage("pt");
addLanguage("ru");
addLanguage("se");
addLanguage("sk");
addLanguage("tw");
Expand Down
6 changes: 3 additions & 3 deletions companion/src/translations/companion_ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<message>
<location filename="../storage/appdata.h" line="654"/>
<source>Prompt</source>
<translation type="unfinished"></translation>
<translation>Сейчас</translation>
</message>
<message>
<location filename="../storage/appdata.h" line="655"/>
Expand Down Expand Up @@ -144,7 +144,7 @@
<message>
<location filename="../storage/appdata.h" line="657"/>
<source>Critical</source>
<translation type="unfinished">Критический</translation>
<translation>Критический</translation>
</message>
<message>
<location filename="../storage/appdata.h" line="657"/>
Expand Down Expand Up @@ -218,7 +218,7 @@ Mode 4:
Right stick: Elevator, Rudder

</source>
<translation>Выбор моды передатчика:
<translation>Выбор модели передатчика:

Mode 1:
Левый стик: Руль высоты (Elevator), Руль направления (Rudder)
Expand Down
4 changes: 2 additions & 2 deletions radio/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ include(CMakeForceCompiler)
include(Bitmaps)

set(PCB_TYPES X9LITE X9LITES X7 XLITE XLITES X9D X9D+ X9E X10 X12S NV14)
set(RADIO_LANGUAGES CN CZ DA DE EN ES FI FR HE IT JP PT SK SE PL HU NL TW)
set(TTS_LANGUAGES CN CZ DA DE EN ES FR HE IT JP PT SK SE PL HU NL RU)
set(RADIO_LANGUAGES CN CZ DA DE EN ES FI FR HE IT JP PT RU SK SE PL HU NL TW)
set(TTS_LANGUAGES CN CZ DA DE EN ES FR HE IT JP PT RU SK SE PL HU NL)

set(PCB "X9D+" CACHE STRING "Radio type, one of: ${PCB_TYPES}")
set_property(CACHE PCB PROPERTY STRINGS ${PCB_TYPES})
Expand Down
Loading

0 comments on commit 7322084

Please sign in to comment.