Skip to content

Commit 53421d9

Browse files
funkyfutureRoss Mechanic
authored andcommitted
Adds german translations (#484)
* CONTRIBUTING.rst: Adds a quick guide how to add translations * Adds translations for the german language
1 parent 7c09da2 commit 53421d9

File tree

5 files changed

+136
-1
lines changed

5 files changed

+136
-1
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Authors
2020
- David Hite
2121
- Eduardo Cuducos
2222
- Florian Eßer
23+
- Frank Sachsenheim
2324
- George Vilches
2425
- Grzegorz Bialy
2526
- Hamish Downer

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Unreleased
88
- Modify `pre_create_historircal_record` to pass `history_instance` for ease of customization (gh-421)
99
- Raise warning if HistoricalRecords(inherit=False) is in an abstract model (gh-341)
1010
- Ensure custom arguments for fields are included in historical models' fields (gh-431)
11+
- Add german translations
1112

1213
2.5.1 (2018-10-19)
1314
------------------

CONTRIBUTING.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ To run tox and generate an HTML code coverage report (available in the
6060

6161
make test
6262

63-
To quickly run the tests against a single version of Python and Django (note: you must ``pip install django`` beforehand)::
63+
To quickly run the tests against a single version of Python and Django (note: you must
64+
``pip install django`` beforehand)::
6465

6566
python setup.py test
6667

@@ -74,3 +75,18 @@ Once it is installed you can make sure the code is properly formatted by running
7475

7576
make format
7677

78+
Translations
79+
------------
80+
81+
In order to add translations, refer to Django's `translation docs`_ and follow these
82+
steps:
83+
84+
1. Ensure that Django is installed
85+
2. Invoke ``django-admin makemessages -l <LOCALE NAME> in the repository's root
86+
directory.
87+
3. Add translations to the created
88+
``simple_history/locale/<LOCALE NAME>/LC_MESSAGES/django.po`` file.
89+
4. Compile these with ``django-admin compilemessages``.
90+
5. Commit and publish your translations as described above.
91+
92+
.. _translation docs: https://docs.djangoproject.com/en/dev/topics/i18n/translation/#localization-how-to-create-language-files
1.91 KB
Binary file not shown.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: \n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2018-11-21 15:58+0100\n"
12+
"PO-Revision-Date: 2018-11-21 16:31+0100\n"
13+
"Last-Translator: \n"
14+
"Language-Team: \n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20+
#: simple_history/admin.py:78
21+
#, python-format
22+
msgid "Change history: %s"
23+
msgstr "Änderungshistorie: %s"
24+
25+
#: simple_history/admin.py:97
26+
#, python-format
27+
msgid "The %(name)s \"%(obj)s\" was changed successfully."
28+
msgstr "%(name)s \"%(obj)s\" wurde erfolgreich geändert."
29+
30+
#: simple_history/admin.py:103
31+
msgid "You may edit it again below"
32+
msgstr "Sie können es unten wieder bearbeiten"
33+
34+
#: simple_history/admin.py:162
35+
#, python-format
36+
msgid "Revert %s"
37+
msgstr "%s wiederherstellen"
38+
39+
#: simple_history/models.py:314
40+
msgid "Created"
41+
msgstr "Angelegt"
42+
43+
#: simple_history/models.py:314
44+
msgid "Changed"
45+
msgstr "Geändert"
46+
47+
#: simple_history/models.py:314
48+
msgid "Deleted"
49+
msgstr "Gelöscht"
50+
51+
#: simple_history/templates/simple_history/_object_history_list.html:9
52+
msgid "Object"
53+
msgstr "Objekt"
54+
55+
#: simple_history/templates/simple_history/_object_history_list.html:13
56+
msgid "Date/time"
57+
msgstr "Datum/Uhrzeit"
58+
59+
#: simple_history/templates/simple_history/_object_history_list.html:14
60+
msgid "Comment"
61+
msgstr "Kommentar"
62+
63+
#: simple_history/templates/simple_history/_object_history_list.html:15
64+
msgid "Changed by"
65+
msgstr "Geändert von"
66+
67+
#: simple_history/templates/simple_history/_object_history_list.html:16
68+
msgid "Change reason"
69+
msgstr "Änderungsgrund"
70+
71+
#: simple_history/templates/simple_history/_object_history_list.html:37
72+
msgid "None"
73+
msgstr "Keine/r"
74+
75+
#: simple_history/templates/simple_history/object_history.html:11
76+
msgid ""
77+
"Choose a date from the list below to revert to a previous version of this "
78+
"object."
79+
msgstr ""
80+
"Wählen Sie eine Version des Objektes aus der untenstehenden Liste, um diese "
81+
"wiederherzustellen."
82+
83+
#: simple_history/templates/simple_history/object_history.html:17
84+
msgid "This object doesn't have a change history."
85+
msgstr "Dieses Objekt hat keine Änderungshistorie."
86+
87+
#: simple_history/templates/simple_history/object_history_form.html:7
88+
msgid "Home"
89+
msgstr "Start"
90+
91+
#: simple_history/templates/simple_history/object_history_form.html:11
92+
msgid "History"
93+
msgstr "Änderungshistorie"
94+
95+
#: simple_history/templates/simple_history/object_history_form.html:12
96+
#, python-format
97+
msgid "Revert %(verbose_name)s"
98+
msgstr "%(verbose_name)s wiederherstellen"
99+
100+
#: simple_history/templates/simple_history/object_history_form.html:21
101+
msgid ""
102+
"Press the 'Revert' button below to revert to this version of the object."
103+
msgstr ""
104+
"Klicken Sie unten auf 'Wiederherstellen', um diese Version des Objektes "
105+
"wiederherzustellen."
106+
107+
#: simple_history/templates/simple_history/object_history_form.html:21
108+
msgid "Or press the 'Change History' button to edit the history."
109+
msgstr "Oder wählen Sie 'Historie ändern', um diese zu bearbeiten."
110+
111+
#: simple_history/templates/simple_history/submit_line.html:3
112+
msgid "Revert"
113+
msgstr "Wiederherstellen"
114+
115+
#: simple_history/templates/simple_history/submit_line.html:4
116+
msgid "Change History"
117+
msgstr "Historie ändern"

0 commit comments

Comments
 (0)