From b40bc8c20d10682f01f9988471ed7dcf1190f580 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 7 Jan 2022 20:58:32 +0000 Subject: [PATCH] Tag index.html and base.html, test updating translation templates --- app/templates/404.html | 7 +- app/templates/base.html | 20 ++- app/templates/index.html | 4 +- app/templates/packages/create_edit.html | 2 +- translations/es/LC_MESSAGES/messages.po | 79 +++++---- translations/fr/LC_MESSAGES/messages.po | 194 +++++++++++---------- translations/messages.pot | 66 ++++--- translations/ms/LC_MESSAGES/messages.po | 79 +++++---- translations/nb_NO/LC_MESSAGES/messages.po | 79 +++++---- utils/update_trans.sh | 4 + 10 files changed, 314 insertions(+), 220 deletions(-) create mode 100755 utils/update_trans.sh diff --git a/app/templates/404.html b/app/templates/404.html index 5d44ec1..7dc41e3 100644 --- a/app/templates/404.html +++ b/app/templates/404.html @@ -1,13 +1,12 @@ {% extends "base.html" %} {% block title %} - Page not found + {{ _("Page not found") }} {% endblock %} {% block content %} -

Page not found

+

{{ self.title() }}

- That page could not be found. The link may be broken, the page may have been deleted, - or you may not have access to it. + {{ _("That page could not be found. The link may be broken, the page may have been deleted, or you may not have access to it.") }}

{% endblock %} diff --git a/app/templates/base.html b/app/templates/base.html index 0d5c687..beb26ec 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -121,16 +121,24 @@ @@ -225,7 +235,7 @@