Hello guys, how are you?
I'm newbie in Qt, brazilian and i'm working with Qt just 4 months.
I have a doubt about if is possible use the tr() method with constants or variables.
For example: I'm doing that...
static const QString TitleSubgenreOther = tr("Outros"); //Meanings: 'others', but's in portuguese
ui->category_list->item(2)->setText(TitleSubgenreOther);
When i apply the english language with translate() method, those constants aren't translated. How can i do?
Thanks and sorry my english.
Bookmarks