diff options
Diffstat (limited to 'editor/pot_generator.h')
-rw-r--r-- | editor/pot_generator.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/pot_generator.h b/editor/pot_generator.h index 2b42c681e5..7b14eb027e 100644 --- a/editor/pot_generator.h +++ b/editor/pot_generator.h @@ -32,8 +32,8 @@ #define POT_GENERATOR_H #include "core/io/file_access.h" -#include "core/templates/ordered_hash_map.h" -#include "core/templates/set.h" +#include "core/templates/hash_map.h" +#include "core/templates/hash_set.h" //#define DEBUG_POT @@ -43,13 +43,13 @@ class POTGenerator { struct MsgidData { String ctx; String plural; - Set<String> locations; + HashSet<String> locations; }; // Store msgid as key and the additional data around the msgid - if it's under a context, has plurals and its file locations. - OrderedHashMap<String, Vector<MsgidData>> all_translation_strings; + HashMap<String, Vector<MsgidData>> all_translation_strings; void _write_to_pot(const String &p_file); - void _write_msgid(FileAccess *r_file, const String &p_id, bool p_plural); + void _write_msgid(Ref<FileAccess> r_file, const String &p_id, bool p_plural); void _add_new_msgid(const String &p_msgid, const String &p_context, const String &p_plural, const String &p_location); #ifdef DEBUG_POT |