1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Update POT generation to handle context and plurals

This commit is contained in:
SkyJJ
2020-07-23 00:07:35 +02:00
parent c0d837a2ea
commit 396f2eee82
10 changed files with 287 additions and 78 deletions

View File

@@ -40,7 +40,7 @@ class PackedSceneEditorTranslationParserPlugin : public EditorTranslationParserP
Set<String> lookup_properties;
public:
virtual Error parse_file(const String &p_path, Vector<String> *r_extracted_strings) override;
virtual Error parse_file(const String &p_path, Vector<String> *r_ids, Vector<Vector<String>> *r_ids_ctx_plural) override;
virtual void get_recognized_extensions(List<String> *r_extensions) const override;
PackedSceneEditorTranslationParserPlugin();