From 505eca76e661df673ae3ff77863936e6a533f663 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Wed, 18 Sep 2002 14:08:05 +0000 Subject: New language/string handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657 --- apps/main_menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/main_menu.c') diff --git a/apps/main_menu.c b/apps/main_menu.c index 7430671fc0..ad5388ec6f 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -172,19 +172,19 @@ Menu show_info(void) #endif #ifdef HAVE_LCD_CHARCELLS - snprintf(s, sizeof(s), "Batt: %d%%%s", + snprintf(s, sizeof(s), str(LANG_BATTERY_LEVEL_PLAYER), battery_level(), battery_level_safe() ? "" : "!"); lcd_puts(0, 1, s); #else #ifdef HAVE_CHARGE_CTRL if (charger_enabled) - snprintf(s, sizeof(s), "Battery: charging"); + snprintf(s, sizeof(s), str(LANG_BATTERY_CHARGE)); else - snprintf(s, sizeof(s), "Battery: %d%%%s", + snprintf(s, sizeof(s), str(LANG_BATTERY_LEVEL_RECORDER), battery_level(), battery_level_safe() ? "" : " !!"); lcd_puts(0, 3, s); #else - snprintf(s, sizeof(s), "Battery: %d%%%s", + snprintf(s, sizeof(s), str(LANG_BATTERY_LEVEL_RECORDER), battery_level(), battery_level_safe() ? "" : " !!"); lcd_puts(0, 3, s); #endif @@ -224,7 +224,7 @@ Menu main_menu(void) #ifndef SIMULATOR { str(LANG_DEBUG), debug_menu }, #else - { "USB (sim)", simulate_usb }, + { str(LANG_USB), simulate_usb }, #endif }; -- cgit v1.2.3