Beautifier: Fix untranslated DISPLAY_NAME

Change-Id: Ifad91eaada5f7614767b6332a643723de79fc6b2
Reviewed-by: Lorenz Haas <lorenz.haas@histomatics.de>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Takumi ASAKI
2016-06-01 16:42:05 +09:00
committed by Orgad Shaneh
parent 74fed1d5b7
commit 88819d0490
9 changed files with 20 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ QString ClangFormat::id() const
bool ClangFormat::initialize()
{
Core::ActionContainer *menu = Core::ActionManager::createMenu(Constants::ClangFormat::MENU_ID);
menu->menu()->setTitle(Constants::ClangFormat::DISPLAY_NAME);
menu->menu()->setTitle(tr(Constants::ClangFormat::DISPLAY_NAME));
m_formatFile = new QAction(BeautifierPlugin::msgFormatCurrentFile(), this);
Core::Command *cmd