Add legacy message

This commit is contained in:
Evgenii Alekseev 2016-08-31 20:49:31 +03:00
parent b17aeb88e3
commit 94e87ee570
12 changed files with 87 additions and 12 deletions

View File

@ -98,6 +98,20 @@ void AWActions::showReadme() const
}
void AWActions::showLegacyInfo() const
{
QMessageBox *msgBox = new QMessageBox(nullptr);
msgBox->setAttribute(Qt::WA_DeleteOnClose);
msgBox->setModal(false);
msgBox->setWindowTitle(i18n("Not supported"));
msgBox->setText(i18n("You are using mammoth's Qt version, try to update it first!"));
msgBox->setStandardButtons(QMessageBox::Ok);
msgBox->setIcon(QMessageBox::Information);
msgBox->open();
}
// HACK: this method uses variables from version.h
QString AWActions::getAboutText(const QString type) const
{

View File

@ -36,6 +36,7 @@ public:
Q_INVOKABLE QString getFileContent(const QString path) const;
Q_INVOKABLE bool isDebugEnabled() const;
Q_INVOKABLE bool runCmd(const QString cmd = QString("/usr/bin/true")) const;
Q_INVOKABLE void showLegacyInfo() const;
Q_INVOKABLE void showReadme() const;
// configuration slots
Q_INVOKABLE QString getAboutText(const QString type

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -408,6 +408,12 @@ msgstr ""
msgid "Run %1"
msgstr ""
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr ""

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2016-07-06 19:37+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: English <kde-russian@lists.kde.ru>\n"
@ -415,6 +415,12 @@ msgstr "Preview"
msgid "Run %1"
msgstr "Run %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Version %1 (build date %2)"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Awesome widgets\n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2016-08-03 15:30+0000\n"
"Last-Translator: Ernesto Avilés Vázquez <whippiii@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/arcanis/awesome-widgets/"
@ -418,6 +418,12 @@ msgstr "Vista previa"
msgid "Run %1"
msgstr "Ejecutar %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Versión %1 (fecha de construcción %2)"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2015-07-31 22:16+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: French <kde-russian@lists.kde.ru>\n"
@ -430,6 +430,12 @@ msgstr ""
msgid "Run %1"
msgstr "Éxecuter %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Version %1 (build date %2)"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Awesome widgets\n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2016-07-09 08:47+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@outlook.com>\n"
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/arcanis/awesome-"
@ -417,6 +417,12 @@ msgstr "Voorbeeld"
msgid "Run %1"
msgstr "%1 uitvoeren"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Versie %1 (bouwdatum %2)"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -416,6 +416,12 @@ msgstr "Przegląd"
msgid "Run %1"
msgstr "Wykonać %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Wersja %1 (data budowy %2)"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2015-07-31 22:21+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
@ -432,6 +432,12 @@ msgstr ""
msgid "Run %1"
msgstr "Rodar %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Versão: %1 (data de compilação %2)"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2016-08-27 02:56+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<"
"=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 2.0\n"
msgid "Widget"
@ -413,6 +413,12 @@ msgstr "Предварительный просмотр"
msgid "Run %1"
msgstr "Запуск %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Версия %1 (дата сборки %2)"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2016-08-09 22:22+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Ukrainian <kde-russian@lists.kde.ru>\n"
@ -416,6 +416,12 @@ msgstr "Попередній перегляд"
msgid "Run %1"
msgstr "Запуск %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "Версія %1 (дата створення %2)"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-08-27 02:54+0300\n"
"POT-Creation-Date: 2016-09-01 15:36+0300\n"
"PO-Revision-Date: 2015-07-31 22:24+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Russian <kde-russian@lists.kde.ru>\n"
@ -417,6 +417,12 @@ msgstr "预览"
msgid "Run %1"
msgstr "运行 %1"
msgid "Not supported"
msgstr ""
msgid "You are using mammoth's Qt version, try to update it first!"
msgstr ""
msgid "Version %1 (build date %2)"
msgstr "版本 %1 (编译时间 %2)"