diff --git a/CHANGES.rst b/CHANGES.rst index c19a7ff8b..d5af46459 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,7 @@ Unreleased - Fixed ``SimpleHistoryAdmin`` not properly integrating with custom user models (gh-1177) - Support Indonesian translation (gh-1198) - Support Urdu translation (gh-1199) +- Support Norwegian Bokmål translation (gh-1210) - Dropped support for Python 3.7, which reached end-of-life on 2023-06-27 (gh-1202) - Dropped support for Django 4.0, which reached end-of-life on 2023-04-01 (gh-1202) - Added support for Django 4.2 (gh-1202) diff --git a/simple_history/locale/ar/LC_MESSAGES/django.mo b/simple_history/locale/ar/LC_MESSAGES/django.mo index 0ac474be8..6f0c8c1d8 100644 Binary files a/simple_history/locale/ar/LC_MESSAGES/django.mo and b/simple_history/locale/ar/LC_MESSAGES/django.mo differ diff --git a/simple_history/locale/ar/LC_MESSAGES/django.po b/simple_history/locale/ar/LC_MESSAGES/django.po index 5b9bcb497..a350a0b96 100644 --- a/simple_history/locale/ar/LC_MESSAGES/django.po +++ b/simple_history/locale/ar/LC_MESSAGES/django.po @@ -9,14 +9,14 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-11-08 11:30+0300\n" "PO-Revision-Date: 2022-11-08 13:54+0300\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 2.4.2\n" #: simple_history/admin.py:102 @@ -114,8 +114,8 @@ msgstr "استرجاع %(verbose_name)s" #: simple_history/templates/simple_history/object_history_form.html:25 msgid "" -"Press the 'Revert' button below to revert to this version of the object. " -msgstr "اضغط على زر 'استرجاع' ادناه للاسترجاع لهذه النسخة من العنصر. " +"Press the 'Revert' button below to revert to this version of the object." +msgstr "اضغط على زر 'استرجاع' ادناه للاسترجاع لهذه النسخة من العنصر." #: simple_history/templates/simple_history/object_history_form.html:25 msgid "Press the 'Change History' button below to edit the history." diff --git a/simple_history/locale/cs_CZ/LC_MESSAGES/django.mo b/simple_history/locale/cs_CZ/LC_MESSAGES/django.mo index 2f6a5fb28..79ee9a4d3 100644 Binary files a/simple_history/locale/cs_CZ/LC_MESSAGES/django.mo and b/simple_history/locale/cs_CZ/LC_MESSAGES/django.mo differ diff --git a/simple_history/locale/cs_CZ/LC_MESSAGES/django.po b/simple_history/locale/cs_CZ/LC_MESSAGES/django.po index c67a760e9..e8fa49b3d 100644 --- a/simple_history/locale/cs_CZ/LC_MESSAGES/django.po +++ b/simple_history/locale/cs_CZ/LC_MESSAGES/django.po @@ -87,8 +87,8 @@ msgstr "Žádné" msgid "" "Choose a date from the list below to revert to a previous version of this " "object." -msgstr "Vyberte datum ze seznamu níže a vraťte se k předchozí verzi tohoto " -"objektu." +msgstr "" +"Vyberte datum ze seznamu níže a vraťte se k předchozí verzi tohoto objektu." #: simple_history/templates/simple_history/object_history.html:16 msgid "This object doesn't have a change history." @@ -114,7 +114,7 @@ msgstr "Vrátit %(verbose_name)s" #: simple_history/templates/simple_history/object_history_form.html:25 msgid "" -"Press the 'Revert' button below to revert to this version of the object. " +"Press the 'Revert' button below to revert to this version of the object." msgstr "Stisknutím tlačítka 'Vrátit změny' se vrátíte k této verzi objektu." #: simple_history/templates/simple_history/object_history_form.html:25 diff --git a/simple_history/locale/fr/LC_MESSAGES/django.mo b/simple_history/locale/fr/LC_MESSAGES/django.mo index 6c64cb387..7808b9044 100644 Binary files a/simple_history/locale/fr/LC_MESSAGES/django.mo and b/simple_history/locale/fr/LC_MESSAGES/django.mo differ diff --git a/simple_history/locale/fr/LC_MESSAGES/django.po b/simple_history/locale/fr/LC_MESSAGES/django.po index f21b319eb..fce19dba1 100644 --- a/simple_history/locale/fr/LC_MESSAGES/django.po +++ b/simple_history/locale/fr/LC_MESSAGES/django.po @@ -115,10 +115,10 @@ msgstr "Rétablir %(verbose_name)s" #: .\simple_history\templates\simple_history\object_history_form.html:25 msgid "" -"Press the 'Revert' button below to revert to this version of the object. " +"Press the 'Revert' button below to revert to this version of the object." msgstr "" "Cliquez sur le bouton 'Rétablir' ci-dessous pour revenir à cette version de " -"l' objet. " +"l' objet." #: .\simple_history\templates\simple_history\object_history_form.html:25 msgid "Press the 'Change History' button below to edit the history." diff --git a/simple_history/locale/id/LC_MESSAGES/django.mo b/simple_history/locale/id/LC_MESSAGES/django.mo index c8e493b76..160d9a9c1 100644 Binary files a/simple_history/locale/id/LC_MESSAGES/django.mo and b/simple_history/locale/id/LC_MESSAGES/django.mo differ diff --git a/simple_history/locale/id/LC_MESSAGES/django.po b/simple_history/locale/id/LC_MESSAGES/django.po index 6a83c371e..d26c144dd 100644 --- a/simple_history/locale/id/LC_MESSAGES/django.po +++ b/simple_history/locale/id/LC_MESSAGES/django.po @@ -114,7 +114,7 @@ msgstr "Kembalikan %(verbose_name)s" #: .\simple_history\templates\simple_history\object_history_form.html:25 msgid "" -"Press the 'Revert' button below to revert to this version of the object. " +"Press the 'Revert' button below to revert to this version of the object." msgstr "" "Tekan tombol 'Kembalikan' di bawah ini untuk kembali ke versi objek ini." diff --git a/simple_history/locale/nb/LC_MESSAGES/django.mo b/simple_history/locale/nb/LC_MESSAGES/django.mo new file mode 100644 index 000000000..3f16ba9fb Binary files /dev/null and b/simple_history/locale/nb/LC_MESSAGES/django.mo differ diff --git a/simple_history/locale/nb/LC_MESSAGES/django.po b/simple_history/locale/nb/LC_MESSAGES/django.po new file mode 100644 index 000000000..da9eed1fa --- /dev/null +++ b/simple_history/locale/nb/LC_MESSAGES/django.po @@ -0,0 +1,138 @@ +# Norwegian Bokmål translation for django-simple-history +# Copyright (C) 2023 +# This file is distributed under the same license as the django-simple-history package. +# Anders , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: django-simple-history 3.3.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-07-09 13:55+0200\n" +"PO-Revision-Date: 2023-07-09 12:31+0200\n" +"Last-Translator: Anders \n" +"Language-Team: Norwegian Bokmål \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +# Dette er en tittel, ikke en handlingsbeskrivelse, så f.eks. +# "Se/Vis (endrings)historikk" hadde ikke fungert så bra +#: simple_history/admin.py:102 +#, python-format +msgid "View history: %s" +msgstr "Endringshistorikk: %s" + +#: simple_history/admin.py:104 +#, python-format +msgid "Change history: %s" +msgstr "Endringshistorikk: %s" + +#: simple_history/admin.py:110 +#, python-format +msgid "The %(name)s \"%(obj)s\" was changed successfully." +msgstr "%(name)s «%(obj)s» ble endret." + +#: simple_history/admin.py:116 +msgid "You may edit it again below" +msgstr "Du kan redigere videre nedenfor" + +#: simple_history/admin.py:217 +#, python-format +msgid "View %s" +msgstr "Se %s" + +#: simple_history/admin.py:219 +#, python-format +msgid "Revert %s" +msgstr "Tilbakestill %s" + +#: simple_history/models.py:552 +msgid "Created" +msgstr "Opprettet" + +#: simple_history/models.py:552 +msgid "Changed" +msgstr "Endret" + +#: simple_history/models.py:552 +msgid "Deleted" +msgstr "Slettet" + +#: simple_history/templates/simple_history/_object_history_list.html:9 +msgid "Object" +msgstr "Objekt" + +#: simple_history/templates/simple_history/_object_history_list.html:13 +msgid "Date/time" +msgstr "Dato/tid" + +#: simple_history/templates/simple_history/_object_history_list.html:14 +msgid "Comment" +msgstr "Kommentar" + +#: simple_history/templates/simple_history/_object_history_list.html:15 +msgid "Changed by" +msgstr "Endret av" + +#: simple_history/templates/simple_history/_object_history_list.html:16 +msgid "Change reason" +msgstr "Endringsårsak" + +#: simple_history/templates/simple_history/_object_history_list.html:37 +msgid "None" +msgstr "Ingen" + +#: simple_history/templates/simple_history/object_history.html:11 +msgid "" +"Choose a date from the list below to revert to a previous version of this " +"object." +msgstr "" +"Velg en dato fra listen nedenfor for å tilbakestille til en tidligere " +"versjon av dette objektet." + +#: simple_history/templates/simple_history/object_history.html:16 +msgid "This object doesn't have a change history." +msgstr "Dette objektet har ingen endringshistorikk." + +#: simple_history/templates/simple_history/object_history_form.html:7 +msgid "Home" +msgstr "Hjem" + +#: simple_history/templates/simple_history/object_history_form.html:11 +msgid "History" +msgstr "Historikk" + +#: simple_history/templates/simple_history/object_history_form.html:12 +#, python-format +msgid "View %(verbose_name)s" +msgstr "Se %(verbose_name)s" + +#: simple_history/templates/simple_history/object_history_form.html:12 +#, python-format +msgid "Revert %(verbose_name)s" +msgstr "Tilbakestill %(verbose_name)s" + +#: simple_history/templates/simple_history/object_history_form.html:25 +msgid "" +"Press the 'Revert' button below to revert to this version of the object." +msgstr "" +"Trykk på 'Tilbakestill'-knappen under for å tilbakestille til denne " +"versjonen av objektet." + +#: simple_history/templates/simple_history/object_history_form.html:25 +msgid "Press the 'Change History' button below to edit the history." +msgstr "Trykk på 'Endre historikk'-knappen under for å endre historikken." + +#: simple_history/templates/simple_history/submit_line.html:4 +msgid "Revert" +msgstr "Tilbakestill" + +#: simple_history/templates/simple_history/submit_line.html:6 +msgid "Change History" +msgstr "Endre historikk" + +#: simple_history/templates/simple_history/submit_line.html:7 +msgid "Close" +msgstr "Lukk" diff --git a/simple_history/locale/ur/LC_MESSAGES/django.mo b/simple_history/locale/ur/LC_MESSAGES/django.mo index 923411e85..679969d2e 100644 Binary files a/simple_history/locale/ur/LC_MESSAGES/django.mo and b/simple_history/locale/ur/LC_MESSAGES/django.mo differ diff --git a/simple_history/locale/ur/LC_MESSAGES/django.po b/simple_history/locale/ur/LC_MESSAGES/django.po index 2297cd39b..ac51c545e 100644 --- a/simple_history/locale/ur/LC_MESSAGES/django.po +++ b/simple_history/locale/ur/LC_MESSAGES/django.po @@ -113,7 +113,7 @@ msgstr "تبدیلی واپس کریں %(verbose_name)s" #: .\simple_history\templates\simple_history\object_history_form.html:25 msgid "" -"Press the 'Revert' button below to revert to this version of the object. " +"Press the 'Revert' button below to revert to this version of the object." msgstr "" "آبجیکٹ کے اس ورژن پر واپس جانے کے لیے نیچے 'تبدیلی واپس کریں' کے بٹن کو دبائیں." diff --git a/simple_history/templates/simple_history/object_history_form.html b/simple_history/templates/simple_history/object_history_form.html index e7d2f3d94..e6fca0e2a 100644 --- a/simple_history/templates/simple_history/object_history_form.html +++ b/simple_history/templates/simple_history/object_history_form.html @@ -22,5 +22,5 @@ {% endblock %} {% block form_top %} -

{% if not revert_disabled %}{% blocktrans %}Press the 'Revert' button below to revert to this version of the object. {% endblocktrans %}{% endif %}{% if change_history %}{% blocktrans %}Press the 'Change History' button below to edit the history.{% endblocktrans %}{% endif %}

+

{% if not revert_disabled %}{% blocktrans %}Press the 'Revert' button below to revert to this version of the object.{% endblocktrans %}{% endif %}{% if change_history %}{% blocktrans %}Press the 'Change History' button below to edit the history.{% endblocktrans %}{% endif %}

{% endblock %}