~lubuntu-dev/juffed/trunk

« back to all changes in this revision

Viewing changes to plugins/xmlformat/xmlformat.cpp

  • Committer: Mezomish
  • Date: 2014-07-22 00:05:57 UTC
  • mfrom: (1054.1.3)
  • Revision ID: git-v1:5902d3e8b6037d54decec7dec15be6bb2b4f1eed
Merge pull request #66 from volkov0aa/fix-translations

Make more strings translatable and load Qt's translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        return "XML Formatter";
44
44
}
45
45
 
 
46
QString XmlformatPlugin::title() const {
 
47
        return tr("XML Formatter");
 
48
}
 
49
 
46
50
QString XmlformatPlugin::targetEngine() const {
47
51
        return "all";
48
52
}
53
57
 
54
58
QToolBar* XmlformatPlugin::toolBar() const
55
59
{
56
 
    QToolBar * bar = new QToolBar("XML Formatter");
 
60
    QToolBar * bar = new QToolBar(tr("XML Formatter"));
57
61
    bar->addAction(actDoc);
58
62
    bar->setObjectName("XMLFormatterToolBar");
59
63
    return bar;