forked from SuperTux/supertux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix translation issue with object display names
Previously, `ObjectFactory` saved copies of object display names on game startup, which would cause them to not be translatable, unless the game is restarted. This is now fixed, since a factory function for getting the display name of an object is used instead. The `m_other_display_names` member variable of `ObjectFactory` was removed as well. Its only use was to save the name of the node marker, since it is a part of the objects in the editor, while not being an actual object, but rather a tool. It is planned to move the node marker to the toolbar in the future, so this variable would then be redundant.
- Loading branch information
1 parent
da38807
commit 02848c5
Showing
4 changed files
with
30 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters