diff --git a/sources/awesome-widget/plugin/awactions.cpp b/sources/awesome-widget/plugin/awactions.cpp index a24663f..c5f06e7 100644 --- a/sources/awesome-widget/plugin/awactions.cpp +++ b/sources/awesome-widget/plugin/awactions.cpp @@ -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 { diff --git a/sources/awesome-widget/plugin/awactions.h b/sources/awesome-widget/plugin/awactions.h index 56e2bde..1c568cc 100644 --- a/sources/awesome-widget/plugin/awactions.h +++ b/sources/awesome-widget/plugin/awactions.h @@ -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 diff --git a/sources/translations/awesome-widgets.pot b/sources/translations/awesome-widgets.pot index cb47e6c..0106fdc 100644 --- a/sources/translations/awesome-widgets.pot +++ b/sources/translations/awesome-widgets.pot @@ -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 \n" "Language-Team: LANGUAGE \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 "" diff --git a/sources/translations/en.po b/sources/translations/en.po index 194893a..83c11ee 100644 --- a/sources/translations/en.po +++ b/sources/translations/en.po @@ -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 \n" "Language-Team: English \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)" diff --git a/sources/translations/es.po b/sources/translations/es.po index 3076905..746cc55 100644 --- a/sources/translations/es.po +++ b/sources/translations/es.po @@ -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 \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)" diff --git a/sources/translations/fr.po b/sources/translations/fr.po index 6bb54f7..4edb9f6 100644 --- a/sources/translations/fr.po +++ b/sources/translations/fr.po @@ -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 \n" "Language-Team: French \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)" diff --git a/sources/translations/nl_NL.po b/sources/translations/nl_NL.po index ea266f4..f21c509 100644 --- a/sources/translations/nl_NL.po +++ b/sources/translations/nl_NL.po @@ -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 \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)" diff --git a/sources/translations/pl.po b/sources/translations/pl.po index 6b4af20..1d4e605 100644 --- a/sources/translations/pl.po +++ b/sources/translations/pl.po @@ -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 \n" "Language-Team: LANGUAGE \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)" diff --git a/sources/translations/pt_BR.po b/sources/translations/pt_BR.po index 064332f..112ab27 100644 --- a/sources/translations/pt_BR.po +++ b/sources/translations/pt_BR.po @@ -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 \n" "Language-Team: Russian \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)" diff --git a/sources/translations/ru.po b/sources/translations/ru.po index 7d260de..c82a678 100644 --- a/sources/translations/ru.po +++ b/sources/translations/ru.po @@ -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 \n" "Language-Team: Russian \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)" diff --git a/sources/translations/uk.po b/sources/translations/uk.po index 3a759d1..c5147d4 100644 --- a/sources/translations/uk.po +++ b/sources/translations/uk.po @@ -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 \n" "Language-Team: Ukrainian \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)" diff --git a/sources/translations/zh.po b/sources/translations/zh.po index 8555e92..320ab9c 100644 --- a/sources/translations/zh.po +++ b/sources/translations/zh.po @@ -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 \n" "Language-Team: Russian \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)"