\n and \t not working when fecthing translations
Created by: Necco-Z
I'm having the same bug as #1232 (closed) on Godot 3.0.6 and Godot 3.1 beta 2. I've written a project with a simple scene to show 4 different possibilities for Labels:
- The ´\n´ escape is inserted into the inspector.
- The ´\n´ is present in the translation fetched by filling the Label text with the translation key.
- The label text is filled from script, and the same tag is fetched using ´tr(KEY)´
- The string containing ´\n´ is written directly into the script to fill the Label text, without translations.
In theory, only the first one should be unable to break the lines using ´\n´, since you can use Enter to break lines at the inspector. However, only the last label is filled correctly.
This is a zip containing the project. The screenshots below show the editor and the scene running.