diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-09 16:43:44 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-09 16:43:44 -0300 |
commit | 1f8451001d69df708ef788b8730cf13a11a75065 (patch) | |
tree | b40bbcd7b61781e17bde271ad2a9ec09cba2fd2c /core/os | |
parent | e9bb65db815b593037a573c1c7a78e95b7550cb0 (diff) |
-Translation text will change automatically for in-game buttons, labels, poups when translation is changed.
-Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code
-Sorry, editor will not update automatically because it uses a different translatio method.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/main_loop.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/main_loop.h b/core/os/main_loop.h index 6506a280a3..5251061423 100644 --- a/core/os/main_loop.h +++ b/core/os/main_loop.h @@ -54,6 +54,7 @@ public: NOTIFICATION_WM_QUIT_REQUEST = 7, NOTIFICATION_WM_UNFOCUS_REQUEST = 8, NOTIFICATION_OS_MEMORY_WARNING = 9, + NOTIFICATION_TRANSLATION_CHANGED = 10, }; virtual void input_event( const InputEvent& p_event ); |