From 804ee7b9484aeb330fa9010cd41be67759868a25 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 12 Oct 2017 12:26:02 +0200 Subject: [PATCH] CTimerList: localize info and send timer buttons Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c1d4da731b1aa748bc237860fd361823faf7500c Author: Thilo Graf Date: 2017-10-12 (Thu, 12 Oct 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- data/locale/deutsch.locale | 2 ++ data/locale/english.locale | 2 ++ src/gui/timerlist.cpp | 4 ++-- src/system/locals.h | 2 ++ src/system/locals_intern.h | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 3888f0dee..b3cb599a6 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -2321,6 +2321,7 @@ timerlist.bouquetselect Bouquet wählen timerlist.channel Kanal timerlist.channelselect Kanal wählen timerlist.delete Löschen +timerlist.info Info timerlist.menumodify Timer bearbeiten timerlist.menunew Neuer Timer timerlist.message Nachricht @@ -2356,6 +2357,7 @@ timerlist.repeatcount Wiederholungen timerlist.repeatcount.hint_1 Anzahl der Timerausführungen timerlist.repeatcount.hint_2 0 für unbegrenzte Anzahl timerlist.save Timer speichern +timerlist.send.timer Sende Timer timerlist.standby Aktion timerlist.standby.off Aufwachen aus Standby timerlist.standby.on In Standby gehen diff --git a/data/locale/english.locale b/data/locale/english.locale index 17159bacd..2d267ff64 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -2321,6 +2321,7 @@ timerlist.bouquetselect choose bouquet timerlist.channel Channel timerlist.channelselect choose channel timerlist.delete Delete +timerlist.info Info timerlist.menumodify Modify timer timerlist.menunew New timer timerlist.message Message @@ -2356,6 +2357,7 @@ timerlist.repeatcount repeats timerlist.repeatcount.hint_1 Amount of timer repeats timerlist.repeatcount.hint_2 0 for unlimited repeats timerlist.save Save timer +timerlist.send.timer Send Timer timerlist.standby Action timerlist.standby.off Leave standby timerlist.standby.on Enter standby diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 1249c2e1c..aca24ed3f 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -657,8 +657,8 @@ struct button_label TimerListButtons[] = { NEUTRINO_ICON_BUTTON_GREEN , LOCALE_TIMERLIST_NEW }, { NEUTRINO_ICON_BUTTON_YELLOW , LOCALE_TIMERLIST_RELOAD }, { NEUTRINO_ICON_BUTTON_BLUE , LOCALE_TIMERLIST_MODIFY }, - { NEUTRINO_ICON_BUTTON_INFO_SMALL, NONEXISTANT_LOCALE }, - { NEUTRINO_ICON_BUTTON_PLAY , NONEXISTANT_LOCALE } + { NEUTRINO_ICON_BUTTON_INFO_SMALL, LOCALE_TIMERLIST_INFO }, + { NEUTRINO_ICON_BUTTON_PLAY , LOCALE_TIMERLIST_SEND_TIMER } }; size_t TimerListButtonsCount = sizeof(TimerListButtons)/sizeof(TimerListButtons[0]); diff --git a/src/system/locals.h b/src/system/locals.h index 60ed0d9a4..c5b6243d2 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -2348,6 +2348,7 @@ typedef enum LOCALE_TIMERLIST_CHANNEL, LOCALE_TIMERLIST_CHANNELSELECT, LOCALE_TIMERLIST_DELETE, + LOCALE_TIMERLIST_INFO, LOCALE_TIMERLIST_MENUMODIFY, LOCALE_TIMERLIST_MENUNEW, LOCALE_TIMERLIST_MESSAGE, @@ -2383,6 +2384,7 @@ typedef enum LOCALE_TIMERLIST_REPEATCOUNT_HINT_1, LOCALE_TIMERLIST_REPEATCOUNT_HINT_2, LOCALE_TIMERLIST_SAVE, + LOCALE_TIMERLIST_SEND_TIMER, LOCALE_TIMERLIST_STANDBY, LOCALE_TIMERLIST_STANDBY_OFF, LOCALE_TIMERLIST_STANDBY_ON, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index fdd72cdb9..a764dd1f5 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -2348,6 +2348,7 @@ const char * locale_real_names[] = "timerlist.channel", "timerlist.channelselect", "timerlist.delete", + "timerlist.info", "timerlist.menumodify", "timerlist.menunew", "timerlist.message", @@ -2383,6 +2384,7 @@ const char * locale_real_names[] = "timerlist.repeatcount.hint_1", "timerlist.repeatcount.hint_2", "timerlist.save", + "timerlist.send.timer", "timerlist.standby", "timerlist.standby.off", "timerlist.standby.on",