GDScript: Add support for atr and atr_n to POT generator

This commit is contained in:
Danil Alexeev
2024-05-14 18:35:59 +03:00
parent 78cce1954d
commit 0bd4345736
2 changed files with 6 additions and 4 deletions
@@ -45,6 +45,8 @@ class GDScriptEditorTranslationParserPlugin : public EditorTranslationParserPlug
// List of patterns used for extracting translation strings.
StringName tr_func = "tr";
StringName trn_func = "tr_n";
StringName atr_func = "atr";
StringName atrn_func = "atr_n";
HashSet<StringName> assignment_patterns;
HashSet<StringName> first_arg_patterns;
HashSet<StringName> second_arg_patterns;