diff options
Diffstat (limited to 'core/translation.h')
-rw-r--r-- | core/translation.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/translation.h b/core/translation.h index cdb22bfeca..85ab4a229d 100644 --- a/core/translation.h +++ b/core/translation.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -35,17 +35,17 @@ class Translation : public Resource { - OBJ_TYPE( Translation, Resource ); + GDCLASS( Translation, Resource ); OBJ_SAVE_TYPE( Translation ); RES_BASE_EXTENSION("xl"); String locale; Map<StringName, StringName> translation_map; - DVector<String> _get_message_list() const; + PoolVector<String> _get_message_list() const; - DVector<String> _get_messages() const; - void _set_messages(const DVector<String>& p_messages); + PoolVector<String> _get_messages() const; + void _set_messages(const PoolVector<String>& p_messages); protected: static void _bind_methods(); @@ -68,7 +68,7 @@ public: class TranslationServer : public Object { - OBJ_TYPE(TranslationServer, Object); + GDCLASS(TranslationServer, Object); String locale; String fallback; |