POT Generator: Add support for TRANSLATORS: and NO_TRANSLATE comments

This commit is contained in:
Danil Alexeev 2024-10-11 17:35:28 +03:00
parent 92e51fca72
commit cab80cb97d
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7
9 changed files with 170 additions and 23 deletions

View file

@ -100,6 +100,14 @@
<tutorials>
</tutorials>
<methods>
<method name="_get_comments" qualifiers="virtual">
<return type="void" />
<param index="0" name="msgids_comment" type="String[]" />
<param index="1" name="msgids_context_plural_comment" type="String[]" />
<description>
If overridden, called after [method _parse_file] to get comments for the parsed entries. This method should fill the arrays with the same number of elements and in the same order as [method _parse_file].
</description>
</method>
<method name="_get_recognized_extensions" qualifiers="virtual const">
<return type="PackedStringArray" />
<description>