From f631f3d3ebd89fac75228b801bee306c2a54a82b Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Mon, 18 Jul 2022 22:57:12 +0200 Subject: [PATCH] Fix downgrade reference #1673 --- .../LC_MESSAGES/how-to/upgrading/downgrade.mo | Bin 1996 -> 2067 bytes .../LC_MESSAGES/how-to/upgrading/downgrade.po | 15 +++++++++++---- docs/how-to/upgrading/downgrade.rst | 8 ++++---- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.mo b/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.mo index b8287639c771522ec2b2a97ef118596978676fcf..9d23bd6150ad4a7a20c396f2540e94232a4b9526 100644 GIT binary patch delta 384 zcmX}lJxjw-6b9gvrir#tbP%nga49HOO^mmV+RW7s9sHOC6≦&2j@Vrr=;FcO|=j z!J)W_i;m*2a1iXIli=jr_;KLPlXJP}p69V-{BojKAfkI@SntRb@_~FIIfZB&W-~-f zunC(mhE@3Zd;SR>^d*&O79PVV%$~tX^jjKH5&aPy&Y$W;i||3GL)yX500(vGj1aBD z9<0F|ScY#9^Mq?@;T_5%c%QI4tvtTCM!BDsM(OJAT(OgyGMMRhgk)aOmF>{=eA#AE zz*?=?Hmm(|W==^O>fXGuFJk}152R6dBjGS^ac)=}#@Z(1+_Be}EpA!;S9L*|uH+Al rhL9q3qabwHZXi5AV%)4G1??hTSxRoTm*UF*POO)%8~!c5)=lLb-1w&ZtkiG?^Wq`COGXujNpdKS24bsQY%D^B2LOhogLHlUbzK}4 pJp8SEJ+-6!{aiP*u&6OI8cud*Z3Ww>H2F2_BX$L-rBB)P7y)G_IqLub diff --git a/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po b/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po index 4eddd13d8..c6ec52bbd 100644 --- a/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po +++ b/docs/_locale/nl/LC_MESSAGES/how-to/upgrading/downgrade.po @@ -2,6 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: DSMR-reader\n" "Report-Msgid-Bugs-To: Dennis Siemensma \n" +"POT-Creation-Date: 2022-07-18 20:55+0000\n" +"PO-Revision-Date: 2022-07-18 22:56+0200\n" "Last-Translator: Dennis Siemensma \n" "Language: nl\n" "Language-Team: Dennis Siemensma \n" @@ -9,6 +11,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 2.3\n" #: ../../how-to/upgrading/downgrade.rst:2 msgid "Downgrading DSMR-reader" @@ -31,12 +35,12 @@ msgid "First, **please make sure you have a recent backup of your database**!" msgstr "Allereerst, **zorg ervoor dat je een recente backup hebt van je database**!" #: ../../how-to/upgrading/downgrade.rst:15 -msgid "Each release `has it's database migrations locked `_. You should execute the script of the version you wish to downgrade to. And the switch the code to the release." -msgstr "Elke release `heeft z'n eigen databasemigraties vastgelegd `_. Je zult het script moeten uitvoeren voor de release waar je naar toe wilt. En vervolgens de codebase wisselen naar dezelfde release." +msgid "Each release `has it's database migrations locked `_. You should execute the script of the version you wish to downgrade to. And the switch the code to the release." +msgstr "Elke release `heeft z'n eigen databasemigraties vastgelegd `_. Je zult het script moeten uitvoeren voor de release waar je naar toe wilt. En vervolgens de codebase wisselen naar dezelfde release." #: ../../how-to/upgrading/downgrade.rst:18 -msgid "For example ``v4.0``::" -msgstr "Bijvoorbeeld ``v4.0``::" +msgid "For example when downgrading to ``v5.4``::" +msgstr "Bijvoorbeeld, downgraden naar ``v5.4``::" #: ../../how-to/upgrading/downgrade.rst:27 msgid "Unapplying the database migrations may take a while." @@ -45,3 +49,6 @@ msgstr "Het terugdraaien van databasemigraties kan wat tijd in beslag nemen." #: ../../how-to/upgrading/downgrade.rst:29 msgid "You should now be on the targeted release." msgstr "Je zou nu op de gewenste release moeten zitten." + +#~ msgid "For example ``v4.0``::" +#~ msgstr "Bijvoorbeeld ``v4.0``::" diff --git a/docs/how-to/upgrading/downgrade.rst b/docs/how-to/upgrading/downgrade.rst index 1b7cd2ad8..5e0afc0c3 100644 --- a/docs/how-to/upgrading/downgrade.rst +++ b/docs/how-to/upgrading/downgrade.rst @@ -12,14 +12,14 @@ If for some reason you need to downgrade the application, you will need to: First, **please make sure you have a recent backup of your database**! -Each release `has it's database migrations locked `_. +Each release `has it's database migrations locked `_. You should execute the script of the version you wish to downgrade to. And the switch the code to the release. -For example ``v4.0``:: +For example when downgrading to ``v5.4``:: sudo su - dsmr - sh dsmrreader/provisioning/downgrade/v4.0.sh - git checkout tags/v4.0.0 + sh dsmrreader/provisioning/downgrade/v5.4.sh + git checkout tags/v5.4.0 ./deploy.sh .. note::