Commit aed60478 authored by Henning Leutz's avatar Henning Leutz 🥋

fix: #844

parent e7134267
......@@ -24,23 +24,23 @@ class Update extends QUI\System\Console\Tool
->setDescription('Update the quiqqer system and the quiqqer packages')
->addArgument(
'clearCache',
'Before execute the Update, clear the complete update cache.',
QUI::getLocale()->get('quiqqer/quiqqer', 'console.update.clearCache'),
false,
true
)
->addArgument(
'setDevelopment',
'Set QUIQQER to the development version',
QUI::getLocale()->get('quiqqer/quiqqer', 'console.update.setDevelopment'),
false,
true
)->addArgument(
'check',
'Checks for new updates',
QUI::getLocale()->get('quiqqer/quiqqer', 'console.update.check'),
false,
true
)->addArgument(
'set-date',
'Updates only the quiqqer update-date',
QUI::getLocale()->get('quiqqer/quiqqer', 'console.update.set-date'),
false,
true
);
......@@ -195,12 +195,12 @@ class Update extends QUI\System\Console\Tool
$this->write(' [error]', 'red');
$this->writeLn('');
$this->writeLn(
'Something went wrong::'.$Exception->getMessage(),
QUI::getLocale()->get('quiqqer/quiqqer', 'update.message.error.1').'::'.$Exception->getMessage(),
'red'
);
$this->writeLn(
'If the setup didn\'t worked properly, please test the following command for the update:',
QUI::getLocale()->get('quiqqer/quiqqer', 'update.message.error'),
'red'
);
......
......@@ -1254,6 +1254,25 @@
<locale name="update.message.no.updates.available">
<de><![CDATA[Dein System ist aktuell. Es wurden keine Aktualisierungen gefunden.]]></de>
</locale>
<locale name="update.message.error">
<de>
<![CDATA[Wenn das Setup nicht richtig funktioniert hat, nutze bitte den folgenden Befehl für das Update:]]></de>
</locale>
<locale name="update.message.error.1">
<de><![CDATA[Etwas ist schief gelaufen]]></de>
</locale>
<locale name="console.update.clearCache">
<de><![CDATA[Leere vor dem Ausführen des Updates den gesamten Update-Cache.]]></de>
</locale>
<locale name="console.update.setDevelopment">
<de><![CDATA[QUIQQQER auf die Entwicklungsversion setzen.]]></de>
</locale>
<locale name="console.update.check">
<de><![CDATA[Überprüfe auf neue Updates.]]></de>
</locale>
<locale name="console.update.set-date">
<de><![CDATA[Aktualisiert nur das quiqqer Update-Datum.]]></de>
</locale>
<locale name="user.settings.showNamesInSitemap">
<de><![CDATA[Seitennamen in der Sitemap anzeigen]]></de>
......
......@@ -1245,6 +1245,24 @@
<locale name="update.message.no.updates.available">
<en><![CDATA[Your system is up to date. No updates found.]]></en>
</locale>
<locale name="update.message.error">
<en><![CDATA[If the setup didn't worked properly, please test the following command for the update:]]></en>
</locale>
<locale name="update.message.error.1">
<en><![CDATA[Something went wrong]]></en>
</locale>
<locale name="console.update.clearCache">
<en><![CDATA[Before execute the Update, clear the complete update cache.]]></en>
</locale>
<locale name="console.update.setDevelopment">
<en><![CDATA[Set QUIQQER to the development version.]]></en>
</locale>
<locale name="console.update.check">
<en><![CDATA[Checks for new updates.]]></en>
</locale>
<locale name="console.update.set-date">
<en><![CDATA[Updates only the quiqqer update-date.]]></en>
</locale>
<locale name="user.settings.showNamesInSitemap">
<en><![CDATA[Show site names in the sitemap]]></en>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment