fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e927d21
)
confirm on remove_to_archive
author
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 26 Oct 2011 10:57:38 +0000
(12:57 +0200)
committer
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 26 Oct 2011 10:57:38 +0000
(12:57 +0200)
apps/archive/locale/pl/LC_MESSAGES/django.mo
patch
|
blob
|
history
apps/archive/locale/pl/LC_MESSAGES/django.po
patch
|
blob
|
history
apps/archive/templates/archive/file_managed.html
patch
|
blob
|
history
diff --git
a/apps/archive/locale/pl/LC_MESSAGES/django.mo
b/apps/archive/locale/pl/LC_MESSAGES/django.mo
index
aacb099
..
b2b15bd
100644
(file)
Binary files a/apps/archive/locale/pl/LC_MESSAGES/django.mo and b/apps/archive/locale/pl/LC_MESSAGES/django.mo differ
diff --git
a/apps/archive/locale/pl/LC_MESSAGES/django.po
b/apps/archive/locale/pl/LC_MESSAGES/django.po
index
e47b150
..
1d56bfe
100644
(file)
--- a/
apps/archive/locale/pl/LC_MESSAGES/django.po
+++ b/
apps/archive/locale/pl/LC_MESSAGES/django.po
@@
-7,8
+7,8
@@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-10-26 12:
47
+0200\n"
-"PO-Revision-Date: 2011-10-26 12:
4
7+0100\n"
+"POT-Creation-Date: 2011-10-26 12:
56
+0200\n"
+"PO-Revision-Date: 2011-10-26 12:
5
7+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@
-140,7
+140,11
@@
msgstr "Uaktualnij tagi"
msgid "Commit"
msgstr "Zatwierdź"
msgid "Commit"
msgstr "Zatwierdź"
-#: templates/archive/file_managed.html:103
+#: templates/archive/file_managed.html:102
+msgid "Are you sure you want to move this audiobook to archive?"
+msgstr "Czy na pewno chcesz przenieść ten plik to archiwum?"
+
+#: templates/archive/file_managed.html:104
msgid "Remove to archive"
msgstr "Usuń do archiwum"
msgid "Remove to archive"
msgstr "Usuń do archiwum"
diff --git
a/apps/archive/templates/archive/file_managed.html
b/apps/archive/templates/archive/file_managed.html
index
d43c97e
..
db8e4f6
100755
(executable)
--- a/
apps/archive/templates/archive/file_managed.html
+++ b/
apps/archive/templates/archive/file_managed.html
@@
-98,7
+98,8
@@
Last modified: {{ audiobook.modified }}
-<form method="post" action="{% url remove_to_archive audiobook.id %}">
+<form method="post" action="{% url remove_to_archive audiobook.id %}"
+ onsubmit='return confirm("{% trans "Are you sure you want to move this audiobook to archive?" %}")'>
{% csrf_token %}
<input type="submit" value="{% trans "Remove to archive" %}" />
</form>
{% csrf_token %}
<input type="submit" value="{% trans "Remove to archive" %}" />
</form>