Merge lp:~hjd/widelands/bug682405 into lp:widelands
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Hans Joachim Desserud | ||||
Proposed branch: | lp:~hjd/widelands/bug682405 | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
57 lines (+9/-5) 3 files modified
src/editor/editorinteractive.cc (+2/-2) src/logic/editor_game_base.cc (+1/-1) src/logic/worker.cc (+6/-2) |
||||
To merge this branch: | bzr merge lp:~hjd/widelands/bug682405 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Needs Fixing | ||
Review via email: mp+42095@code.launchpad.net |
Description of the change
Note:this is more of a request for feedback/code review than an actual merge proposal.
-In the message a user receives when a quarry or fisher's hut run out of stone/fish, the resource name has been made translatable.
-When loading a map, the the tribe names are also translatable.
I have currently not uploaded the changes I have done to the po/widelands/
The *.pot files are generated by utils/buildcat.py by grepping through the source code, lua files and conf files. Your manual changes will be lost.
the resources names should be taken from the worlds catalog and the tribe names should be taken from the tribes catalog, your fix will likely search for them in the widelands catalog.
Also the tribe name displayed to the user should likely be the descr_name() of the tribe, not it's internal name; maybe that's what get_all_ tribenames( ) does. Maybe get_all_ tribenames( ) is also a good place to do the i18n stuff, but it's usage must be checked; maybe it is used elsewhere.