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>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Режим:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7881,7 +7881,7 @@
|
|||
*: "Mode:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mode:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9019,7 +9019,7 @@
|
|||
*: "模式:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "模式:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -8996,7 +8996,7 @@
|
|||
*: "模式:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "模式:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7889,7 +7889,7 @@
|
|||
*: "Mód:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: "Mód"
|
||||
*: "Mód:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9832,7 +9832,7 @@
|
|||
*: "Tilstand:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Tilstand:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7892,7 +7892,7 @@
|
|||
*: "Modus:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modus:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7970,7 +7970,7 @@
|
|||
*: "Mode:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mode:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9562,7 +9562,7 @@
|
|||
*: "Modo:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modo:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9773,7 +9773,7 @@
|
|||
*: "Tila:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Tila:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7913,7 +7913,7 @@
|
|||
*: "Mode:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mode:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -8974,7 +8974,7 @@ ipod*,iaudiox5,iaudiom5,iriverh10,iriverh10_5gb,sansae200*,sansac200*,gigabeat*,
|
|||
*: "Modo:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modo:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7858,7 +7858,7 @@
|
|||
*: "Τύπος:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Τύπος:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7896,7 +7896,7 @@
|
|||
*: "מצב:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "מצב:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7888,7 +7888,7 @@
|
|||
*: "Način rada:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Način rada:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7890,7 +7890,7 @@
|
|||
*: "Modo:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modo:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7894,7 +7894,7 @@
|
|||
*: "モード:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "モード:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -10103,7 +10103,7 @@
|
|||
*: "모드:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "모드:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7888,7 +7888,7 @@
|
|||
*: "Režīms:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Režīms:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7946,7 +7946,7 @@
|
|||
*: "Rėžimas:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Rėžimas:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7864,7 +7864,7 @@
|
|||
*: "Mód:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mód:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9785,7 +9785,7 @@
|
|||
*: "Mode:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mode:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9581,7 +9581,7 @@
|
|||
*: "Modus:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modus:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -9878,7 +9878,7 @@
|
|||
*: "Modus:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modus:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7900,7 +7900,7 @@
|
|||
*: "Tryb:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Tryb:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7888,7 +7888,7 @@
|
|||
*: "Modo:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modo:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -8188,7 +8188,7 @@
|
|||
*: "Modo:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Modo:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -6142,7 +6142,7 @@
|
|||
*: "Mod:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mod:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -8869,7 +8869,7 @@
|
|||
*: "Режим:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Режим:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7888,7 +7888,7 @@
|
|||
*: "Režim:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Režim:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -6970,7 +6970,7 @@
|
|||
*: "Mode:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Mode:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7872,7 +7872,7 @@
|
|||
*: "Мод:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Мод:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7891,7 +7891,7 @@
|
|||
*: "Läge:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Läge:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -8227,7 +8227,7 @@
|
|||
*: "Paraan:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Paraan:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7853,7 +7853,7 @@
|
|||
*: "โหมด:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "โหมด:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7881,7 +7881,7 @@
|
|||
*: "Режим:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Режим:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -7892,7 +7892,7 @@
|
|||
*: "Môde:"
|
||||
</dest>
|
||||
<voice>
|
||||
*: ""
|
||||
*: "Môde:"
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "presets.h"
|
||||
#include "exported_menus.h"
|
||||
#include "sound_menu.h" /* recording_menu() */
|
||||
#include "talk.h"
|
||||
|
||||
#ifdef HAVE_RECORDING
|
||||
#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));
|
||||
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)
|
||||
{
|
||||
radio_mode = (radio_mode == RADIO_SCAN_MODE) ?
|
||||
|
@ -116,7 +128,8 @@ static int toggle_radio_mode(void)
|
|||
}
|
||||
MENUITEM_FUNCTION_DYNTEXT(radio_mode_item, 0,
|
||||
toggle_radio_mode, NULL,
|
||||
get_mode_text, NULL, NULL, NULL, Icon_NOICON);
|
||||
get_mode_text, mode_speak_item,
|
||||
NULL, NULL, Icon_NOICON);
|
||||
#endif
|
||||
|
||||
MENUITEM_FUNCTION(scan_presets_item, MENU_FUNC_USEPARAM,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue