Zylann / godot_translation_editor

Translation editor plugin for Godot Engine
40 stars 2 forks source link

The extractor doesn't detect `tr` calls within an `str` argument #8

Closed Zylann closed 4 years ago

Zylann commented 4 years ago

The following tr pattern doesn't seem to be detected:

str(tr("Statements"), ": ",42)

Culprit is likely extractor.gd line 143, it skips the whole line instead of looking further ahead

Zylann commented 4 years ago

Fixed by c11a8062f4b358c7a1e38de6daeab5739be07171