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.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index fb178ace47..7513a26a1f 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -487,7 +487,7 @@ int radio_screen(void)
487 radio_start(); 487 radio_start();
488#endif 488#endif
489 489
490 if(num_presets < 1 && yesno_pop(str(LANG_FM_FIRST_AUTOSCAN))) 490 if(num_presets < 1 && yesno_pop(ID2P(LANG_FM_FIRST_AUTOSCAN)))
491 scan_presets(); 491 scan_presets();
492 492
493 curr_preset = find_preset(curr_freq); 493 curr_preset = find_preset(curr_freq);
@@ -551,7 +551,7 @@ int radio_screen(void)
551 done = true; 551 done = true;
552 if(presets_changed) 552 if(presets_changed)
553 { 553 {
554 if(yesno_pop(str(LANG_FM_SAVE_CHANGES))) 554 if(yesno_pop(ID2P(LANG_FM_SAVE_CHANGES)))
555 { 555 {
556 if(filepreset[0] == '\0') 556 if(filepreset[0] == '\0')
557 save_preset_list(); 557 save_preset_list();
@@ -606,7 +606,7 @@ int radio_screen(void)
606 ret_val = GO_TO_ROOT; 606 ret_val = GO_TO_ROOT;
607 if(presets_changed) 607 if(presets_changed)
608 { 608 {
609 if(yesno_pop(str(LANG_FM_SAVE_CHANGES))) 609 if(yesno_pop(ID2P(LANG_FM_SAVE_CHANGES)))
610 { 610 {
611 if(filepreset[0] == '\0') 611 if(filepreset[0] == '\0')
612 save_preset_list(); 612 save_preset_list();
@@ -690,7 +690,7 @@ int radio_screen(void)
690 case ACTION_FM_PRESET: 690 case ACTION_FM_PRESET:
691 if(num_presets < 1) 691 if(num_presets < 1)
692 { 692 {
693 gui_syncsplash(HZ, str(LANG_FM_NO_PRESETS)); 693 gui_syncsplash(HZ, ID2P(LANG_FM_NO_PRESETS));
694 update_screen = true; 694 update_screen = true;
695 FOR_NB_SCREENS(i) 695 FOR_NB_SCREENS(i)
696 { 696 {
@@ -996,7 +996,7 @@ static void radio_save_presets(void)
996 } 996 }
997 else 997 else
998 { 998 {
999 gui_syncsplash(HZ, str(LANG_FM_PRESET_SAVE_FAILED)); 999 gui_syncsplash(HZ, ID2P(LANG_FM_PRESET_SAVE_FAILED));
1000 } 1000 }
1001} 1001}
1002 1002
@@ -1082,7 +1082,7 @@ static int radio_add_preset(void)
1082 } 1082 }
1083 else 1083 else
1084 { 1084 {
1085 gui_syncsplash(HZ, str(LANG_FM_NO_FREE_PRESETS)); 1085 gui_syncsplash(HZ, ID2P(LANG_FM_NO_FREE_PRESETS));
1086 } 1086 }
1087 return true; 1087 return true;
1088} 1088}
@@ -1170,7 +1170,7 @@ static int save_preset_list(void)
1170 if((!p1) || (len > MAX_FILENAME) || (len == 0)) 1170 if((!p1) || (len > MAX_FILENAME) || (len == 0))
1171 { 1171 {
1172 /* no slash, too long or too short */ 1172 /* no slash, too long or too short */
1173 gui_syncsplash(HZ, str(LANG_INVALID_FILENAME)); 1173 gui_syncsplash(HZ, ID2P(LANG_INVALID_FILENAME));
1174 } 1174 }
1175 else 1175 else
1176 { 1176 {
@@ -1190,7 +1190,7 @@ static int save_preset_list(void)
1190 } 1190 }
1191 } 1191 }
1192 else 1192 else
1193 gui_syncsplash(HZ, str(LANG_FM_NO_PRESETS)); 1193 gui_syncsplash(HZ, ID2P(LANG_FM_NO_PRESETS));
1194 1194
1195 return true; 1195 return true;
1196} 1196}
@@ -1339,7 +1339,7 @@ static int scan_presets(void)
1339 bool do_scan = true; 1339 bool do_scan = true;
1340 1340
1341 if(num_presets > 0) /* Do that to avoid 2 questions. */ 1341 if(num_presets > 0) /* Do that to avoid 2 questions. */
1342 do_scan = yesno_pop(str(LANG_FM_CLEAR_PRESETS)); 1342 do_scan = yesno_pop(ID2P(LANG_FM_CLEAR_PRESETS));
1343 1343
1344 if(do_scan) 1344 if(do_scan)
1345 { 1345 {