diff options
-rw-r--r-- | apps/action.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/action.c b/apps/action.c index 8f6af0245c..e031ce0312 100644 --- a/apps/action.c +++ b/apps/action.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include <stdlib.h> | 21 | #include <stdlib.h> |
22 | 22 | ||
23 | #include "config.h" | 23 | #include "config.h" |
24 | #include "lang.h" | ||
25 | |||
24 | #include "button.h" | 26 | #include "button.h" |
25 | #include "action.h" | 27 | #include "action.h" |
26 | #include "kernel.h" | 28 | #include "kernel.h" |
@@ -128,7 +130,7 @@ int get_action_worker(int context, int timeout, | |||
128 | { | 130 | { |
129 | last_button = BUTTON_NONE; | 131 | last_button = BUTTON_NONE; |
130 | keys_locked = false; | 132 | keys_locked = false; |
131 | gui_syncsplash(HZ/2, true, "Keys Unlocked"); | 133 | gui_syncsplash(HZ/2, true, str(LANG_KEYLOCK_OFF_PLAYER)); |
132 | return ACTION_REDRAW; | 134 | return ACTION_REDRAW; |
133 | } | 135 | } |
134 | else | 136 | else |
@@ -137,7 +139,7 @@ int get_action_worker(int context, int timeout, | |||
137 | #endif | 139 | #endif |
138 | { | 140 | { |
139 | if ((button&BUTTON_REL)) | 141 | if ((button&BUTTON_REL)) |
140 | gui_syncsplash(HZ, true, "Keys Locked"); | 142 | gui_syncsplash(HZ/2, true, str(LANG_KEYLOCK_ON_PLAYER)); |
141 | return ACTION_REDRAW; | 143 | return ACTION_REDRAW; |
142 | } | 144 | } |
143 | } | 145 | } |
@@ -179,7 +181,7 @@ int get_action_worker(int context, int timeout, | |||
179 | unlock_combo = button; | 181 | unlock_combo = button; |
180 | keys_locked = true; | 182 | keys_locked = true; |
181 | action_signalscreenchange(); | 183 | action_signalscreenchange(); |
182 | gui_syncsplash(HZ, true, "Keys Locked"); | 184 | gui_syncsplash(HZ/2, true, str(LANG_KEYLOCK_ON_PLAYER)); |
183 | 185 | ||
184 | button_clear_queue(); | 186 | button_clear_queue(); |
185 | return ACTION_REDRAW; | 187 | return ACTION_REDRAW; |