Patch. Remove unused keys from en.txt
Moderator: Committer
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Patch. Remove unused keys from en.txt
There is also UserStringNop, which wraps translatable literals in c++, that are stored in a variable and translated at a later time. You can ignore UserString most of the time if it has something else than a string literal as a parameter.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Patch. Remove unused keys from en.txt
The hotkey doesn't create the translation key on the fly anymore, but now holds a description attribute, which contains the translation key. The translation key is passed via the factory method and is wrapped by a UserStringNop call.
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz