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

Hebrew radio translation 🇮🇱 #3506

Merged
merged 4 commits into from
May 14, 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
1 change: 1 addition & 0 deletions companion/src/firmwares/opentx/opentxinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class OpenTxFirmware: public Firmware
addLanguage("de");
addLanguage("es");
addLanguage("fr");
addLanguage("he");
addLanguage("hu");
addLanguage("it");
addLanguage("nl");
Expand Down
9 changes: 8 additions & 1 deletion radio/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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 IT JP PT SK SE PL HU NL TW)
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(PCB "X9D+" CACHE STRING "Radio type, one of: ${PCB_TYPES}")
Expand Down Expand Up @@ -145,6 +145,13 @@ foreach(LANGUAGE ${RADIO_LANGUAGES})
endif()
endforeach()

set(RTL_LANGUAGES HE)
if(TRANSLATIONS IN_LIST RTL_LANGUAGES)
add_definitions(-DTRANSLATION_IS_RTL=1)
else()
add_definitions(-DTRANSLATION_IS_RTL=0)
endif()

set(SRC ${SRC} debug.cpp)

add_definitions(-DFLAVOUR="${FLAVOUR}")
Expand Down
Binary file added radio/src/fonts/Arimo/Arimo-Bold.ttf
Binary file not shown.
Binary file added radio/src/fonts/Arimo/Arimo-Regular.ttf
Binary file not shown.
Loading