diff --git a/nau_openedx_extensions/locale/en/LC_MESSAGES/django.mo b/nau_openedx_extensions/locale/en/LC_MESSAGES/django.mo index b807958..dbae0a0 100644 Binary files a/nau_openedx_extensions/locale/en/LC_MESSAGES/django.mo and b/nau_openedx_extensions/locale/en/LC_MESSAGES/django.mo differ diff --git a/nau_openedx_extensions/locale/en/LC_MESSAGES/django.po b/nau_openedx_extensions/locale/en/LC_MESSAGES/django.po index 00cd0a5..4c4fe18 100644 --- a/nau_openedx_extensions/locale/en/LC_MESSAGES/django.po +++ b/nau_openedx_extensions/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: equipa@nau.edu.pt\n" -"POT-Creation-Date: 2024-04-12 17:27+0100\n" +"POT-Creation-Date: 2024-04-24 12:08+0100\n" "PO-Revision-Date: 2021-02-15 15:56+0000\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -164,6 +164,10 @@ msgstr "" msgid "Send Message" msgstr "" +#: nau_openedx_extensions/utils/admin.py:63 +msgid "Export Selected to CSV" +msgstr "" + #~ msgid "I have read and understood the Privacy Policy" #~ msgstr "" #~ "I authorize data to be processed " diff --git a/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.mo b/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.mo index 7463b51..3d7b808 100644 Binary files a/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.mo and b/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.mo differ diff --git a/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.po b/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.po index 5f35afa..ba84af7 100644 --- a/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.po +++ b/nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: equipa@nau.edu.pt\n" -"POT-Creation-Date: 2024-04-12 17:27+0100\n" +"POT-Creation-Date: 2024-04-24 12:08+0100\n" "PO-Revision-Date: 2021-02-15 15:56+0000\n" "Last-Translator: Ivo Branco \n" "Language: pt_PT\n" @@ -174,3 +174,7 @@ msgstr "" msgid "Send Message" msgstr "" +#: nau_openedx_extensions/utils/admin.py:63 +msgid "Export Selected to CSV" +msgstr "Exportar seleccionados para CSV" + diff --git a/nau_openedx_extensions/utils/admin.py b/nau_openedx_extensions/utils/admin.py index 5b07e34..4457fee 100644 --- a/nau_openedx_extensions/utils/admin.py +++ b/nau_openedx_extensions/utils/admin.py @@ -6,6 +6,7 @@ from common.djangoapps.util.query import use_read_replica_if_available # lint-amnesty, pylint: disable=import-error from django.http import HttpResponse +from django.utils.translation import gettext_lazy as _ class ExportCsvMixin: @@ -59,4 +60,4 @@ def transform_field(csv_field): return response - export_as_csv.short_description = "Export Selected" + export_as_csv.short_description = _("Export Selected to CSV")