You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #98099 from dalexeev/pot-gen-add-comment-support
POT Generator: Add support for `TRANSLATORS:` and `NO_TRANSLATE` comments
This commit is contained in:
@@ -409,6 +409,10 @@ Error GDScriptParser::parse(const String &p_source_code, const String &p_script_
|
||||
parse_program();
|
||||
pop_multiline();
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
comment_data = tokenizer->get_comments();
|
||||
#endif
|
||||
|
||||
memdelete(text_tokenizer);
|
||||
tokenizer = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user