From 86c82f584c44885ac2cd106ae396627a8d617780 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 22 Apr 2025 17:16:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90(backend)=20convert=20translation?= =?UTF-8?q?=20tags=20to=20blocktrans=20for=20quoted=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace simple trans tags with blocktrans tags in download instructions to properly handle quoted text in translations. Ensures quotes within translated strings are correctly preserved during localization. --- src/backend/locale/en_US/LC_MESSAGES/django.po | 6 +++--- src/backend/locale/fr_FR/LC_MESSAGES/django.po | 6 +++--- src/backend/locale/nl_NL/LC_MESSAGES/django.po | 6 +++--- src/mail/mjml/screen_recording.mjml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/backend/locale/en_US/LC_MESSAGES/django.po b/src/backend/locale/en_US/LC_MESSAGES/django.po index 98ead238..547f5951 100644 --- a/src/backend/locale/en_US/LC_MESSAGES/django.po +++ b/src/backend/locale/en_US/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-22 15:02+0000\n" +"POT-Creation-Date: 2025-04-22 15:15+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -390,12 +390,12 @@ msgstr "" #: core/templates/mail/html/screen_recording.html:203 #: core/templates/mail/text/screen_recording.txt:12 -msgid "Click the \\" +msgid "Click the \"Open\" button below " msgstr "" #: core/templates/mail/html/screen_recording.html:204 #: core/templates/mail/text/screen_recording.txt:13 -msgid "Use the \\" +msgid "Use the \"Download\" button in the interface " msgstr "" #: core/templates/mail/html/screen_recording.html:205 diff --git a/src/backend/locale/fr_FR/LC_MESSAGES/django.po b/src/backend/locale/fr_FR/LC_MESSAGES/django.po index 98ead238..547f5951 100644 --- a/src/backend/locale/fr_FR/LC_MESSAGES/django.po +++ b/src/backend/locale/fr_FR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-22 15:02+0000\n" +"POT-Creation-Date: 2025-04-22 15:15+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -390,12 +390,12 @@ msgstr "" #: core/templates/mail/html/screen_recording.html:203 #: core/templates/mail/text/screen_recording.txt:12 -msgid "Click the \\" +msgid "Click the \"Open\" button below " msgstr "" #: core/templates/mail/html/screen_recording.html:204 #: core/templates/mail/text/screen_recording.txt:13 -msgid "Use the \\" +msgid "Use the \"Download\" button in the interface " msgstr "" #: core/templates/mail/html/screen_recording.html:205 diff --git a/src/backend/locale/nl_NL/LC_MESSAGES/django.po b/src/backend/locale/nl_NL/LC_MESSAGES/django.po index 98ead238..547f5951 100644 --- a/src/backend/locale/nl_NL/LC_MESSAGES/django.po +++ b/src/backend/locale/nl_NL/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-04-22 15:02+0000\n" +"POT-Creation-Date: 2025-04-22 15:15+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -390,12 +390,12 @@ msgstr "" #: core/templates/mail/html/screen_recording.html:203 #: core/templates/mail/text/screen_recording.txt:12 -msgid "Click the \\" +msgid "Click the \"Open\" button below " msgstr "" #: core/templates/mail/html/screen_recording.html:204 #: core/templates/mail/text/screen_recording.txt:13 -msgid "Use the \\" +msgid "Use the \"Download\" button in the interface " msgstr "" #: core/templates/mail/html/screen_recording.html:205 diff --git a/src/mail/mjml/screen_recording.mjml b/src/mail/mjml/screen_recording.mjml index d0a04b2b..d7cc4d55 100644 --- a/src/mail/mjml/screen_recording.mjml +++ b/src/mail/mjml/screen_recording.mjml @@ -27,9 +27,9 @@

{% trans "To keep this recording permanently:" %}

    -
  1. {% trans "Click the \"Open\" button below" %}
  2. -
  3. {% trans "Use the \"Download\" button in the interface" %}
  4. -
  5. {% trans "Save the file to your preferred location" %}
  6. +
  7. {% blocktrans %}Click the "Open" button below {% endblocktrans %}
  8. +
  9. {% blocktrans %}Use the "Download" button in the interface {% endblocktrans %}
  10. +
  11. {% blocktrans %}Save the file to your preferred location{% endblocktrans %}