summaryrefslogtreecommitdiff
path: root/apps/menus/settings_menu.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-05 19:19:39 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-05 19:19:39 +0000
commitb3113674819cd8daf44750d129c5d8298e830df0 (patch)
treeebc7ec9e096e309ef79834802eed28ff9c22fd41 /apps/menus/settings_menu.c
parente70f7f4ca857e9e88a6e076360b6c9c235d7739b (diff)
downloadrockbox-b3113674819cd8daf44750d129c5d8298e830df0.tar.gz
rockbox-b3113674819cd8daf44750d129c5d8298e830df0.zip
*** Lang v2 cleanup (FS#6574) ***
1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/settings_menu.c')
-rw-r--r--apps/menus/settings_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index cd2950665c..1e09abed5d 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -228,7 +228,7 @@ static int timedate_set(void)
228 tm.tm_year = YEAR-1900; 228 tm.tm_year = YEAR-1900;
229 } 229 }
230 230
231 result = (int)set_time_screen(str(LANG_TIME), &tm); 231 result = (int)set_time_screen(str(LANG_SET_TIME), &tm);
232 232
233 if(tm.tm_year != -1) { 233 if(tm.tm_year != -1) {
234 set_time(&tm); 234 set_time(&tm);
@@ -236,7 +236,7 @@ static int timedate_set(void)
236 return result; 236 return result;
237} 237}
238 238
239MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_TIME), 239MENUITEM_FUNCTION(time_set, 0, ID2P(LANG_SET_TIME),
240 timedate_set, NULL, NULL, Icon_NOICON); 240 timedate_set, NULL, NULL, Icon_NOICON);
241MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL); 241MENUITEM_SETTING(timeformat, &global_settings.timeformat, NULL);
242MAKE_MENU(time_menu, ID2P(LANG_TIME_MENU), 0, Icon_NOICON, &time_set, &timeformat); 242MAKE_MENU(time_menu, ID2P(LANG_TIME_MENU), 0, Icon_NOICON, &time_set, &timeformat);