diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/radio.c | 22 | ||||
-rw-r--r-- | apps/recorder/recording.c | 12 |
2 files changed, 17 insertions, 17 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 | } |
1226 | MAKE_MENU(handle_radio_preset_menu, ID2P(LANG_FM_BUTTONBAR_PRESETS), | 1226 | MAKE_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 |
1458 | MENUITEM_FUNCTION(recscreen_item, 0, ID2P(LANG_RECORDING_MENU), | 1458 | MENUITEM_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 |
1466 | MENUITEM_FUNCTION(radio_presets_item, 0, ID2P(LANG_FM_BUTTONBAR_PRESETS), | 1466 | MENUITEM_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 |
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 8bcc3ee9af..68528c71c0 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -1529,7 +1529,7 @@ bool recording_screen(bool no_source) | |||
1529 | if(global_settings.rec_source == AUDIO_SRC_MIC) | 1529 | if(global_settings.rec_source == AUDIO_SRC_MIC) |
1530 | { | 1530 | { |
1531 | /* Draw MIC recording gain */ | 1531 | /* Draw MIC recording gain */ |
1532 | snprintf(buf, sizeof(buf), "%s:%s", str(LANG_SYSFONT_RECORDING_GAIN), | 1532 | snprintf(buf, sizeof(buf), "%s:%s", str(LANG_SYSFONT_GAIN), |
1533 | fmt_gain(SOUND_MIC_GAIN, | 1533 | fmt_gain(SOUND_MIC_GAIN, |
1534 | global_settings.rec_mic_gain, | 1534 | global_settings.rec_mic_gain, |
1535 | buf2, sizeof(buf2))); | 1535 | buf2, sizeof(buf2))); |
@@ -1921,12 +1921,12 @@ static bool f2_rec_screen(void) | |||
1921 | 1921 | ||
1922 | FOR_NB_SCREENS(i) | 1922 | FOR_NB_SCREENS(i) |
1923 | { | 1923 | { |
1924 | screens[i].getstringsize(str(LANG_SYSFONT_RECORDING_CHANNELS), &w, &h); | 1924 | screens[i].getstringsize(str(LANG_SYSFONT_CHANNELS), &w, &h); |
1925 | screens[i].putsxy(LCD_WIDTH - w, LCD_HEIGHT/2 - h*2, | 1925 | screens[i].putsxy(LCD_WIDTH - w, LCD_HEIGHT/2 - h*2, |
1926 | str(LANG_SYSFONT_RECORDING_CHANNELS)); | 1926 | str(LANG_SYSFONT_CHANNELS)); |
1927 | screens[i].getstringsize(str(LANG_SYSFONT_F2_MODE), &w, &h); | 1927 | screens[i].getstringsize(str(LANG_SYSFONT_MODE), &w, &h); |
1928 | screens[i].putsxy(LCD_WIDTH - w, LCD_HEIGHT/2 - h, | 1928 | screens[i].putsxy(LCD_WIDTH - w, LCD_HEIGHT/2 - h, |
1929 | str(LANG_SYSFONT_F2_MODE)); | 1929 | str(LANG_SYSFONT_MODE)); |
1930 | screens[i].getstringsize(ptr, &w, &h); | 1930 | screens[i].getstringsize(ptr, &w, &h); |
1931 | screens[i].putsxy(LCD_WIDTH - w, LCD_HEIGHT/2, ptr); | 1931 | screens[i].putsxy(LCD_WIDTH - w, LCD_HEIGHT/2, ptr); |
1932 | screens[i].mono_bitmap(bitmap_icons_7x8[Icon_FastForward], | 1932 | screens[i].mono_bitmap(bitmap_icons_7x8[Icon_FastForward], |
@@ -1999,7 +1999,7 @@ static bool f3_rec_screen(void) | |||
1999 | char *src_str[] = | 1999 | char *src_str[] = |
2000 | { | 2000 | { |
2001 | str(LANG_SYSFONT_RECORDING_SRC_MIC), | 2001 | str(LANG_SYSFONT_RECORDING_SRC_MIC), |
2002 | str(LANG_SYSFONT_RECORDING_SRC_LINE), | 2002 | str(LANG_SYSFONT_LINE_IN), |
2003 | str(LANG_SYSFONT_RECORDING_SRC_DIGITAL) | 2003 | str(LANG_SYSFONT_RECORDING_SRC_DIGITAL) |
2004 | }; | 2004 | }; |
2005 | struct audio_recording_options rec_options; | 2005 | struct audio_recording_options rec_options; |