Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Norwegian bokmål translations + a little translation cleanup #1210

Merged
merged 3 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Binary file modified simple_history/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions simple_history/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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."
Expand Down
Binary file modified simple_history/locale/cs_CZ/LC_MESSAGES/django.mo
Binary file not shown.
6 changes: 3 additions & 3 deletions simple_history/locale/cs_CZ/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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
Expand Down
Binary file modified simple_history/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions simple_history/locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
Binary file modified simple_history/locale/id/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion simple_history/locale/id/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
Binary file added simple_history/locale/nb/LC_MESSAGES/django.mo
Binary file not shown.
138 changes: 138 additions & 0 deletions simple_history/locale/nb/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -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 <ddabble@github.com>, 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 <ddabble@github.com>\n"
"Language-Team: Norwegian Bokmål <placeholder@example.com>\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"
Binary file modified simple_history/locale/ur/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion simple_history/locale/ur/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
"آبجیکٹ کے اس ورژن پر واپس جانے کے لیے نیچے 'تبدیلی واپس کریں' کے بٹن کو دبائیں."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
{% endblock %}

{% block form_top %}
<p>{% 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 %}</p>
<p>{% 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 %}</p>
{% endblock %}