I made a translate in Qt Linguist but I have a problem with one object. In constructor I have:
Qt Code:
  1. WindowA::WindowA(QWidget *parent) :
  2. QMainWindow(parent),
  3. ui(new Ui::WindowA)
  4. {
  5. (...)
  6. acClose = ui->menuBar->addAction( tr( "Close", "menu" ) );
  7. (...)
  8. }
To copy to clipboard, switch view to plain text mode 
acClose is a QAction* which I decleared in WindowA.
WindowA has a QTranslator as member.

In my program I have menu for changing language. When I choose another lang, then application translate all text but not this "Close" label for acClose.

How to resolve this?