KOBUGE-Games / minilens

Cute puzzle platformer starring a cleaning robot on post-apocalyptic Earth
http://kobuge-games.github.io/minilens
GNU General Public License v3.0
134 stars 38 forks source link

Localization issue: Godot PO support chokes on parentheses #102

Closed akien-mga closed 5 years ago

akien-mga commented 5 years ago

In the localization support I added in da068b2, some strings are commented out as they make Godot break:

##: CREDITS.txt
#msgid "    Snabisch (some of the music) http://opengameart.org/users/snabisch"
#msgstr "    Snabisch (certaines pistes audio) http://opengameart.org/users/snabisch"

##: CREDITS.txt
#msgid "    Kenney (GUI and icons) http://opengameart.org/users/kenney"
#msgstr "    Kenney (interface utilisateur et icônes) http://opengameart.org/users/kenney"
[...]
##: splashes.txt
#msgid "(beep) Hi there! It's me, Minilens! (beep)"
#msgid "(bip) Salut ! C'est moi, Minilens ! (bip)"

The parser seems to be unhappy with the ( or ) character (or both) and this breaks loading the whole PO file. It needs to be fixed in Godot, but if we want to translate those strings for Godot 2.1.4 / 2.1.5, we'd have to find a workaround (such as removing the parentheses somehow).