diff options
Diffstat (limited to 'editor/pot_generator.cpp')
-rw-r--r-- | editor/pot_generator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/pot_generator.cpp b/editor/pot_generator.cpp index b85099ca2e..8323ae944b 100644 --- a/editor/pot_generator.cpp +++ b/editor/pot_generator.cpp @@ -92,8 +92,8 @@ void POTGenerator::generate_pot(const String &p_file) { } if (GLOBAL_GET("internationalization/locale/translation_add_builtin_strings_to_pot")) { - for (int i = 0; i < extractable_msgids.size(); i++) { - _add_new_msgid(extractable_msgids[i], "", "", ""); + for (const StringName &extractable_msgid : extractable_msgids) { + _add_new_msgid(extractable_msgid, "", "", ""); } } |