diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-12-23 17:09:12 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2023-12-23 20:55:16 +0300 |
commit | e07ec89bdf186844494142a56dd764ad712e4cdb (patch) | |
tree | 23c65dc1968e7c4677c477469077c6deb3543f8c /modules/gdscript/editor/gdscript_translation_parser_plugin.h | |
parent | 13a0d6e9b253654f5cc2a44f3d0b3cae10440443 (diff) | |
download | redot-engine-e07ec89bdf186844494142a56dd764ad712e4cdb.tar.gz |
GDScript: Fix POT generator skips some nodes (part 2)
Diffstat (limited to 'modules/gdscript/editor/gdscript_translation_parser_plugin.h')
-rw-r--r-- | modules/gdscript/editor/gdscript_translation_parser_plugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/gdscript/editor/gdscript_translation_parser_plugin.h b/modules/gdscript/editor/gdscript_translation_parser_plugin.h index fab79a925f..fe876134c2 100644 --- a/modules/gdscript/editor/gdscript_translation_parser_plugin.h +++ b/modules/gdscript/editor/gdscript_translation_parser_plugin.h @@ -61,8 +61,10 @@ class GDScriptEditorTranslationParserPlugin : public EditorTranslationParserPlug void _assess_expression(const GDScriptParser::ExpressionNode *p_expression); void _assess_assignment(const GDScriptParser::AssignmentNode *p_assignment); - void _extract_from_call(const GDScriptParser::CallNode *p_call); - void _extract_fd_constant_strings(const GDScriptParser::ExpressionNode *p_expression); + void _assess_call(const GDScriptParser::CallNode *p_call); + + void _extract_fd_filter_string(const GDScriptParser::ExpressionNode *p_expression); + void _extract_fd_filter_array(const GDScriptParser::ExpressionNode *p_expression); public: virtual Error parse_file(const String &p_path, Vector<String> *r_ids, Vector<Vector<String>> *r_ids_ctx_plural) override; |