[Qgis-developer] translate shortcuts
jawensi
jawensi at gmail.com
Tue Sep 8 02:48:14 PDT 2015
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.
More information about the Qgis-developer
mailing list