fix library translations

This commit is contained in:
arcan1s
2015-07-28 00:22:34 +03:00
parent 983b808247
commit bbb9aa0747
15 changed files with 123 additions and 25 deletions

View File

@ -18,6 +18,8 @@
#ifndef EXTITEMAGGREGATOR_H
#define EXTITEMAGGREGATOR_H
#include <KI18n/KLocalizedString>
#include <QDebug>
#include <QDir>
#include <QSettings>
@ -146,9 +148,9 @@ private:
for (int i=0; i<m_items.count(); i++) {
QListWidgetItem *item = new QListWidgetItem(m_items[i]->fileName(), widgetDialog);
QStringList tooltip;
tooltip.append(tr("Name: %1").arg(m_items[i]->name()));
tooltip.append(tr("Comment: %1").arg(m_items[i]->comment()));
tooltip.append(tr("Identity: %1").arg(m_items[i]->uniq()));
tooltip.append(i18n("Name: %1", m_items[i]->name()));
tooltip.append(i18n("Comment: %1", m_items[i]->comment()));
tooltip.append(i18n("Identity: %1", m_items[i]->uniq()));
item->setToolTip(tooltip.join(QChar('\n')));
widgetDialog->addItem(item);
}