diff --git a/loko/common/locale/en/LC_MESSAGES/django.mo b/loko/common/locale/en/LC_MESSAGES/django.mo index b4dbe49..7eb40fc 100644 Binary files a/loko/common/locale/en/LC_MESSAGES/django.mo and b/loko/common/locale/en/LC_MESSAGES/django.mo differ diff --git a/loko/common/locale/en/LC_MESSAGES/django.po b/loko/common/locale/en/LC_MESSAGES/django.po index 516abce..cdbbd5c 100644 --- a/loko/common/locale/en/LC_MESSAGES/django.po +++ b/loko/common/locale/en/LC_MESSAGES/django.po @@ -541,3 +541,15 @@ msgstr "" #: common/views.py:644 msgid "Erreur lors de la lecture du document" msgstr "Erreur lors de la lecture du document" + +#: common/templates/common/components/document_viewer.html +msgid "Dézoomer" +msgstr "Zoom out" + +#: common/templates/common/components/document_viewer.html +msgid "Zoomer" +msgstr "Zoom in" + +#: common/templates/common/components/document_viewer.html +msgid "Réinitialiser" +msgstr "Reset" diff --git a/loko/common/locale/fr/LC_MESSAGES/django.mo b/loko/common/locale/fr/LC_MESSAGES/django.mo index 01e87d0..8d040b2 100644 Binary files a/loko/common/locale/fr/LC_MESSAGES/django.mo and b/loko/common/locale/fr/LC_MESSAGES/django.mo differ diff --git a/loko/common/locale/fr/LC_MESSAGES/django.po b/loko/common/locale/fr/LC_MESSAGES/django.po index 543dbdd..0b12f73 100644 --- a/loko/common/locale/fr/LC_MESSAGES/django.po +++ b/loko/common/locale/fr/LC_MESSAGES/django.po @@ -527,3 +527,15 @@ msgstr "Accès interdit" #: common/views.py:644 msgid "Erreur lors de la lecture du document" msgstr "Erreur lors de la lecture du document" + +#: common/templates/common/components/document_viewer.html +msgid "Dézoomer" +msgstr "Dézoomer" + +#: common/templates/common/components/document_viewer.html +msgid "Zoomer" +msgstr "Zoomer" + +#: common/templates/common/components/document_viewer.html +msgid "Réinitialiser" +msgstr "Réinitialiser" diff --git a/loko/common/locale/nl/LC_MESSAGES/django.mo b/loko/common/locale/nl/LC_MESSAGES/django.mo index 3804cb1..e47b6d7 100644 Binary files a/loko/common/locale/nl/LC_MESSAGES/django.mo and b/loko/common/locale/nl/LC_MESSAGES/django.mo differ diff --git a/loko/common/locale/nl/LC_MESSAGES/django.po b/loko/common/locale/nl/LC_MESSAGES/django.po index 2d08ef6..dd7466b 100644 --- a/loko/common/locale/nl/LC_MESSAGES/django.po +++ b/loko/common/locale/nl/LC_MESSAGES/django.po @@ -527,3 +527,15 @@ msgstr "" #: common/views.py:644 msgid "Erreur lors de la lecture du document" msgstr "" + +#: common/templates/common/components/document_viewer.html +msgid "Dézoomer" +msgstr "Uitzoomen" + +#: common/templates/common/components/document_viewer.html +msgid "Zoomer" +msgstr "Inzoomen" + +#: common/templates/common/components/document_viewer.html +msgid "Réinitialiser" +msgstr "Herstellen" diff --git a/loko/common/templates/common/components/document_viewer.html b/loko/common/templates/common/components/document_viewer.html index f5e124d..35f8817 100644 --- a/loko/common/templates/common/components/document_viewer.html +++ b/loko/common/templates/common/components/document_viewer.html @@ -221,10 +221,29 @@ style="width: 100%; height: 70vh; border: none;" title="{{ doc.title }}"> {% elif doc.is_image %} - {{ doc.title }} +
+ {{ doc.title }} + + {# Floating zoom controls toolbar #} +
+ + 100% + + +
+
{% elif doc.text_preview %}
{{ doc.text_preview }}
@@ -366,6 +385,19 @@
{# /modal #} {% endif %} + + {# ═══════════════════════════ Inline JS ══════════════════════════════ #} diff --git a/loko/home/locale/en/LC_MESSAGES/django.mo b/loko/home/locale/en/LC_MESSAGES/django.mo index 54a2c1d..474eb1a 100644 Binary files a/loko/home/locale/en/LC_MESSAGES/django.mo and b/loko/home/locale/en/LC_MESSAGES/django.mo differ diff --git a/loko/home/locale/en/LC_MESSAGES/django.po b/loko/home/locale/en/LC_MESSAGES/django.po index a8bd5ca..29d031e 100644 --- a/loko/home/locale/en/LC_MESSAGES/django.po +++ b/loko/home/locale/en/LC_MESSAGES/django.po @@ -1137,3 +1137,12 @@ msgstr "No interventions to control" #: home/templates/home/widgets/controller_shortcuts.html:72 msgid "Voir toutes les interventions à contrôler" msgstr "View all interventions to control" + +#: home/templates/home/widgets/stock_summary.html +msgid "à traiter · en cours" +msgstr "to process · in progress" + +#: home/templates/home/widgets/stock_summary.html +msgid "Aucun bon à traiter ou en cours" +msgstr "No orders to process or in progress" + diff --git a/loko/home/locale/fr/LC_MESSAGES/django.mo b/loko/home/locale/fr/LC_MESSAGES/django.mo index 5944087..59ccbda 100644 Binary files a/loko/home/locale/fr/LC_MESSAGES/django.mo and b/loko/home/locale/fr/LC_MESSAGES/django.mo differ diff --git a/loko/home/locale/fr/LC_MESSAGES/django.po b/loko/home/locale/fr/LC_MESSAGES/django.po index 62d8407..f40a182 100644 --- a/loko/home/locale/fr/LC_MESSAGES/django.po +++ b/loko/home/locale/fr/LC_MESSAGES/django.po @@ -1146,3 +1146,12 @@ msgstr "Aucune intervention à contrôler" #: home/templates/home/widgets/controller_shortcuts.html:72 msgid "Voir toutes les interventions à contrôler" msgstr "Voir toutes les interventions à contrôler" + +#: home/templates/home/widgets/stock_summary.html +msgid "à traiter · en cours" +msgstr "à traiter · en cours" + +#: home/templates/home/widgets/stock_summary.html +msgid "Aucun bon à traiter ou en cours" +msgstr "Aucun bon à traiter ou en cours" + diff --git a/loko/home/locale/nl/LC_MESSAGES/django.mo b/loko/home/locale/nl/LC_MESSAGES/django.mo index 24b7e4e..1fe79dd 100644 Binary files a/loko/home/locale/nl/LC_MESSAGES/django.mo and b/loko/home/locale/nl/LC_MESSAGES/django.mo differ diff --git a/loko/home/locale/nl/LC_MESSAGES/django.po b/loko/home/locale/nl/LC_MESSAGES/django.po index f19cec0..7f23eb3 100644 --- a/loko/home/locale/nl/LC_MESSAGES/django.po +++ b/loko/home/locale/nl/LC_MESSAGES/django.po @@ -1143,3 +1143,12 @@ msgstr "Geen te controleren interventies" #: home/templates/home/widgets/controller_shortcuts.html:72 msgid "Voir toutes les interventions à contrôler" msgstr "Alle te controleren interventies bekijken" + +#: home/templates/home/widgets/stock_summary.html +msgid "à traiter · en cours" +msgstr "te verwerken · in behandeling" + +#: home/templates/home/widgets/stock_summary.html +msgid "Aucun bon à traiter ou en cours" +msgstr "Geen bonnen te verwerken of in behandeling" +