Commit d9b997b4 by TomLottermann

initial translation done (without the plugins)

parent a6182dda
......@@ -8,6 +8,6 @@
You need to <a href="{{ login_url }}">log in</a> or <a href="{{ signup_url }}">sign up</a> to use this function.
{% endblocktrans %}
{% else %}
{% trans "You need to log in og sign up to use this function." %}
{% trans "You need to log in or sign up to use this function." %}
{% endif %}
</em>
......@@ -672,7 +672,7 @@ def merge(request, article, revision_id, urlpath=None, template_file="wiki/previ
new_revision.locked = False
new_revision.title=article.current_revision.title
new_revision.content=content
new_revision.automatic_log = (_(u'Merge between Revision #%(r1)d and Revision #%(r2)d') %
new_revision.automatic_log = (_(u'Merge between revision #%(r1)d and revision #%(r2)d') %
{'r1': revision.revision_number,
'r2': old_revision.revision_number})
article.add_revision(new_revision, save=True)
......@@ -680,7 +680,7 @@ def merge(request, article, revision_id, urlpath=None, template_file="wiki/previ
old_revision.simpleplugin_set.all().update(article_revision=new_revision)
revision.simpleplugin_set.all().update(article_revision=new_revision)
messages.success(request, _(u'A new revision was created: Merge between Revision #%(r1)d and Revision #%(r2)d') %
messages.success(request, _(u'A new revision was created: Merge between revision #%(r1)d and revision #%(r2)d') %
{'r1': revision.revision_number,
'r2': old_revision.revision_number})
if urlpath:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment