Opened 8 years ago
Last modified 5 years ago
#3972 new defect
Tooltips and loading screen tips should not hardcode the numbers but use sprintf — at Initial Version
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Backlog |
Component: | Internationalization & Localization | Keywords: | |
Cc: | Patch: |
Description
#3904 is one of many examples of tooltips being wrong due to hardcoded numbers being present in translated strings, which are often not updated when the balancing is changed.
Besides being wrong often, it also adds pointless overhead when doing balancing or translations.
Instead it should access the template data directly and fill in the numbers using sprintf
.
The loading screen tips can be found in binaries/data/mods/public/gui/text/tips/
. Maybe these numbers could just be removed in the first place.
Note:
See TracTickets
for help on using tickets.