-
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Milestone
Description
Describe the bug
In the PreviewDialog.gd
there is a text that is not possible to translate and that should be "translatable", which is the text that displays what was loaded from the preview window
To Reproduce
Steps to reproduce the behavior:
- Go to
tabletop-club/game/Scripts/Game/UI/Dialogs/PreviewDialog.gd
See line 70 and 72 where the text is changed
if num_pieces == 0:
pass
elif num_pieces == 1:
_status.text = status_text_one % entry_name
else:
_status.text = status_text_multiple % previews_selected.size()
Expected behavior
Change to this, and add the possibility to translate the "Loaded %s." and "Loaded %d assets."
if num_pieces == 0:
pass
elif num_pieces == 1:
_status.text = tr(status_text_one) % entry_name
else:
_status.text = tr(status_text_multiple) % previews_selected.size()
Screenshots
See Expected Behavior
Environment
Windows 10 Pro 22H2
Version
master
Additional context