Hello,
Finally I defined first the text and then I added to the name menu. Now it
works
/text = self.tr('Templates')
self.templMenu.setTitle('&' + text) /
'my_plugin_es.ts' looks like:
/<message>
<location filename="my_pluging.py" line="70"/>
<source>Templates</source>
<translation>Plantillas</translation>
</message>/
In English the shortcut works pressing 'Alt + t', and in Spanish the
shortcut works now pressing 'Alt + p'
thanks
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/translate-shortcuts-tp5222943p5223077.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer