Details
Description
As it currently stands, the tool pyside2-lupdate does not support translator comments or meta-data strings like its c++ counterpart does.
The c++ version supports the following according to the documentation :
A translator comment for adding extra information to a source string
//: This name refers to a host name. hostNameLabel->setText(tr("Name:"));
Meta-data strings for assigning an ID to a source string
//= qtn_foo_bar QString text = MyMagicClass::tr("Sim sala bim.");
It would be nice to have a pyside counterpart to these types of comments.
For the translator comments:
#: This name refers to a host name.
host_name_label.setText(self.tr("Name:"))
For the meta-data
#= qtn_foo_bar
text = MyMagicClass.tr("Sim sala bim.");
Attachments
Issue Links
- relates to
-
PYSIDE-1252 Add Python support in lupdate
- Closed