diff options
author | Shachar Liberman <lshachar@hotmail.com> | 2006-08-07 21:24:22 +0000 |
---|---|---|
committer | Shachar Liberman <lshachar@hotmail.com> | 2006-08-07 21:24:22 +0000 |
commit | f17e5c04f30ee49b3a514b31bdad805323ce93e6 (patch) | |
tree | 3e6335fae00c1d8023c1d7c895f1f677f0b075da /apps/screens.c | |
parent | 5eb1e1549c24aa3ed590c5edb784796b0ecbf010 (diff) | |
download | rockbox-f17e5c04f30ee49b3a514b31bdad805323ce93e6.tar.gz rockbox-f17e5c04f30ee49b3a514b31bdad805323ce93e6.zip |
FS#5587 Non-latin languages support update. Translators:Please change
the 48 new LANG_SYSFONT_ strings at the end of your language file if
they don't fit nicely with rockbox's internal font.
(for more info http://www.rockbox.org/twiki/bin/view/Main/NonLatinLanguages)
Developers:Please keep using LANG_SYSFONT strings when reffering to the
internal font. * Hebrew update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/apps/screens.c b/apps/screens.c index c54333109b..5a2b58e853 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -368,14 +368,14 @@ void pitch_screen_draw(int pitch) | |||
368 | lcd_clear_display(); | 368 | lcd_clear_display(); |
369 | 369 | ||
370 | /* UP: Pitch Up */ | 370 | /* UP: Pitch Up */ |
371 | ptr = str(LANG_PITCH_UP); | 371 | ptr = str(LANG_SYSFONT_PITCH_UP); |
372 | lcd_getstringsize(ptr,&w,&h); | 372 | lcd_getstringsize(ptr,&w,&h); |
373 | lcd_putsxy((LCD_WIDTH-w)/2, 0, ptr); | 373 | lcd_putsxy((LCD_WIDTH-w)/2, 0, ptr); |
374 | lcd_mono_bitmap(bitmap_icons_7x8[Icon_UpArrow], | 374 | lcd_mono_bitmap(bitmap_icons_7x8[Icon_UpArrow], |
375 | LCD_WIDTH/2 - 3, h, 7, 8); | 375 | LCD_WIDTH/2 - 3, h, 7, 8); |
376 | 376 | ||
377 | /* DOWN: Pitch Down */ | 377 | /* DOWN: Pitch Down */ |
378 | ptr = str(LANG_PITCH_DOWN); | 378 | ptr = str(LANG_SYSFONT_PITCH_DOWN); |
379 | lcd_getstringsize(ptr,&w,&h); | 379 | lcd_getstringsize(ptr,&w,&h); |
380 | lcd_putsxy((LCD_WIDTH-w)/2, LCD_HEIGHT - h, ptr); | 380 | lcd_putsxy((LCD_WIDTH-w)/2, LCD_HEIGHT - h, ptr); |
381 | lcd_mono_bitmap(bitmap_icons_7x8[Icon_DownArrow], | 381 | lcd_mono_bitmap(bitmap_icons_7x8[Icon_DownArrow], |
@@ -396,7 +396,7 @@ void pitch_screen_draw(int pitch) | |||
396 | w+1, (LCD_HEIGHT-h)/2, 7, 8); | 396 | w+1, (LCD_HEIGHT-h)/2, 7, 8); |
397 | 397 | ||
398 | /* "Pitch" */ | 398 | /* "Pitch" */ |
399 | snprintf((char *)buf, sizeof(buf), str(LANG_PITCH)); | 399 | snprintf((char *)buf, sizeof(buf), str(LANG_SYSFONT_PITCH)); |
400 | lcd_getstringsize(buf,&w,&h); | 400 | lcd_getstringsize(buf,&w,&h); |
401 | lcd_putsxy((LCD_WIDTH-w)/2, (LCD_HEIGHT/2)-h, buf); | 401 | lcd_putsxy((LCD_WIDTH-w)/2, (LCD_HEIGHT/2)-h, buf); |
402 | /* "XX.X%" */ | 402 | /* "XX.X%" */ |
@@ -531,23 +531,23 @@ bool quick_screen_quick(int button_enter) | |||
531 | int oldrepeat, old_x_margin, old_y_margin; | 531 | int oldrepeat, old_x_margin, old_y_margin; |
532 | 532 | ||
533 | static const struct opt_items left_items[] = { | 533 | static const struct opt_items left_items[] = { |
534 | [0]={ STR(LANG_OFF) }, | 534 | [0]={ STR(LANG_SYSFONT_OFF) }, |
535 | [1]={ STR(LANG_ON) } | 535 | [1]={ STR(LANG_SYSFONT_ON) } |
536 | }; | 536 | }; |
537 | static const struct opt_items bottom_items[] = { | 537 | static const struct opt_items bottom_items[] = { |
538 | [SHOW_ALL]={ STR(LANG_FILTER_ALL) }, | 538 | [SHOW_ALL]={ STR(LANG_SYSFONT_FILTER_ALL) }, |
539 | [SHOW_SUPPORTED]={ STR(LANG_FILTER_SUPPORTED) }, | 539 | [SHOW_SUPPORTED]={ STR(LANG_SYSFONT_FILTER_SUPPORTED) }, |
540 | [SHOW_MUSIC]={ STR(LANG_FILTER_MUSIC) }, | 540 | [SHOW_MUSIC]={ STR(LANG_SYSFONT_FILTER_MUSIC) }, |
541 | [SHOW_PLAYLIST]={ STR(LANG_FILTER_PLAYLIST) }, | 541 | [SHOW_PLAYLIST]={ STR(LANG_SYSFONT_FILTER_PLAYLIST) }, |
542 | [SHOW_ID3DB]={ STR(LANG_FILTER_ID3DB) } | 542 | [SHOW_ID3DB]={ STR(LANG_SYSFONT_FILTER_ID3DB) } |
543 | }; | 543 | }; |
544 | static const struct opt_items right_items[] = { | 544 | static const struct opt_items right_items[] = { |
545 | [REPEAT_OFF]={ STR(LANG_OFF) }, | 545 | [REPEAT_OFF]={ STR(LANG_SYSFONT_OFF) }, |
546 | [REPEAT_ALL]={ STR(LANG_REPEAT_ALL) }, | 546 | [REPEAT_ALL]={ STR(LANG_SYSFONT_REPEAT_ALL) }, |
547 | [REPEAT_ONE]={ STR(LANG_REPEAT_ONE) }, | 547 | [REPEAT_ONE]={ STR(LANG_SYSFONT_REPEAT_ONE) }, |
548 | [REPEAT_SHUFFLE]={ STR(LANG_SHUFFLE) }, | 548 | [REPEAT_SHUFFLE]={ STR(LANG_SYSFONT_SHUFFLE) }, |
549 | #if (AB_REPEAT_ENABLE == 1) | 549 | #if (AB_REPEAT_ENABLE == 1) |
550 | [REPEAT_AB]={ STR(LANG_REPEAT_AB) } | 550 | [REPEAT_AB]={ STR(LANG_SYSFONT_REPEAT_AB) } |
551 | #endif | 551 | #endif |
552 | }; | 552 | }; |
553 | struct gui_quickscreen qs; | 553 | struct gui_quickscreen qs; |
@@ -557,17 +557,17 @@ bool quick_screen_quick(int button_enter) | |||
557 | lcd_setmargins(0, 0); | 557 | lcd_setmargins(0, 0); |
558 | 558 | ||
559 | option_select_init_items(&left_option, | 559 | option_select_init_items(&left_option, |
560 | (char *)str(LANG_SHUFFLE), | 560 | (char *)str(LANG_SYSFONT_SHUFFLE), |
561 | bool_to_int(global_settings.playlist_shuffle), | 561 | bool_to_int(global_settings.playlist_shuffle), |
562 | left_items, | 562 | left_items, |
563 | 2); | 563 | 2); |
564 | option_select_init_items(&bottom_option, | 564 | option_select_init_items(&bottom_option, |
565 | (char *)str(LANG_FILTER), | 565 | (char *)str(LANG_SYSFONT_FILTER), |
566 | global_settings.dirfilter, | 566 | global_settings.dirfilter, |
567 | bottom_items, | 567 | bottom_items, |
568 | sizeof(bottom_items)/sizeof(struct opt_items)); | 568 | sizeof(bottom_items)/sizeof(struct opt_items)); |
569 | option_select_init_items(&right_option, | 569 | option_select_init_items(&right_option, |
570 | (char *)str(LANG_REPEAT), | 570 | (char *)str(LANG_SYSFONT_REPEAT), |
571 | global_settings.repeat_mode, | 571 | global_settings.repeat_mode, |
572 | right_items, | 572 | right_items, |
573 | sizeof(right_items)/sizeof(struct opt_items)); | 573 | sizeof(right_items)/sizeof(struct opt_items)); |
@@ -621,12 +621,12 @@ bool quick_screen_f3(int button_enter) | |||
621 | int old_x_margin, old_y_margin; | 621 | int old_x_margin, old_y_margin; |
622 | 622 | ||
623 | static const struct opt_items onoff_items[] = { | 623 | static const struct opt_items onoff_items[] = { |
624 | [0]={ STR(LANG_OFF) }, | 624 | [0]={ STR(LANG_SYSFONT_OFF) }, |
625 | [1]={ STR(LANG_ON) } | 625 | [1]={ STR(LANG_SYSFONT_ON) } |
626 | }; | 626 | }; |
627 | static const struct opt_items yesno_items[] = { | 627 | static const struct opt_items yesno_items[] = { |
628 | [0]={ STR(LANG_SET_BOOL_NO) }, | 628 | [0]={ STR(LANG_SYSFONT_SET_BOOL_NO) }, |
629 | [1]={ STR(LANG_SET_BOOL_YES) } | 629 | [1]={ STR(LANG_SYSFONT_SET_BOOL_YES) } |
630 | }; | 630 | }; |
631 | 631 | ||
632 | struct gui_quickscreen qs; | 632 | struct gui_quickscreen qs; |
@@ -636,17 +636,17 @@ bool quick_screen_f3(int button_enter) | |||
636 | lcd_setmargins(0, 0); | 636 | lcd_setmargins(0, 0); |
637 | 637 | ||
638 | option_select_init_items(&left_option, | 638 | option_select_init_items(&left_option, |
639 | str(LANG_SCROLL_BAR), | 639 | str(LANG_SYSFONT_SCROLL_BAR), |
640 | bool_to_int(global_settings.scrollbar), | 640 | bool_to_int(global_settings.scrollbar), |
641 | onoff_items, | 641 | onoff_items, |
642 | 2); | 642 | 2); |
643 | option_select_init_items(&bottom_option, | 643 | option_select_init_items(&bottom_option, |
644 | str(LANG_FLIP_DISPLAY), | 644 | str(LANG_SYSFONT_FLIP_DISPLAY), |
645 | bool_to_int(global_settings.flip_display), | 645 | bool_to_int(global_settings.flip_display), |
646 | yesno_items, | 646 | yesno_items, |
647 | 2); | 647 | 2); |
648 | option_select_init_items(&right_option, | 648 | option_select_init_items(&right_option, |
649 | str(LANG_STATUS_BAR), | 649 | str(LANG_SYSFONT_STATUS_BAR), |
650 | bool_to_int(global_settings.statusbar), | 650 | bool_to_int(global_settings.statusbar), |
651 | onoff_items, | 651 | onoff_items, |
652 | 2); | 652 | 2); |