Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.
This commit is contained in:
@ -79,13 +79,13 @@ void POTGenerator::generate_pot(const String &p_file) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (int j = 0; j < msgids.size(); j++) {
|
||||
_add_new_msgid(msgids[j], "", "", file_path);
|
||||
}
|
||||
for (int j = 0; j < msgids_context_plural.size(); j++) {
|
||||
Vector<String> entry = msgids_context_plural[j];
|
||||
_add_new_msgid(entry[0], entry[1], entry[2], file_path);
|
||||
}
|
||||
for (int j = 0; j < msgids.size(); j++) {
|
||||
_add_new_msgid(msgids[j], "", "", file_path);
|
||||
}
|
||||
}
|
||||
|
||||
_write_to_pot(p_file);
|
||||
|
||||
Reference in New Issue
Block a user