update german translation
This commit is contained in:
parent
9a84aa5575
commit
b23a2d4fc9
3 changed files with 463 additions and 273 deletions
|
@ -56,20 +56,14 @@
|
||||||
manage.py clearmapcache
|
manage.py clearmapcache
|
||||||
{% elif update.type == 'control_panel' %}
|
{% elif update.type == 'control_panel' %}
|
||||||
{% url 'control.users.detail' user=update.user.pk as user_url %}
|
{% url 'control.users.detail' user=update.user.pk as user_url %}
|
||||||
{% blocktrans with user_name=update.user.username %}
|
{% blocktrans with user_name=update.user.username %}via control panel by <a href="{{ user_url }}">{{ user_name }}</a>{% endblocktrans %}
|
||||||
via control panel by <a href="{{ user_url }}">{{ user_name }}</a>
|
|
||||||
{% endblocktrans %}
|
|
||||||
{% elif update.type == 'direct_edit' %}
|
{% elif update.type == 'direct_edit' %}
|
||||||
{% url 'control.users.detail' user=update.user.pk as user_url %}
|
{% url 'control.users.detail' user=update.user.pk as user_url %}
|
||||||
{% blocktrans with user_name=update.user.username %}
|
{% blocktrans with user_name=update.user.username %}direct edit by <a href="{{ user_url }}">{{ user_name }}</a>{% endblocktrans %}
|
||||||
direct edit by <a href="{{ user_url }}">{{ user_name }}</a>
|
|
||||||
{% endblocktrans %}
|
|
||||||
{% elif update.type == 'changeset' %}
|
{% elif update.type == 'changeset' %}
|
||||||
{% url 'control.users.detail' user=update.user.pk as user_url %}
|
{% url 'control.users.detail' user=update.user.pk as user_url %}
|
||||||
{% url 'control.users.detail' user=update.changeset.author.pk as author_url %}
|
{% url 'control.users.detail' user=update.changeset.author.pk as author_url %}
|
||||||
{% blocktrans with changeset_id=update.changeset.pk user_name=update.user.username author_name=update.changeset.author.username %}
|
{% blocktrans with changeset_id=update.changeset.pk user_name=update.user.username author_name=update.changeset.author.username %}Changeset #{{ changeset_id }} by <a href="{{ author_url }}">{{ author_name }}</a> applied by <a href="{{ user_url }}">{{ user_name }}</a>{% endblocktrans %}
|
||||||
Changeset #{{ changeset_id }} by <a href="{{ author_url }}">{{ author_name }}</a> applied by <a href="{{ user_url }}">{{ user_name }}</a>
|
|
||||||
{% endblocktrans %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ update.type }}
|
{{ update.type }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -22,7 +22,7 @@ class MapUpdate(models.Model):
|
||||||
('changeset', _('changeset applied')),
|
('changeset', _('changeset applied')),
|
||||||
('direct_edit', _('direct edit')),
|
('direct_edit', _('direct edit')),
|
||||||
('control_panel', _('via control panel')),
|
('control_panel', _('via control panel')),
|
||||||
('management', _('manage.py clearmapcache')),
|
('management', 'manage.py clearmapcache'),
|
||||||
)
|
)
|
||||||
datetime = models.DateTimeField(auto_now_add=True, db_index=True)
|
datetime = models.DateTimeField(auto_now_add=True, db_index=True)
|
||||||
user = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, on_delete=models.PROTECT)
|
user = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, on_delete=models.PROTECT)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue