summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 24996bb92b..fb178ace47 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -496,7 +496,7 @@ int radio_screen(void)
496 496
497#ifdef HAS_BUTTONBAR 497#ifdef HAS_BUTTONBAR
498 gui_buttonbar_set(&buttonbar, str(LANG_BUTTONBAR_MENU), 498 gui_buttonbar_set(&buttonbar, str(LANG_BUTTONBAR_MENU),
499 str(LANG_FM_BUTTONBAR_PRESETS), str(LANG_FM_BUTTONBAR_RECORD)); 499 str(LANG_PRESET), str(LANG_FM_BUTTONBAR_RECORD));
500#endif 500#endif
501 501
502#ifndef HAVE_NOISY_IDLE_MODE 502#ifndef HAVE_NOISY_IDLE_MODE
@@ -680,7 +680,7 @@ int radio_screen(void)
680 } 680 }
681#ifdef HAS_BUTTONBAR 681#ifdef HAS_BUTTONBAR
682 gui_buttonbar_set(&buttonbar, str(LANG_BUTTONBAR_MENU), 682 gui_buttonbar_set(&buttonbar, str(LANG_BUTTONBAR_MENU),
683 str(LANG_FM_BUTTONBAR_PRESETS), 683 str(LANG_PRESET),
684 str(LANG_FM_BUTTONBAR_RECORD)); 684 str(LANG_FM_BUTTONBAR_RECORD));
685#endif 685#endif
686 update_screen = true; 686 update_screen = true;
@@ -713,7 +713,7 @@ int radio_screen(void)
713#ifdef HAS_BUTTONBAR 713#ifdef HAS_BUTTONBAR
714 gui_buttonbar_set(&buttonbar, 714 gui_buttonbar_set(&buttonbar,
715 str(LANG_BUTTONBAR_MENU), 715 str(LANG_BUTTONBAR_MENU),
716 str(LANG_FM_BUTTONBAR_PRESETS), 716 str(LANG_PRESET),
717 str(LANG_FM_BUTTONBAR_RECORD)); 717 str(LANG_FM_BUTTONBAR_RECORD));
718#endif 718#endif
719 update_screen = true; 719 update_screen = true;
@@ -858,8 +858,8 @@ int radio_screen(void)
858 FOR_NB_SCREENS(i) 858 FOR_NB_SCREENS(i)
859 screens[i].puts_scroll(0, top_of_screen + 2, buf); 859 screens[i].puts_scroll(0, top_of_screen + 2, buf);
860 860
861 snprintf(buf, 128, "%s %s", str(LANG_FM_TUNE_MODE), 861 snprintf(buf, 128, "%s %s", str(LANG_MODE),
862 radio_mode ? str(LANG_RADIO_PRESET_MODE) : 862 radio_mode ? str(LANG_PRESET) :
863 str(LANG_RADIO_SCAN_MODE)); 863 str(LANG_RADIO_SCAN_MODE));
864 FOR_NB_SCREENS(i) 864 FOR_NB_SCREENS(i)
865 screens[i].puts_scroll(0, top_of_screen + 3, buf); 865 screens[i].puts_scroll(0, top_of_screen + 3, buf);
@@ -1223,7 +1223,7 @@ int radio_preset_callback(int action, const struct menu_item_ex *this_item)
1223 return action; 1223 return action;
1224 (void)this_item; 1224 (void)this_item;
1225} 1225}
1226MAKE_MENU(handle_radio_preset_menu, ID2P(LANG_FM_BUTTONBAR_PRESETS), 1226MAKE_MENU(handle_radio_preset_menu, ID2P(LANG_PRESET),
1227 radio_preset_callback, Icon_NOICON, &radio_edit_preset_item, 1227 radio_preset_callback, Icon_NOICON, &radio_edit_preset_item,
1228 &radio_delete_preset_item); 1228 &radio_delete_preset_item);
1229/* present a list of preset stations */ 1229/* present a list of preset stations */
@@ -1255,7 +1255,7 @@ static int handle_radio_presets(void)
1255 gui_buttonbar_draw(&buttonbar); 1255 gui_buttonbar_draw(&buttonbar);
1256#endif 1256#endif
1257 gui_synclist_init(&lists, presets_get_name, NULL, false, 1); 1257 gui_synclist_init(&lists, presets_get_name, NULL, false, 1);
1258 gui_synclist_set_title(&lists, str(LANG_FM_BUTTONBAR_PRESETS), NOICON); 1258 gui_synclist_set_title(&lists, str(LANG_PRESET), NOICON);
1259 gui_synclist_set_icon_callback(&lists, NULL); 1259 gui_synclist_set_icon_callback(&lists, NULL);
1260 gui_synclist_set_nb_items(&lists, num_presets); 1260 gui_synclist_set_nb_items(&lists, num_presets);
1261 gui_synclist_select_item(&lists, curr_preset<0 ? 0 : curr_preset); 1261 gui_synclist_select_item(&lists, curr_preset<0 ? 0 : curr_preset);
@@ -1318,8 +1318,8 @@ char* get_mode_text(int selected_item, void * data, char *buffer)
1318{ 1318{
1319 (void)selected_item; 1319 (void)selected_item;
1320 (void)data; 1320 (void)data;
1321 snprintf(buffer, MAX_PATH, "%s %s", str(LANG_FM_TUNE_MODE), 1321 snprintf(buffer, MAX_PATH, "%s %s", str(LANG_MODE),
1322 radio_mode ? str(LANG_RADIO_PRESET_MODE) : 1322 radio_mode ? str(LANG_PRESET) :
1323 str(LANG_RADIO_SCAN_MODE)); 1323 str(LANG_RADIO_SCAN_MODE));
1324 return buffer; 1324 return buffer;
1325} 1325}
@@ -1455,7 +1455,7 @@ static int fm_recording_settings(void)
1455#endif /* HAVE_RECORDING */ 1455#endif /* HAVE_RECORDING */
1456 1456
1457#ifdef FM_RECORDING_SCREEN 1457#ifdef FM_RECORDING_SCREEN
1458MENUITEM_FUNCTION(recscreen_item, 0, ID2P(LANG_RECORDING_MENU), 1458MENUITEM_FUNCTION(recscreen_item, 0, ID2P(LANG_RECORDING),
1459 fm_recording_screen, NULL, NULL, Icon_Recording); 1459 fm_recording_screen, NULL, NULL, Icon_Recording);
1460#endif 1460#endif
1461#ifdef FM_RECORDING_SETTINGS 1461#ifdef FM_RECORDING_SETTINGS
@@ -1463,7 +1463,7 @@ MENUITEM_FUNCTION(recsettings_item, 0, ID2P(LANG_RECORDING_SETTINGS),
1463 fm_recording_settings, NULL, NULL, Icon_Recording); 1463 fm_recording_settings, NULL, NULL, Icon_Recording);
1464#endif 1464#endif
1465#ifndef FM_PRESET 1465#ifndef FM_PRESET
1466MENUITEM_FUNCTION(radio_presets_item, 0, ID2P(LANG_FM_BUTTONBAR_PRESETS), 1466MENUITEM_FUNCTION(radio_presets_item, 0, ID2P(LANG_PRESET),
1467 handle_radio_presets, NULL, NULL, Icon_NOICON); 1467 handle_radio_presets, NULL, NULL, Icon_NOICON);
1468#endif 1468#endif
1469#ifndef FM_PRESET_ADD 1469#ifndef FM_PRESET_ADD