summaryrefslogtreecommitdiffstats
path: root/core/io/resource_format_binary.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-06-28 17:00:18 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-06-28 17:01:35 -0300
commitdb3b05d2893dcaddeb3bcb10b845ff150eb50895 (patch)
treee19d761357300ba03360593e3cbdda01e87f215e /core/io/resource_format_binary.h
parent9e54e1f34f7ee0b100b45fa2388f25096eb90670 (diff)
downloadredot-engine-db3b05d2893dcaddeb3bcb10b845ff150eb50895.tar.gz
Reworked translation system
-Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
Diffstat (limited to 'core/io/resource_format_binary.h')
-rw-r--r--core/io/resource_format_binary.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/resource_format_binary.h b/core/io/resource_format_binary.h
index 59b9d66d8f..5da5a0fc37 100644
--- a/core/io/resource_format_binary.h
+++ b/core/io/resource_format_binary.h
@@ -36,6 +36,7 @@
class ResourceInteractiveLoaderBinary : public ResourceInteractiveLoader {
+ bool translation_remapped;
String local_path;
String res_path;
String type;
@@ -87,6 +88,7 @@ public:
virtual Error poll();
virtual int get_stage() const;
virtual int get_stage_count() const;
+ virtual void set_translation_remapped(bool p_remapped);
void set_remaps(const Map<String, String> &p_remaps) { remaps = p_remaps; }
void open(FileAccess *p_f);