mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
add formatters configuration to ui
This commit is contained in:
parent
906ad56c46
commit
f717c984b7
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
#include <KI18n/KLocalizedString>
|
#include <KI18n/KLocalizedString>
|
||||||
|
|
||||||
|
#include <QPushButton>
|
||||||
|
|
||||||
#include "awabstractselector.h"
|
#include "awabstractselector.h"
|
||||||
#include "awdebug.h"
|
#include "awdebug.h"
|
||||||
#include "awformatterhelper.h"
|
#include "awformatterhelper.h"
|
||||||
@ -33,10 +35,13 @@ AWFormatterConfig::AWFormatterConfig(QWidget *parent, const QStringList keys)
|
|||||||
qCDebug(LOG_AW) << __PRETTY_FUNCTION__;
|
qCDebug(LOG_AW) << __PRETTY_FUNCTION__;
|
||||||
|
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
editButton = ui->buttonBox->addButton(i18n("Edit"),
|
||||||
|
QDialogButtonBox::ActionRole);
|
||||||
init();
|
init();
|
||||||
|
|
||||||
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
|
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(accept()));
|
||||||
connect(ui->buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
connect(ui->buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||||
|
connect(editButton, SIGNAL(clicked(bool)), this, SLOT(editFormatters()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -53,21 +58,20 @@ AWFormatterConfig::~AWFormatterConfig()
|
|||||||
|
|
||||||
void AWFormatterConfig::showDialog()
|
void AWFormatterConfig::showDialog()
|
||||||
{
|
{
|
||||||
clearSelectors();
|
// update dialog
|
||||||
QHash<QString, QString> appliedFormatters = m_helper->getFormatters();
|
updateDialog();
|
||||||
auto keys = initKeys();
|
|
||||||
|
|
||||||
for (auto key : appliedFormatters.keys())
|
|
||||||
addSelector(keys.first, keys.second,
|
|
||||||
QPair<QString, QString>(key, appliedFormatters[key]));
|
|
||||||
// empty one
|
|
||||||
addSelector(keys.first, keys.second, QPair<QString, QString>());
|
|
||||||
|
|
||||||
// exec dialog
|
// exec dialog
|
||||||
return execDialog();
|
return execDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void AWFormatterConfig::editFormatters()
|
||||||
|
{
|
||||||
|
m_helper->editItems();
|
||||||
|
updateDialog();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void AWFormatterConfig::updateUi()
|
void AWFormatterConfig::updateUi()
|
||||||
{
|
{
|
||||||
QPair<QString, QString> current
|
QPair<QString, QString> current
|
||||||
@ -108,9 +112,12 @@ void AWFormatterConfig::addSelector(const QStringList &keys,
|
|||||||
|
|
||||||
void AWFormatterConfig::clearSelectors()
|
void AWFormatterConfig::clearSelectors()
|
||||||
{
|
{
|
||||||
for (auto selector : m_selectors)
|
for (auto selector : m_selectors) {
|
||||||
disconnect(selector, SIGNAL(selectionChanged()), this,
|
disconnect(selector, SIGNAL(selectionChanged()), this,
|
||||||
SLOT(updateUi()));
|
SLOT(updateUi()));
|
||||||
|
ui->verticalLayout->removeWidget(selector);
|
||||||
|
selector->deleteLater();
|
||||||
|
}
|
||||||
m_selectors.clear();
|
m_selectors.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,7 +128,7 @@ void AWFormatterConfig::execDialog()
|
|||||||
QHash<QString, QString> data;
|
QHash<QString, QString> data;
|
||||||
for (auto selector : m_selectors) {
|
for (auto selector : m_selectors) {
|
||||||
QPair<QString, QString> select = selector->current();
|
QPair<QString, QString> select = selector->current();
|
||||||
if ((select.first.isEmpty()) || (select.second.isEmpty()))
|
if (select.first.isEmpty())
|
||||||
continue;
|
continue;
|
||||||
data[select.first] = select.second;
|
data[select.first] = select.second;
|
||||||
}
|
}
|
||||||
@ -133,6 +140,7 @@ void AWFormatterConfig::execDialog()
|
|||||||
case 1:
|
case 1:
|
||||||
default:
|
default:
|
||||||
m_helper->writeFormatters(data);
|
m_helper->writeFormatters(data);
|
||||||
|
m_helper->writeFormatters(data.keys());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -157,3 +165,17 @@ QPair<QStringList, QStringList> AWFormatterConfig::initKeys() const
|
|||||||
|
|
||||||
return QPair<QStringList, QStringList>(keys, knownFormatters);
|
return QPair<QStringList, QStringList>(keys, knownFormatters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void AWFormatterConfig::updateDialog()
|
||||||
|
{
|
||||||
|
clearSelectors();
|
||||||
|
QHash<QString, QString> appliedFormatters = m_helper->getFormatters();
|
||||||
|
auto keys = initKeys();
|
||||||
|
|
||||||
|
for (auto key : appliedFormatters.keys())
|
||||||
|
addSelector(keys.first, keys.second,
|
||||||
|
QPair<QString, QString>(key, appliedFormatters[key]));
|
||||||
|
// empty one
|
||||||
|
addSelector(keys.first, keys.second, QPair<QString, QString>());
|
||||||
|
}
|
||||||
|
@ -40,9 +40,11 @@ public:
|
|||||||
Q_INVOKABLE void showDialog();
|
Q_INVOKABLE void showDialog();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
void editFormatters();
|
||||||
void updateUi();
|
void updateUi();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
QPushButton *editButton = nullptr;
|
||||||
Ui::AWFormatterConfig *ui = nullptr;
|
Ui::AWFormatterConfig *ui = nullptr;
|
||||||
AWFormatterHelper *m_helper = nullptr;
|
AWFormatterHelper *m_helper = nullptr;
|
||||||
QList<AWAbstractSelector *> m_selectors;
|
QList<AWAbstractSelector *> m_selectors;
|
||||||
@ -55,6 +57,7 @@ private:
|
|||||||
void execDialog();
|
void execDialog();
|
||||||
void init();
|
void init();
|
||||||
QPair<QStringList, QStringList> initKeys() const;
|
QPair<QStringList, QStringList> initKeys() const;
|
||||||
|
void updateDialog();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -90,6 +90,31 @@ QStringList AWFormatterHelper::knownFormatters() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool AWFormatterHelper::writeFormatters(const QStringList keys) const
|
||||||
|
{
|
||||||
|
qCDebug(LOG_AW) << "Remove formatters" << keys;
|
||||||
|
|
||||||
|
QString fileName = QString("%1/awesomewidgets/formatters/formatters.ini")
|
||||||
|
.arg(QStandardPaths::writableLocation(
|
||||||
|
QStandardPaths::GenericDataLocation));
|
||||||
|
QSettings settings(fileName, QSettings::IniFormat);
|
||||||
|
qCInfo(LOG_AW) << "Configuration file" << fileName;
|
||||||
|
|
||||||
|
settings.beginGroup(QString("Formatters"));
|
||||||
|
QStringList foundKeys = settings.childKeys();
|
||||||
|
for (auto key : foundKeys) {
|
||||||
|
if (keys.contains(key))
|
||||||
|
continue;
|
||||||
|
settings.remove(key);
|
||||||
|
}
|
||||||
|
settings.endGroup();
|
||||||
|
|
||||||
|
settings.sync();
|
||||||
|
|
||||||
|
return (settings.status() == QSettings::NoError);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool AWFormatterHelper::writeFormatters(
|
bool AWFormatterHelper::writeFormatters(
|
||||||
const QHash<QString, QString> configuration) const
|
const QHash<QString, QString> configuration) const
|
||||||
{
|
{
|
||||||
@ -112,6 +137,14 @@ bool AWFormatterHelper::writeFormatters(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void AWFormatterHelper::editItems()
|
||||||
|
{
|
||||||
|
repaintList();
|
||||||
|
int ret = exec();
|
||||||
|
qCInfo(LOG_AW) << "Dialog returns" << ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
AWFormatterHelper::FormatterClass
|
AWFormatterHelper::FormatterClass
|
||||||
AWFormatterHelper::defineFormatterClass(const QString stringType) const
|
AWFormatterHelper::defineFormatterClass(const QString stringType) const
|
||||||
{
|
{
|
||||||
@ -193,9 +226,14 @@ void AWFormatterHelper::initKeys()
|
|||||||
QString name = settings.value(key).toString();
|
QString name = settings.value(key).toString();
|
||||||
qCInfo(LOG_AW) << "Found formatter" << name << "for key" << key
|
qCInfo(LOG_AW) << "Found formatter" << name << "for key" << key
|
||||||
<< "in" << settings.fileName();
|
<< "in" << settings.fileName();
|
||||||
|
if (name.isEmpty()) {
|
||||||
|
qCInfo(LOG_AW) << "Skip empty formatter for" << key;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (!m_formattersClasses.contains(name)) {
|
if (!m_formattersClasses.contains(name)) {
|
||||||
qCWarning(LOG_AW) << "Invalid formatter" << name << "found in"
|
qCWarning(LOG_AW) << "Invalid formatter" << name << "found in"
|
||||||
<< key;
|
<< key;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
m_formatters[key] = m_formattersClasses[name];
|
m_formatters[key] = m_formattersClasses[name];
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,12 @@ public:
|
|||||||
QHash<QString, QString> getFormatters() const;
|
QHash<QString, QString> getFormatters() const;
|
||||||
QList<AbstractExtItem *> items() const;
|
QList<AbstractExtItem *> items() const;
|
||||||
QStringList knownFormatters() const;
|
QStringList knownFormatters() const;
|
||||||
|
bool writeFormatters(const QStringList keys) const;
|
||||||
bool writeFormatters(const QHash<QString, QString> configuration) const;
|
bool writeFormatters(const QHash<QString, QString> configuration) const;
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
void editItems();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// methods
|
// methods
|
||||||
AWFormatterHelper::FormatterClass
|
AWFormatterHelper::FormatterClass
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -441,6 +441,9 @@ msgstr ""
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2016-05-16 14:14+0300\n"
|
"PO-Revision-Date: 2016-05-16 14:14+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: English <kde-russian@lists.kde.ru>\n"
|
"Language-Team: English <kde-russian@lists.kde.ru>\n"
|
||||||
@ -14,8 +14,8 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<"
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||||
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
"X-Generator: Lokalize 2.0\n"
|
"X-Generator: Lokalize 2.0\n"
|
||||||
|
|
||||||
msgid "Widget"
|
msgid "Widget"
|
||||||
@ -446,6 +446,9 @@ msgstr "High GPU load"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "Network device has been changed to %1"
|
msgstr "Network device has been changed to %1"
|
||||||
|
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Edit"
|
||||||
|
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Select type"
|
msgstr "Select type"
|
||||||
|
|
||||||
@ -723,9 +726,6 @@ msgstr "esalexeev@gmail.com"
|
|||||||
#~ msgid "Check for updates"
|
#~ msgid "Check for updates"
|
||||||
#~ msgstr "Check for updates"
|
#~ msgstr "Check for updates"
|
||||||
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "Edit"
|
|
||||||
|
|
||||||
#~ msgid "Enable popup on mouse click"
|
#~ msgid "Enable popup on mouse click"
|
||||||
#~ msgstr "Enable popup on mouse click"
|
#~ msgstr "Enable popup on mouse click"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Awesome widgets\n"
|
"Project-Id-Version: Awesome widgets\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2016-05-03 06:47+0000\n"
|
"PO-Revision-Date: 2016-05-03 06:47+0000\n"
|
||||||
"Last-Translator: Ernesto Avilés Vázquez <whippiii@gmail.com>\n"
|
"Last-Translator: Ernesto Avilés Vázquez <whippiii@gmail.com>\n"
|
||||||
"Language-Team: Spanish (http://www.transifex.com/arcanis/awesome-widgets/"
|
"Language-Team: Spanish (http://www.transifex.com/arcanis/awesome-widgets/"
|
||||||
@ -449,6 +449,10 @@ msgstr "Carga alta de GPU"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "El dispositivo de red ha sido cambiado a %1"
|
msgstr "El dispositivo de red ha sido cambiado a %1"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Editar barras"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Elegir etiqueta"
|
msgstr "Elegir etiqueta"
|
||||||
|
@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2015-07-31 22:16+0300\n"
|
"PO-Revision-Date: 2015-07-31 22:16+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: French <kde-russian@lists.kde.ru>\n"
|
"Language-Team: French <kde-russian@lists.kde.ru>\n"
|
||||||
@ -462,6 +462,10 @@ msgstr "Haute charge GPU"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "L'interface réseau à été changée en %1"
|
msgstr "L'interface réseau à été changée en %1"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Modifiable"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Sélectionner l'étiquette"
|
msgstr "Sélectionner l'étiquette"
|
||||||
@ -746,10 +750,6 @@ msgstr "esalexeev@gmail.com mermouy@gmail.com"
|
|||||||
#~ msgid "Update text"
|
#~ msgid "Update text"
|
||||||
#~ msgstr "Mettre à jour le texte"
|
#~ msgstr "Mettre à jour le texte"
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "Modifiable"
|
|
||||||
|
|
||||||
#~ msgid "Enable popup on mouse click"
|
#~ msgid "Enable popup on mouse click"
|
||||||
#~ msgstr "Popup lors d'un click souris"
|
#~ msgstr "Popup lors d'un click souris"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Awesome widgets\n"
|
"Project-Id-Version: Awesome widgets\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2015-08-20 22:52+0300\n"
|
"PO-Revision-Date: 2015-08-20 22:52+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: Dutch <kde-i18n-nl@kde.org>\n"
|
"Language-Team: Dutch <kde-i18n-nl@kde.org>\n"
|
||||||
@ -468,6 +468,9 @@ msgstr "Hoog CPU-verbruik"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "Het netwerkapparaat is gewijzigd naar %1"
|
msgstr "Het netwerkapparaat is gewijzigd naar %1"
|
||||||
|
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Bewerken"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Sleutelwoord selecteren"
|
msgstr "Sleutelwoord selecteren"
|
||||||
@ -746,9 +749,6 @@ msgstr "vistausss@outlook.com"
|
|||||||
#~ msgid "Exec: %1"
|
#~ msgid "Exec: %1"
|
||||||
#~ msgstr "Uitvoeren: %1"
|
#~ msgstr "Uitvoeren: %1"
|
||||||
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "Bewerken"
|
|
||||||
|
|
||||||
#~ msgid "Select color"
|
#~ msgid "Select color"
|
||||||
#~ msgstr "Kleur selecteren"
|
#~ msgstr "Kleur selecteren"
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -447,6 +447,10 @@ msgstr "Wysokie obciążenie procesora graficznego"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "Urządznie sieciowe zamienione na %1"
|
msgstr "Urządznie sieciowe zamienione na %1"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Edytuj paski postępu"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Wybierz znacznik"
|
msgstr "Wybierz znacznik"
|
||||||
|
@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2015-07-31 22:21+0300\n"
|
"PO-Revision-Date: 2015-07-31 22:21+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
||||||
@ -463,6 +463,9 @@ msgstr "Alta carga da GPU"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "O dispositivo de rede mudou para %1"
|
msgstr "O dispositivo de rede mudou para %1"
|
||||||
|
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Editar"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Selecionar tag"
|
msgstr "Selecionar tag"
|
||||||
@ -737,9 +740,6 @@ msgstr "under@insicuri.net"
|
|||||||
#~ msgid "Check for updates"
|
#~ msgid "Check for updates"
|
||||||
#~ msgstr "Checar por atualizações"
|
#~ msgstr "Checar por atualizações"
|
||||||
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "Editar"
|
|
||||||
|
|
||||||
#~ msgid "Enable popup on mouse click"
|
#~ msgid "Enable popup on mouse click"
|
||||||
#~ msgstr "Ativar popup no clique do mouse"
|
#~ msgstr "Ativar popup no clique do mouse"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2016-05-16 14:15+0300\n"
|
"PO-Revision-Date: 2016-05-16 14:15+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
||||||
@ -14,8 +14,8 @@ msgstr ""
|
|||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<"
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||||
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
"X-Generator: Lokalize 2.0\n"
|
"X-Generator: Lokalize 2.0\n"
|
||||||
|
|
||||||
msgid "Widget"
|
msgid "Widget"
|
||||||
@ -446,6 +446,9 @@ msgstr "Высокая загрузка GPU"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "Сетевое устройство было изменено на %1"
|
msgstr "Сетевое устройство было изменено на %1"
|
||||||
|
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Править"
|
||||||
|
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Выберете тип"
|
msgstr "Выберете тип"
|
||||||
|
|
||||||
@ -723,9 +726,6 @@ msgstr "esalexeev@gmail.com"
|
|||||||
#~ msgid "Check for updates"
|
#~ msgid "Check for updates"
|
||||||
#~ msgstr "Проверить обновления"
|
#~ msgstr "Проверить обновления"
|
||||||
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "Править"
|
|
||||||
|
|
||||||
#~ msgid "Enable popup on mouse click"
|
#~ msgid "Enable popup on mouse click"
|
||||||
#~ msgstr "Включить сообщения по клику мыши"
|
#~ msgstr "Включить сообщения по клику мыши"
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2016-05-05 17:18+0300\n"
|
"PO-Revision-Date: 2016-05-05 17:18+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: Ukrainian <kde-russian@lists.kde.ru>\n"
|
"Language-Team: Ukrainian <kde-russian@lists.kde.ru>\n"
|
||||||
@ -447,6 +447,10 @@ msgstr "Високе завантаження GPU"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "Мережевий пристрій було змінено на %1"
|
msgstr "Мережевий пристрій було змінено на %1"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "Редагувати"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "Оберіть тег"
|
msgstr "Оберіть тег"
|
||||||
@ -726,10 +730,6 @@ msgstr "sarumyan@i.ua"
|
|||||||
#~ msgid "Check for updates"
|
#~ msgid "Check for updates"
|
||||||
#~ msgstr "Шукати оновлення"
|
#~ msgstr "Шукати оновлення"
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "Редагувати"
|
|
||||||
|
|
||||||
#~ msgid "Enable popup on mouse click"
|
#~ msgid "Enable popup on mouse click"
|
||||||
#~ msgstr "Включити спливаючі підказки при натисканні клавіші миші"
|
#~ msgstr "Включити спливаючі підказки при натисканні клавіші миші"
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
|
||||||
"POT-Creation-Date: 2016-05-16 14:13+0300\n"
|
"POT-Creation-Date: 2016-05-16 19:35+0300\n"
|
||||||
"PO-Revision-Date: 2015-07-31 22:24+0300\n"
|
"PO-Revision-Date: 2015-07-31 22:24+0300\n"
|
||||||
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
|
||||||
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
|
||||||
@ -448,6 +448,10 @@ msgstr "高 GPU 使用"
|
|||||||
msgid "Network device has been changed to %1"
|
msgid "Network device has been changed to %1"
|
||||||
msgstr "网络设备变更为 %1"
|
msgstr "网络设备变更为 %1"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgid "Edit"
|
||||||
|
msgstr "可编辑的"
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Select type"
|
msgid "Select type"
|
||||||
msgstr "选择标签"
|
msgstr "选择标签"
|
||||||
@ -722,10 +726,6 @@ msgstr "用户邮箱"
|
|||||||
#~ msgid "Update text"
|
#~ msgid "Update text"
|
||||||
#~ msgstr "刷新文本"
|
#~ msgstr "刷新文本"
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
#~ msgid "Edit"
|
|
||||||
#~ msgstr "可编辑的"
|
|
||||||
|
|
||||||
#~ msgid "Enable popup on mouse click"
|
#~ msgid "Enable popup on mouse click"
|
||||||
#~ msgstr "鼠标点击时弹出对话框"
|
#~ msgstr "鼠标点击时弹出对话框"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user