Dear All, I'm working on a plugin that has been ported to QGIS 3.x Everything works fine, even all translations are corrected generated in all other .py files I'm not able to translate the string in the main .py file of the plugin.
In the initGui function I have these lines: self.CreateReceiverPoints_item = QAction(QIcon(" :/plugins/opeNoise/icons/icon_CreateReceiverPoints.png"), self.tr("Create Receiver Points"), self.iface.mainWindow()) Even if I double checked that the mainfile openoise.py is added in the / translation.pro such strings are not present inside the corresponding .ts files Where I'm wrong? the code is available here: https://github.com/pierluigiderosa/openoise/tree/qgis3 Thanks to all Pierluigi -- Ing. Pierluigi De Rosa (PhD in Earth Science) Contract Professor of Geographic Information System at University of Perugia cel: 3497558268 / fax: 075 7823038 skype: pierluigi.derosa
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer