<NME> dbcheck.twig
<BEF> {# Page: NavSecondary > Configuration > Check database #}

{% extends '@bolt/_base/_page-nav.twig' %}

{% from '@bolt/dbcheck/_macros.twig' import list %}

{% block page_nav 'Settings/Configuration' %}

{% block page_title __('general.phrase.database-check-update') %}

{% block page_main %}

    {% set hints = context.check.hints|default([]) %}

    <div class="row">
        <div class="col-xs-12">
            {% if context.changes %}

                {{ list(__('general.phrase.modifications-database-colon'), context.changes) }}
                {{ list(__('general.phrase.hints-colon'), hints) }}

                <p class="alert alert-success" role="alert">{{ __('general.phrase.databaase-up-to-date') }}</p>

                <form action="{{ path('dbcheck') }}" method="get">
                    <p><button type="submit" class="btn btn-default btn-primary">{{ __('general.phrase.check-again') }}</button></p>
                </form>

            {% elseif context.check.responsestrings is defined and context.check.responsestrings is iterable %}

                {{ list(__('general.phrase.modifications-needed-colon'), context.check.responsestrings) }}
                {{ list(__('general.phrase.hints-colon'), hints) }}

                <form action="{{ path('dbupdate') }}" method="post">
                    <p>
                        <button type="submit" class="btn btn-primary">{{ __('general.phrase.update-database') }}</button>
                        {% if app.debug %}
                            <a href="{{ path('dbcheck', {'debug': 1}) }}" class="btn btn-tertiary">
                                {{ __('general.phrase.show-proposed-alterations') }}
                            </a>
                        {% endif %}
                    </p>
                </form>

            {% else %}

                <p class="alert alert-success" role="alert">{{ __("Your database is already up to date.") }}</p>

                {{ list(__('general.phrase.hints-colon'), hints) }}

            {% endif %}

            {% if isallowed('prefill') %}

                <br>
                <hr>

                <p class="alert alert-warning" role="alert">
                    <b>{{ __('general.phrase.tip-colon') }}</b>
                    {{ __('Add some sample <a href=\'%url%\' class=\'btn btn-default\'>Records with Loripsum text</a>', {'%url%': path('prefill')}) }}
                </p>

            {% endif %}

            {% if context.debug %}

                {% if context.creates is not empty %}
                    <hr>
                    <h4>Table Creations</h4>
                    {% for table, create in context.creates %}
                        <h5>{{ table }}</h5>
                        <ol>
                        {% for sql in create %}
                            <li>{{ sql }}</li>
                        {% endfor %}
                        </ol>
                        {{ dump(context.creates[table]) }}
                    {% endfor %}
                {% endif %}

                {% if context.alters is not empty %}
                    <hr>
                    <h4>Table Alterations</h4>
                    {% for table, alter in context.alters %}
                        <h5>{{ table }}</h5>
                        <ol>
                        {% for sql in alter %}
                            <li>{{ sql }}</li>
                        {% endfor %}
                        </ol>
                        {{ dump(context.diffs[table]) }}
                    {% endfor %}
                {% endif %}

            {% endif %}
        </div>
    </div>

{% endblock page_main %}

<MSG> [Translation] Change 'Your database is already up to date.' to keyword 'general.phrase.database-up-to-date-already'

<DFF> @@ -43,7 +43,7 @@
 
             {% else %}
 
-                <p class="alert alert-success" role="alert">{{ __("Your database is already up to date.") }}</p>
+                <p class="alert alert-success" role="alert">{{ __('general.phrase.database-up-to-date-already') }}</p>
 
                 {{ list(__('general.phrase.hints-colon'), hints) }}
 

{'commit': 'diff --git a/app/resources/translations/cs_CZ/messages.cs_CZ.yml b/app/resources/translations/cs_CZ/messages.cs_CZ.yml\nindex 3feee8e69..aa068d862 100644\n--- a/app/resources/translations/cs_CZ/messages.cs_CZ.yml\n+++ b/app/resources/translations/cs_CZ/messages.cs_CZ.yml\n@@ -451,7 +451,7 @@ general.phrase.warning-unfinished-changes-loss: "Strana obsahje neuložené změ\n general.phrase.warning-templatefields-loss: "Tato změna může způsobit ztrátu některých polí obsahu šablony. Doporučujeme si předem uložit jejich obsah."\n "You\'ve been logged on successfully.": "Byl jste úspěšně přihlášen/a."\n general.phrase.login-account-disabled: "Je nám líto, ale Váš účet byl zablokován."\n-"Your database is already up to date.": "Vaše databáze je již aktualizována."\n+general.phrase.database-up-to-date-already: "Vaše databáze je již aktualizována."\n "Your database is now up to date.": "Vaše databáze je nyní aktuální."\n general.phrase.edited: "a upraveno"\n general.phrase.return-editing: "zpět do editace"\ndiff --git a/app/resources/translations/de_DE/messages.de_DE.yml b/app/resources/translations/de_DE/messages.de_DE.yml\nindex add5e9907..088890540 100644\n--- a/app/resources/translations/de_DE/messages.de_DE.yml\n+++ b/app/resources/translations/de_DE/messages.de_DE.yml\n@@ -423,7 +423,7 @@ general.phrase.warning-unfinished-changes-loss: "Sie haben unvollendete Änderun\n general.phrase.warning-templatefields-loss: "Einige Ihrer Template-Felder könnten mit dieser Änderung verloren gehen. Besuchen Sie den Template-Bereich und notieren Sie Sich die Werte, bevor die fortfahren."\n "You\'ve been logged on successfully.": "Erfolgreich eingeloggt!"\n general.phrase.login-account-disabled: "Ihr Account wurde deaktiviert. Tut uns leid."\n-"Your database is already up to date.": "Ihre Datenbank ist bereits aktuell."\n+general.phrase.database-up-to-date-already: "Ihre Datenbank ist bereits aktuell."\n "Your database is now up to date.": "Ihre Datenbank ist nun wieder auf dem neusten Stand!"\n general.phrase.edited: "und bearbeitet"\n general.phrase.return-editing: "zurück zum Bearbeiten"\ndiff --git a/app/resources/translations/el/messages.el.yml b/app/resources/translations/el/messages.el.yml\nindex 73ce89d41..f0a697027 100644\n--- a/app/resources/translations/el/messages.el.yml\n+++ b/app/resources/translations/el/messages.el.yml\n@@ -233,7 +233,7 @@ general.phrase.access-denied-permissions-edit-file: #\n general.phrase.access-denied-permissions-view-file-directory: #\n general.phrase.warning-unfinished-changes-loss: #\n general.phrase.warning-templatefields-loss: #\n-"Your database is already up to date.": #\n+general.phrase.database-up-to-date-already: #\n "Your database is now up to date.": #\n "filtered by <em>\'%filter%\'</em>": #\n general.phrase.no-content: #\ndiff --git a/app/resources/translations/en_GB/messages.en_GB.yml b/app/resources/translations/en_GB/messages.en_GB.yml\nindex 65d03c973..1e5865404 100644\n--- a/app/resources/translations/en_GB/messages.en_GB.yml\n+++ b/app/resources/translations/en_GB/messages.en_GB.yml\n@@ -388,7 +388,7 @@ general.phrase.warning-unfinished-changes-loss: "You have unfinished changes on\n general.phrase.warning-templatefields-loss: "You may lose some of your template fields with this change. Go to the template section and note down the values before doing this."\n "You\'ve been logged on successfully.": "You\'ve been logged on successfully."\n general.phrase.login-account-disabled: "Your account is disabled. Sorry about that."\n-"Your database is already up to date.": "Your database is already up to date."\n+general.phrase.database-up-to-date-already: "Your database is already up to date."\n "Your database is now up to date.": "Your database is now up to date."\n general.phrase.edited: "and edited"\n general.phrase.return-editing: "back to editing"\ndiff --git a/app/resources/translations/es/messages.es.yml b/app/resources/translations/es/messages.es.yml\nindex 87c60711e..9ff93ac82 100644\n--- a/app/resources/translations/es/messages.es.yml\n+++ b/app/resources/translations/es/messages.es.yml\n@@ -471,7 +471,7 @@ general.phrase.warning-unfinished-changes-loss: "Tiene cambios sin guardar en es\n general.phrase.warning-templatefields-loss: "Es posible que pierdas algunos de los campos de la plantilla con este cambio. Ve a la plantilla y anota sus valores antes de hacer esto."\n "You\'ve been logged on successfully.": "Has cerrado sesión exitosamente"\n general.phrase.login-account-disabled: "Tu cuenta está deshabilitada. Lo sentimos."\n-"Your database is already up to date.": "Tu base de datos ya está actualizada."\n+general.phrase.database-up-to-date-already: "Tu base de datos ya está actualizada."\n "Your database is now up to date.": "Tu base de datos ahora está actualizada"\n general.phrase.edited: "y editado"\n general.phrase.return-editing: "regresar a editar"\ndiff --git a/app/resources/translations/fi/messages.fi.yml b/app/resources/translations/fi/messages.fi.yml\nindex 518219234..4c592fcc7 100644\n--- a/app/resources/translations/fi/messages.fi.yml\n+++ b/app/resources/translations/fi/messages.fi.yml\n@@ -469,7 +469,7 @@ general.phrase.warning-unfinished-changes-loss: "Sinulla on keskeneräisiä muut\n general.phrase.warning-templatefields-loss: "Voit menettää joitain sivupohjan kenttiä tällä muutoksella. Mene sivupohjaosioon ja kirjaa arvot muistiin ennen kuin teet tämän."\n "You\'ve been logged on successfully.": "Uloskirjautuminen onnistui."\n general.phrase.login-account-disabled: "Anteeksi, mutta käyttäjätilisi on suljettu."\n-"Your database is already up to date.": "Tietokanta on ajantasalla."\n+general.phrase.database-up-to-date-already: "Tietokanta on ajantasalla."\n "Your database is now up to date.": "Tietokanta on päivitetty."\n general.phrase.edited: "ja muokattu"\n general.phrase.return-editing: "palaa muokkaamaan"\ndiff --git a/app/resources/translations/fr/messages.fr.yml b/app/resources/translations/fr/messages.fr.yml\nindex 761c59e8d..42ad4f9e8 100644\n--- a/app/resources/translations/fr/messages.fr.yml\n+++ b/app/resources/translations/fr/messages.fr.yml\n@@ -394,7 +394,7 @@ general.phrase.warning-unfinished-changes-loss: "Des modifications sont en atten\n general.phrase.warning-templatefields-loss: "Vous pourriez perdre les champs personnalisés de modèle suite à ce changement. Nous vous recommandons d\'aller dans l\'onglet \'Template\' et de noter ces valeurs."\n "You\'ve been logged on successfully.": "Connexion réussie."\n general.phrase.login-account-disabled: "Votre compte est désactivé. Désolé."\n-"Your database is already up to date.": "La base de données est déjà à jour."\n+general.phrase.database-up-to-date-already: "La base de données est déjà à jour."\n "Your database is now up to date.": "La base de données est à jour."\n general.phrase.edited: "et modifié(e)"\n general.phrase.return-editing: "retour à l\'édition"\ndiff --git a/app/resources/translations/hu/messages.hu.yml b/app/resources/translations/hu/messages.hu.yml\nindex e8cc5d3c7..e61a6c0f3 100644\n--- a/app/resources/translations/hu/messages.hu.yml\n+++ b/app/resources/translations/hu/messages.hu.yml\n@@ -416,7 +416,7 @@ general.phrase.warning-unfinished-changes-loss: "Nem mentetted a változásokat.\n general.phrase.warning-templatefields-loss: "Ezzel a változtatással némelyik mező elveszhet. Keresd ki a sablon szekciót és jegyezd fel az értékeket, miwlőtt ezt megtennéd."\n "You\'ve been logged on successfully.": "Sikeresen bejelentkezett."\n general.phrase.login-account-disabled: "Az őn fiókja tiltott. Sajnáljuk."\n-"Your database is already up to date.": "Az adatbázis már a legfrissebb."\n+general.phrase.database-up-to-date-already: "Az adatbázis már a legfrissebb."\n "Your database is now up to date.": "Az adatbázis frissítve."\n general.phrase.edited: "és szerkesztve"\n general.phrase.return-editing: "vissza a szerkesztéshez"\ndiff --git a/app/resources/translations/id/messages.id.yml b/app/resources/translations/id/messages.id.yml\nindex 295e32cad..9348a3d0e 100644\n--- a/app/resources/translations/id/messages.id.yml\n+++ b/app/resources/translations/id/messages.id.yml\n@@ -593,7 +593,7 @@ general.phrase.view-on-site: "Lihat di site"\n general.phrase.view-site: "Lihat site"\n general.phrase.written-by-on: "Ditulis oleh <em>%name%</em> pada %date%"\n general.phrase.login-account-disabled: "Maaf, akun anda dinonaktifkan."\n-"Your database is already up to date.": "Basis data anda telah dimuktahirkan."\n+general.phrase.database-up-to-date-already: "Basis data anda telah dimuktahirkan."\n "Your database is now up to date.": "Basis data anda telah dimuktahirkan."\n general.phrase.edited: "dan diedit"\n general.phrase.by: "oleh"\ndiff --git a/app/resources/translations/it/messages.it.yml b/app/resources/translations/it/messages.it.yml\nindex 9406b1c1b..03664a582 100644\n--- a/app/resources/translations/it/messages.it.yml\n+++ b/app/resources/translations/it/messages.it.yml\n@@ -544,7 +544,7 @@ general.phrase.access-denied-privilege-view-page: "Non possiedi le autorizzazion\n general.phrase.access-denied-logged-out: "Sei stato disconnesso"\n "You\'ve been logged on successfully.": "Accesso effettuato con successo."\n general.phrase.login-account-disabled: "Spiacenti, il tuo account è disabilitato"\n-"Your database is already up to date.": "Il tuo database è già aggiornato"\n+general.phrase.database-up-to-date-already: "Il tuo database è già aggiornato"\n "Your database is now up to date.": "Il tuo database ora è aggiornato"\n general.phrase.edited: "e modificato"\n general.phrase.none: "nessuno"\ndiff --git a/app/resources/translations/ja/messages.ja.yml b/app/resources/translations/ja/messages.ja.yml\nindex 2cff91225..a9826d4f8 100644\n--- a/app/resources/translations/ja/messages.ja.yml\n+++ b/app/resources/translations/ja/messages.ja.yml\n@@ -523,7 +523,7 @@ general.phrase.access-denied-privilege-view-page: "そのページを閲覧す\n general.phrase.access-denied-logged-out: "ログアウトしました。"\n "You\'ve been logged on successfully.": "正常にログインしました。"\n general.phrase.login-account-disabled: "申し訳ありません。あなたのアカウントは無効化されています。"\n-"Your database is already up to date.": "データベースはすでに最新です。"\n+general.phrase.database-up-to-date-already: "データベースはすでに最新です。"\n "Your database is now up to date.": "データベースは最新です。"\n general.phrase.edited: "更新日："\n general.phrase.return-editing: "編集に戻る"\ndiff --git a/app/resources/translations/nb/messages.nb.yml b/app/resources/translations/nb/messages.nb.yml\nindex 924f4d740..5283a4bde 100644\n--- a/app/resources/translations/nb/messages.nb.yml\n+++ b/app/resources/translations/nb/messages.nb.yml\n@@ -591,7 +591,7 @@ general.phrase.access-denied-privilege-view-page: "Du har ikke rettigheter til \n general.phrase.access-denied-logged-out: "Du er logget ut."\n "You\'ve been logged on successfully.": "Du er vellykket logget ut."\n general.phrase.login-account-disabled: "Din konto er deaktivert. Beklager det."\n-"Your database is already up to date.": "Databasen din er allerede oppdatert."\n+general.phrase.database-up-to-date-already: "Databasen din er allerede oppdatert."\n "Your database is now up to date.": "Databasen din er nå oppdatert."\n general.phrase.edited: "og redigert"\n general.phrase.return-editing: "tilbake til redigering"\ndiff --git a/app/resources/translations/nl_NL/messages.nl_NL.yml b/app/resources/translations/nl_NL/messages.nl_NL.yml\nindex 58de8a7f9..da6f3ec5b 100644\n--- a/app/resources/translations/nl_NL/messages.nl_NL.yml\n+++ b/app/resources/translations/nl_NL/messages.nl_NL.yml\n@@ -394,7 +394,7 @@ general.phrase.warning-unfinished-changes-loss: "Je hebt onvoltooide wijzigingen\n general.phrase.warning-templatefields-loss: "Sommige velden binnen je template zullen verloren gaan met deze aanpassing. Ga naar de template tab en neem de waarden over vóórdat je hieraan begint."\n "You\'ve been logged on successfully.": "Je bent succesvol ingelogd."\n general.phrase.login-account-disabled: "Je account is uitgeschakeld. Sorry daarvoor."\n-"Your database is already up to date.": "Je database was al bijgewerkt."\n+general.phrase.database-up-to-date-already: "Je database was al bijgewerkt."\n "Your database is now up to date.": "Je database is nu bijgewerkt."\n general.phrase.edited: "en bewerkt"\n general.phrase.return-editing: "terug naar bewerken"\ndiff --git a/app/resources/translations/pl_PL/messages.pl_PL.yml b/app/resources/translations/pl_PL/messages.pl_PL.yml\nindex ca7b1a0ea..57ae9ea01 100644\n--- a/app/resources/translations/pl_PL/messages.pl_PL.yml\n+++ b/app/resources/translations/pl_PL/messages.pl_PL.yml\n@@ -468,7 +468,7 @@ general.phrase.access-denied-permissions-view-file-directory: "Nie posiadasz odp\n general.phrase.access-denied-logged-out: "Zostałeś wylogowany."\n "You\'ve been logged on successfully.": "Zostałeś zalogowany."\n general.phrase.login-account-disabled: "Twoje konto zostało deaktywowane. Przykro nam z tego powodu."\n-"Your database is already up to date.": "Twoja baza danych jest aktualna."\n+general.phrase.database-up-to-date-already: "Twoja baza danych jest aktualna."\n "Your database is now up to date.": "Twoja baza jest teraz aktualna."\n general.phrase.edited: "oraz edytowany"\n general.phrase.return-editing: "powrót do edycji"\ndiff --git a/app/resources/translations/pt/messages.pt.yml b/app/resources/translations/pt/messages.pt.yml\nindex 7215b99a8..025011413 100644\n--- a/app/resources/translations/pt/messages.pt.yml\n+++ b/app/resources/translations/pt/messages.pt.yml\n@@ -401,7 +401,7 @@ general.phrase.access-denied-logged-out: "A sua sessão foi terminada."\n general.phrase.warning-unfinished-changes-loss: "Tem alterações pendentes nesta página. Se continuar, sem guardar, perderá essas alterações."\n "You\'ve been logged on successfully.": "Autenticação realizada com sucesso!"\n general.phrase.login-account-disabled: "A sua conta foi desativada. Lamentamos."\n-"Your database is already up to date.": "A sua base de dados está atualizada."\n+general.phrase.database-up-to-date-already: "A sua base de dados está atualizada."\n "Your database is now up to date.": "A sua base de dados está agora atualizada!"\n general.phrase.edited: "e alterado"\n general.phrase.return-editing: "voltar à edição"\ndiff --git a/app/resources/translations/pt_BR/messages.pt_BR.yml b/app/resources/translations/pt_BR/messages.pt_BR.yml\nindex 1d8785278..d9be16270 100644\n--- a/app/resources/translations/pt_BR/messages.pt_BR.yml\n+++ b/app/resources/translations/pt_BR/messages.pt_BR.yml\n@@ -507,7 +507,7 @@ general.phrase.access-denied-permissions-view-file-directory: "Você não tem as\n general.phrase.access-denied-logged-out: "Você desconectou."\n "You\'ve been logged on successfully.": "Autenticação realizada com sucesso!"\n general.phrase.login-account-disabled: "Sua conta está desabilitada."\n-"Your database is already up to date.": "Seu banco de dados está atualizado."\n+general.phrase.database-up-to-date-already: "Seu banco de dados está atualizado."\n "Your database is now up to date.": "Seu banco de dados agora está atualizado!"\n general.phrase.edited: "e alterado"\n general.phrase.return-editing: "voltar para edição"\ndiff --git a/app/resources/translations/ru/messages.ru.yml b/app/resources/translations/ru/messages.ru.yml\nindex 71cbd5a63..6a88bd113 100644\n--- a/app/resources/translations/ru/messages.ru.yml\n+++ b/app/resources/translations/ru/messages.ru.yml\n@@ -483,7 +483,7 @@ general.phrase.access-denied-permissions-view-file-directory: "У вас нед\n general.phrase.access-denied-logged-out: "Вы успешно разлогинились."\n "You\'ve been logged on successfully.": "Вы успешно вошли."\n general.phrase.login-account-disabled: "Ваш аккаунт был заблокирован. Мы сожалеем об этом."\n-"Your database is already up to date.": "Ваша база данных актуальна."\n+general.phrase.database-up-to-date-already: "Ваша база данных актуальна."\n "Your database is now up to date.": "Ваша база данных теперь актуальна."\n general.phrase.edited: "и редактирован"\n general.phrase.return-editing: "назад к редактированию"\ndiff --git a/app/resources/translations/sv_SE/messages.sv_SE.yml b/app/resources/translations/sv_SE/messages.sv_SE.yml\nindex c1b5dbc7d..332d4d243 100644\n--- a/app/resources/translations/sv_SE/messages.sv_SE.yml\n+++ b/app/resources/translations/sv_SE/messages.sv_SE.yml\n@@ -399,7 +399,7 @@ general.phrase.warning-unfinished-changes-loss: "Du har osparade ändringarna p\n general.phrase.warning-templatefields-loss: "Du kan komma att förlora vissa fält med den här ändringen. Go till sektionen Mall och skriv ner innehållet om du vill behålla det."\n "You\'ve been logged on successfully.": "Du är nu inloggad."\n general.phrase.login-account-disabled: "Ditt konto är dekativerat. Ursäkta."\n-"Your database is already up to date.": "Din databas är redan uppdaterad."\n+general.phrase.database-up-to-date-already: "Din databas är redan uppdaterad."\n "Your database is now up to date.": "Din databas är nu uppdaterad."\n general.phrase.edited: "och redigerad"\n general.phrase.return-editing: "tillbaka till redigering"\ndiff --git a/app/resources/translations/zh_CN/messages.zh_CN.yml b/app/resources/translations/zh_CN/messages.zh_CN.yml\nindex da90c9080..6ee62d9df 100644\n--- a/app/resources/translations/zh_CN/messages.zh_CN.yml\n+++ b/app/resources/translations/zh_CN/messages.zh_CN.yml\n@@ -479,7 +479,7 @@ general.phrase.access-denied-permissions-view-file-directory: "你没有权限\n general.phrase.access-denied-logged-out: "你已成功退出登录。"\n "You\'ve been logged on successfully.": "你已成功登录。"\n general.phrase.login-account-disabled: "非常抱歉，你的账户已被禁用。"\n-"Your database is already up to date.": "数据库已经是最新的。"\n+general.phrase.database-up-to-date-already: "数据库已经是最新的。"\n "Your database is now up to date.": "数据库现在是最新的。"\n general.phrase.edited: "及编辑于"\n general.phrase.return-editing: "返回编辑"\ndiff --git a/app/resources/translations/zh_TW/messages.zh_TW.yml b/app/resources/translations/zh_TW/messages.zh_TW.yml\nindex a20913639..126cb9730 100644\n--- a/app/resources/translations/zh_TW/messages.zh_TW.yml\n+++ b/app/resources/translations/zh_TW/messages.zh_TW.yml\n@@ -477,7 +477,7 @@ general.phrase.access-denied-permissions-view-file-directory: "你沒有許可\n general.phrase.access-denied-logged-out: "你已成功退出登入。"\n "You\'ve been logged on successfully.": "你已成功登入。"\n general.phrase.login-account-disabled: "非常抱歉，你的賬戶已被禁用。"\n-"Your database is already up to date.": "資料庫已經是最新的。"\n+general.phrase.database-up-to-date-already: "資料庫已經是最新的。"\n "Your database is now up to date.": "資料庫現在是最新的。"\n general.phrase.edited: "及編輯於"\n general.phrase.return-editing: "返回編輯"\ndiff --git a/app/view/twig/dbcheck/dbcheck.twig b/app/view/twig/dbcheck/dbcheck.twig\nindex 8ba734294..16572d278 100644\n--- a/app/view/twig/dbcheck/dbcheck.twig\n+++ b/app/view/twig/dbcheck/dbcheck.twig\n@@ -43,7 +43,7 @@\n \n             {% else %}\n \n-                <p class="alert alert-success" role="alert">{{ __("Your database is already up to date.") }}</p>\n+                <p class="alert alert-success" role="alert">{{ __(\'general.phrase.database-up-to-date-already\') }}</p>\n \n                 {{ list(__(\'general.phrase.hints-colon\'), hints) }}\n \n', 'commit_subject': "[Translation] Change 'Your database is already up to date.' to keyword 'general.phrase.database-up-to-date-already'", 'repo_name': 'bolt/bolt', 'committer': {'name': 'Gawain Lynch', 'email': 'f745ec5336bcd096400627fc09f6ec7139408726@gmail.com', 'time_sec': '1462771655', 'tz_offset': '120', 'date': {'seconds': '1462771655'}}, 'commit_tree': 'ca314b9c074cf61fb304f00620a1789e2b8f1a46', 'commit_message': "[Translation] Change 'Your database is already up to date.' to keyword 'general.phrase.database-up-to-date-already'\n", 'language_name': 'JavaScript', 'license': 'mit', 'hunks': '@@ -43,7 +43,7 @@\n \n             {% else %}\n \n-                <p class="alert alert-success" role="alert">{{ __("Your database is already up to date.") }}</p>\n+                <p class="alert alert-success" role="alert">{{ __(\'general.phrase.database-up-to-date-already\') }}</p>\n \n                 {{ list(__(\'general.phrase.hints-colon\'), hints) }}\n \n', 'addition_count': 1, 'deletion_count': 1, 'src_file': 'a/app/view/twig/dbcheck/dbcheck.twig', 'tgt_file': 'b/app/view/twig/dbcheck/dbcheck.twig', 'file_extension': '.twig', 'before_file': '{# Page: NavSecondary > Configuration > Check database #}\n\n{% extends \'@bolt/_base/_page-nav.twig\' %}\n\n{% from \'@bolt/dbcheck/_macros.twig\' import list %}\n\n{% block page_nav \'Settings/Configuration\' %}\n\n{% block page_title __(\'general.phrase.database-check-update\') %}\n\n{% block page_main %}\n\n    {% set hints = context.check.hints|default([]) %}\n\n    <div class="row">\n        <div class="col-xs-12">\n            {% if context.changes %}\n\n                {{ list(__(\'general.phrase.modifications-database-colon\'), context.changes) }}\n                {{ list(__(\'general.phrase.hints-colon\'), hints) }}\n\n                <p class="alert alert-success" role="alert">{{ __(\'general.phrase.databaase-up-to-date\') }}</p>\n\n                <form action="{{ path(\'dbcheck\') }}" method="get">\n                    <p><button type="submit" class="btn btn-default btn-primary">{{ __(\'general.phrase.check-again\') }}</button></p>\n                </form>\n\n            {% elseif context.check.responsestrings is defined and context.check.responsestrings is iterable %}\n\n                {{ list(__(\'general.phrase.modifications-needed-colon\'), context.check.responsestrings) }}\n                {{ list(__(\'general.phrase.hints-colon\'), hints) }}\n\n                <form action="{{ path(\'dbupdate\') }}" method="post">\n                    <p>\n                        <button type="submit" class="btn btn-primary">{{ __(\'general.phrase.update-database\') }}</button>\n                        {% if app.debug %}\n                            <a href="{{ path(\'dbcheck\', {\'debug\': 1}) }}" class="btn btn-tertiary">\n                                {{ __(\'general.phrase.show-proposed-alterations\') }}\n                            </a>\n                        {% endif %}\n                    </p>\n                </form>\n\n            {% else %}\n\n                <p class="alert alert-success" role="alert">{{ __("Your database is already up to date.") }}</p>\n\n                {{ list(__(\'general.phrase.hints-colon\'), hints) }}\n\n            {% endif %}\n\n            {% if isallowed(\'prefill\') %}\n\n                <br>\n                <hr>\n\n                <p class="alert alert-warning" role="alert">\n                    <b>{{ __(\'general.phrase.tip-colon\') }}</b>\n                    {{ __(\'Add some sample <a href=\\\'%url%\\\' class=\\\'btn btn-default\\\'>Records with Loripsum text</a>\', {\'%url%\': path(\'prefill\')}) }}\n                </p>\n\n            {% endif %}\n\n            {% if context.debug %}\n\n                {% if context.creates is not empty %}\n                    <hr>\n                    <h4>Table Creations</h4>\n                    {% for table, create in context.creates %}\n                        <h5>{{ table }}</h5>\n                        <ol>\n                        {% for sql in create %}\n                            <li>{{ sql }}</li>\n                        {% endfor %}\n                        </ol>\n                        {{ dump(context.creates[table]) }}\n                    {% endfor %}\n                {% endif %}\n\n                {% if context.alters is not empty %}\n                    <hr>\n                    <h4>Table Alterations</h4>\n                    {% for table, alter in context.alters %}\n                        <h5>{{ table }}</h5>\n                        <ol>\n                        {% for sql in alter %}\n                            <li>{{ sql }}</li>\n                        {% endfor %}\n                        </ol>\n                        {{ dump(context.diffs[table]) }}\n                    {% endfor %}\n                {% endif %}\n\n            {% endif %}\n        </div>\n    </div>\n\n{% endblock page_main %}\n', 'message': "[Translation] Change 'Your database is already up to date.' to keyword 'general.phrase.database-up-to-date-already'\n", 'author_name': 'Gawain Lynch', 'lang': 'twig'}