Zylann / godot_translation_editor

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

Strings using single quotes are not detected #16

Open Zylann opened 4 years ago

Zylann commented 4 years ago

Only double quotes are considered by the extractor, because according to Python convention, they are the ones containing actual text. I also didn't think about single quotes since I never use them. Despite all that, I've seen tr being used on single-quoted strings in GDScript inside other plugins, and these strings could be IDs. These strings are either undetected, or cause extraction errors.