PDA

View Full Version : CoreRPG, a few missing and/or not working "textres" tags



drvolk
May 1st, 2015, 18:08
While working on an extension to localize the CoreRPG ruleset (3.1.0), i found following issues:

CoreRPG.pak:

utility/template_utility.xml
<tokenbag>
- no "textres" to overwrite tooltip text of token bags (<up>, <top>, <icon> ..)
- no "textres" to overrwrite the "right mouse button" menu item text:
"Shuffle Token", "Arrange Tokens", "Zoom In", "Zoom Out", "Reset Zoom"

ps/ps_order.xml:

no textresource used for tooltip for the drawing mode icons :

<toolbar_20 name="drawtools">
...
<anchored to="image" position="insidetopleft" offset="1,1" width="43" height="24" />
<button>
<id>paint</id>
<icon>tool_paint_20</icon>
<tooltip>Drawing Mode</tooltip>
</button>
<button>
<id>erase</id>
<icon>tool_erase_20</icon>
<tooltip>Eraser Mode</tooltip>
</button>
<toggle />
...


But changing the tooltips to use the allready available textresource definitions (from maps&images) does not work:

<toolbar_20 name="drawtools">
...
<anchored to="image" position="insidetopleft" offset="1,1" width="43" height="24" />
<button>
<id>paint</id>
<icon>tool_paint_20</icon>
<tooltip textres="imagedrawingediton" />
</button>
<button>
<id>erase</id>
<icon>tool_erase_20</icon>
<tooltip textres="imagedrawingeditoff" />
</button>
<toggle />
...