forked from qt-creator/qt-creator
Reduce message duplication in Beautifier plugin.
Change-Id: I5216dd2e62e32ed889a71ebcad3f89baf0e0ff1b Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -291,6 +291,29 @@ void BeautifierPlugin::showError(const QString &error)
|
||||
Core::MessageManager::write(tr("ERROR in Beautifier: %1").arg(error.trimmed()));
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgCannotGetConfigurationFile(const QString &command)
|
||||
{
|
||||
return tr("Cannot get configuration file for %1.").arg(command);
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgFormatCurrentFile()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("Format Current File");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgFormatSelectedText()
|
||||
{
|
||||
//: Menu entry
|
||||
return tr("Format Selected Text");
|
||||
}
|
||||
|
||||
QString BeautifierPlugin::msgCommandPromptDialogTitle(const QString &command)
|
||||
{
|
||||
//: File dialog title for path chooser when choosing binary
|
||||
return tr("%1 Command").arg(command);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Beautifier
|
||||
|
||||
|
||||
Reference in New Issue
Block a user