[Qgis-developer] GUI Translation issues
humarco
marco.hugentobler at karto.baug.ethz.ch
Mon Jun 26 07:00:44 EDT 2006
Am Montag, 26. Juni 2006 12:31 schrieb Stephan Holl:
> OK, good to know. And qt4 is so smart to recognize the &-sign before the
> letter and works like this then? If so, I need to correct the
> keybindings in the german translation slighly.
Yes, qt uses the macro tr() to replace the translated strings so it should
work.
E.g. in qgisapp.cpp:
mActionFileNew= new QAction(QIcon(myIconPath+"/mActionFileNew.png"), tr("&New
Project"), this);
mActionFileNew->setShortcut(tr("Ctrl+N","New Project"));
Feel free to correct and add keybindings in the german translation as you
think is necessary.
Greetings,
Marco
More information about the Qgis-developer
mailing list