1
0
Fork 0
forked from len0rd/rockbox

forgot to translate the splash messages

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10633 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2006-08-17 13:31:34 +00:00
parent f1781318d3
commit b9731561f8

View file

@ -21,6 +21,8 @@
#include <stdlib.h> #include <stdlib.h>
#include "config.h" #include "config.h"
#include "lang.h"
#include "button.h" #include "button.h"
#include "action.h" #include "action.h"
#include "kernel.h" #include "kernel.h"
@ -128,7 +130,7 @@ int get_action_worker(int context, int timeout,
{ {
last_button = BUTTON_NONE; last_button = BUTTON_NONE;
keys_locked = false; keys_locked = false;
gui_syncsplash(HZ/2, true, "Keys Unlocked"); gui_syncsplash(HZ/2, true, str(LANG_KEYLOCK_OFF_PLAYER));
return ACTION_REDRAW; return ACTION_REDRAW;
} }
else else
@ -137,7 +139,7 @@ int get_action_worker(int context, int timeout,
#endif #endif
{ {
if ((button&BUTTON_REL)) if ((button&BUTTON_REL))
gui_syncsplash(HZ, true, "Keys Locked"); gui_syncsplash(HZ/2, true, str(LANG_KEYLOCK_ON_PLAYER));
return ACTION_REDRAW; return ACTION_REDRAW;
} }
} }
@ -179,7 +181,7 @@ int get_action_worker(int context, int timeout,
unlock_combo = button; unlock_combo = button;
keys_locked = true; keys_locked = true;
action_signalscreenchange(); action_signalscreenchange();
gui_syncsplash(HZ, true, "Keys Locked"); gui_syncsplash(HZ/2, true, str(LANG_KEYLOCK_ON_PLAYER));
button_clear_queue(); button_clear_queue();
return ACTION_REDRAW; return ACTION_REDRAW;