summaryrefslogtreecommitdiff
path: root/editor/pot_generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pot_generator.h')
-rw-r--r--editor/pot_generator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/pot_generator.h b/editor/pot_generator.h
index e7a5f90cee..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,10 +43,10 @@ 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(Ref<FileAccess> r_file, const String &p_id, bool p_plural);