remram44 / pybabel-godot

Plugin for Babel to support Godot scene files (.tscn)
Other
14 stars 11 forks source link

Allow other types in an array #16

Closed myin142 closed 7 months ago

myin142 commented 1 year ago

Just had an use case where an OptionButton creates an array of various types, not just strings. So to support this I would just ignore any other types instead of throwing an error.

And example of the items of OptionButton:

items = [ "LANG_EN", null, false, 0, null, "LANG_DE", null, false, 1, null, "LANG_JP", null, false, 2, null ]