summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/screens.c b/apps/screens.c
index b2436f00f1..1f0939ab8d 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -398,7 +398,7 @@ static void pitch_screen_draw(struct screen *display, int pitch, int pitch_mode)
398 398
399 if (display->nb_lines < 4) /* very small screen, just show the pitch value */ 399 if (display->nb_lines < 4) /* very small screen, just show the pitch value */
400 { 400 {
401 w = snprintf((char *)buf, sizeof(buf), "%s: %d.%d%%",str(LANG_SYSFONT_PITCH), 401 w = snprintf((char *)buf, sizeof(buf), "%s: %d.%d%%",str(LANG_PITCH),
402 pitch / 10, pitch % 10 ); 402 pitch / 10, pitch % 10 );
403 display->putsxy((display->width-(w*display->char_width))/2, 403 display->putsxy((display->width-(w*display->char_width))/2,
404 display->nb_lines/2,buf); 404 display->nb_lines/2,buf);
@@ -408,9 +408,9 @@ static void pitch_screen_draw(struct screen *display, int pitch, int pitch_mode)
408 408
409 /* UP: Pitch Up */ 409 /* UP: Pitch Up */
410 if (pitch_mode == PITCH_MODE_ABSOLUTE) { 410 if (pitch_mode == PITCH_MODE_ABSOLUTE) {
411 ptr = str(LANG_SYSFONT_PITCH_UP); 411 ptr = str(LANG_PITCH_UP);
412 } else { 412 } else {
413 ptr = str(LANG_SYSFONT_PITCH_UP_SEMITONE); 413 ptr = str(LANG_PITCH_UP_SEMITONE);
414 } 414 }
415 display->getstringsize(ptr,&w,&h); 415 display->getstringsize(ptr,&w,&h);
416 display->putsxy((display->width-w)/2, 0, ptr); 416 display->putsxy((display->width-w)/2, 0, ptr);
@@ -419,9 +419,9 @@ static void pitch_screen_draw(struct screen *display, int pitch, int pitch_mode)
419 419
420 /* DOWN: Pitch Down */ 420 /* DOWN: Pitch Down */
421 if (pitch_mode == PITCH_MODE_ABSOLUTE) { 421 if (pitch_mode == PITCH_MODE_ABSOLUTE) {
422 ptr = str(LANG_SYSFONT_PITCH_DOWN); 422 ptr = str(LANG_PITCH_DOWN);
423 } else { 423 } else {
424 ptr = str(LANG_SYSFONT_PITCH_DOWN_SEMITONE); 424 ptr = str(LANG_PITCH_DOWN_SEMITONE);
425 } 425 }
426 display->getstringsize(ptr,&w,&h); 426 display->getstringsize(ptr,&w,&h);
427 display->putsxy((display->width-w)/2, display->height - h, ptr); 427 display->putsxy((display->width-w)/2, display->height - h, ptr);
@@ -443,7 +443,7 @@ static void pitch_screen_draw(struct screen *display, int pitch, int pitch_mode)
443 w+1, (display->height-h)/2, 7, 8); 443 w+1, (display->height-h)/2, 7, 8);
444 444
445 /* "Pitch" */ 445 /* "Pitch" */
446 snprintf((char *)buf, sizeof(buf), str(LANG_SYSFONT_PITCH)); 446 snprintf((char *)buf, sizeof(buf), str(LANG_PITCH));
447 display->getstringsize(buf,&w,&h); 447 display->getstringsize(buf,&w,&h);
448 display->putsxy((display->width-w)/2, (display->height/2)-h, buf); 448 display->putsxy((display->width-w)/2, (display->height/2)-h, buf);
449 /* "XX.X%" */ 449 /* "XX.X%" */
@@ -654,14 +654,14 @@ bool quick_screen_quick(int button_enter)
654 [1]={ STR(LANG_SYSFONT_ON) } 654 [1]={ STR(LANG_SYSFONT_ON) }
655 }; 655 };
656 static const struct opt_items bottom_items[] = { 656 static const struct opt_items bottom_items[] = {
657 [SHOW_ALL]={ STR(LANG_SYSFONT_FILTER_ALL) }, 657 [SHOW_ALL]={ STR(LANG_SYSFONT_ALL) },
658 [SHOW_SUPPORTED]={ STR(LANG_SYSFONT_FILTER_SUPPORTED) }, 658 [SHOW_SUPPORTED]={ STR(LANG_SYSFONT_FILTER_SUPPORTED) },
659 [SHOW_MUSIC]={ STR(LANG_SYSFONT_FILTER_MUSIC) }, 659 [SHOW_MUSIC]={ STR(LANG_SYSFONT_FILTER_MUSIC) },
660 [SHOW_PLAYLIST]={ STR(LANG_SYSFONT_FILTER_PLAYLIST) }, 660 [SHOW_PLAYLIST]={ STR(LANG_SYSFONT_FILTER_PLAYLIST) },
661 }; 661 };
662 static const struct opt_items right_items[] = { 662 static const struct opt_items right_items[] = {
663 [REPEAT_OFF]={ STR(LANG_SYSFONT_OFF) }, 663 [REPEAT_OFF]={ STR(LANG_SYSFONT_OFF) },
664 [REPEAT_ALL]={ STR(LANG_SYSFONT_REPEAT_ALL) }, 664 [REPEAT_ALL]={ STR(LANG_SYSFONT_ALL) },
665 [REPEAT_ONE]={ STR(LANG_SYSFONT_REPEAT_ONE) }, 665 [REPEAT_ONE]={ STR(LANG_SYSFONT_REPEAT_ONE) },
666 [REPEAT_SHUFFLE]={ STR(LANG_SYSFONT_SHUFFLE) }, 666 [REPEAT_SHUFFLE]={ STR(LANG_SYSFONT_SHUFFLE) },
667#ifdef AB_REPEAT_ENABLE 667#ifdef AB_REPEAT_ENABLE
@@ -1014,7 +1014,7 @@ bool set_time_screen(const char* title, struct tm *tm)
1014 1014
1015 /* print help text */ 1015 /* print help text */
1016 if (screens[s].nb_lines > 4) 1016 if (screens[s].nb_lines > 4)
1017 screens[s].puts(0, 4, str(LANG_TIME_SET)); 1017 screens[s].puts(0, 4, str(LANG_TIME_SET_BUTTON));
1018 if (screens[s].nb_lines > 5) 1018 if (screens[s].nb_lines > 5)
1019 screens[s].puts(0, 5, str(LANG_TIME_REVERT)); 1019 screens[s].puts(0, 5, str(LANG_TIME_REVERT));
1020 screens[s].update(); 1020 screens[s].update();