Skip to content
Open
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 radio/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ if(ALL_LANGUAGES)
translations/sim/lang_pt.cpp
translations/sim/lang_ru.cpp
translations/sim/lang_se.cpp
translations/sim/lang_sk.cpp
translations/sim/lang_tw.cpp
translations/sim/lang_ua.cpp
)
Expand Down
43 changes: 43 additions & 0 deletions radio/src/cfn_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,49 @@ Functions cfn_sorted[] = {
/* Vario */ FUNC_VARIO,
/* Volym */ FUNC_VOLUME,
/* Återställ */ FUNC_RESET,
#elif defined(TRANSLATIONS_SK)
/* Återställ */ FUNC_RESET,
/* Audioförstärkare av */ FUNC_DISABLE_AUDIO_AMP,
#if !defined(OLED_SCREEN)
/* Belysning */ FUNC_BACKLIGHT,
#endif
#if defined(COLORLCD)
/* Ej pekskärm */ FUNC_DISABLE_TOUCH,
#endif
/* Haptisk */ FUNC_HAPTIC,
/* Justera */ FUNC_ADJUST_GVAR,
/* Lärare */ FUNC_TRAINER,
/* Lås */ FUNC_OVERRIDE_CHANNEL,
#if defined(VIDEO_SWITCH)
/* LCD till Video */ FUNC_LCD_TO_VIDEO,
#endif
#if defined(OLED_SCREEN)
/* Ljusstyrka */ FUNC_BACKLIGHT,
#endif
/* Logga data */ FUNC_LOGS,
/* Lua-skript */ FUNC_PLAY_SCRIPT,
/* Musik */ FUNC_BACKGND_MUSIC,
/* Parkoppla modul */ FUNC_BIND,
/* Pausa musik */ FUNC_BACKGND_MUSIC_PAUSE,
/* Range check */ FUNC_RANGECHECK,
/* RGB ledljus */ FUNC_RGB_LED,
/* Säg värdet */ FUNC_PLAY_VALUE,
/* Sätt */ FUNC_SET_TIMER,
/* Sätt failsafe */ FUNC_SET_FAILSAFE,
/* Sätt huvudskärm */ FUNC_SET_SCREEN,
/* Skärmbild */ FUNC_SCREENSHOT,
/* Spara trimmar */ FUNC_INSTANT_TRIM,
/* Spela ljud */ FUNC_PLAY_SOUND,
/* Spela upp */ FUNC_PLAY_TRACK,
/* Tävlingsläge */ FUNC_RACING_MODE,
#if defined(DEBUG)
/* Test */ FUNC_TEST,
#endif
#if defined(FUNCTION_SWITCHES)
/* Tryck CS */ FUNC_PUSH_CUST_SWITCH,
#endif
/* Vario */ FUNC_VARIO,
/* Volym */ FUNC_VOLUME,
Comment on lines +715 to +757
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just review this to see that it all looks correct, as it is automatically generated from the translations files.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, no this is swedish language..

#elif defined(TRANSLATIONS_TW)
/* Lua腳本 */ FUNC_PLAY_SCRIPT,
#if defined(FUNCTION_SWITCHES)
Expand Down
42 changes: 41 additions & 1 deletion radio/src/translations/bl_translations.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#define TR_BL_CURRENT_FW "Aktualni firmware:"

#define TR_BL_SELECT_KEY BL_SELECT_KEY " pro vybrani souboru"
#define TR_BL_FLASH_KEY "Drzet dlouze " BL_SELECT_KEY " pro nahrani"
#define TR_BL_FLASH_KEY "Drzet dlouho " BL_SELECT_KEY " pro nahrani"
#define TR_BL_ERASE_KEY "Hold " BL_SELECT_KEY " long to erase"
#define TR_BL_TOGGLE_KEY BL_SELECT_KEY " to toggle"
#define TR_BL_EXIT_KEY BL_EXIT_KEY " pro ukonceni"
Expand Down Expand Up @@ -323,6 +323,46 @@
#define TR_BL_TOGGLE_KEY BL_SELECT_KEY " to toggle"
#define TR_BL_EXIT_KEY BL_EXIT_KEY " foer att avbryta"

#elif defined(TRANSLATIONS_SK)

// Poznamka: nutne pouzitie textu bez diakritiky - obmedzenie velkosti pameti bootloader!
#define TR_BL_USB_CONNECTED "USB pripojene"
#define TR_BL_USB_PLUGIN "alebo pripojte USB kabel"
#define TR_BL_USB_MASS_STORE "pre pouzitie uloziska"
#define TR_BL_WRITE_FW "Nahrat firmware"
#define TR_BL_FORK "Fork:"
#define TR_BL_VERSION "Verzia:"
#define TR_BL_RADIO "Radio:"
#define TR_BL_EXIT "Ukoncit"
#define TR_BL_DIR_MISSING "Adresar chyba"
#define TR_BL_DIR_EMPTY "Adresar je prazdny"
#define TR_BL_WRITING_FW "Nahravanie firmware ..."
#define TR_BL_WRITING_COMPL "Nahravanie dokoncene"
#define TR_BL_ENABLE "Povolene"
#define TR_BL_DISABLE "Zakazane"

#if !defined(COLORLCD)
#define TR_BL_HOLD_ENTER_TO_START TR("Drzat [ENT] pre zahajenie", "Drzat [ENT] pre zahajenie nahravania")
#endif
#define TR_BL_INVALID_FIRMWARE TR("Neplatny firmware!", "Neplatny subor s firmwerom")

// Bootloader Taranis specific - ASCII characters only
#define TR_BL_POWER_KEY "Stlacte tlacitko napajanie."
#define TR_BL_FLASH_EXIT "Ukoncit rezim nahravania."

// Bootloader Horus specific - ASCII characters only
#define TR_BL_ERASE_INT_FLASH "Vymazat internu pamat Flash"
#define TR_BL_ERASE_FLASH "Vymazat pamat Flash"
#define TR_BL_ERASE_FLASH_MSG "Moze to trvat az 200s"
#define TR_BL_RF_USB_ACCESS "RF USB access"
#define TR_BL_CURRENT_FW "Aktualny firmware:"

#define TR_BL_SELECT_KEY BL_SELECT_KEY " pre vybranie suboru"
#define TR_BL_FLASH_KEY "Drzat dlho " BL_SELECT_KEY " pre nahranie"
#define TR_BL_ERASE_KEY "Drzat " BL_SELECT_KEY " pre zmazanie"
#define TR_BL_TOGGLE_KEY BL_SELECT_KEY " prepnut"
#define TR_BL_EXIT_KEY BL_EXIT_KEY " pre ukoncenie"

#else

#define TR_BL_USB_CONNECTED "USB Connected"
Expand Down
Loading