From d58ca08889cecef1c090d9e5ce7e948dccc59394 Mon Sep 17 00:00:00 2001 From: Blaine Jester Date: Wed, 10 May 2023 07:23:24 -0700 Subject: [PATCH] Ignore some backend strings for translation --- .../constants/channel_history.py | 10 ++-- .../contentcuration/constants/user_history.py | 8 ++- .../locale/ar/LC_MESSAGES/django.po | 51 ++++++------------- .../locale/en/LC_MESSAGES/django.po | 30 +---------- .../locale/es_ES/LC_MESSAGES/django.po | 51 ++++++------------- .../locale/fr_FR/LC_MESSAGES/django.po | 51 ++++++------------- .../locale/hi_IN/LC_MESSAGES/django.po | 30 +---------- .../locale/pt_BR/LC_MESSAGES/django.po | 51 ++++++------------- 8 files changed, 73 insertions(+), 209 deletions(-) diff --git a/contentcuration/contentcuration/constants/channel_history.py b/contentcuration/contentcuration/constants/channel_history.py index 28de05e035..790b4dfd51 100644 --- a/contentcuration/contentcuration/constants/channel_history.py +++ b/contentcuration/contentcuration/constants/channel_history.py @@ -1,13 +1,11 @@ -from django.utils.translation import ugettext_lazy as _ - CREATION = "creation" PUBLICATION = "publication" DELETION = "deletion" RECOVERY = "recovery" choices = ( - (CREATION, _("Creation")), - (PUBLICATION, _("Publication")), - (DELETION, _("Deletion")), - (RECOVERY, _("Deletion recovery")), + (CREATION, "Creation"), + (PUBLICATION, "Publication"), + (DELETION, "Deletion"), + (RECOVERY, "Deletion recovery"), ) diff --git a/contentcuration/contentcuration/constants/user_history.py b/contentcuration/contentcuration/constants/user_history.py index 76655993ef..9adc9b56c6 100644 --- a/contentcuration/contentcuration/constants/user_history.py +++ b/contentcuration/contentcuration/constants/user_history.py @@ -1,11 +1,9 @@ -from django.utils.translation import ugettext_lazy as _ - DELETION = "soft-deletion" RECOVERY = "soft-recovery" RELATED_DATA_HARD_DELETION = "related-data-hard-deletion" choices = ( - (DELETION, _("User soft deletion")), - (RECOVERY, _("User soft deletion recovery")), - (RELATED_DATA_HARD_DELETION, _("User related data hard deletion")), + (DELETION, "User soft deletion"), + (RECOVERY, "User soft deletion recovery"), + (RELATED_DATA_HARD_DELETION, "User related data hard deletion"), ) diff --git a/contentcuration/locale/ar/LC_MESSAGES/django.po b/contentcuration/locale/ar/LC_MESSAGES/django.po index 664769a8e4..a3dcbbe22e 100644 --- a/contentcuration/locale/ar/LC_MESSAGES/django.po +++ b/contentcuration/locale/ar/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: kolibri-studio\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-08 23:08+0000\n" +"POT-Creation-Date: 2023-05-10 14:17+0000\n" "PO-Revision-Date: 2022-10-17 20:08\n" "Last-Translator: \n" "Language-Team: Arabic\n" @@ -23,40 +23,6 @@ msgstr "" msgid "Arabic" msgstr "العربيّة" -#: contentcuration/constants/channel_history.py:9 -#, fuzzy -#| msgid "Created" -msgid "Creation" -msgstr "تمّ الإنشاء" - -#: contentcuration/constants/channel_history.py:10 -#, fuzzy -#| msgid "Public Domain" -msgid "Publication" -msgstr "الملكية العامة" - -#: contentcuration/constants/channel_history.py:11 -#, fuzzy -#| msgid "Description" -msgid "Deletion" -msgstr "التّوصيف" - -#: contentcuration/constants/channel_history.py:12 -msgid "Deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:8 -msgid "User soft deletion" -msgstr "" - -#: contentcuration/constants/user_history.py:9 -msgid "User soft deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:10 -msgid "User related data hard deletion" -msgstr "" - #: contentcuration/middleware/db_readonly.py:24 msgid "The site is currently in read-only mode. Please try again later." msgstr "الموقع حالياً في وضع القراءة فقط. الرجاء المحاولة مجدداً في وقت لاحق." @@ -964,6 +930,21 @@ msgstr "نقطة نهاية Api {} غير متوفرة" msgid "No channel matching {} found" msgstr "لم يتم العثور على قناة مطابقة {}" +#, fuzzy +#~| msgid "Created" +#~ msgid "Creation" +#~ msgstr "تمّ الإنشاء" + +#, fuzzy +#~| msgid "Public Domain" +#~ msgid "Publication" +#~ msgstr "الملكية العامة" + +#, fuzzy +#~| msgid "Description" +#~ msgid "Deletion" +#~ msgstr "التّوصيف" + #~ msgid "Date/Time Created" #~ msgstr "تاريخ/وقت الإنشاء" diff --git a/contentcuration/locale/en/LC_MESSAGES/django.po b/contentcuration/locale/en/LC_MESSAGES/django.po index eba1b76578..0779bbe05d 100644 --- a/contentcuration/locale/en/LC_MESSAGES/django.po +++ b/contentcuration/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-08 23:08+0000\n" +"POT-Creation-Date: 2023-05-10 14:17+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,34 +23,6 @@ msgstr "" msgid "Arabic" msgstr "" -#: contentcuration/constants/channel_history.py:9 -msgid "Creation" -msgstr "" - -#: contentcuration/constants/channel_history.py:10 -msgid "Publication" -msgstr "" - -#: contentcuration/constants/channel_history.py:11 -msgid "Deletion" -msgstr "" - -#: contentcuration/constants/channel_history.py:12 -msgid "Deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:8 -msgid "User soft deletion" -msgstr "" - -#: contentcuration/constants/user_history.py:9 -msgid "User soft deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:10 -msgid "User related data hard deletion" -msgstr "" - #: contentcuration/middleware/db_readonly.py:24 msgid "The site is currently in read-only mode. Please try again later." msgstr "" diff --git a/contentcuration/locale/es_ES/LC_MESSAGES/django.po b/contentcuration/locale/es_ES/LC_MESSAGES/django.po index 12ad9d0151..afbb20a7bc 100644 --- a/contentcuration/locale/es_ES/LC_MESSAGES/django.po +++ b/contentcuration/locale/es_ES/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: kolibri-studio\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-08 23:08+0000\n" +"POT-Creation-Date: 2023-05-10 14:17+0000\n" "PO-Revision-Date: 2022-10-17 20:08\n" "Last-Translator: \n" "Language-Team: Spanish\n" @@ -22,40 +22,6 @@ msgstr "" msgid "Arabic" msgstr "Árabe" -#: contentcuration/constants/channel_history.py:9 -#, fuzzy -#| msgid "Created" -msgid "Creation" -msgstr "Creado" - -#: contentcuration/constants/channel_history.py:10 -#, fuzzy -#| msgid "Public Domain" -msgid "Publication" -msgstr "Dominio Público" - -#: contentcuration/constants/channel_history.py:11 -#, fuzzy -#| msgid "Description" -msgid "Deletion" -msgstr "Descripción" - -#: contentcuration/constants/channel_history.py:12 -msgid "Deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:8 -msgid "User soft deletion" -msgstr "" - -#: contentcuration/constants/user_history.py:9 -msgid "User soft deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:10 -msgid "User related data hard deletion" -msgstr "" - #: contentcuration/middleware/db_readonly.py:24 msgid "The site is currently in read-only mode. Please try again later." msgstr "" @@ -1007,6 +973,21 @@ msgstr "API endpoint {} no disponible" msgid "No channel matching {} found" msgstr "Ningún canal con {} encontrado" +#, fuzzy +#~| msgid "Created" +#~ msgid "Creation" +#~ msgstr "Creado" + +#, fuzzy +#~| msgid "Public Domain" +#~ msgid "Publication" +#~ msgstr "Dominio Público" + +#, fuzzy +#~| msgid "Description" +#~ msgid "Deletion" +#~ msgstr "Descripción" + #~ msgid "Date/Time Created" #~ msgstr "Fecha/Hora creación" diff --git a/contentcuration/locale/fr_FR/LC_MESSAGES/django.po b/contentcuration/locale/fr_FR/LC_MESSAGES/django.po index a9f3e1bd0a..55afc769e1 100644 --- a/contentcuration/locale/fr_FR/LC_MESSAGES/django.po +++ b/contentcuration/locale/fr_FR/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: kolibri-studio\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-08 23:08+0000\n" +"POT-Creation-Date: 2023-05-10 14:17+0000\n" "PO-Revision-Date: 2022-10-17 20:08\n" "Last-Translator: \n" "Language-Team: French\n" @@ -22,40 +22,6 @@ msgstr "" msgid "Arabic" msgstr "Arabe" -#: contentcuration/constants/channel_history.py:9 -#, fuzzy -#| msgid "Created" -msgid "Creation" -msgstr "Créée" - -#: contentcuration/constants/channel_history.py:10 -#, fuzzy -#| msgid "Public Domain" -msgid "Publication" -msgstr "Domaine public" - -#: contentcuration/constants/channel_history.py:11 -#, fuzzy -#| msgid "Description" -msgid "Deletion" -msgstr "Description" - -#: contentcuration/constants/channel_history.py:12 -msgid "Deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:8 -msgid "User soft deletion" -msgstr "" - -#: contentcuration/constants/user_history.py:9 -msgid "User soft deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:10 -msgid "User related data hard deletion" -msgstr "" - #: contentcuration/middleware/db_readonly.py:24 msgid "The site is currently in read-only mode. Please try again later." msgstr "" @@ -1015,6 +981,21 @@ msgstr "Le point de terminaison {} de l'API n'est pas disponible" msgid "No channel matching {} found" msgstr "Aucune chaîne correspondant à {} trouvée" +#, fuzzy +#~| msgid "Created" +#~ msgid "Creation" +#~ msgstr "Créée" + +#, fuzzy +#~| msgid "Public Domain" +#~ msgid "Publication" +#~ msgstr "Domaine public" + +#, fuzzy +#~| msgid "Description" +#~ msgid "Deletion" +#~ msgstr "Description" + #~ msgid "Date/Time Created" #~ msgstr "Date/heure de création" diff --git a/contentcuration/locale/hi_IN/LC_MESSAGES/django.po b/contentcuration/locale/hi_IN/LC_MESSAGES/django.po index 7c6280af3b..39f47c7199 100644 --- a/contentcuration/locale/hi_IN/LC_MESSAGES/django.po +++ b/contentcuration/locale/hi_IN/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: kolibri-studio\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-08 23:08+0000\n" +"POT-Creation-Date: 2023-05-10 14:17+0000\n" "PO-Revision-Date: 2022-10-17 20:08\n" "Last-Translator: \n" "Language-Team: Hindi\n" @@ -22,34 +22,6 @@ msgstr "" msgid "Arabic" msgstr "" -#: contentcuration/constants/channel_history.py:9 -msgid "Creation" -msgstr "" - -#: contentcuration/constants/channel_history.py:10 -msgid "Publication" -msgstr "" - -#: contentcuration/constants/channel_history.py:11 -msgid "Deletion" -msgstr "" - -#: contentcuration/constants/channel_history.py:12 -msgid "Deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:8 -msgid "User soft deletion" -msgstr "" - -#: contentcuration/constants/user_history.py:9 -msgid "User soft deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:10 -msgid "User related data hard deletion" -msgstr "" - #: contentcuration/middleware/db_readonly.py:24 msgid "The site is currently in read-only mode. Please try again later." msgstr "" diff --git a/contentcuration/locale/pt_BR/LC_MESSAGES/django.po b/contentcuration/locale/pt_BR/LC_MESSAGES/django.po index 7309d68743..a50bc62760 100644 --- a/contentcuration/locale/pt_BR/LC_MESSAGES/django.po +++ b/contentcuration/locale/pt_BR/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: kolibri-studio\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-08 23:08+0000\n" +"POT-Creation-Date: 2023-05-10 14:17+0000\n" "PO-Revision-Date: 2022-10-17 20:08\n" "Last-Translator: \n" "Language-Team: Portuguese, Brazilian\n" @@ -22,40 +22,6 @@ msgstr "" msgid "Arabic" msgstr "Árabe" -#: contentcuration/constants/channel_history.py:9 -#, fuzzy -#| msgid "Created" -msgid "Creation" -msgstr "Criado" - -#: contentcuration/constants/channel_history.py:10 -#, fuzzy -#| msgid "Public Domain" -msgid "Publication" -msgstr "Domínio público" - -#: contentcuration/constants/channel_history.py:11 -#, fuzzy -#| msgid "Description" -msgid "Deletion" -msgstr "Descrição" - -#: contentcuration/constants/channel_history.py:12 -msgid "Deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:8 -msgid "User soft deletion" -msgstr "" - -#: contentcuration/constants/user_history.py:9 -msgid "User soft deletion recovery" -msgstr "" - -#: contentcuration/constants/user_history.py:10 -msgid "User related data hard deletion" -msgstr "" - #: contentcuration/middleware/db_readonly.py:24 msgid "The site is currently in read-only mode. Please try again later." msgstr "" @@ -988,6 +954,21 @@ msgstr "Ponto de extremidade da API {} está indisponível" msgid "No channel matching {} found" msgstr "Nenhum canal correspondente a {} encontrado" +#, fuzzy +#~| msgid "Created" +#~ msgid "Creation" +#~ msgstr "Criado" + +#, fuzzy +#~| msgid "Public Domain" +#~ msgid "Publication" +#~ msgstr "Domínio público" + +#, fuzzy +#~| msgid "Description" +#~ msgid "Deletion" +#~ msgstr "Descrição" + #~ msgid "Date/Time Created" #~ msgstr "Data/Horário em que foi criado"