forked from len0rd/rockbox
Fix FS#12158 - Make the "Mode: " line in the radio menu voice.
Translators need to verify the voice string, dumbly copied from the dest string git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30007 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
851cac848a
commit
142725ebc9
38 changed files with 51 additions and 38 deletions
|
@ -5919,7 +5919,7 @@
|
||||||
*: "Режим:"
|
*: "Режим:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Режим:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7881,7 +7881,7 @@
|
||||||
*: "Mode:"
|
*: "Mode:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mode:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9019,7 +9019,7 @@
|
||||||
*: "模式:"
|
*: "模式:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "模式:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -8996,7 +8996,7 @@
|
||||||
*: "模式:"
|
*: "模式:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "模式:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7889,7 +7889,7 @@
|
||||||
*: "Mód:"
|
*: "Mód:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: "Mód"
|
*: "Mód:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9832,7 +9832,7 @@
|
||||||
*: "Tilstand:"
|
*: "Tilstand:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Tilstand:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7892,7 +7892,7 @@
|
||||||
*: "Modus:"
|
*: "Modus:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modus:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7970,7 +7970,7 @@
|
||||||
*: "Mode:"
|
*: "Mode:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mode:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9562,7 +9562,7 @@
|
||||||
*: "Modo:"
|
*: "Modo:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modo:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9773,7 +9773,7 @@
|
||||||
*: "Tila:"
|
*: "Tila:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Tila:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7913,7 +7913,7 @@
|
||||||
*: "Mode:"
|
*: "Mode:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mode:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -8974,7 +8974,7 @@ ipod*,iaudiox5,iaudiom5,iriverh10,iriverh10_5gb,sansae200*,sansac200*,gigabeat*,
|
||||||
*: "Modo:"
|
*: "Modo:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modo:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7858,7 +7858,7 @@
|
||||||
*: "Τύπος:"
|
*: "Τύπος:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Τύπος:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7896,7 +7896,7 @@
|
||||||
*: "מצב:"
|
*: "מצב:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "מצב:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7888,7 +7888,7 @@
|
||||||
*: "Način rada:"
|
*: "Način rada:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Način rada:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7890,7 +7890,7 @@
|
||||||
*: "Modo:"
|
*: "Modo:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modo:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7894,7 +7894,7 @@
|
||||||
*: "モード:"
|
*: "モード:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "モード:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -10103,7 +10103,7 @@
|
||||||
*: "모드:"
|
*: "모드:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "모드:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7888,7 +7888,7 @@
|
||||||
*: "Režīms:"
|
*: "Režīms:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Režīms:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7946,7 +7946,7 @@
|
||||||
*: "Rėžimas:"
|
*: "Rėžimas:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Rėžimas:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7864,7 +7864,7 @@
|
||||||
*: "Mód:"
|
*: "Mód:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mód:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9785,7 +9785,7 @@
|
||||||
*: "Mode:"
|
*: "Mode:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mode:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9581,7 +9581,7 @@
|
||||||
*: "Modus:"
|
*: "Modus:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modus:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -9878,7 +9878,7 @@
|
||||||
*: "Modus:"
|
*: "Modus:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modus:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7900,7 +7900,7 @@
|
||||||
*: "Tryb:"
|
*: "Tryb:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Tryb:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7888,7 +7888,7 @@
|
||||||
*: "Modo:"
|
*: "Modo:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modo:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -8188,7 +8188,7 @@
|
||||||
*: "Modo:"
|
*: "Modo:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Modo:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -6142,7 +6142,7 @@
|
||||||
*: "Mod:"
|
*: "Mod:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mod:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -8869,7 +8869,7 @@
|
||||||
*: "Режим:"
|
*: "Режим:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Режим:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7888,7 +7888,7 @@
|
||||||
*: "Režim:"
|
*: "Režim:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Režim:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -6970,7 +6970,7 @@
|
||||||
*: "Mode:"
|
*: "Mode:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Mode:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7872,7 +7872,7 @@
|
||||||
*: "Мод:"
|
*: "Мод:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Мод:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7891,7 +7891,7 @@
|
||||||
*: "Läge:"
|
*: "Läge:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Läge:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -8227,7 +8227,7 @@
|
||||||
*: "Paraan:"
|
*: "Paraan:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Paraan:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7853,7 +7853,7 @@
|
||||||
*: "โหมด:"
|
*: "โหมด:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "โหมด:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7881,7 +7881,7 @@
|
||||||
*: "Режим:"
|
*: "Режим:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Режим:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -7892,7 +7892,7 @@
|
||||||
*: "Môde:"
|
*: "Môde:"
|
||||||
</dest>
|
</dest>
|
||||||
<voice>
|
<voice>
|
||||||
*: ""
|
*: "Môde:"
|
||||||
</voice>
|
</voice>
|
||||||
</phrase>
|
</phrase>
|
||||||
<phrase>
|
<phrase>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "presets.h"
|
#include "presets.h"
|
||||||
#include "exported_menus.h"
|
#include "exported_menus.h"
|
||||||
#include "sound_menu.h" /* recording_menu() */
|
#include "sound_menu.h" /* recording_menu() */
|
||||||
|
#include "talk.h"
|
||||||
|
|
||||||
#ifdef HAVE_RECORDING
|
#ifdef HAVE_RECORDING
|
||||||
#include "recording.h" /* recording_screen() */
|
#include "recording.h" /* recording_screen() */
|
||||||
|
@ -108,6 +109,17 @@ static char* get_mode_text(int selected_item, void * data, char *buffer)
|
||||||
str(LANG_RADIO_SCAN_MODE));
|
str(LANG_RADIO_SCAN_MODE));
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
static int mode_speak_item(int selected_item, void * data)
|
||||||
|
{
|
||||||
|
(void)selected_item;
|
||||||
|
(void)data;
|
||||||
|
long talk_ids[4];
|
||||||
|
talk_ids[0] = LANG_MODE;
|
||||||
|
talk_ids[1] = radio_mode ? LANG_PRESET : LANG_RADIO_SCAN_MODE;
|
||||||
|
talk_ids[2] = TALK_FINAL_ID;
|
||||||
|
talk_idarray(talk_ids, true);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
static int toggle_radio_mode(void)
|
static int toggle_radio_mode(void)
|
||||||
{
|
{
|
||||||
radio_mode = (radio_mode == RADIO_SCAN_MODE) ?
|
radio_mode = (radio_mode == RADIO_SCAN_MODE) ?
|
||||||
|
@ -116,7 +128,8 @@ static int toggle_radio_mode(void)
|
||||||
}
|
}
|
||||||
MENUITEM_FUNCTION_DYNTEXT(radio_mode_item, 0,
|
MENUITEM_FUNCTION_DYNTEXT(radio_mode_item, 0,
|
||||||
toggle_radio_mode, NULL,
|
toggle_radio_mode, NULL,
|
||||||
get_mode_text, NULL, NULL, NULL, Icon_NOICON);
|
get_mode_text, mode_speak_item,
|
||||||
|
NULL, NULL, Icon_NOICON);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MENUITEM_FUNCTION(scan_presets_item, MENU_FUNC_USEPARAM,
|
MENUITEM_FUNCTION(scan_presets_item, MENU_FUNC_USEPARAM,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue