Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
d9b997b4
Commit
d9b997b4
authored
Mar 17, 2013
by
TomLottermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial translation done (without the plugins)
parent
a6182dda
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
wiki/locale/de/LC_MESSAGES/django.po
+0
-0
wiki/templates/wiki/includes/anonymous_blocked.html
+1
-1
wiki/views/article.py
+2
-2
No files found.
wiki/locale/de/LC_MESSAGES/django.po
deleted
100644 → 0
View file @
a6182dda
This diff is collapsed.
Click to expand it.
wiki/templates/wiki/includes/anonymous_blocked.html
View file @
d9b997b4
...
...
@@ -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 o
g
sign up to use this function." %}
{% trans "You need to log in o
r
sign up to use this function." %}
{% endif %}
</em>
wiki/views/article.py
View file @
d9b997b4
...
...
@@ -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 R
evision #
%(r2)
d'
)
%
new_revision
.
automatic_log
=
(
_
(
u'Merge between
revision #
%(r1)
d and r
evision #
%(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 R
evision #
%(r2)
d'
)
%
messages
.
success
(
request
,
_
(
u'A new revision was created: Merge between
revision #
%(r1)
d and r
evision #
%(r2)
d'
)
%
{
'r1'
:
revision
.
revision_number
,
'r2'
:
old_revision
.
revision_number
})
if
urlpath
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment