mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
POT Generator: Add support for TRANSLATORS:
and NO_TRANSLATE
comments
This commit is contained in:
parent
92e51fca72
commit
cab80cb97d
9 changed files with 170 additions and 23 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue