summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-09-18 14:08:05 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-09-18 14:08:05 +0000
commit505eca76e661df673ae3ff77863936e6a533f663 (patch)
treec09f07ca4eaf5c4433af9a4365ccb136e02f3d5a /apps/settings.c
parenta24bd9a894c1d8594e99f95e470cbd8296e5b3d2 (diff)
New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 76b0cc5088..3bc39ed6d2 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -43,6 +43,8 @@
#include "font.h"
#endif
+#include "lang.h"
+
struct user_settings global_settings;
char rockboxdir[] = ROCKBOX_DIR; /* config/font/data file directory */
@@ -304,11 +306,11 @@ int settings_save( void )
{
lcd_clear_display();
#ifdef HAVE_LCD_CHARCELLS
- lcd_puts(0, 0, "Save failed");
- lcd_puts(0, 1, "Batt. low?");
+ lcd_puts(0, 0, str(LANG_SETTINGS_SAVE_PLAYER));
+ lcd_puts(0, 1, str(LANG_SETTINGS_BATTERY_PLAYER));
#else
- lcd_puts(4, 2, "Save failed");
- lcd_puts(2, 4, "Is battery low?");
+ lcd_puts(4, 2, str(LANG_SETTINGS_SAVE_RECORDER));
+ lcd_puts(2, 4, str(LANG_SETTINGS_BATTERY_RECORDER));
lcd_update();
#endif
sleep(HZ*2);
@@ -944,8 +946,8 @@ void set_time(char* string, int timedate[])
cursor[cursorpos][INDEX_WIDTH],
line_height);
- lcd_puts(0, 4, "ON to set");
- lcd_puts(0, 5, "OFF to revert");
+ lcd_puts(0, 4, str(LANG_TIME_SET));
+ lcd_puts(0, 5, str(LANG_TIME_REVERT));
#ifdef HAVE_LCD_BITMAP
status_draw();
#endif