mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-26 15:44:01 +00:00
Merge branch 'master' into tests
Conflicts: wagtail/wagtailadmin/tests.py
This commit is contained in:
commit
f33adb8e2c
171 changed files with 7047 additions and 502 deletions
36
.tx/config
36
.tx/config
|
|
@ -1,6 +1,42 @@
|
|||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[wagtail.wagtailadmin]
|
||||
file_filter = wagtail/wagtailadmin/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtailadmin/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailcore]
|
||||
file_filter = wagtail/wagtailcore/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtailcore/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtaildocs]
|
||||
file_filter = wagtail/wagtaildocs/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtaildocs/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailimages]
|
||||
file_filter = wagtail/wagtailimages/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtailimages/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailembeds]
|
||||
file_filter = wagtail/wagtailembeds/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtailembeds/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailredirects]
|
||||
file_filter = wagtail/wagtailredirects/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtailredirects/locale/en/LC_MESSAGES/django.po
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
[wagtail.wagtailsearch]
|
||||
file_filter = wagtail/wagtailsearch/locale/<lang>/LC_MESSAGES/django.po
|
||||
source_file = wagtail/wagtailsearch/locale/en/LC_MESSAGES/django.po
|
||||
|
|
|
|||
|
|
@ -17,6 +17,15 @@ Coding guidelines
|
|||
* PEP8. We ask that all Python contributions adhere to the `PEP8 <http://www.python.org/dev/peps/pep-0008/>`_ style guide, apart from the restriction on line length (E501). The `pep8 tool <http://pep8.readthedocs.org/en/latest/>`_ makes it easy to check your code, e.g. ``pep8 --ignore=E501 your_file.py``.
|
||||
* Tests. Wagtail has a suite of tests, which we are committed to improving and expanding. We run continuous integration at `travis-ci.org/torchbox/wagtail <https://travis-ci.org/torchbox/wagtail>`_ to ensure that no commits or pull requests introduce test failures. If your contributions add functionality to Wagtail, please include the additional tests to cover it; if your contributions alter existing functionality, please update the relevant tests accordingly.
|
||||
|
||||
Translations
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Wagtail has internationalisation support so if you are fluent in a non-English language you can contribute by localising the interface.
|
||||
|
||||
Our preferred way to submit or contribute to a language translation is via `Transifex <https://www.transifex.com/projects/p/wagtail/>`_.
|
||||
|
||||
If you do not want to use Transifex we also welcome pull requests of ``django.po`` files for any of the Wagtail modules.
|
||||
|
||||
Other contributions
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ run the following commands::
|
|||
createdb -Upostgres wagtaildemo
|
||||
./manage.py syncdb
|
||||
./manage.py migrate
|
||||
./manage.py createsuperuser
|
||||
./manage.py runserver
|
||||
|
||||
SQLite support
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ from django.contrib.contenttypes.models import ContentType
|
|||
from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured, ValidationError
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.conf import settings
|
||||
from django.utils.translation import ugettext as _, ugettext_lazy as __
|
||||
|
||||
from wagtail.wagtailcore.models import Page
|
||||
from wagtail.wagtailcore.util import camelcase_to_underscore
|
||||
|
|
@ -76,7 +77,7 @@ class FriendlyTimeField(forms.CharField):
|
|||
|
||||
return datetime.time(hour=hour, minute=minute)
|
||||
else:
|
||||
raise ValidationError("Please type a valid time")
|
||||
raise ValidationError(_("Please type a valid time"))
|
||||
|
||||
|
||||
class LocalizedDateInput(forms.DateInput):
|
||||
|
|
@ -125,11 +126,11 @@ class LocalizedTimeField(forms.CharField):
|
|||
else:
|
||||
minute = 0
|
||||
if hour>=24 or hour < 0 or minute >=60 or minute < 0:
|
||||
raise ValidationError("Please type a valid time")
|
||||
raise ValidationError(_("Please type a valid time"))
|
||||
|
||||
return datetime.time(hour=hour, minute=minute)
|
||||
else:
|
||||
raise ValidationError("Please type a valid time")
|
||||
raise ValidationError(_("Please type a valid time") )
|
||||
|
||||
|
||||
if hasattr(settings, 'USE_L10N') and settings.USE_L10N==True:
|
||||
|
|
@ -719,5 +720,5 @@ Page.promote_panels = [
|
|||
FieldPanel('seo_title'),
|
||||
FieldPanel('show_in_menus'),
|
||||
FieldPanel('search_description'),
|
||||
], 'Common page configuration'),
|
||||
], __('Common page configuration')),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
from django.utils.translation import ugettext, ugettext_lazy as _
|
||||
from django import forms
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.contrib.auth.forms import AuthenticationForm, PasswordResetForm
|
||||
|
||||
from django.utils.translation import ugettext as _, ugettext_lazy as __
|
||||
|
||||
class SearchForm(forms.Form):
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
@ -10,7 +9,7 @@ class SearchForm(forms.Form):
|
|||
super(SearchForm, self).__init__(*args, **kwargs)
|
||||
self.fields['q'].widget.attrs = {'placeholder': 'Search ' + placeholder_suffix}
|
||||
|
||||
q = forms.CharField(label="Search term", widget=forms.TextInput())
|
||||
q = forms.CharField(label=_("Search term"), widget=forms.TextInput())
|
||||
|
||||
|
||||
class ExternalLinkChooserForm(forms.Form):
|
||||
|
|
@ -34,10 +33,10 @@ class EmailLinkChooserWithLinkTextForm(forms.Form):
|
|||
class LoginForm(AuthenticationForm):
|
||||
username = forms.CharField(
|
||||
max_length=254,
|
||||
widget=forms.TextInput(attrs={'placeholder': "Enter your username"}),
|
||||
widget=forms.TextInput(attrs={'placeholder': __("Enter your username")}),
|
||||
)
|
||||
password = forms.CharField(
|
||||
widget=forms.PasswordInput(attrs={'placeholder': "Enter password"}),
|
||||
widget=forms.PasswordInput(attrs={'placeholder': __("Enter password")}),
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -51,7 +50,7 @@ class PasswordResetForm(PasswordResetForm):
|
|||
UserModel = get_user_model()
|
||||
email = cleaned_data.get('email')
|
||||
if not email:
|
||||
raise forms.ValidationError("Please fill your email address.")
|
||||
raise forms.ValidationError(_("Please fill your email address."))
|
||||
active_users = UserModel._default_manager.filter(email__iexact=email, is_active=True)
|
||||
|
||||
if active_users.exists():
|
||||
|
|
@ -64,9 +63,9 @@ class PasswordResetForm(PasswordResetForm):
|
|||
|
||||
if not found_non_ldap_user:
|
||||
# All found users are LDAP users, give error message
|
||||
raise forms.ValidationError("Sorry, you cannot reset your password here as your user account is managed by another server.")
|
||||
raise forms.ValidationError(_("Sorry, you cannot reset your password here as your user account is managed by another server."))
|
||||
else:
|
||||
# No user accounts exist
|
||||
raise forms.ValidationError("This email address is not recognised.")
|
||||
raise forms.ValidationError(_("This email address is not recognised."))
|
||||
|
||||
return cleaned_data
|
||||
|
|
|
|||
BIN
wagtail/wagtailadmin/locale/el/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailadmin/locale/el/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
780
wagtail/wagtailadmin/locale/el/LC_MESSAGES/django.po
Normal file
780
wagtail/wagtailadmin/locale/el/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,780 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 15:50+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/projects/p/wagtail/language/el/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: el\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: .\edit_handlers.py:80 .\edit_handlers.py:129 .\edit_handlers.py:133
|
||||
msgid "Please type a valid time"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:12
|
||||
msgid "Search term"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:44
|
||||
msgid "Enter your email address to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:53
|
||||
msgid "Please fill your email address."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:66
|
||||
msgid ""
|
||||
"Sorry, you cannot reset your password here as your user account is managed "
|
||||
"by another server."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:69
|
||||
msgid "This email address is not recognised."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\base.html:7 .\templates\wagtailadmin\home.html:4
|
||||
msgid "Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:22
|
||||
#, python-format
|
||||
msgid "Welcome to the %(site_name)s Wagtail CMS"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:33
|
||||
msgid ""
|
||||
"This is your dashboard on which helpful information about content you've "
|
||||
"created will be displayed."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:18
|
||||
msgid "Your username and password didn't match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:55
|
||||
msgid "\"Sign in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:4
|
||||
msgid "Account"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:11
|
||||
msgid "Set gravatar"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:15
|
||||
msgid ""
|
||||
"Your avatar image is provided by Gravatar and is connected to your email "
|
||||
"address. With a Gravatar account you can set an avatar for any number of "
|
||||
"other email addresses you use."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:23
|
||||
msgid "Change password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:27
|
||||
msgid "Change the password you use to log in."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:16
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:19
|
||||
msgid ""
|
||||
"Your password can't be changed here. Please contact a site administrator."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:42
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:37
|
||||
msgid "Reset password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:15
|
||||
msgid "Password change successful"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:16
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:26
|
||||
msgid "Set your new password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:19
|
||||
msgid "The passwords do not match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:15
|
||||
msgid "Check your email"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:16
|
||||
msgid "A link to reset your password has been emailed to you."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email.txt:2
|
||||
msgid "Please follow the link below to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email_subject.txt:2
|
||||
msgid "Password reset"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:27
|
||||
msgid "Reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:5
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:7
|
||||
msgid "Internal link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:11
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:13
|
||||
msgid "External link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:17
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:19
|
||||
msgid "Email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_form.html:7
|
||||
#: .\templates\wagtailadmin\pages\search.html:3
|
||||
#: .\templates\wagtailadmin\pages\search.html:16
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:3
|
||||
msgid "Explorer"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:5
|
||||
#: .\templates\wagtailadmin\pages\index.html:15
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:10
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\browse.html:2
|
||||
#: .\templates\wagtailadmin\chooser\search.html:2
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:13
|
||||
msgid "Choose a page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:2
|
||||
msgid "Add an email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:14
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:14
|
||||
msgid "Insert link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:2
|
||||
msgid "Add an external link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:20
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:22
|
||||
msgid "Choose another item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:27
|
||||
msgid "Choose an item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:5
|
||||
msgid "Move up"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:6
|
||||
msgid "Move down"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:8
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:7
|
||||
#: .\templates\wagtailadmin\pages\edit.html:36
|
||||
#: .\templates\wagtailadmin\pages\list.html:68
|
||||
#: .\templates\wagtailadmin\pages\list.html:189
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:12
|
||||
msgid "Choose another page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:5
|
||||
msgid "Pages awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:13
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:12
|
||||
#: .\templates\wagtailadmin\pages\list.html:102
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:22
|
||||
msgid "Parent"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:15
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:13
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:16
|
||||
msgid "Author"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:23
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:21
|
||||
#: .\templates\wagtailadmin\pages\list.html:168
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:28
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:12
|
||||
msgid "Approve"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:34
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:17
|
||||
msgid "Reject"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:38
|
||||
#: .\templates\wagtailadmin\pages\create.html:23
|
||||
#: .\templates\wagtailadmin\pages\edit.html:42
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:5
|
||||
msgid "Your most recent edits"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:129
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:59
|
||||
#: .\templates\wagtailadmin\pages\list.html:180
|
||||
msgid "View draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:28
|
||||
#: .\templates\wagtailadmin\pages\list.html:62
|
||||
#: .\templates\wagtailadmin\pages\list.html:183
|
||||
msgid "View live"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:3
|
||||
msgid "Site summary"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Page\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Pages\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Image\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Images\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:20
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Document\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Documents\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:4
|
||||
msgid "You can view the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:4
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:5
|
||||
msgid "You can edit the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:4
|
||||
msgid "You can preview the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:4
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Previewing '%(title)s', submitted by %(submitted_by)s on %(submitted_on)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:9
|
||||
#: .\templates\wagtailadmin\pages\list.html:56
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:6
|
||||
#, python-format
|
||||
msgid "Create a page in %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:9
|
||||
msgid "Create a page in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:13
|
||||
msgid "Choose which type of page you'd like to create."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:12
|
||||
msgid "Are you sure you want to delete this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:14
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" This will also delete one more subpage.\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" This will also delete %(descendant_count)s more subpages.\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:22
|
||||
msgid ""
|
||||
"Alternatively you can unpublish the page. This removes the page from public "
|
||||
"view and you can edit or publish it again later."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Delete it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:3
|
||||
#, python-format
|
||||
msgid "Move %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:6
|
||||
#: .\templates\wagtailadmin\pages\list.html:65
|
||||
#: .\templates\wagtailadmin\pages\list.html:186
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:11
|
||||
#, python-format
|
||||
msgid "Are you sure you want to move this page into '%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Are you sure you want to move this page and all of its children into "
|
||||
"'%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:18
|
||||
msgid "Yes, move this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:3
|
||||
#, python-format
|
||||
msgid "Unpublish %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:6
|
||||
#: .\templates\wagtailadmin\pages\edit.html:33
|
||||
#: .\templates\wagtailadmin\pages\list.html:71
|
||||
#: .\templates\wagtailadmin\pages\list.html:192
|
||||
msgid "Unpublish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:10
|
||||
msgid "Are you sure you want to unpublish this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:13
|
||||
msgid "Yes, unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\content_type_use.html:7
|
||||
msgid "Pages using"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:5
|
||||
#, python-format
|
||||
msgid "New %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:20
|
||||
msgid "Save as draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:25
|
||||
#: .\templates\wagtailadmin\pages\edit.html:39
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:27
|
||||
#: .\templates\wagtailadmin\pages\edit.html:41
|
||||
msgid "Submit for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:5
|
||||
#, python-format
|
||||
msgid "Editing %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:12
|
||||
#, python-format
|
||||
msgid "Editing <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:15
|
||||
msgid "Status:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:52
|
||||
#, python-format
|
||||
msgid "Last modified: %(last_mod)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:54
|
||||
#, python-format
|
||||
msgid "by %(modified_by)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\index.html:4
|
||||
#, python-format
|
||||
msgid "Exploring %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:24
|
||||
#: .\templates\wagtailadmin\pages\list.html:117
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:53
|
||||
#: .\templates\wagtailadmin\pages\list.html:195
|
||||
msgid "Add child page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
msgid "Disable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Order"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Enable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:150
|
||||
msgid "Drag"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#, python-format
|
||||
msgid "Explorer subpages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
msgid "Explore"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
#, python-format
|
||||
msgid "Explorer child pages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
#, python-format
|
||||
msgid "Add a child page to '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
msgid "Add subpage"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
msgid "No pages have been created."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
#, python-format
|
||||
msgid "Why not <a href=\"%(add_page_url)s\">add one</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:3
|
||||
#, python-format
|
||||
msgid "Select a new parent page for %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:7
|
||||
#, python-format
|
||||
msgid "Select a new parent page for <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:17
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Page %(page_number)s of %(num_pages)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:24
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:26
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:8
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:10
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:14
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:33
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:35
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:21
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:23
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:25
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:43
|
||||
#, python-format
|
||||
msgid "Sorry, no pages match <em>\"%(search_query)s\"</em>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:45
|
||||
msgid "Enter a search term above"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:3
|
||||
#, python-format
|
||||
msgid "Where do you want to create a %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:5
|
||||
msgid "Where do you want to create this"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:3
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:6
|
||||
msgid "Create a new page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:10
|
||||
msgid ""
|
||||
"Your new page will be saved in the <em>top level</em> of your website. You "
|
||||
"can move it after saving."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:15
|
||||
msgid "Account settings"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:20
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:22
|
||||
msgid "Redirects"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:23
|
||||
msgid "Editors Picks"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:3
|
||||
#, python-format
|
||||
msgid "Page %(page_num)s of %(total_pages)s."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\account.py:23
|
||||
msgid "Your password has been changed successfully!"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:99
|
||||
msgid "Sorry, you do not have access to create a page of type <em>'{0}'</em>."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:103
|
||||
msgid ""
|
||||
"Pages of this type can only be created as children of <em>'{0}'</em>. This "
|
||||
"new page will be saved there."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:166
|
||||
msgid "This slug is already in use"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:187 .\views\pages.py:254 .\views\pages.py:589
|
||||
msgid "Page '{0}' published."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:189 .\views\pages.py:256
|
||||
msgid "Page '{0}' submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:192
|
||||
msgid "Page '{0}' created."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:201
|
||||
msgid "The page could not be created due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:259
|
||||
msgid "Page '{0}' updated."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:268
|
||||
msgid "The page could not be saved due to validation errors"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:280
|
||||
msgid "This page is currently awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:298
|
||||
msgid "Page '{0}' deleted."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:428
|
||||
msgid "Page '{0}' unpublished."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:479
|
||||
msgid "Page '{0}' moved."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:584 .\views\pages.py:602 .\views\pages.py:621
|
||||
msgid "The page '{0}' is not currently awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:608
|
||||
msgid "Page '{0}' rejected for publication."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailadmin/locale/en/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailadmin/locale/en/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
781
wagtail/wagtailadmin/locale/en/LC_MESSAGES/django.po
Normal file
781
wagtail/wagtailadmin/locale/en/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,781 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: .\edit_handlers.py:80 .\edit_handlers.py:129 .\edit_handlers.py:133
|
||||
msgid "Please type a valid time"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:12
|
||||
msgid "Search term"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:44
|
||||
msgid "Enter your email address to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:53
|
||||
msgid "Please fill your email address."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:66
|
||||
msgid ""
|
||||
"Sorry, you cannot reset your password here as your user account is managed "
|
||||
"by another server."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:69
|
||||
msgid "This email address is not recognised."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\base.html:7 .\templates\wagtailadmin\home.html:4
|
||||
msgid "Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:22
|
||||
#, python-format
|
||||
msgid "Welcome to the %(site_name)s Wagtail CMS"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:33
|
||||
msgid ""
|
||||
"This is your dashboard on which helpful information about content you've "
|
||||
"created will be displayed."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:18
|
||||
msgid "Your username and password didn't match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:55
|
||||
msgid "\"Sign in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:4
|
||||
msgid "Account"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:11
|
||||
msgid "Set gravatar"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:15
|
||||
msgid ""
|
||||
"Your avatar image is provided by Gravatar and is connected to your email "
|
||||
"address. With a Gravatar account you can set an avatar for any number of "
|
||||
"other email addresses you use."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:23
|
||||
msgid "Change password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:27
|
||||
msgid "Change the password you use to log in."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:16
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:19
|
||||
msgid ""
|
||||
"Your password can't be changed here. Please contact a site administrator."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:42
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:37
|
||||
msgid "Reset password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:15
|
||||
msgid "Password change successful"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:16
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:26
|
||||
msgid "Set your new password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:19
|
||||
msgid "The passwords do not match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:15
|
||||
msgid "Check your email"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:16
|
||||
msgid "A link to reset your password has been emailed to you."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email.txt:2
|
||||
msgid "Please follow the link below to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email_subject.txt:2
|
||||
msgid "Password reset"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:27
|
||||
msgid "Reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:5
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:7
|
||||
msgid "Internal link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:11
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:13
|
||||
msgid "External link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:17
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:19
|
||||
msgid "Email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_form.html:7
|
||||
#: .\templates\wagtailadmin\pages\search.html:3
|
||||
#: .\templates\wagtailadmin\pages\search.html:16
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:3
|
||||
msgid "Explorer"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:5
|
||||
#: .\templates\wagtailadmin\pages\index.html:15
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:10
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\browse.html:2
|
||||
#: .\templates\wagtailadmin\chooser\search.html:2
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:13
|
||||
msgid "Choose a page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:2
|
||||
msgid "Add an email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:14
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:14
|
||||
msgid "Insert link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:2
|
||||
msgid "Add an external link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:20
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:22
|
||||
msgid "Choose another item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:27
|
||||
msgid "Choose an item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:5
|
||||
msgid "Move up"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:6
|
||||
msgid "Move down"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:8
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:7
|
||||
#: .\templates\wagtailadmin\pages\edit.html:36
|
||||
#: .\templates\wagtailadmin\pages\list.html:68
|
||||
#: .\templates\wagtailadmin\pages\list.html:189
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:12
|
||||
msgid "Choose another page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:5
|
||||
msgid "Pages awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:13
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:12
|
||||
#: .\templates\wagtailadmin\pages\list.html:102
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:22
|
||||
msgid "Parent"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:15
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:13
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:16
|
||||
msgid "Author"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:23
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:21
|
||||
#: .\templates\wagtailadmin\pages\list.html:168
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:28
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:12
|
||||
msgid "Approve"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:34
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:17
|
||||
msgid "Reject"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:38
|
||||
#: .\templates\wagtailadmin\pages\create.html:23
|
||||
#: .\templates\wagtailadmin\pages\edit.html:42
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:5
|
||||
msgid "Your most recent edits"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:129
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:59
|
||||
#: .\templates\wagtailadmin\pages\list.html:180
|
||||
msgid "View draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:28
|
||||
#: .\templates\wagtailadmin\pages\list.html:62
|
||||
#: .\templates\wagtailadmin\pages\list.html:183
|
||||
msgid "View live"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:3
|
||||
msgid "Site summary"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Page\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Pages\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Image\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Images\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:20
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Document\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Documents\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:4
|
||||
msgid "You can view the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:4
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:5
|
||||
msgid "You can edit the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:4
|
||||
msgid "You can preview the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:4
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Previewing '%(title)s', submitted by %(submitted_by)s on %"
|
||||
"(submitted_on)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:9
|
||||
#: .\templates\wagtailadmin\pages\list.html:56
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:6
|
||||
#, python-format
|
||||
msgid "Create a page in %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:9
|
||||
msgid "Create a page in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:13
|
||||
msgid "Choose which type of page you'd like to create."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:12
|
||||
msgid "Are you sure you want to delete this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:14
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" This will also delete one more subpage.\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" This will also delete %(descendant_count)s more "
|
||||
"subpages.\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:22
|
||||
msgid ""
|
||||
"Alternatively you can unpublish the page. This removes the page from public "
|
||||
"view and you can edit or publish it again later."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Delete it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:3
|
||||
#, python-format
|
||||
msgid "Move %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:6
|
||||
#: .\templates\wagtailadmin\pages\list.html:65
|
||||
#: .\templates\wagtailadmin\pages\list.html:186
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:11
|
||||
#, python-format
|
||||
msgid "Are you sure you want to move this page into '%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Are you sure you want to move this page and all of its children into '%"
|
||||
"(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:18
|
||||
msgid "Yes, move this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:3
|
||||
#, python-format
|
||||
msgid "Unpublish %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:6
|
||||
#: .\templates\wagtailadmin\pages\edit.html:33
|
||||
#: .\templates\wagtailadmin\pages\list.html:71
|
||||
#: .\templates\wagtailadmin\pages\list.html:192
|
||||
msgid "Unpublish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:10
|
||||
msgid "Are you sure you want to unpublish this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:13
|
||||
msgid "Yes, unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\content_type_use.html:7
|
||||
msgid "Pages using"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:5
|
||||
#, python-format
|
||||
msgid "New %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:20
|
||||
msgid "Save as draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:25
|
||||
#: .\templates\wagtailadmin\pages\edit.html:39
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:27
|
||||
#: .\templates\wagtailadmin\pages\edit.html:41
|
||||
msgid "Submit for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:5
|
||||
#, python-format
|
||||
msgid "Editing %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:12
|
||||
#, python-format
|
||||
msgid "Editing <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:15
|
||||
msgid "Status:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:52
|
||||
#, python-format
|
||||
msgid "Last modified: %(last_mod)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:54
|
||||
#, python-format
|
||||
msgid "by %(modified_by)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\index.html:4
|
||||
#, python-format
|
||||
msgid "Exploring %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:24
|
||||
#: .\templates\wagtailadmin\pages\list.html:117
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:53
|
||||
#: .\templates\wagtailadmin\pages\list.html:195
|
||||
msgid "Add child page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
msgid "Disable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Order"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Enable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:150
|
||||
msgid "Drag"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#, python-format
|
||||
msgid "Explorer subpages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
msgid "Explore"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
#, python-format
|
||||
msgid "Explorer child pages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
#, python-format
|
||||
msgid "Add a child page to '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
msgid "Add subpage"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
msgid "No pages have been created."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
#, python-format
|
||||
msgid "Why not <a href=\"%(add_page_url)s\">add one</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:3
|
||||
#, python-format
|
||||
msgid "Select a new parent page for %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:7
|
||||
#, python-format
|
||||
msgid "Select a new parent page for <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:17
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Page %(page_number)s of %(num_pages)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:24
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:26
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:8
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:10
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:14
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:33
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:35
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:21
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:23
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:25
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:43
|
||||
#, python-format
|
||||
msgid "Sorry, no pages match <em>\"%(search_query)s\"</em>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:45
|
||||
msgid "Enter a search term above"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:3
|
||||
#, python-format
|
||||
msgid "Where do you want to create a %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:5
|
||||
msgid "Where do you want to create this"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:3
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:6
|
||||
msgid "Create a new page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:10
|
||||
msgid ""
|
||||
"Your new page will be saved in the <em>top level</em> of your website. You "
|
||||
"can move it after saving."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:15
|
||||
msgid "Account settings"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:20
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:22
|
||||
msgid "Redirects"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:23
|
||||
msgid "Editors Picks"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:3
|
||||
#, python-format
|
||||
msgid "Page %(page_num)s of %(total_pages)s."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\account.py:23
|
||||
msgid "Your password has been changed successfully!"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:99
|
||||
msgid "Sorry, you do not have access to create a page of type <em>'{0}'</em>."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:103
|
||||
msgid ""
|
||||
"Pages of this type can only be created as children of <em>'{0}'</em>. This "
|
||||
"new page will be saved there."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:166
|
||||
msgid "This slug is already in use"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:187 .\views\pages.py:254 .\views\pages.py:589
|
||||
msgid "Page '{0}' published."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:189 .\views\pages.py:256
|
||||
msgid "Page '{0}' submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:192
|
||||
msgid "Page '{0}' created."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:201
|
||||
msgid "The page could not be created due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:259
|
||||
msgid "Page '{0}' updated."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:268
|
||||
msgid "The page could not be saved due to validation errors"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:280
|
||||
msgid "This page is currently awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:298
|
||||
msgid "Page '{0}' deleted."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:428
|
||||
msgid "Page '{0}' unpublished."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:479
|
||||
msgid "Page '{0}' moved."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:584 .\views\pages.py:602 .\views\pages.py:621
|
||||
msgid "The page '{0}' is not currently awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:608
|
||||
msgid "Page '{0}' rejected for publication."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailadmin/locale/pl/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailadmin/locale/pl/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
786
wagtail/wagtailadmin/locale/pl/LC_MESSAGES/django.po
Normal file
786
wagtail/wagtailadmin/locale/pl/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,786 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 15:50+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Polish (http://www.transifex.com/projects/p/wagtail/language/pl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pl\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: .\edit_handlers.py:80 .\edit_handlers.py:129 .\edit_handlers.py:133
|
||||
msgid "Please type a valid time"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:12
|
||||
msgid "Search term"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:44
|
||||
msgid "Enter your email address to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:53
|
||||
msgid "Please fill your email address."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:66
|
||||
msgid ""
|
||||
"Sorry, you cannot reset your password here as your user account is managed "
|
||||
"by another server."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:69
|
||||
msgid "This email address is not recognised."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\base.html:7 .\templates\wagtailadmin\home.html:4
|
||||
msgid "Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:22
|
||||
#, python-format
|
||||
msgid "Welcome to the %(site_name)s Wagtail CMS"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:33
|
||||
msgid ""
|
||||
"This is your dashboard on which helpful information about content you've "
|
||||
"created will be displayed."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:18
|
||||
msgid "Your username and password didn't match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:55
|
||||
msgid "\"Sign in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:4
|
||||
msgid "Account"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:11
|
||||
msgid "Set gravatar"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:15
|
||||
msgid ""
|
||||
"Your avatar image is provided by Gravatar and is connected to your email "
|
||||
"address. With a Gravatar account you can set an avatar for any number of "
|
||||
"other email addresses you use."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:23
|
||||
msgid "Change password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:27
|
||||
msgid "Change the password you use to log in."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:16
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:19
|
||||
msgid ""
|
||||
"Your password can't be changed here. Please contact a site administrator."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:42
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:37
|
||||
msgid "Reset password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:15
|
||||
msgid "Password change successful"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:16
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:26
|
||||
msgid "Set your new password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:19
|
||||
msgid "The passwords do not match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:15
|
||||
msgid "Check your email"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:16
|
||||
msgid "A link to reset your password has been emailed to you."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email.txt:2
|
||||
msgid "Please follow the link below to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email_subject.txt:2
|
||||
msgid "Password reset"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:27
|
||||
msgid "Reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:5
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:7
|
||||
msgid "Internal link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:11
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:13
|
||||
msgid "External link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:17
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:19
|
||||
msgid "Email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_form.html:7
|
||||
#: .\templates\wagtailadmin\pages\search.html:3
|
||||
#: .\templates\wagtailadmin\pages\search.html:16
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:3
|
||||
msgid "Explorer"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:5
|
||||
#: .\templates\wagtailadmin\pages\index.html:15
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:10
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\browse.html:2
|
||||
#: .\templates\wagtailadmin\chooser\search.html:2
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:13
|
||||
msgid "Choose a page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:2
|
||||
msgid "Add an email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:14
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:14
|
||||
msgid "Insert link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:2
|
||||
msgid "Add an external link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:20
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:22
|
||||
msgid "Choose another item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:27
|
||||
msgid "Choose an item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:5
|
||||
msgid "Move up"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:6
|
||||
msgid "Move down"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:8
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:7
|
||||
#: .\templates\wagtailadmin\pages\edit.html:36
|
||||
#: .\templates\wagtailadmin\pages\list.html:68
|
||||
#: .\templates\wagtailadmin\pages\list.html:189
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:12
|
||||
msgid "Choose another page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:5
|
||||
msgid "Pages awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:13
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:12
|
||||
#: .\templates\wagtailadmin\pages\list.html:102
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:22
|
||||
msgid "Parent"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:15
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:13
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:16
|
||||
msgid "Author"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:23
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:21
|
||||
#: .\templates\wagtailadmin\pages\list.html:168
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:28
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:12
|
||||
msgid "Approve"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:34
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:17
|
||||
msgid "Reject"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:38
|
||||
#: .\templates\wagtailadmin\pages\create.html:23
|
||||
#: .\templates\wagtailadmin\pages\edit.html:42
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:5
|
||||
msgid "Your most recent edits"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:129
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:59
|
||||
#: .\templates\wagtailadmin\pages\list.html:180
|
||||
msgid "View draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:28
|
||||
#: .\templates\wagtailadmin\pages\list.html:62
|
||||
#: .\templates\wagtailadmin\pages\list.html:183
|
||||
msgid "View live"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:3
|
||||
msgid "Site summary"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Page\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Pages\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Image\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Images\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:20
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Document\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Documents\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:4
|
||||
msgid "You can view the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:4
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:5
|
||||
msgid "You can edit the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:4
|
||||
msgid "You can preview the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:4
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Previewing '%(title)s', submitted by %(submitted_by)s on %(submitted_on)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:9
|
||||
#: .\templates\wagtailadmin\pages\list.html:56
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:6
|
||||
#, python-format
|
||||
msgid "Create a page in %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:9
|
||||
msgid "Create a page in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:13
|
||||
msgid "Choose which type of page you'd like to create."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:12
|
||||
msgid "Are you sure you want to delete this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:14
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" This will also delete one more subpage.\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" This will also delete %(descendant_count)s more subpages.\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:22
|
||||
msgid ""
|
||||
"Alternatively you can unpublish the page. This removes the page from public "
|
||||
"view and you can edit or publish it again later."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Delete it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:3
|
||||
#, python-format
|
||||
msgid "Move %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:6
|
||||
#: .\templates\wagtailadmin\pages\list.html:65
|
||||
#: .\templates\wagtailadmin\pages\list.html:186
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:11
|
||||
#, python-format
|
||||
msgid "Are you sure you want to move this page into '%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Are you sure you want to move this page and all of its children into "
|
||||
"'%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:18
|
||||
msgid "Yes, move this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:3
|
||||
#, python-format
|
||||
msgid "Unpublish %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:6
|
||||
#: .\templates\wagtailadmin\pages\edit.html:33
|
||||
#: .\templates\wagtailadmin\pages\list.html:71
|
||||
#: .\templates\wagtailadmin\pages\list.html:192
|
||||
msgid "Unpublish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:10
|
||||
msgid "Are you sure you want to unpublish this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:13
|
||||
msgid "Yes, unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\content_type_use.html:7
|
||||
msgid "Pages using"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:5
|
||||
#, python-format
|
||||
msgid "New %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:20
|
||||
msgid "Save as draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:25
|
||||
#: .\templates\wagtailadmin\pages\edit.html:39
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:27
|
||||
#: .\templates\wagtailadmin\pages\edit.html:41
|
||||
msgid "Submit for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:5
|
||||
#, python-format
|
||||
msgid "Editing %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:12
|
||||
#, python-format
|
||||
msgid "Editing <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:15
|
||||
msgid "Status:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:52
|
||||
#, python-format
|
||||
msgid "Last modified: %(last_mod)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:54
|
||||
#, python-format
|
||||
msgid "by %(modified_by)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\index.html:4
|
||||
#, python-format
|
||||
msgid "Exploring %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:24
|
||||
#: .\templates\wagtailadmin\pages\list.html:117
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:53
|
||||
#: .\templates\wagtailadmin\pages\list.html:195
|
||||
msgid "Add child page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
msgid "Disable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Order"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Enable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:150
|
||||
msgid "Drag"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#, python-format
|
||||
msgid "Explorer subpages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
msgid "Explore"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
#, python-format
|
||||
msgid "Explorer child pages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
#, python-format
|
||||
msgid "Add a child page to '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
msgid "Add subpage"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
msgid "No pages have been created."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
#, python-format
|
||||
msgid "Why not <a href=\"%(add_page_url)s\">add one</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:3
|
||||
#, python-format
|
||||
msgid "Select a new parent page for %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:7
|
||||
#, python-format
|
||||
msgid "Select a new parent page for <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:17
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Page %(page_number)s of %(num_pages)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:24
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:26
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:8
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:10
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:14
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:33
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:35
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:21
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:23
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:25
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:43
|
||||
#, python-format
|
||||
msgid "Sorry, no pages match <em>\"%(search_query)s\"</em>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:45
|
||||
msgid "Enter a search term above"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:3
|
||||
#, python-format
|
||||
msgid "Where do you want to create a %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:5
|
||||
msgid "Where do you want to create this"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:3
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:6
|
||||
msgid "Create a new page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:10
|
||||
msgid ""
|
||||
"Your new page will be saved in the <em>top level</em> of your website. You "
|
||||
"can move it after saving."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:15
|
||||
msgid "Account settings"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:20
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:22
|
||||
msgid "Redirects"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:23
|
||||
msgid "Editors Picks"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:3
|
||||
#, python-format
|
||||
msgid "Page %(page_num)s of %(total_pages)s."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\account.py:23
|
||||
msgid "Your password has been changed successfully!"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:99
|
||||
msgid "Sorry, you do not have access to create a page of type <em>'{0}'</em>."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:103
|
||||
msgid ""
|
||||
"Pages of this type can only be created as children of <em>'{0}'</em>. This "
|
||||
"new page will be saved there."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:166
|
||||
msgid "This slug is already in use"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:187 .\views\pages.py:254 .\views\pages.py:589
|
||||
msgid "Page '{0}' published."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:189 .\views\pages.py:256
|
||||
msgid "Page '{0}' submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:192
|
||||
msgid "Page '{0}' created."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:201
|
||||
msgid "The page could not be created due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:259
|
||||
msgid "Page '{0}' updated."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:268
|
||||
msgid "The page could not be saved due to validation errors"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:280
|
||||
msgid "This page is currently awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:298
|
||||
msgid "Page '{0}' deleted."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:428
|
||||
msgid "Page '{0}' unpublished."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:479
|
||||
msgid "Page '{0}' moved."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:584 .\views\pages.py:602 .\views\pages.py:621
|
||||
msgid "The page '{0}' is not currently awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:608
|
||||
msgid "Page '{0}' rejected for publication."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailadmin/locale/ro/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailadmin/locale/ro/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
786
wagtail/wagtailadmin/locale/ro/LC_MESSAGES/django.po
Normal file
786
wagtail/wagtailadmin/locale/ro/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,786 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 15:50+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/projects/p/wagtail/language/ro/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ro\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||
|
||||
#: .\edit_handlers.py:80 .\edit_handlers.py:129 .\edit_handlers.py:133
|
||||
msgid "Please type a valid time"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:12
|
||||
msgid "Search term"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:44
|
||||
msgid "Enter your email address to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:53
|
||||
msgid "Please fill your email address."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:66
|
||||
msgid ""
|
||||
"Sorry, you cannot reset your password here as your user account is managed "
|
||||
"by another server."
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:69
|
||||
msgid "This email address is not recognised."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\base.html:7 .\templates\wagtailadmin\home.html:4
|
||||
msgid "Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:22
|
||||
#, python-format
|
||||
msgid "Welcome to the %(site_name)s Wagtail CMS"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home.html:33
|
||||
msgid ""
|
||||
"This is your dashboard on which helpful information about content you've "
|
||||
"created will be displayed."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:18
|
||||
msgid "Your username and password didn't match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\login.html:55
|
||||
msgid "\"Sign in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:4
|
||||
msgid "Account"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:11
|
||||
msgid "Set gravatar"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:15
|
||||
msgid ""
|
||||
"Your avatar image is provided by Gravatar and is connected to your email "
|
||||
"address. With a Gravatar account you can set an avatar for any number of "
|
||||
"other email addresses you use."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:23
|
||||
msgid "Change password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\account.html:27
|
||||
msgid "Change the password you use to log in."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:16
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\change_password.html:19
|
||||
msgid ""
|
||||
"Your password can't be changed here. Please contact a site administrator."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:42
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:37
|
||||
msgid "Reset password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:15
|
||||
msgid "Password change successful"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\complete.html:16
|
||||
msgid "Login"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:4
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:26
|
||||
msgid "Set your new password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\confirm.html:19
|
||||
msgid "The passwords do not match. Please try again."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:15
|
||||
msgid "Check your email"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\done.html:16
|
||||
msgid "A link to reset your password has been emailed to you."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email.txt:2
|
||||
msgid "Please follow the link below to reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\email_subject.txt:2
|
||||
msgid "Password reset"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\account\password_reset\form.html:27
|
||||
msgid "Reset your password"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:5
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:7
|
||||
msgid "Internal link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:11
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:13
|
||||
msgid "External link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:17
|
||||
#: .\templates\wagtailadmin\chooser\_link_types.html:19
|
||||
msgid "Email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_form.html:7
|
||||
#: .\templates\wagtailadmin\pages\search.html:3
|
||||
#: .\templates\wagtailadmin\pages\search.html:16
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:3
|
||||
msgid "Explorer"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:5
|
||||
#: .\templates\wagtailadmin\pages\index.html:15
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:10
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\_search_results.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\browse.html:2
|
||||
#: .\templates\wagtailadmin\chooser\search.html:2
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:13
|
||||
msgid "Choose a page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:2
|
||||
msgid "Add an email link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\email_link.html:14
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:14
|
||||
msgid "Insert link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\chooser\external_link.html:2
|
||||
msgid "Add an external link"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:20
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:22
|
||||
msgid "Choose another item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\chooser_panel.html:27
|
||||
msgid "Choose an item"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:5
|
||||
msgid "Move up"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:6
|
||||
msgid "Move down"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\inline_panel_child.html:8
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:7
|
||||
#: .\templates\wagtailadmin\pages\edit.html:36
|
||||
#: .\templates\wagtailadmin\pages\list.html:68
|
||||
#: .\templates\wagtailadmin\pages\list.html:189
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\edit_handlers\page_chooser_panel.html:12
|
||||
msgid "Choose another page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:5
|
||||
msgid "Pages awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:13
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:12
|
||||
#: .\templates\wagtailadmin\pages\list.html:102
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:22
|
||||
msgid "Parent"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:15
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:13
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:16
|
||||
msgid "Author"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:23
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:21
|
||||
#: .\templates\wagtailadmin\pages\list.html:168
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:28
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:12
|
||||
msgid "Approve"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:34
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:17
|
||||
msgid "Reject"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\pages_for_moderation.html:38
|
||||
#: .\templates\wagtailadmin\pages\create.html:23
|
||||
#: .\templates\wagtailadmin\pages\edit.html:42
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:5
|
||||
msgid "Your most recent edits"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:14
|
||||
#: .\templates\wagtailadmin\pages\list.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:129
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:25
|
||||
#: .\templates\wagtailadmin\pages\list.html:59
|
||||
#: .\templates\wagtailadmin\pages\list.html:180
|
||||
msgid "View draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\recent_edits.html:28
|
||||
#: .\templates\wagtailadmin\pages\list.html:62
|
||||
#: .\templates\wagtailadmin\pages\list.html:183
|
||||
msgid "View live"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:3
|
||||
msgid "Site summary"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Page\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_pages)s</span> Pages\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Image\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_images)s</span> Images\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\home\site_summary.html:20
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Document\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" <span>%(total_docs)s</span> Documents\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been approved."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\approved.html:4
|
||||
msgid "You can view the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(title)s\" has been rejected."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\rejected.html:4
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:5
|
||||
msgid "You can edit the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:1
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:2
|
||||
#, python-format
|
||||
msgid "The page \"%(page)s\" has been submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\notifications\submitted.html:4
|
||||
msgid "You can preview the page here:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:4
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Previewing '%(title)s', submitted by %(submitted_by)s on %(submitted_on)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\_moderator_userbar.html:9
|
||||
#: .\templates\wagtailadmin\pages\list.html:56
|
||||
#: .\templates\wagtailadmin\pages\list.html:177
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:6
|
||||
#, python-format
|
||||
msgid "Create a page in %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:9
|
||||
msgid "Create a page in"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\add_subpage.html:13
|
||||
msgid "Choose which type of page you'd like to create."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:12
|
||||
msgid "Are you sure you want to delete this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:14
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" This will also delete one more subpage.\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" This will also delete %(descendant_count)s more subpages.\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:22
|
||||
msgid ""
|
||||
"Alternatively you can unpublish the page. This removes the page from public "
|
||||
"view and you can edit or publish it again later."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Delete it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_delete.html:26
|
||||
msgid "Unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:3
|
||||
#, python-format
|
||||
msgid "Move %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:6
|
||||
#: .\templates\wagtailadmin\pages\list.html:65
|
||||
#: .\templates\wagtailadmin\pages\list.html:186
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:11
|
||||
#, python-format
|
||||
msgid "Are you sure you want to move this page into '%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:13
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Are you sure you want to move this page and all of its children into "
|
||||
"'%(destination.title)s'?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_move.html:18
|
||||
msgid "Yes, move this page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:3
|
||||
#, python-format
|
||||
msgid "Unpublish %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:6
|
||||
#: .\templates\wagtailadmin\pages\edit.html:33
|
||||
#: .\templates\wagtailadmin\pages\list.html:71
|
||||
#: .\templates\wagtailadmin\pages\list.html:192
|
||||
msgid "Unpublish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:10
|
||||
msgid "Are you sure you want to unpublish this page?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\confirm_unpublish.html:13
|
||||
msgid "Yes, unpublish it"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\content_type_use.html:7
|
||||
msgid "Pages using"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:5
|
||||
#, python-format
|
||||
msgid "New %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:20
|
||||
msgid "Save as draft"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:25
|
||||
#: .\templates\wagtailadmin\pages\edit.html:39
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\create.html:27
|
||||
#: .\templates\wagtailadmin\pages\edit.html:41
|
||||
msgid "Submit for moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:5
|
||||
#, python-format
|
||||
msgid "Editing %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:12
|
||||
#, python-format
|
||||
msgid "Editing <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:15
|
||||
msgid "Status:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:52
|
||||
#, python-format
|
||||
msgid "Last modified: %(last_mod)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\edit.html:54
|
||||
#, python-format
|
||||
msgid "by %(modified_by)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\index.html:4
|
||||
#, python-format
|
||||
msgid "Exploring %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:24
|
||||
#: .\templates\wagtailadmin\pages\list.html:117
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:53
|
||||
#: .\templates\wagtailadmin\pages\list.html:195
|
||||
msgid "Add child page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
msgid "Disable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:95
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Order"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:97
|
||||
msgid "Enable ordering of child pages"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:150
|
||||
msgid "Drag"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#, python-format
|
||||
msgid "Explorer subpages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:215
|
||||
#: .\templates\wagtailadmin\pages\list.html:219
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
msgid "Explore"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:223
|
||||
#, python-format
|
||||
msgid "Explorer child pages of '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
#, python-format
|
||||
msgid "Add a child page to '%(title)s'"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:225
|
||||
msgid "Add subpage"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
msgid "No pages have been created."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\list.html:234
|
||||
#, python-format
|
||||
msgid "Why not <a href=\"%(add_page_url)s\">add one</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:3
|
||||
#, python-format
|
||||
msgid "Select a new parent page for %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\move_choose_destination.html:7
|
||||
#, python-format
|
||||
msgid "Select a new parent page for <span>%(title)s</span>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:6
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:17
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" Page %(page_number)s of %(num_pages)s.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:24
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:26
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:8
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:10
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:14
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:33
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:35
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:21
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:23
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:25
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:43
|
||||
#, python-format
|
||||
msgid "Sorry, no pages match <em>\"%(search_query)s\"</em>"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\search_results.html:45
|
||||
msgid "Enter a search term above"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:3
|
||||
#, python-format
|
||||
msgid "Where do you want to create a %(page_type)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_location.html:5
|
||||
msgid "Where do you want to create this"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:3
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:6
|
||||
msgid "Create a new page"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\pages\select_type.html:10
|
||||
msgid ""
|
||||
"Your new page will be saved in the <em>top level</em> of your website. You "
|
||||
"can move it after saving."
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:15
|
||||
msgid "Account settings"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:20
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:22
|
||||
msgid "Redirects"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\main_nav.html:23
|
||||
msgid "Editors Picks"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailadmin\shared\pagination_nav.html:3
|
||||
#, python-format
|
||||
msgid "Page %(page_num)s of %(total_pages)s."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\account.py:23
|
||||
msgid "Your password has been changed successfully!"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:99
|
||||
msgid "Sorry, you do not have access to create a page of type <em>'{0}'</em>."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:103
|
||||
msgid ""
|
||||
"Pages of this type can only be created as children of <em>'{0}'</em>. This "
|
||||
"new page will be saved there."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:166
|
||||
msgid "This slug is already in use"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:187 .\views\pages.py:254 .\views\pages.py:589
|
||||
msgid "Page '{0}' published."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:189 .\views\pages.py:256
|
||||
msgid "Page '{0}' submitted for moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:192
|
||||
msgid "Page '{0}' created."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:201
|
||||
msgid "The page could not be created due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:259
|
||||
msgid "Page '{0}' updated."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:268
|
||||
msgid "The page could not be saved due to validation errors"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:280
|
||||
msgid "This page is currently awaiting moderation"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:298
|
||||
msgid "Page '{0}' deleted."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:428
|
||||
msgid "Page '{0}' unpublished."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:479
|
||||
msgid "Page '{0}' moved."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:584 .\views\pages.py:602 .\views\pages.py:621
|
||||
msgid "The page '{0}' is not currently awaiting moderation."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\pages.py:608
|
||||
msgid "Page '{0}' rejected for publication."
|
||||
msgstr ""
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
-webkit-font-smoothing: auto;
|
||||
font-size:0.80em;
|
||||
margin:0 0.5em;
|
||||
background:white url(~"@{static-root}bg-dark-diag.svg");
|
||||
background:white url("@{static-root}bg-dark-diag.svg");
|
||||
|
||||
&.primary{
|
||||
color:@color-grey-2;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'wagtail';
|
||||
src: url("@{css-root}fonts/wagtail.svg#wagtail") format("svg"),
|
||||
src: url("@{css-root}fonts/wagtail.svg#wagtail") format("svg");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
}
|
||||
|
||||
|
||||
.icon-cogs:before, {
|
||||
.icon-cogs:before {
|
||||
content: "a";
|
||||
}
|
||||
.icon-doc-empty-inverse:before {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
}
|
||||
|
||||
.objects{
|
||||
background:url(~"@{static-root}bg-dark-diag.svg");
|
||||
background:url("@{static-root}bg-dark-diag.svg");
|
||||
}
|
||||
.object{
|
||||
position:relative;
|
||||
|
|
|
|||
|
|
@ -1,28 +1,30 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Account" %}
|
||||
{% trans "Account" as account_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=account_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<ul class="listing">
|
||||
<li class="row row-flush">
|
||||
<div class="col6">
|
||||
<a href="http://gravatar.com" class="button button-primary">Set gravatar</a>
|
||||
<a href="http://gravatar.com" class="button button-primary">{% trans "Set gravatar" %}</a>
|
||||
</div>
|
||||
|
||||
<small class="col6">
|
||||
Your avatar image is provided by Gravatar and is connected to your email address. With a Gravatar account you can set an avatar for any number of other email addresses you use.
|
||||
{% trans "Your avatar image is provided by Gravatar and is connected to your email address. With a Gravatar account you can set an avatar for any number of other email addresses you use." %}
|
||||
|
||||
</small>
|
||||
|
||||
</li>
|
||||
{% if show_change_password %}
|
||||
<li class="row row-flush">
|
||||
<div class="col6">
|
||||
<a href="{% url 'wagtailadmin_account_change_password' %}" class="button button-primary">Change password</a>
|
||||
<a href="{% url 'wagtailadmin_account_change_password' %}" class="button button-primary">{% trans "Change password" %}</a>
|
||||
</div>
|
||||
|
||||
<small class="col6">
|
||||
Change the password you use to log in.
|
||||
{% trans "Change the password you use to log in." %}
|
||||
</small>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Change password" %}
|
||||
{% trans "Change password" as change_str
|
||||
{% include "wagtailadmin/shared/header.html" with title=change_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% if can_change_password %}
|
||||
|
|
@ -12,10 +13,10 @@
|
|||
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<input type="submit" value="Change" />
|
||||
<input type="submit" value="{% trans 'Change' %}" />
|
||||
</form>
|
||||
{% else %}
|
||||
<p>Your password can't be changed here. Please contact a site administrator.</p>
|
||||
<p>{% trans "Your password can't be changed here. Please contact a site administrator." %}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load compress %}
|
||||
{% block titletag %}Reset password{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% trans "Reset password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
|
||||
{% block furniture %}
|
||||
<div class="content-wrapper">
|
||||
<h1>Password change successful</h1>
|
||||
<p><a href="{% url 'django.contrib.auth.views.login' %}" class="button button-primary">Login</a></p>
|
||||
<h1>{% trans "Password change successful" %}</h1>
|
||||
<p><a href="{% url 'django.contrib.auth.views.login' %}" class="button button-primary">{% trans "Login" %}</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load compress %}
|
||||
{% block titletag %}Set your new password{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% trans "Set your new password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
|
@ -15,14 +16,14 @@
|
|||
{% if form.errors %}
|
||||
<div class="messages">
|
||||
<ul>
|
||||
<li class="error">The passwords do not match. Please try again.</li>
|
||||
<li class="error">{% trans "The passwords do not match. Please try again." %}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<h1>Set your new password</h1>
|
||||
<h1>{% trans "Set your new password" %}</h1>
|
||||
|
||||
<ul class="fields">
|
||||
<li>
|
||||
|
|
@ -38,7 +39,7 @@
|
|||
</div>
|
||||
</li>
|
||||
<li class="submit">
|
||||
<input type="submit" value="Reset password"/>
|
||||
<input type="submit" value="{% trans 'Reset password' %}"/>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load i18n %}
|
||||
{% load compress %}
|
||||
{% block titletag %}Reset password{% endblock %}
|
||||
{% block titletag %}{% trans "Reset password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
|
||||
{% block furniture %}
|
||||
<div class="content-wrapper">
|
||||
<h1>Check your email</h1>
|
||||
<p>A link to reset your password has been emailed to you.</p>
|
||||
<h1>{% trans "Check your email" %}</h1>
|
||||
<p>{% trans "A link to reset your password has been emailed to you." %}</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
Please follow the link below to reset your password
|
||||
{% load i18n %}
|
||||
{% trans "Please follow the link below to reset your password" %}
|
||||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
|
||||
|
|
@ -1 +1,2 @@
|
|||
Password reset
|
||||
{% load i18n %}
|
||||
{% trans "Password reset" %}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load compress %}
|
||||
{% block titletag %}Reset password{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{ trans "Reset password" %}{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
|
@ -23,7 +24,7 @@
|
|||
|
||||
<form method="post" novalidate>
|
||||
{% csrf_token %}
|
||||
<h1>Reset your password</h1>
|
||||
<h1>{% trans "Reset your password" %}</h1>
|
||||
|
||||
<ul class="fields">
|
||||
<li>
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
</div>
|
||||
</li>
|
||||
<li class="submit">
|
||||
<input type="submit" value="Reset password"/>
|
||||
<input type="submit" value="{% trans 'Reset password' %}"/>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load wagtailadmin_nav %}
|
||||
|
||||
{% load i18n %}
|
||||
{% block furniture %}
|
||||
<div class="nav-wrapper">
|
||||
<div class="inner">
|
||||
<a href="{% url 'wagtailadmin_home' %}" class="logo"><img src="{{ STATIC_URL }}wagtailadmin/images/wagtail-logo.svg" alt="Wagtail" width="80" /><span>Dashboard</span></a>
|
||||
<a href="{% url 'wagtailadmin_home' %}" class="logo"><img src="{{ STATIC_URL }}wagtailadmin/images/wagtail-logo.svg" alt="Wagtail" width="80" /><span>{% trans "Dashboard" %}</span></a>
|
||||
{% main_nav %}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,22 @@
|
|||
{% load i18n %}
|
||||
{% if allow_external_link or allow_email_link or current == 'external' or current == 'email' %}
|
||||
<p class="link-types">
|
||||
{% if current == 'internal' %}
|
||||
<b>Internal link</b>
|
||||
<b>{% trans "Internal link" %}</b>
|
||||
{% else %}
|
||||
<a href="{% url 'wagtailadmin_choose_page' %}?{{ querystring }}">Internal link</a>
|
||||
<a href="{% url 'wagtailadmin_choose_page' %}?{{ querystring }}">{% trans "Internal link" %}</a>
|
||||
{% endif %}
|
||||
|
||||
{% if current == 'external' %}
|
||||
| <b>External link</b>
|
||||
| <b>{% trans "External link" %}</b>
|
||||
{% elif allow_external_link %}
|
||||
| <a href="{% url 'wagtailadmin_choose_page_external_link' %}?{{ querystring }}">External link</a>
|
||||
| <a href="{% url 'wagtailadmin_choose_page_external_link' %}?{{ querystring }}">{% trans "External link" %}</a>
|
||||
{% endif %}
|
||||
|
||||
{% if current == 'email' %}
|
||||
| <b>Email link</b>
|
||||
| <b>{% trans "Email link" %}</b>
|
||||
{% elif allow_email_link %}
|
||||
| <a href="{% url 'wagtailadmin_choose_page_email_link' %}?{{ querystring }}">Email link</a>
|
||||
| <a href="{% url 'wagtailadmin_choose_page_email_link' %}?{{ querystring }}">{% trans "Email link" %}</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
{% load i18n %}
|
||||
<form class="search-bar full-width nice-padding" action="{% url 'wagtailadmin_choose_page' %}?{{ querystring }}" method="get">
|
||||
<ul class="fields">
|
||||
{% for field in search_form %}
|
||||
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
|
||||
{% endfor %}
|
||||
<li class="submit"><input type="submit" value="Search" /></li>
|
||||
<li class="submit"><input type="submit" value="{% trans 'Search' %}" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,21 @@
|
|||
{% load i18n %}
|
||||
{% if not is_searching %}
|
||||
<h2>Explorer</h2>
|
||||
<h2>{% trans "Explorer" %}</h2>
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}?{{ querystring }}" class="icon icon-home text-replace navigate-pages">Home</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}?{{ querystring }}" class="icon icon-home text-replace navigate-pages">{% trans "Home" %}</a></li>
|
||||
{% for page in parent_page.get_ancestors %}
|
||||
<li><a href="{% url 'wagtailadmin_choose_page_child' page.id %}?{{ querystring }}" class="navigate-pages" >{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% else %}
|
||||
<h2>{{ pages.count }} search match{{ pages.count|pluralize:"es" }}</h2>
|
||||
<h2>
|
||||
{% blocktrans count counter=pages.count %}
|
||||
There is one match
|
||||
{% plural %}
|
||||
There are {{ counter }} matches
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
{% endif %}
|
||||
|
||||
{% if is_searching %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{% include "wagtailadmin/shared/header.html" with title="Choose a page" search_url="wagtailadmin_choose_page" %}
|
||||
{% load i18n %}
|
||||
{% trans "Choose a page" as choose_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=choose_str search_url="wagtailadmin_choose_page" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% include 'wagtailadmin/chooser/_link_types.html' with current='internal' %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{% include "wagtailadmin/shared/header.html" with title="Add an email link" %}
|
||||
{% load i18n %}
|
||||
{% trans "Add an email link" as email_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=email_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% include 'wagtailadmin/chooser/_link_types.html' with current='email' %}
|
||||
|
|
@ -9,7 +11,7 @@
|
|||
{% for field in form %}
|
||||
{% include "wagtailadmin/shared/field_as_li.html" %}
|
||||
{% endfor %}
|
||||
<li><input type="submit" value="Insert link" /></li>
|
||||
<li><input type="submit" value="{% trans 'Insert link' %}" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{% include "wagtailadmin/shared/header.html" with title="Add an external link" %}
|
||||
{% load i18n %}
|
||||
{% trans "Add an external link" as add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% include 'wagtailadmin/chooser/_link_types.html' with current='external' %}
|
||||
|
|
@ -9,7 +11,7 @@
|
|||
{% for field in form %}
|
||||
{% include "wagtailadmin/shared/field_as_li.html" %}
|
||||
{% endfor %}
|
||||
<li><input type="submit" value="Insert link" /></li>
|
||||
<li><input type="submit" value="{% trans 'Insert link' %}" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{% include "wagtailadmin/shared/header.html" with title="Choose a page" %}
|
||||
{% load i18n %}
|
||||
{% trans "Choose a page" as choose_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=choose_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% include 'wagtailadmin/chooser/_link_types.html' with current='internal' %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "wagtailadmin/edit_handlers/field_panel_field.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% comment %}
|
||||
Either the chosen or unchosen div will be shown, depending on the presence
|
||||
of the 'blank' class on the container.
|
||||
|
|
@ -17,14 +17,14 @@
|
|||
|
||||
<div class="actions">
|
||||
{% if not field.field.required %}
|
||||
<input type="button" class="button-secondary action-clear" value="{% block clear_button_label %}Clear choice{% endblock %}">
|
||||
<input type="button" class="button-secondary action-clear" value="{% block clear_button_label %}{% trans "Clear choice" %}{% endblock %}">
|
||||
{% endif %}
|
||||
<input type="button" class="button-secondary action-choose" value="{% block choose_another_button_label %}Choose another item{% endblock %}">
|
||||
<input type="button" class="button-secondary action-choose" value="{% block choose_another_button_label %}{% trans "Choose another item" %}{% endblock %}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="unchosen">
|
||||
<input type="button" class="action-choose button-secondary" value="{% block choose_button_label %}Choose an item{% endblock %}">
|
||||
<input type="button" class="action-choose button-secondary" value="{% block choose_button_label %}{% trans "Choose an item" %}{% endblock %}">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
{% load i18n %}
|
||||
<li id="inline_child_{{ child.form.prefix }}">
|
||||
<ul class="controls">
|
||||
{% if can_order %}
|
||||
<li class="icon text-replace white icon-order-up inline-child-move-up" id="{{ child.form.prefix }}-move-up">Move up</li>
|
||||
<li class="icon text-replace white icon-order-down inline-child-move-down" id="{{ child.form.prefix }}-move-down">Move down</li>
|
||||
<li class="icon text-replace white icon-order-up inline-child-move-up" id="{{ child.form.prefix }}-move-up">{% trans "Move up" %}</li>
|
||||
<li class="icon text-replace white icon-order-down inline-child-move-down" id="{{ child.form.prefix }}-move-down">{% trans "Move down" %}</li>
|
||||
{% endif %}
|
||||
<li class="icon text-replace white icon-bin" id="{{ child.form.DELETE.id_for_label }}-button">Delete</li>
|
||||
<li class="icon text-replace white icon-bin" id="{{ child.form.DELETE.id_for_label }}-button">{% trans "Delete" %}</li>
|
||||
</ul>
|
||||
{{ child.render_form_content }}
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "wagtailadmin/edit_handlers/chooser_panel.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% comment %}
|
||||
TODO: make it possible to specify button labels that are better tuned to the
|
||||
particular use case: e.g. "Choose an author", "Choose a location"
|
||||
|
|
@ -9,5 +9,5 @@
|
|||
<span class="title">{{ page.title }}</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block choose_another_button_label %}Choose another page{% endblock %}
|
||||
{% block choose_button_label %}Choose a page{% endblock %}
|
||||
{% block choose_another_button_label %}{% trans "Choose another page" %}{% endblock %}
|
||||
{% block choose_button_label %}{% trans "Choose a page" %}{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load gravatar compress %}
|
||||
{% block titletag %}Dashboard{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% trans "Dashboard" %}{% endblock %}
|
||||
{% block bodyclass %}homepage{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
|
@ -18,7 +19,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<div class="col10">
|
||||
<h1>Welcome to the {{ site_name }} Wagtail CMS</h1>
|
||||
<h1>{% blocktrans %}Welcome to the {{ site_name }} Wagtail CMS{% endblocktrans %}</h1>
|
||||
<h2>{{ user.get_full_name|default:user.username }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -29,7 +30,7 @@
|
|||
{{ panel.render }}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p>This is your dashboard on which helpful information about content you've created will be displayed.</p>
|
||||
<p>{% trans "This is your dashboard on which helpful information about content you've created will be displayed." %}</p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{% load i18n %}
|
||||
{% if page_revisions_for_moderation %}
|
||||
<div class="panel nice-padding">{# TODO try moving these classes onto the section tag #}
|
||||
<section>
|
||||
<h2>Pages awaiting moderation</h2>
|
||||
<h2>{% trans 'Pages awaiting moderation' %}</h2>
|
||||
<table class="listing">
|
||||
<col />
|
||||
<col />
|
||||
|
|
@ -9,32 +10,32 @@
|
|||
<col width="15%"/>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">Title</th>
|
||||
<th>Parent</th>
|
||||
<th>Date</th>
|
||||
<th>Author</th>
|
||||
<th class="title">{% trans "Title" %}</th>
|
||||
<th>{% trans "Parent" %}</th>
|
||||
<th>{% trans "Date" %}</th>
|
||||
<th>{% trans "Author" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for revision in page_revisions_for_moderation %}
|
||||
<tr>
|
||||
<td class="title">
|
||||
<h2><a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" title="Edit this page">{{ revision.page.title }}</a></h2>
|
||||
<h2><a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" title="{% trans 'Edit this page' %}">{{ revision.page.title }}</a></h2>
|
||||
<ul class="actions">
|
||||
<li>
|
||||
<form action="{% url 'wagtailadmin_pages_approve_moderation' revision.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" class="button button-small" value="Approve">
|
||||
<input type="submit" class="button button-small" value="{% trans 'Approve' %}">
|
||||
</form>
|
||||
</li>
|
||||
<li class="no-border">
|
||||
<form action="{% url 'wagtailadmin_pages_reject_moderation' revision.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" class="button button-small button-secondary no" value="Reject">
|
||||
<input type="submit" class="button button-small button-secondary no" value="{% trans 'Reject' %}">
|
||||
</form>
|
||||
</li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}">Edit</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_preview_for_moderation' revision.id %}">Preview</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_preview_for_moderation' revision.id %}">{% trans 'Preview' %}</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
<td><a href="{% url 'wagtailadmin_explore' revision.page.get_parent.id %}">{{ revision.page.get_parent.title }}</a></td>
|
||||
|
|
|
|||
|
|
@ -1,30 +1,31 @@
|
|||
{% load i18n %}
|
||||
{% if last_edits %}
|
||||
<div class="panel nice-padding">{# TODO try moving these classes onto the section tag #}
|
||||
<section>
|
||||
<h2>Your most recent edits</h2>
|
||||
<h2>{% trans "Your most recent edits" %}</h2>
|
||||
<table class="listing">
|
||||
<col />
|
||||
<col width="15%"/>
|
||||
<col width="15%"/>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">Title</th>
|
||||
<th>Date</th>
|
||||
<th>Status</th>
|
||||
<th class="title">{% trans "Title" %}</th>
|
||||
<th>{% trans "Date" %}</th>
|
||||
<th>{% trans "Status" %}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for revision in last_edits %}
|
||||
<tr>
|
||||
<td class="title">
|
||||
<h2><a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" title="Edit this page">{{ revision.page.title }}</a></h2>
|
||||
<h2><a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" title="{% trans 'Edit this page' %}">{{ revision.page.title }}</a></h2>
|
||||
<ul class="actions">
|
||||
<li><a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" target="_blank">Edit</a></li>
|
||||
{% if revision.page.has_unpublished_changes %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_view_draft' revision.page.id %}" target="_blank">View draft</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_view_draft' revision.page.id %}" target="_blank">{% trans 'View draft' %}</a></li>
|
||||
{% endif %}
|
||||
{% if revision.page.live %}
|
||||
<li><a href="{{ revision.page.url }}" target="_blank">View live</a></li>
|
||||
<li><a href="{{ revision.page.url }}" target="_blank">{% trans 'View live' %}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,27 @@
|
|||
{% load i18n %}
|
||||
<section class="panel summary">
|
||||
<h2>Site summary</h2>
|
||||
<h2>{% trans "Site summary" %}</h2>
|
||||
<ul>
|
||||
<li class="icon icon-doc-empty-inverse"><span>{{ total_pages }}</span> Page{{ total_pages|pluralize:"s" }}</li>
|
||||
<li class="icon icon-image"><span>{{ total_images }}</span> Image{{ total_images|pluralize:"s" }}</li>
|
||||
<li class="icon icon-doc-full-inverse"><span>{{ total_docs }}</span> Document{{ total_docs|pluralize:"s" }}</li>
|
||||
<li class="icon icon-doc-empty-inverse">
|
||||
{% blocktrans count counter=total_pages %}
|
||||
<span>{{ total_pages }}</span> Page
|
||||
{% plural %}
|
||||
<span>{{ total_pages }}</span> Pages
|
||||
{% endblocktrans %}
|
||||
</li>
|
||||
<li class="icon icon-image">
|
||||
{% blocktrans count counter=total_images %}
|
||||
<span>{{ total_images }}</span> Image
|
||||
{% plural %}
|
||||
<span>{{ total_images }}</span> Images
|
||||
{% endblocktrans %}
|
||||
</li>
|
||||
<li class="icon icon-doc-full-inverse">
|
||||
{% blocktrans count counter=total_docs %}
|
||||
<span>{{ total_docs }}</span> Document
|
||||
{% plural %}
|
||||
<span>{{ total_docs }}</span> Documents
|
||||
{% endblocktrans %}
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "wagtailadmin/skeleton.html" %}
|
||||
{% load compress %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}Sign in{% endblock %}
|
||||
{% block bodyclass %}login{% endblock %}
|
||||
|
||||
|
|
@ -14,7 +15,7 @@
|
|||
{% if form.errors %}
|
||||
<div class="messages">
|
||||
<ul>
|
||||
<li class="error">Your username and password didn't match. Please try again.</li>
|
||||
<li class="error">{% trans "Your username and password didn't match. Please try again." %}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
@ -45,12 +46,12 @@
|
|||
Removed until functionality exists
|
||||
<li class="checkbox">
|
||||
<div class="field">
|
||||
<label><input type="checkbox" /> Remember me</label>
|
||||
<label><input type="checkbox" />{% trans "Remember me" %}</label>
|
||||
</div>
|
||||
</li>
|
||||
{% endcomment %}
|
||||
<li class="submit">
|
||||
<input type="submit" value="Sign in"/>
|
||||
<input type="submit" value={% trans '"Sign in' %}"/>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
The page "{{ revision.page.title|safe }}" has been approved
|
||||
The page "{{ revision.page.title|safe }}" has been approved.
|
||||
{% load i18n %}{% blocktrans title=revision.page.title|safe %}The page "{{ title }}" has been approved{% endblocktrans %}
|
||||
{% blocktrans with title=revision.page.title|safe %}The page "{{ title }}" has been approved.{% endblocktrans %}
|
||||
|
||||
You can view the page here: {{ revision.page.full_url }}
|
||||
{% trans "You can view the page here:" %} {{ revision.page.full_url }}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
The page "{{ revision.page.title|safe }}" has been rejected
|
||||
The page "{{ revision.page.title|safe }}" has been rejected.
|
||||
{% load i18n %}{% blocktrans with title=revision.page.title|safe %}The page "{{ title }}" has been rejected{% endblocktrans %}
|
||||
{% blocktrans with title=revision.page.title|safe %}The page "{{ title }}" has been rejected.{% endblocktrans %}
|
||||
|
||||
You can edit the page here: {{ settings.BASE_URL }}{% url 'wagtailadmin_pages_edit' revision.page.id %}
|
||||
{% trans "You can edit the page here:"%} {{ settings.BASE_URL }}{% url 'wagtailadmin_pages_edit' revision.page.id %}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
The page "{{ revision.page|safe }}" has been submitted for moderation
|
||||
The page "{{ revision.page|safe }}" has been submitted for moderation.
|
||||
{% load i18n %}{% blocktrans with page=revision.page|safe %}The page "{{ page }}" has been submitted for moderation{% endblocktrans %}
|
||||
{% blocktrans with page=revision.page|safe %}The page "{{ page }}" has been submitted for moderation.{% endblocktrans %}
|
||||
|
||||
You can preview the page here: {{ settings.BASE_URL }}{% url 'wagtailadmin_pages_preview_for_moderation' revision.id %}
|
||||
You can edit the page here: {{ settings.BASE_URL }}{% url 'wagtailadmin_pages_edit' revision.page.id %}
|
||||
{% trans "You can preview the page here:" %} {{ settings.BASE_URL }}{% url 'wagtailadmin_pages_preview_for_moderation' revision.id %}
|
||||
{% trans "You can edit the page here:" %} {{ settings.BASE_URL }}{% url 'wagtailadmin_pages_edit' revision.page.id %}
|
||||
|
|
@ -1,17 +1,20 @@
|
|||
{% load i18n %}
|
||||
<div class="wagtail-moderator-controls">
|
||||
<div class="message">
|
||||
<p>Previewing '{{ revision.page.title }}', submitted by {{ revision.user.get_full_name|default:revision.user.username }} on {{ revision.created_at|date:"d M Y H:i" }}.</p>
|
||||
<p>{% blocktrans with title=revision.page.title submitted_by=revision.user.get_full_name|default:revision.user.username submitted_on=revision.created_at|date:"d M Y H:i" %}
|
||||
Previewing '{{ title }}', submitted by {{ submitted_by }} on {{ submitted_on }}.
|
||||
{% endblocktrans %}</p>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" class="button">Edit</a>
|
||||
<a href="{% url 'wagtailadmin_pages_edit' revision.page.id %}" class="button">{% trans 'Edit' %}</a>
|
||||
<form action="{% url 'wagtailadmin_pages_approve_moderation' revision.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" class="button yes" value="Approve" />
|
||||
<input type="submit" class="button yes" value="{% trans 'Approve' %}" />
|
||||
</form>
|
||||
|
||||
<form action="{% url 'wagtailadmin_pages_reject_moderation' revision.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" class="button no" value="Reject" />
|
||||
<input type="submit" class="button no" value="{% trans 'Reject' %}" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load meta_description %}
|
||||
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block titletag %}Create a page in {{ parent_page.title }}{% endblock %}
|
||||
{% block titletag %}{% blocktrans with title=parent_page.title %}Create a page in {{ title }}{% endblocktrans %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Create a page in" subtitle=parent_page.title %}
|
||||
{% trans "Create a page in" as create_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=create_str subtitle=parent_page.title %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>Choose which type of page you'd like to create.</p>
|
||||
<p>{% trans "Choose which type of page you'd like to create." %}</p>
|
||||
|
||||
{% if all_page_types %}
|
||||
<ul class="listing">
|
||||
|
|
|
|||
|
|
@ -1,18 +1,29 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Delete {{ page.title }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with title=page.title %}Delete {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Delete" subtitle=page.title %}
|
||||
{% trans "Delete" as del_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str subtitle=page.title %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>Are you sure you want to delete this page? {% if descendant_count %}This will also delete {{ descendant_count }} subpage{{ descendant_count|pluralize }}.{% endif %}</p>
|
||||
<p>
|
||||
{% trans 'Are you sure you want to delete this page?' %}
|
||||
{% if descendant_count %}
|
||||
{% blocktrans count counter=descendant_count %}
|
||||
This will also delete one more subpage.
|
||||
{% plural %}
|
||||
This will also delete {{ descendant_count }} more subpages.
|
||||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if page.live %}
|
||||
<p>Alternatively you can unpublish the page. This removes the page from public view and you can edit or publish it again later.</p>
|
||||
<p>{% trans "Alternatively you can unpublish the page. This removes the page from public view and you can edit or publish it again later." %}</p>
|
||||
{% endif %}
|
||||
<form action="{% url 'wagtailadmin_pages_delete' page.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Delete it" class="serious {% if page.live %}button-secondary{% endif %}"> {% if page.live %}<a href="{% url 'wagtailadmin_pages_unpublish' page.id %}" class="button">Unpublish it</a>{% endif %}
|
||||
<input type="submit" value="{% trans 'Delete it' %}" class="serious {% if page.live %}button-secondary{% endif %}"> {% if page.live %}<a href="{% url 'wagtailadmin_pages_unpublish' page.id %}" class="button">{% trans 'Unpublish it' %}</a>{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,21 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Move {{ page.title }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with title=page.title %}Move {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Move" subtitle=page_to_move.title %}
|
||||
{% trans "Move" as move_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=move_str subtitle=page_to_move.title %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% if page_to_move.is_leaf %}
|
||||
<p>Are you sure you want to move this page into '{{ destination.title }}'?</p>
|
||||
<p>{% blocktrans %}Are you sure you want to move this page into '{{ destination.title }}'?{% endblocktrans %}</p>
|
||||
{% else %}
|
||||
<p>Are you sure you want to move this page and all of its children into '{{ destination.title }}'?</p>
|
||||
<p>{% blocktrans %}Are you sure you want to move this page and all of its children into '{{ destination.title }}'?{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
|
||||
<form action="{% url 'wagtailadmin_pages_move_confirm' page_to_move.id destination.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Yes, move this page">
|
||||
<input type="submit" value="{% trans 'Yes, move this page' %}">
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,16 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Unpublish {{ page.title }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with title=page.title%}Unpublish {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% include "wagtailadmin/shared/header.html" with title="Unpublish" subtitle=page.title %}
|
||||
{% trans "Unpublish" as unpublish_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=unpublish_str subtitle=page.title %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>Are you sure you want to unpublish this page?</p>
|
||||
<p>{% trans "Are you sure you want to unpublish this page?" %}</p>
|
||||
<form action="{% url 'wagtailadmin_pages_unpublish' page.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Yes, unpublish it">
|
||||
<input type="submit" value="{% trans 'Yes, unpublish it' %}">
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Pages using" subtitle=content_type.model_class.get_verbose_name %}
|
||||
{% trans "Pages using" as pages_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=pages_str subtitle=content_type.model_class.get_verbose_name %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% include "wagtailadmin/pages/list.html" with sortable=1 allow_navigation=0 sortable=0 %}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load page_permissions %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block titletag %}New {{ content_type.model_class.get_verbose_name }}{% endblock %}
|
||||
{% block titletag %}{% blocktrans with page_type=content_type.model_class.get_verbose_name %}New {{ page_type }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer page-editor create{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
@ -16,14 +17,14 @@
|
|||
<ul>
|
||||
<li class="actions">
|
||||
<div class="dropdown dropup match-width">
|
||||
<input type="submit" value="Save as draft" class="button" />
|
||||
<input type="submit" value="{% trans 'Save as draft' %}" class="button" />
|
||||
<div class="dropdown-toggle icon icon-arrow-up"></div>
|
||||
<ul role="menu">
|
||||
<li><input type="button" id="action-preview" data-action="{% url 'wagtailadmin_pages_preview_on_create' content_type.app_label content_type.model parent_page.id %}" data-placeholder="{% url 'wagtailadmin_pages_preview_placeholder' %}" data-windowname="wagtail_preview_{{ parent_page.id }}_child" value="Preview" class="button" /></li>
|
||||
<li><input type="button" id="action-preview" data-action="{% url 'wagtailadmin_pages_preview_on_create' content_type.app_label content_type.model parent_page.id %}" data-placeholder="{% url 'wagtailadmin_pages_preview_placeholder' %}" data-windowname="wagtail_preview_{{ parent_page.id }}_child" value="{% trans 'Preview' %}" class="button" /></li>
|
||||
{% if parent_page_perms.can_publish_subpage %}
|
||||
<li><input type="submit" name="action-publish" value="Publish" class="button" /></li>
|
||||
<li><input type="submit" name="action-publish" value="{% trans 'Publish' %}" class="button" /></li>
|
||||
{% endif %}
|
||||
<li><input type="submit" name="action-submit" value="Submit for moderation" class="button" /></li>
|
||||
<li><input type="submit" name="action-submit" value="{% trans 'Submit for moderation' %}" class="button" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load page_permissions %}
|
||||
{% load gravatar %}
|
||||
{% block titletag %}Editing {{ page.title }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with title=page.title %}Editing {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer page-editor{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<header class="merged tab-merged nice-padding">
|
||||
<div class="row row-flush">
|
||||
<div class="left col9">
|
||||
<h1>Editing <span>{{ page.title }}</span></h1>
|
||||
<h1>{% blocktrans with title=page.title %}Editing <span>{{ title }}</span>{% endblocktrans %}</h1>
|
||||
</div>
|
||||
<div class="right col3">
|
||||
Status: {% if page.live %}<a href="{{ page.url }}" class="status-tag {% if page.live %}primary{% endif %}">{{ page.status_string }}</a>{% else %}<span class="status-tag">{{ page.status_string }}</span>{% endif %}
|
||||
{% trans "Status:" %} {% if page.live %}<a href="{{ page.url }}" class="status-tag {% if page.live %}primary{% endif %}">{{ page.status_string }}</a>{% else %}<span class="status-tag">{{ page.status_string }}</span>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -29,16 +30,16 @@
|
|||
<div class="dropdown-toggle icon icon-arrow-up"></div>
|
||||
<ul role="menu">
|
||||
{% if page_perms.can_unpublish %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_unpublish' page.id %}">Unpublish</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_unpublish' page.id %}">{% trans 'Unpublish' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page_perms.can_delete %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_delete' page.id %}" class="shortcut">Delete</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_delete' page.id %}" class="shortcut">{% trans 'Delete' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page_perms.can_publish %}
|
||||
<li><input type="submit" name="action-publish" value="Publish" class="button" /></li>
|
||||
<li><input type="submit" name="action-publish" value="{% trans 'Publish' %}" class="button" /></li>
|
||||
{% endif %}
|
||||
<li><input type="submit" name="action-submit" value="Submit for moderation" class="button" /></li>
|
||||
<li><input type="button" id="action-preview" data-action="{% url 'wagtailadmin_pages_preview_on_edit' page.id %}" data-placeholder="{% url 'wagtailadmin_pages_preview_placeholder' %}" data-windowname="wagtail_preview_{{ page.id }}" value="Preview" class="button" /></li>
|
||||
<li><input type="submit" name="action-submit" value="{% trans 'Submit for moderation' %}" class="button" /></li>
|
||||
<li><input type="button" id="action-preview" data-action="{% url 'wagtailadmin_pages_preview_on_edit' page.id %}" data-placeholder="{% url 'wagtailadmin_pages_preview_placeholder' %}" data-windowname="wagtail_preview_{{ page.id }}" value="{% trans 'Preview' %}" class="button" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
|
@ -48,9 +49,9 @@
|
|||
<li class="meta">
|
||||
<p class="modified">
|
||||
{% if page.get_latest_revision %}
|
||||
Last modified: {{ page.get_latest_revision.created_at }}
|
||||
{% blocktrans with last_mod=page.get_latest_revision.created_at %}Last modified: {{ last_mod }}{% endblocktrans %}
|
||||
{% if page.get_latest_revision.user %}
|
||||
by {{ page.get_latest_revision.user.get_full_name|default:page.get_latest_revision.user.username }}
|
||||
{% blocktrans with modified_by=page.get_latest_revision.user.get_full_name|default:page.get_latest_revision.user.username %}by {{ modified_by }}{% endblocktrans %}
|
||||
{% if request.user.email %}
|
||||
<span class="avatar small icon icon-user"><img src="{% gravatar_url page.get_latest_revision.user.email 25 %}" /></span>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load page_permissions %}
|
||||
{% block titletag %}Exploring {{ parent_page.title }}{% endblock %}
|
||||
{% block titletag %}{% blocktrans with title=parent_page.title %}Exploring {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer page-explorer {% if ordering == 'ord' %}reordering{% endif %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
<ul class="breadcrumb">
|
||||
{% for page in parent_page.get_ancestors %}
|
||||
{% if page.is_root %}
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}" class="icon icon-home text-replace">Home</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}" class="icon icon-home text-replace">{% trans 'Home' %}</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'wagtailadmin_explore' page.id %}">{{ page.title }}</a></li>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{% load i18n %}
|
||||
{% load page_permissions %}
|
||||
<table class="listing{% if full_width %} full-width{% endif %}{% if moving or choosing %} chooser{% endif %}">
|
||||
{% if orderable %}
|
||||
|
|
@ -18,10 +19,10 @@
|
|||
{% endif %}
|
||||
<th class="title">Title</th>
|
||||
{% if show_parent %}
|
||||
<th class="parent">Parent</th>
|
||||
<th class="parent">{% trans 'Parent' %}</th>
|
||||
{% endif %}
|
||||
<th class="type">Type</th>
|
||||
<th class="status">Status</th>
|
||||
<th class="type">{% trans 'Type' %}</th>
|
||||
<th class="status">{% trans 'Status' %}</th>
|
||||
<th class="children"></th>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
@ -49,25 +50,25 @@
|
|||
{% endif %}
|
||||
<ul class="actions">
|
||||
{% if parent_page_perms.can_add_subpage and 'add_subpage' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_add_subpage' parent_page.id %}" class="button button-small bicolor icon white icon-plus">Add child page</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_add_subpage' parent_page.id %}" class="button button-small bicolor icon white icon-plus">{% trans 'Add child page' %}</a></li>
|
||||
{% endif %}
|
||||
{% if parent_page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_edit' parent_page.id %}">Edit</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_edit' parent_page.id %}">{% trans 'Edit' %}</a></li>
|
||||
{% endif %}
|
||||
{% if parent_page.has_unpublished_changes and 'view_draft' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_view_draft' parent_page.id %}" target="_blank">View draft</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_view_draft' parent_page.id %}" target="_blank">{% trans 'View draft' %}</a></li>
|
||||
{% endif %}
|
||||
{% if parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %}
|
||||
<li><a href="{{ parent_page.url }}" target="_blank">View live</a></li>
|
||||
<li><a href="{{ parent_page.url }}" target="_blank">{% trans 'View live' %}</a></li>
|
||||
{% endif %}
|
||||
{% if parent_page_perms.can_move and 'move' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_move' parent_page.id %}">Move</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_move' parent_page.id %}">{% trans 'Move' %}</a></li>
|
||||
{% endif %}
|
||||
{% if parent_page_perms.can_delete and 'delete' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_delete' parent_page.id %}">Delete</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_delete' parent_page.id %}">{% trans 'Delete' %}</a></li>
|
||||
{% endif %}
|
||||
{% if parent_page_perms.can_unpublish and 'unpublish' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_unpublish' parent_page.id %}">Unpublish</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_unpublish' parent_page.id %}">{% trans 'Unpublish' %}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
@ -91,14 +92,14 @@
|
|||
{% if orderable %}
|
||||
<th class="ord">
|
||||
{% if ordering == "ord" %}
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}" class="icon icon-order text-replace" title="Disable ordering of child pages">Order</a></th>
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}" class="icon icon-order text-replace" title="{% trans 'Disable ordering of child pages' %}">{% trans 'Order' %}</a></th>
|
||||
{% else %}
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}?ordering=ord" class="icon icon-order text-replace" title="Enable ordering of child pages">Order</a></th>
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}?ordering=ord" class="icon icon-order text-replace" title="{% trans 'Enable ordering of child pages' %}">{% trans 'Order' %}</a></th>
|
||||
{% endif %}
|
||||
</th>
|
||||
{% endif %}
|
||||
<th class="title">
|
||||
Title
|
||||
{% trans 'Title' %}
|
||||
{% if sortable %}
|
||||
{% if ordering == "title" %}
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}?ordering=-title" class="icon icon-arrow-down-after teal"></a>
|
||||
|
|
@ -113,7 +114,7 @@
|
|||
<th class="parent">Parent</th>
|
||||
{% endif %}
|
||||
<th class="type">
|
||||
Type
|
||||
{% trans 'Type' %}
|
||||
{% if sortable %}
|
||||
{% if ordering == "content_type" %}
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}?ordering=-content_type" class="icon icon-arrow-down-after teal"></a>
|
||||
|
|
@ -125,7 +126,7 @@
|
|||
{% endif %}
|
||||
</th>
|
||||
<th class="status">
|
||||
Status
|
||||
{% trans 'Status' %}
|
||||
{% if sortable %}
|
||||
{% if ordering == "live" %}
|
||||
<a href="{% url 'wagtailadmin_explore' parent_page.id %}?ordering=-live" class="icon icon-arrow-down-after teal"></a>
|
||||
|
|
@ -146,7 +147,7 @@
|
|||
{% page_permissions page as page_perms %}
|
||||
<tr {% if ordering == "ord" %}id="page_{{ page.id }}" data-page-title="{{ page.title }}"{% endif %} class="{% if not page.live %} inactive{% endif %}{% if moving and page.can_choose %} can-choose{% elif choosing and page.can_choose %} can-choose{% else %} cant-choose{% endif %}">
|
||||
{% if orderable %}
|
||||
<td class="ord">{% if ordering == "ord" %}<div class="handle icon icon-grip text-replace">Drag</div>{% endif %}</td>
|
||||
<td class="ord">{% if ordering == "ord" %}<div class="handle icon icon-grip text-replace">{% trans 'Drag' %}</div>{% endif %}</td>
|
||||
{% endif %}
|
||||
<td class="title">
|
||||
<h2>
|
||||
|
|
@ -164,7 +165,7 @@
|
|||
{% endif %}
|
||||
{% else %}
|
||||
{% if page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
|
||||
<a href="{% url 'wagtailadmin_pages_edit' page.id %}" title="Edit this page">{{ page.title }}</a>
|
||||
<a href="{% url 'wagtailadmin_pages_edit' page.id %}" title="{% trans 'Edit this page' %}">{{ page.title }}</a>
|
||||
{% else %}
|
||||
{{ page.title }}
|
||||
{% endif %}
|
||||
|
|
@ -173,31 +174,37 @@
|
|||
{% if not moving and not choosing %}
|
||||
<ul class="actions">
|
||||
{% if page_perms.can_edit and 'edit' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_edit' page.id %}" title="Edit this page">Edit</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_edit' page.id %}" title="{% trans 'Edit this page' %}">{% trans 'Edit' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page.has_unpublished_changes and 'view_draft' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_view_draft' page.id %}" target="_blank">View draft</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_view_draft' page.id %}" target="_blank">{% trans 'View draft' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page.live and 'view_live' not in hide_actions|default:'' %}
|
||||
<li><a href="{{ page.url }}" target="_blank">View live</a></li>
|
||||
<li><a href="{{ page.url }}" target="_blank">{% trans 'View live' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page_perms.can_move and 'move' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_move' page.id %}">Move</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_move' page.id %}">{% trans 'Move' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page_perms.can_delete and 'delete' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_delete' page.id %}">Delete</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_delete' page.id %}">{% trans 'Delete' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page_perms.can_unpublish and 'unpublish' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_unpublish' page.id %}">Unpublish</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_unpublish' page.id %}">{% trans 'Unpublish' %}</a></li>
|
||||
{% endif %}
|
||||
{% if page_perms.can_add_subpage and 'add_subpage' not in hide_actions|default:'' %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_add_subpage' page.id %}">Add child page</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_add_subpage' page.id %}">{% trans 'Add child page' %}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if show_parent %}
|
||||
<td class="parent"><a href="{% url 'wagtailadmin_explore' page.get_parent.id %}">{{ page.get_parent.title }}</a></td>
|
||||
{% with page.get_parent as parent %}
|
||||
<td class="parent">
|
||||
{% if parent %}
|
||||
<a href="{% url 'wagtailadmin_explore' parent.id %}">{{ parent.title }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
<td class="type">{{ page.content_type.model_class.get_verbose_name }}</td>
|
||||
<td class="status">
|
||||
|
|
@ -211,17 +218,17 @@
|
|||
{% if allow_navigation %}
|
||||
{% if moving %}
|
||||
{% if page.can_descend %}
|
||||
<a href="{% url 'wagtailadmin_pages_move_choose_destination' page_to_move.id page.id %}" class="icon text-replace icon-arrow-right navigate-pages" title="Explorer subpages of '{{ page.title }}'">Explore</a>
|
||||
<a href="{% url 'wagtailadmin_pages_move_choose_destination' page_to_move.id page.id %}" class="icon text-replace icon-arrow-right navigate-pages" title="{% blocktrans with title=page.title %}Explorer subpages of '{{ title }}'{% endblocktrans %}">{% trans 'Explore' %}</a>
|
||||
{% endif %}
|
||||
{% elif choosing %}
|
||||
{% if page.can_descend %}
|
||||
<a href="{% url 'wagtailadmin_choose_page_child' page.id %}?{{ querystring }}" class="icon text-replace icon-arrow-right navigate-pages" title="Explorer subpages of '{{ page.title }}'">Explore</a>
|
||||
<a href="{% url 'wagtailadmin_choose_page_child' page.id %}?{{ querystring }}" class="icon text-replace icon-arrow-right navigate-pages" title="{% blocktrans with title=page.title %}Explorer subpages of '{{ title }}'{% endblocktrans %}">{% trans 'Explore' %}</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if page.is_navigable %}
|
||||
<a href="{% url 'wagtailadmin_explore' page.id %}" class="icon text-replace icon-arrow-right" title="Explorer child pages of '{{ page.title }}'">Explore</a>
|
||||
<a href="{% url 'wagtailadmin_explore' page.id %}" class="icon text-replace icon-arrow-right" title="{% blocktrans with title=page.title %}Explorer child pages of '{{ title }}'{% endblocktrans %}">{% trans "Explore" %}</a>
|
||||
{% elif page_perms.can_add_subpage %}
|
||||
<a href="{% url 'wagtailadmin_pages_add_subpage' page.id %}" class="icon text-replace icon-plus-inverse" title="Add a child page to '{{ page.title }}'">Add subpage</a>
|
||||
<a href="{% url 'wagtailadmin_pages_add_subpage' page.id %}" class="icon text-replace icon-plus-inverse" title="{% blocktrans with title=page.title %}Add a child page to '{{ title }}'{% endblocktrans %}">{% trans 'Add subpage' %}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
@ -229,7 +236,8 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<tr><td colspan="3" class="no-results-message"><p>No pages have been created.{% if parent_page and parent_page_perms.can_add_subpage %} Why not <a href="{% url 'wagtailadmin_pages_add_subpage' parent_page.id %}">add one</a>?{% endif %}</td></tr>
|
||||
{% url 'wagtailadmin_pages_add_subpage' parent_page.id as add_page_url%}
|
||||
<tr><td colspan="3" class="no-results-message"><p>{% trans "No pages have been created." %}{% if parent_page and parent_page_perms.can_add_subpage %} {% blocktrans %}Why not <a href="{{ add_page_url }}">add one</a>?{% endblocktrans %}{% endif %}</td></tr>
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Select a new parent page for {{ page_to_move.title }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with title=page_to_move.title %}Select a new parent page for {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
<header class="nice-padding">
|
||||
<h1>Select a new parent page for <span>{{ page_to_move.title }}</span></h1>
|
||||
<h1>{% blocktrans title=page_to_move.title %}Select a new parent page for <span>{{ title }}</span>{% endblocktrans %}</h1>
|
||||
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}" class="icon icon-home text-replace">Home</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}" class="icon icon-home text-replace">{% trans 'Home' %}</a></li>
|
||||
{% for page in viewed_page.get_ancestors %}
|
||||
<li><a href="{% url 'wagtailadmin_pages_move_choose_destination' page_to_move.id page.id %}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Search{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% trans 'Search' %}{% endblock %}
|
||||
{% block bodyclass %}menu-search{% endblock %}
|
||||
{% block extra_js %}
|
||||
<script>
|
||||
|
|
@ -12,7 +13,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Search" search_url="wagtailadmin_pages_search" %}
|
||||
{% trans "Search" as search_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=search_str search_url="wagtailadmin_pages_search" %}
|
||||
|
||||
<div id="page-results">
|
||||
{% include "wagtailadmin/pages/search_results.html" with show_parent="True" %}
|
||||
|
|
|
|||
|
|
@ -1,29 +1,38 @@
|
|||
{% load i18n %}
|
||||
<div class="nice-padding">
|
||||
{% if pages %}
|
||||
{% if is_searching %}
|
||||
<h2>{{ pages.paginator.count }} match{{ pages.paginator.count|pluralize:"es" }}</h2>
|
||||
<h2>
|
||||
{% blocktrans count counter=pages.paginator.count %}
|
||||
There is one match
|
||||
{% plural %}
|
||||
There are {{ counter }} matches
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
{% endif %}
|
||||
|
||||
{% include "wagtailadmin/pages/list.html" with show_parent=1 allow_navigation=0 %}
|
||||
|
||||
<div class="pagination">
|
||||
<p>Page {{ pages.number }} of {{ pages.paginator.num_pages }}.</p>
|
||||
<p>{% blocktrans with page_number=pages.number num_pages=pages.paginator.num_pages%}
|
||||
Page {{ page_number }} of {{ num_pages }}.
|
||||
{% endblocktrans %}</p>
|
||||
<ul>
|
||||
<li class="prev">
|
||||
{% if pages.has_previous %}
|
||||
{% if is_searching %}
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?q={{ search_query|urlencode }}&p={{ pages.previous_page_number }}" class="icon icon-arrow-left">Previous</a>
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?q={{ search_query|urlencode }}&p={{ pages.previous_page_number }}" class="icon icon-arrow-left">{% trans "Previous" %}</a>
|
||||
{% else %}
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?p={{ pages.previous_page_number }}" class="icon icon-arrow-left">Previous</a>
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?p={{ pages.previous_page_number }}" class="icon icon-arrow-left">{% trans "Previous" %}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
<li class="next">
|
||||
{% if pages.has_next %}
|
||||
{% if is_searching %}
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?q={{ search_query|urlencode }}&p={{ pages.next_page_number }}" class="icon icon-arrow-right-after">Next</a>
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?q={{ search_query|urlencode }}&p={{ pages.next_page_number }}" class="icon icon-arrow-right-after">{% trans 'Next' %}</a>
|
||||
{% else %}
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?p={{ pages.next_page_number }}" class="icon icon-arrow-right-after">Next</a>
|
||||
<a href="{% url 'wagtailadmin_pages_search' %}?p={{ pages.next_page_number }}" class="icon icon-arrow-right-after">{% trans 'Next' %}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
|
|
@ -31,9 +40,9 @@
|
|||
</div>
|
||||
{% else %}
|
||||
{% if is_searching %}
|
||||
<p>Sorry, no pages match <em>"{{ search_query }}"</em></p>
|
||||
<p>{% blocktrans %}Sorry, no pages match <em>"{{ search_query }}"</em>{% endblocktrans %}</p>
|
||||
{% else %}
|
||||
<p>Enter a search term above</p>
|
||||
<p>{% trans 'Enter a search term above' %}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Where do you want to create a {{ content_type.model_class.get_verbose_name }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with page_type=content_type.model_class.get_verbose_name %}Where do you want to create a {{ page_type }}{% endblocktrans %}{% endblock %}
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Where do you want to create this" subtitle=content_type.model_class.get_verbose_name %}
|
||||
{% trans "Where do you want to create this" as where_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=where_str subtitle=content_type.model_class.get_verbose_name %}
|
||||
|
||||
<ul>
|
||||
{% for page in parent_pages %}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Create a new page{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% trans "Create a new page" %}{% endblock %}
|
||||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% include "wagtailadmin/shared/header.html" with title="Create a new page" %}
|
||||
{% trans "Create a new page" as create_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=create_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>Your new page will be saved in the <em>top level</em> of your website. You can move it after saving.</p>
|
||||
<p>{% trans "Your new page will be saved in the <em>top level</em> of your website. You can move it after saving." %}</p>
|
||||
|
||||
{% if all_page_types %}
|
||||
<ul class="listing">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% load gravatar wagtailadmin_nav %}
|
||||
|
||||
{% load i18n %}
|
||||
<nav class="nav-main">
|
||||
<ul>
|
||||
{% for menu_item in menu_items %}
|
||||
|
|
@ -8,18 +8,18 @@
|
|||
|
||||
{% comment %}
|
||||
{# TODO: make this work #}
|
||||
<li><a href="{% url 'wagtailadmin_pages_select_type' %}" class="icon teal icon-plus-inverse">New page</a></li>
|
||||
<li><a href="{% url 'wagtailadmin_pages_select_type' %}" class="icon teal icon-plus-inverse">{% trans 'New page' %}</a></li>
|
||||
{% endcomment %}
|
||||
<li class="footer">
|
||||
<div class="avatar icon icon-user"><a href="{% url 'wagtailadmin_account' %}" title="Account settings">{% if request.user.email %}<img src="{% gravatar_url request.user.email %}" />{% endif %}</a></div>
|
||||
<div class="avatar icon icon-user"><a href="{% url 'wagtailadmin_account' %}" title="{% trans 'Account settings' %}">{% if request.user.email %}<img src="{% gravatar_url request.user.email %}" />{% endif %}</a></div>
|
||||
<a href="{% url 'django.contrib.auth.views.logout' %}">Log out</a>
|
||||
</li>
|
||||
{% if request.user.is_superuser %} {# for now, 'More' links will be superuser-only #}
|
||||
<li class="more">
|
||||
<a href="#" class="icon icon-arrow-down">More</a>
|
||||
<a href="#" class="icon icon-arrow-down">{% trans 'More' %}</a>
|
||||
<ul>
|
||||
<li class="menu-redirects"><a href="{% url 'wagtailredirects_index' %}" class="icon icon-redirect">Redirects</a></li>
|
||||
<li class="menu-editorspicks"><a href="{% url 'wagtailsearch_editorspicks_index' %}">Editors Picks</a></li>
|
||||
<li class="menu-redirects"><a href="{% url 'wagtailredirects_index' %}" class="icon icon-redirect">{% trans 'Redirects' %}</a></li>
|
||||
<li class="menu-editorspicks"><a href="{% url 'wagtailsearch_editorspicks_index' %}">{% trans 'Editors Picks' %}</a></li>
|
||||
{% get_wagtailadmin_tab_urls as wagtailadmin_tab_urls %}
|
||||
{% for name, title in wagtailadmin_tab_urls %}
|
||||
<li class="menu-{{ title|slugify }}"><a href="{% url name %}" class="icon icon-{{name}}">{{ title }}</a></li>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,28 @@
|
|||
{% load i18n %}
|
||||
<div class="pagination">
|
||||
<p>Page {{ items.number }} of {{ items.paginator.num_pages }}.</p>
|
||||
<p>{% blocktrans with page_num=items.number total_pages=items.paginator.num_pages %}Page {{ page_num }} of {{ total_pages }}.{% endblocktrans %}</p>
|
||||
<ul>
|
||||
<li class="prev">
|
||||
{% if items.has_previous %}
|
||||
{% if is_ajax %}
|
||||
<a href="#" data-page="{{ items.previous_page_number }}" class="icon icon-arrow-left">Previous</a>
|
||||
<a href="#" data-page="{{ items.previous_page_number }}" class="icon icon-arrow-left">{% trans 'Previous' %}</a>
|
||||
{% elif is_searching %}
|
||||
<a href="{% url linkurl %}?q={{ search_query|urlencode }}&p={{ items.previous_page_number }}" class="icon icon-arrow-left">Previous</a>
|
||||
<a href="{% url linkurl %}?q={{ search_query|urlencode }}&p={{ items.previous_page_number }}" class="icon icon-arrow-left">{% trans 'Previous' %}</a>
|
||||
{% elif is_ajax %}
|
||||
|
||||
{% else %}
|
||||
<a href="{% url linkurl %}?p={{ items.previous_page_number }}&ordering={{ ordering }}" class="icon icon-arrow-left">Previous</a>
|
||||
<a href="{% url linkurl %}?p={{ items.previous_page_number }}&ordering={{ ordering }}" class="icon icon-arrow-left">{% trans 'Previous' %}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
<li class="next">
|
||||
{% if items.has_next %}
|
||||
{% if is_ajax %}
|
||||
<a href="#" data-page="{{ items.next_page_number }}" class="icon icon-arrow-right-after">Next</a>
|
||||
<a href="#" data-page="{{ items.next_page_number }}" class="icon icon-arrow-right-after">{% trans 'Next' %}</a>
|
||||
{% elif is_searching %}
|
||||
<a href="{% url linkurl %}?q={{ search_query|urlencode }}&p={{ items.next_page_number }}" class="icon icon-arrow-right-after">Next</a>
|
||||
<a href="{% url linkurl %}?q={{ search_query|urlencode }}&p={{ items.next_page_number }}" class="icon icon-arrow-right-after">{% trans 'Next' %}</a>
|
||||
{% else %}
|
||||
<a href="{% url linkurl %}?p={{ items.next_page_number }}&ordering={{ ordering }}" class="icon icon-arrow-right-after">Next</a>
|
||||
<a href="{% url linkurl %}?p={{ items.next_page_number }}&ordering={{ ordering }}" class="icon icon-arrow-right-after">{% trans 'Next' %}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ register = template.Library()
|
|||
@register.simple_tag(takes_context=True)
|
||||
def wagtailuserbar(context, cssfile=None):
|
||||
try:
|
||||
items = format_html_join('', '<li>{0}</li>', [(item,) for item in context['request'].userbar])
|
||||
items = format_html_join(u'', u'<li>{0}</li>', [(item,) for item in context['request'].userbar])
|
||||
context.hasuserbar = True
|
||||
if not cssfile:
|
||||
cssfile = staticfiles_storage.url('wagtailadmin/css/wagtail-userbar.css')
|
||||
return format_html('<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400" /><link rel="stylesheet" href="{0}" /><ul id="wagtail-userbar">{1}</ul>', cssfile, items)
|
||||
return format_html(u'<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400" /><link rel="stylesheet" href="{0}" /><ul id="wagtail-userbar">{1}</ul>', cssfile, items)
|
||||
except AttributeError:
|
||||
return ''
|
||||
|
|
|
|||
|
|
@ -95,3 +95,17 @@ class TestPageEditDelete(TestCase):
|
|||
def test_delete(self):
|
||||
response = self.client.get(reverse('wagtailadmin_pages_delete', args=(self.child_page.id, )), HTTP_HOST=get_host())
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
|
||||
class TestPageSearch(TestCase):
|
||||
def setUp(self):
|
||||
# Login
|
||||
login(self.client)
|
||||
|
||||
def test_root_can_appear_in_search_results(self):
|
||||
response = self.client.get('/admin/pages/search/?q=roo')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
# 'pages' list in the response should contain root
|
||||
results = response.context['pages']
|
||||
self.assertTrue(any([r.slug == 'root' for r in results]))
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ from django.conf import settings
|
|||
from django.shortcuts import render, redirect
|
||||
from django.contrib import messages
|
||||
from django.contrib.auth.forms import SetPasswordForm
|
||||
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
def account(request):
|
||||
return render(request, 'wagtailadmin/account/account.html', {
|
||||
|
|
@ -20,7 +20,7 @@ def change_password(request):
|
|||
if form.is_valid():
|
||||
form.save()
|
||||
|
||||
messages.success(request, "Your password has been changed successfully!")
|
||||
messages.success(request, _("Your password has been changed successfully!"))
|
||||
return redirect('wagtailadmin_account')
|
||||
else:
|
||||
form = SetPasswordForm(request.user)
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ from django.contrib import messages
|
|||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from wagtail.wagtailadmin.edit_handlers import TabbedInterface, ObjectList
|
||||
from wagtail.wagtailadmin.forms import SearchForm
|
||||
|
|
@ -95,11 +96,11 @@ def select_location(request, content_type_app_name, content_type_model_name):
|
|||
|
||||
if len(parent_pages) == 0:
|
||||
# user cannot create a page of this type anywhere - fail with an error
|
||||
messages.error(request, "Sorry, you do not have access to create a page of type <em>'%s'</em>." % content_type.name)
|
||||
messages.error(request, _("Sorry, you do not have access to create a page of type <em>'{0}'</em>.").format(content_type.name))
|
||||
return redirect('wagtailadmin_pages_select_type')
|
||||
elif len(parent_pages) == 1:
|
||||
# only one possible location - redirect them straight there
|
||||
messages.warning(request, "Pages of this type can only be created as children of <em>'%s'</em>. This new page will be saved there." % parent_pages[0].title)
|
||||
messages.warning(request, _("Pages of this type can only be created as children of <em>'{0}'</em>. This new page will be saved there.").format(parent_pages[0].title))
|
||||
return redirect('wagtailadmin_pages_create', content_type_app_name, content_type_model_name, parent_pages[0].id)
|
||||
else:
|
||||
# prompt them to select a location
|
||||
|
|
@ -162,7 +163,7 @@ def create(request, content_type_app_name, content_type_model_name, parent_page_
|
|||
def clean_slug(slug):
|
||||
# Make sure the slug isn't already in use
|
||||
if parent_page.get_children().filter(slug=slug).count() > 0:
|
||||
raise ValidationError("This slug is already in use")
|
||||
raise ValidationError(_("This slug is already in use"))
|
||||
return slug
|
||||
form.fields['slug'].clean = clean_slug
|
||||
|
||||
|
|
@ -183,12 +184,12 @@ def create(request, content_type_app_name, content_type_model_name, parent_page_
|
|||
page.save_revision(user=request.user, submitted_for_moderation=is_submitting)
|
||||
|
||||
if is_publishing:
|
||||
messages.success(request, "Page '%s' published." % page.title)
|
||||
messages.success(request, _("Page '{0}' published.").format(page.title))
|
||||
elif is_submitting:
|
||||
messages.success(request, "Page '%s' submitted for moderation." % page.title)
|
||||
messages.success(request, _("Page '{0}' submitted for moderation.").format(page.title))
|
||||
tasks.send_notification.delay(page.get_latest_revision().id, 'submitted', request.user.id)
|
||||
else:
|
||||
messages.success(request, "Page '%s' created." % page.title)
|
||||
messages.success(request, _("Page '{0}' created.").format(page.title))
|
||||
|
||||
for fn in hooks.get_hooks('after_create_page'):
|
||||
result = fn(request, page)
|
||||
|
|
@ -197,7 +198,7 @@ def create(request, content_type_app_name, content_type_model_name, parent_page_
|
|||
|
||||
return redirect('wagtailadmin_explore', page.get_parent().id)
|
||||
else:
|
||||
messages.error(request, "The page could not be created due to errors.")
|
||||
messages.error(request, _("The page could not be created due to errors."))
|
||||
edit_handler = edit_handler_class(instance=page, form=form)
|
||||
else:
|
||||
form = form_class(instance=page)
|
||||
|
|
@ -250,12 +251,12 @@ def edit(request, page_id):
|
|||
page.save_revision(user=request.user, submitted_for_moderation=is_submitting)
|
||||
|
||||
if is_publishing:
|
||||
messages.success(request, "Page '%s' published." % page.title)
|
||||
messages.success(request, _("Page '{0}' published.").format(page.title))
|
||||
elif is_submitting:
|
||||
messages.success(request, "Page '%s' submitted for moderation." % page.title)
|
||||
messages.success(request, _("Page '{0}' submitted for moderation.").format(page.title))
|
||||
tasks.send_notification.delay(page.get_latest_revision().id, 'submitted', request.user.id)
|
||||
else:
|
||||
messages.success(request, "Page '%s' updated." % page.title)
|
||||
messages.success(request, _("Page '{0}' updated.").format(page.title))
|
||||
|
||||
for fn in hooks.get_hooks('after_edit_page'):
|
||||
result = fn(request, page)
|
||||
|
|
@ -264,7 +265,7 @@ def edit(request, page_id):
|
|||
|
||||
return redirect('wagtailadmin_explore', page.get_parent().id)
|
||||
else:
|
||||
messages.error(request, "The page could not be saved due to validation errors")
|
||||
messages.error(request, _("The page could not be saved due to validation errors"))
|
||||
edit_handler = edit_handler_class(instance=page, form=form)
|
||||
errors_debug = (
|
||||
repr(edit_handler.form.errors)
|
||||
|
|
@ -276,7 +277,7 @@ def edit(request, page_id):
|
|||
|
||||
# Check for revisions still undergoing moderation and warn
|
||||
if latest_revision and latest_revision.submitted_for_moderation:
|
||||
messages.warning(request, "This page is currently awaiting moderation")
|
||||
messages.warning(request, _("This page is currently awaiting moderation"))
|
||||
|
||||
return render(request, 'wagtailadmin/pages/edit.html', {
|
||||
'page': page,
|
||||
|
|
@ -294,7 +295,7 @@ def delete(request, page_id):
|
|||
if request.POST:
|
||||
parent_id = page.get_parent().id
|
||||
page.delete()
|
||||
messages.success(request, "Page '%s' deleted." % page.title)
|
||||
messages.success(request, _("Page '{0}' deleted.").format(page.title))
|
||||
|
||||
for fn in hooks.get_hooks('after_delete_page'):
|
||||
result = fn(request, page)
|
||||
|
|
@ -424,7 +425,7 @@ def unpublish(request, page_id):
|
|||
parent_id = page.get_parent().id
|
||||
page.live = False
|
||||
page.save()
|
||||
messages.success(request, "Page '%s' unpublished." % page.title)
|
||||
messages.success(request, _("Page '{0}' unpublished.").format(page.title))
|
||||
return redirect('wagtailadmin_explore', parent_id)
|
||||
|
||||
return render(request, 'wagtailadmin/pages/confirm_unpublish.html', {
|
||||
|
|
@ -475,7 +476,7 @@ def move_confirm(request, page_to_move_id, destination_id):
|
|||
|
||||
page_to_move.move(destination, pos='last-child')
|
||||
|
||||
messages.success(request, "Page '%s' moved." % page_to_move.title)
|
||||
messages.success(request, _("Page '{0}' moved.").format(page_to_move.title))
|
||||
return redirect('wagtailadmin_explore', destination.id)
|
||||
|
||||
return render(request, 'wagtailadmin/pages/confirm_move.html', {
|
||||
|
|
@ -580,12 +581,12 @@ def approve_moderation(request, revision_id):
|
|||
raise PermissionDenied
|
||||
|
||||
if not revision.submitted_for_moderation:
|
||||
messages.error(request, "The page '%s' is not currently awaiting moderation." % revision.page.title)
|
||||
messages.error(request, _("The page '{0}' is not currently awaiting moderation.").format(revision.page.title))
|
||||
return redirect('wagtailadmin_home')
|
||||
|
||||
if request.POST:
|
||||
revision.publish()
|
||||
messages.success(request, "Page '%s' published." % revision.page.title)
|
||||
messages.success(request, _("Page '{0}' published.").format(revision.page.title))
|
||||
tasks.send_notification.delay(revision.id, 'approved', request.user.id)
|
||||
|
||||
return redirect('wagtailadmin_home')
|
||||
|
|
@ -598,13 +599,13 @@ def reject_moderation(request, revision_id):
|
|||
raise PermissionDenied
|
||||
|
||||
if not revision.submitted_for_moderation:
|
||||
messages.error(request, "The page '%s' is not currently awaiting moderation." % revision.page.title)
|
||||
messages.error(request, _("The page '{0}' is not currently awaiting moderation.").format( revision.page.title))
|
||||
return redirect('wagtailadmin_home')
|
||||
|
||||
if request.POST:
|
||||
revision.submitted_for_moderation = False
|
||||
revision.save(update_fields=['submitted_for_moderation'])
|
||||
messages.success(request, "Page '%s' rejected for publication." % revision.page.title)
|
||||
messages.success(request, _("Page '{0}' rejected for publication.").format(revision.page.title))
|
||||
tasks.send_notification.delay(revision.id, 'rejected', request.user.id)
|
||||
|
||||
return redirect('wagtailadmin_home')
|
||||
|
|
@ -617,7 +618,7 @@ def preview_for_moderation(request, revision_id):
|
|||
raise PermissionDenied
|
||||
|
||||
if not revision.submitted_for_moderation:
|
||||
messages.error(request, "The page '%s' is not currently awaiting moderation." % revision.page.title)
|
||||
messages.error(request, _("The page '{0}' is not currently awaiting moderation.").format(revision.page.title))
|
||||
return redirect('wagtailadmin_home')
|
||||
|
||||
page = revision.as_page_object()
|
||||
|
|
|
|||
BIN
wagtail/wagtailcore/locale/el/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailcore/locale/el/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
61
wagtail/wagtailcore/locale/el/LC_MESSAGES/django.po
Normal file
61
wagtail/wagtailcore/locale/el/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 15:51+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/projects/p/wagtail/language/el/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: el\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: .\models.py:36
|
||||
msgid ""
|
||||
"Set this to something other than 80 if you need a specific port number to "
|
||||
"appear in URLs (e.g. development on port 8000). Does not affect request "
|
||||
"handling (so port forwarding still works)."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:38
|
||||
msgid ""
|
||||
"If true, this site will handle requests for all other hostnames that do not "
|
||||
"have a site entry of their own"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:161
|
||||
msgid "The page title as you'd like it to be seen by the public"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:162
|
||||
msgid ""
|
||||
"The name of the page as it will appear in URLs e.g http://domain.com/blog"
|
||||
"/[my-slug]/"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid "Page title"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid ""
|
||||
"Optional. 'Search Engine Friendly' title. This will appear at the top of the"
|
||||
" browser window."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:172
|
||||
msgid ""
|
||||
"Whether a link to this page will appear in automatically generated menus"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:406
|
||||
#, python-format
|
||||
msgid "name '%s' (used in subpage_types list) is not defined."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailcore/locale/en/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailcore/locale/en/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
60
wagtail/wagtailcore/locale/en/LC_MESSAGES/django.po
Normal file
60
wagtail/wagtailcore/locale/en/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: .\models.py:36
|
||||
msgid ""
|
||||
"Set this to something other than 80 if you need a specific port number to "
|
||||
"appear in URLs (e.g. development on port 8000). Does not affect request "
|
||||
"handling (so port forwarding still works)."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:38
|
||||
msgid ""
|
||||
"If true, this site will handle requests for all other hostnames that do not "
|
||||
"have a site entry of their own"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:161
|
||||
msgid "The page title as you'd like it to be seen by the public"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:162
|
||||
msgid ""
|
||||
"The name of the page as it will appear in URLs e.g http://domain.com/blog/"
|
||||
"[my-slug]/"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid "Page title"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid ""
|
||||
"Optional. 'Search Engine Friendly' title. This will appear at the top of the "
|
||||
"browser window."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:172
|
||||
msgid ""
|
||||
"Whether a link to this page will appear in automatically generated menus"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:406
|
||||
#, python-format
|
||||
msgid "name '%s' (used in subpage_types list) is not defined."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailcore/locale/pl/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailcore/locale/pl/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
61
wagtail/wagtailcore/locale/pl/LC_MESSAGES/django.po
Normal file
61
wagtail/wagtailcore/locale/pl/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 15:51+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Polish (http://www.transifex.com/projects/p/wagtail/language/pl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pl\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: .\models.py:36
|
||||
msgid ""
|
||||
"Set this to something other than 80 if you need a specific port number to "
|
||||
"appear in URLs (e.g. development on port 8000). Does not affect request "
|
||||
"handling (so port forwarding still works)."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:38
|
||||
msgid ""
|
||||
"If true, this site will handle requests for all other hostnames that do not "
|
||||
"have a site entry of their own"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:161
|
||||
msgid "The page title as you'd like it to be seen by the public"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:162
|
||||
msgid ""
|
||||
"The name of the page as it will appear in URLs e.g http://domain.com/blog"
|
||||
"/[my-slug]/"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid "Page title"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid ""
|
||||
"Optional. 'Search Engine Friendly' title. This will appear at the top of the"
|
||||
" browser window."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:172
|
||||
msgid ""
|
||||
"Whether a link to this page will appear in automatically generated menus"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:406
|
||||
#, python-format
|
||||
msgid "name '%s' (used in subpage_types list) is not defined."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailcore/locale/ro/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailcore/locale/ro/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
61
wagtail/wagtailcore/locale/ro/LC_MESSAGES/django.po
Normal file
61
wagtail/wagtailcore/locale/ro/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 15:51+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/projects/p/wagtail/language/ro/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ro\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||
|
||||
#: .\models.py:36
|
||||
msgid ""
|
||||
"Set this to something other than 80 if you need a specific port number to "
|
||||
"appear in URLs (e.g. development on port 8000). Does not affect request "
|
||||
"handling (so port forwarding still works)."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:38
|
||||
msgid ""
|
||||
"If true, this site will handle requests for all other hostnames that do not "
|
||||
"have a site entry of their own"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:161
|
||||
msgid "The page title as you'd like it to be seen by the public"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:162
|
||||
msgid ""
|
||||
"The name of the page as it will appear in URLs e.g http://domain.com/blog"
|
||||
"/[my-slug]/"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid "Page title"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:171
|
||||
msgid ""
|
||||
"Optional. 'Search Engine Friendly' title. This will appear at the top of the"
|
||||
" browser window."
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:172
|
||||
msgid ""
|
||||
"Whether a link to this page will appear in automatically generated menus"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:406
|
||||
#, python-format
|
||||
msgid "name '%s' (used in subpage_types list) is not defined."
|
||||
msgstr ""
|
||||
|
|
@ -11,6 +11,7 @@ from django.core.cache import cache
|
|||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.contrib.auth.models import Group
|
||||
from django.conf import settings
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from wagtail.wagtailcore.util import camelcase_to_underscore
|
||||
|
||||
|
|
@ -32,9 +33,9 @@ class SiteManager(models.Manager):
|
|||
|
||||
class Site(models.Model):
|
||||
hostname = models.CharField(max_length=255, unique=True, db_index=True)
|
||||
port = models.IntegerField(default=80, help_text="Set this to something other than 80 if you need a specific port number to appear in URLs (e.g. development on port 8000). Does not affect request handling (so port forwarding still works).")
|
||||
port = models.IntegerField(default=80, help_text=_("Set this to something other than 80 if you need a specific port number to appear in URLs (e.g. development on port 8000). Does not affect request handling (so port forwarding still works)."))
|
||||
root_page = models.ForeignKey('Page', related_name='sites_rooted_here')
|
||||
is_default_site = models.BooleanField(default=False, help_text="If true, this site will handle requests for all other hostnames that do not have a site entry of their own")
|
||||
is_default_site = models.BooleanField(default=False, help_text=_("If true, this site will handle requests for all other hostnames that do not have a site entry of their own"))
|
||||
|
||||
def natural_key(self):
|
||||
return (self.hostname,)
|
||||
|
|
@ -45,12 +46,14 @@ class Site(models.Model):
|
|||
@staticmethod
|
||||
def find_for_request(request):
|
||||
"""Find the site object responsible for responding to this HTTP request object"""
|
||||
hostname = request.META['HTTP_HOST'].split(':')[0]
|
||||
try:
|
||||
hostname = request.META['HTTP_HOST'].split(':')[0]
|
||||
# find a Site matching this specific hostname
|
||||
return Site.objects.get(hostname=hostname)
|
||||
except Site.DoesNotExist:
|
||||
# failing that, look for a catch-all Site. If that fails, let the Site.DoesNotExist propagate back to the caller
|
||||
except (Site.DoesNotExist, KeyError):
|
||||
# If no matching site exists, or request does not specify an HTTP_HOST (which
|
||||
# will often be the case for the Django test client), look for a catch-all Site.
|
||||
# If that fails, let the Site.DoesNotExist propagate back to the caller
|
||||
return Site.objects.get(is_default_site=True)
|
||||
|
||||
@property
|
||||
|
|
@ -157,8 +160,8 @@ class PageBase(models.base.ModelBase):
|
|||
class Page(MP_Node, ClusterableModel, Indexed):
|
||||
__metaclass__ = PageBase
|
||||
|
||||
title = models.CharField(max_length=255, help_text="The page title as you'd like it to be seen by the public")
|
||||
slug = models.SlugField(help_text="The name of the page as it will appear in URLs e.g http://domain.com/blog/[my-slug]/")
|
||||
title = models.CharField(max_length=255, help_text=_("The page title as you'd like it to be seen by the public"))
|
||||
slug = models.SlugField(help_text=_("The name of the page as it will appear in URLs e.g http://domain.com/blog/[my-slug]/"))
|
||||
# TODO: enforce uniqueness on slug field per parent (will have to be done at the Django
|
||||
# level rather than db, since there is no explicit parent relation in the db)
|
||||
content_type = models.ForeignKey('contenttypes.ContentType', related_name='pages')
|
||||
|
|
@ -167,8 +170,8 @@ class Page(MP_Node, ClusterableModel, Indexed):
|
|||
url_path = models.CharField(max_length=255, blank=True, editable=False)
|
||||
owner = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, blank=True, editable=False, related_name='owned_pages')
|
||||
|
||||
seo_title = models.CharField("Page title", max_length=255, blank=True, help_text="Optional. 'Search Engine Friendly' title. This will appear at the top of the browser window.")
|
||||
show_in_menus = models.BooleanField(default=False, help_text="Whether a link to this page will appear in automatically generated menus")
|
||||
seo_title = models.CharField(verbose_name=_("Page title"), max_length=255, blank=True, help_text=_("Optional. 'Search Engine Friendly' title. This will appear at the top of the browser window."))
|
||||
show_in_menus = models.BooleanField(default=False, help_text=_("Whether a link to this page will appear in automatically generated menus"))
|
||||
search_description = models.TextField(blank=True)
|
||||
|
||||
indexed_fields = {
|
||||
|
|
@ -402,7 +405,7 @@ class Page(MP_Node, ClusterableModel, Indexed):
|
|||
if model:
|
||||
res.append(model)
|
||||
else:
|
||||
raise NameError("name '%s' (used in subpage_types list) is not defined " % page_type)
|
||||
raise NameError(_("name '%s' (used in subpage_types list) is not defined.").format(page_type))
|
||||
|
||||
else:
|
||||
# assume it's already a model class
|
||||
|
|
|
|||
|
|
@ -5,9 +5,12 @@ when you run "manage.py test".
|
|||
Replace this with more appropriate tests for your application.
|
||||
"""
|
||||
|
||||
import unittest
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
|
||||
@unittest.skip("Need real tests")
|
||||
class SimpleTest(TestCase):
|
||||
def test_basic_addition(self):
|
||||
"""
|
||||
|
|
|
|||
BIN
wagtail/wagtaildocs/locale/el/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtaildocs/locale/el/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
158
wagtail/wagtaildocs/locale/el/LC_MESSAGES/django.po
Normal file
158
wagtail/wagtaildocs/locale/el/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# serafeim <serafeim@torchbox.com>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-20 22:56+0200\n"
|
||||
"PO-Revision-Date: 2014-02-20 21:50+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/projects/p/wagtail/language/el/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: el\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: .\models.py:16 .\templates\wagtaildocs\documents\list.html:9
|
||||
msgid "Title"
|
||||
msgstr "Τίτλος"
|
||||
|
||||
#: .\models.py:17 .\templates\wagtaildocs\documents\list.html:18
|
||||
msgid "File"
|
||||
msgstr "Αρχείο"
|
||||
|
||||
#: .\models.py:21
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:2
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:11
|
||||
msgid "Choose a document"
|
||||
msgstr "Επιλογή εγγράφου"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:7
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:19
|
||||
msgid "Search"
|
||||
msgstr "Αναζήτηση"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:8
|
||||
msgid "Upload"
|
||||
msgstr "Ανέβασμα"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:34
|
||||
#: .\templates\wagtaildocs\documents\add.html:25
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Save"
|
||||
msgstr "Αποθήκευση"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:5
|
||||
#: .\templates\wagtaildocs\documents\results.html:5
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] "\n Βρέθηκε ένα αποτέλεσμα\n "
|
||||
msgstr[1] "\n Βρέθηκαν %(counter)s αποτελέσματα\n "
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:12
|
||||
msgid "Latest documents"
|
||||
msgstr "Τελευταία έγγραφα"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:19
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(search_query)s</em>\""
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\_file_field.html:5
|
||||
msgid "Change document:"
|
||||
msgstr "Αλλαγή εγγράφου:"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:4
|
||||
#: .\templates\wagtaildocs\documents\index.html:17
|
||||
msgid "Add a document"
|
||||
msgstr "Προσθήκη εγγράφου"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:15
|
||||
msgid "Add document"
|
||||
msgstr "Προσθήκη εγγράφου"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(document.title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:6
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Delete document"
|
||||
msgstr "Διαγραφή εγγράφου"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:10
|
||||
msgid "Are you sure you want to delete this document?"
|
||||
msgstr "Είστε σίγουροι ότι θέλετε να διαγραφεί αυτό το έγγραφο;"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:13
|
||||
msgid "Yes, delete"
|
||||
msgstr "Ναι, να διαγραφεί"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:4
|
||||
#, python-format
|
||||
msgid "Editing %(document.title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:15
|
||||
msgid "Editing"
|
||||
msgstr "Διόρθωση"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\index.html:16
|
||||
msgid "Documents"
|
||||
msgstr "Έγγραφα"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\list.html:20
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:18
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(query_string)s</em>\""
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:21
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You haven't uploaded any documents. Why not <a "
|
||||
"href=\"%(wagtaildocs_add_document_url)s\">upload one now</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:9
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:10
|
||||
msgid "Choose another document"
|
||||
msgstr "Επιλογή άλλου εγγράφου"
|
||||
|
||||
#: .\views\documents.py:83
|
||||
msgid "Document '{0}' added."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:86 .\views\documents.py:115
|
||||
msgid "The document could not be saved due to errors."
|
||||
msgstr "Δεν ήταν δυνατή η αποθήκευση του εγγράφου."
|
||||
|
||||
#: .\views\documents.py:112
|
||||
msgid "Document '{0}' updated"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:134
|
||||
msgid "Document '{0}' deleted."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtaildocs/locale/en/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtaildocs/locale/en/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
156
wagtail/wagtaildocs/locale/en/LC_MESSAGES/django.po
Normal file
156
wagtail/wagtaildocs/locale/en/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: .\models.py:16 .\templates\wagtaildocs\documents\list.html:9
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:17 .\templates\wagtaildocs\documents\list.html:18
|
||||
msgid "File"
|
||||
msgstr ""
|
||||
|
||||
#: .\models.py:21
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:2
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:11
|
||||
msgid "Choose a document"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:7
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:19
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:8
|
||||
msgid "Upload"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:34
|
||||
#: .\templates\wagtaildocs\documents\add.html:25
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:5
|
||||
#: .\templates\wagtaildocs\documents\results.html:5
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:12
|
||||
msgid "Latest documents"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:19
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(search_query)s</em>\""
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\_file_field.html:5
|
||||
msgid "Change document:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:4
|
||||
#: .\templates\wagtaildocs\documents\index.html:17
|
||||
msgid "Add a document"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:15
|
||||
msgid "Add document"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:6
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Delete document"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:10
|
||||
msgid "Are you sure you want to delete this document?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:13
|
||||
msgid "Yes, delete"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:4
|
||||
#, python-format
|
||||
msgid "Editing %(title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:15
|
||||
msgid "Editing"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\index.html:16
|
||||
msgid "Documents"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\list.html:20
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:18
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(query_string)s</em>\""
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:21
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You haven't uploaded any documents. Why not <a href=\"%"
|
||||
"(wagtaildocs_add_document_url)s\">upload one now</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:9
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:10
|
||||
msgid "Choose another document"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:83
|
||||
msgid "Document '{0}' added."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:86 .\views\documents.py:115
|
||||
msgid "The document could not be saved due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:112
|
||||
msgid "Document '{0}' updated"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:134
|
||||
msgid "Document '{0}' deleted."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtaildocs/locale/pl/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtaildocs/locale/pl/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
159
wagtail/wagtaildocs/locale/pl/LC_MESSAGES/django.po
Normal file
159
wagtail/wagtaildocs/locale/pl/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# utek <mail@utek.pl>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-20 22:56+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 13:02+0000\n"
|
||||
"Last-Translator: utek <mail@utek.pl>\n"
|
||||
"Language-Team: Polish (http://www.transifex.com/projects/p/wagtail/language/pl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pl\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||
|
||||
#: .\models.py:16 .\templates\wagtaildocs\documents\list.html:9
|
||||
msgid "Title"
|
||||
msgstr "Tytuł"
|
||||
|
||||
#: .\models.py:17 .\templates\wagtaildocs\documents\list.html:18
|
||||
msgid "File"
|
||||
msgstr "Plik"
|
||||
|
||||
#: .\models.py:21
|
||||
msgid "Tags"
|
||||
msgstr "Tagi"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:2
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:11
|
||||
msgid "Choose a document"
|
||||
msgstr "Wybierz dokument"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:7
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:19
|
||||
msgid "Search"
|
||||
msgstr "Szukaj"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:8
|
||||
msgid "Upload"
|
||||
msgstr "Prześlij"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:34
|
||||
#: .\templates\wagtaildocs\documents\add.html:25
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Save"
|
||||
msgstr "Zapisz"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:5
|
||||
#: .\templates\wagtaildocs\documents\results.html:5
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:12
|
||||
msgid "Latest documents"
|
||||
msgstr "Ostatnie dokumenty"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:19
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(search_query)s</em>\""
|
||||
msgstr "Przepraszamy, żaden dokument nie pasuje do \"<em>%(search_query)s</em>\""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\_file_field.html:5
|
||||
msgid "Change document:"
|
||||
msgstr "Zmień dokument:"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:4
|
||||
#: .\templates\wagtaildocs\documents\index.html:17
|
||||
msgid "Add a document"
|
||||
msgstr "Dodaj dokument"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:15
|
||||
msgid "Add document"
|
||||
msgstr "Dodaj dokument"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(document.title)s"
|
||||
msgstr "Usuń %(document.title)s"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:6
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Delete document"
|
||||
msgstr "Usuń dokument"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:10
|
||||
msgid "Are you sure you want to delete this document?"
|
||||
msgstr "Czy na pewno chcesz usunąć ten dokument?"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:13
|
||||
msgid "Yes, delete"
|
||||
msgstr "Tak, usuń"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:4
|
||||
#, python-format
|
||||
msgid "Editing %(document.title)s"
|
||||
msgstr "Edycja %(document.title)s"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:15
|
||||
msgid "Editing"
|
||||
msgstr "Edycja"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\index.html:16
|
||||
msgid "Documents"
|
||||
msgstr "Dokumenty"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\list.html:20
|
||||
msgid "Uploaded"
|
||||
msgstr "Przesłano"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:18
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(query_string)s</em>\""
|
||||
msgstr "Przepraszamy, żaden dokument nie pasuje do \"<em>%(query_string)s</em>\""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:21
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You haven't uploaded any documents. Why not <a "
|
||||
"href=\"%(wagtaildocs_add_document_url)s\">upload one now</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:9
|
||||
msgid "Clear choice"
|
||||
msgstr "Wyczyść wybór"
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:10
|
||||
msgid "Choose another document"
|
||||
msgstr "Wybierz inny dokument"
|
||||
|
||||
#: .\views\documents.py:83
|
||||
msgid "Document '{0}' added."
|
||||
msgstr "Dodano dokument '{0}'."
|
||||
|
||||
#: .\views\documents.py:86 .\views\documents.py:115
|
||||
msgid "The document could not be saved due to errors."
|
||||
msgstr "Dokument nie mógł zostać zapisany z powodu błędów."
|
||||
|
||||
#: .\views\documents.py:112
|
||||
msgid "Document '{0}' updated"
|
||||
msgstr "Uaktualniono dokument '{0}'"
|
||||
|
||||
#: .\views\documents.py:134
|
||||
msgid "Document '{0}' deleted."
|
||||
msgstr "Usunięto dokument '{0}'"
|
||||
BIN
wagtail/wagtaildocs/locale/ro/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtaildocs/locale/ro/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
159
wagtail/wagtaildocs/locale/ro/LC_MESSAGES/django.po
Normal file
159
wagtail/wagtaildocs/locale/ro/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# zerolab, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-20 22:56+0200\n"
|
||||
"PO-Revision-Date: 2014-02-21 10:59+0000\n"
|
||||
"Last-Translator: zerolab\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/projects/p/wagtail/language/ro/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ro\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||
|
||||
#: .\models.py:16 .\templates\wagtaildocs\documents\list.html:9
|
||||
msgid "Title"
|
||||
msgstr "Titlu"
|
||||
|
||||
#: .\models.py:17 .\templates\wagtaildocs\documents\list.html:18
|
||||
msgid "File"
|
||||
msgstr "Fișier"
|
||||
|
||||
#: .\models.py:21
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:2
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:11
|
||||
msgid "Choose a document"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:7
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:19
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:8
|
||||
msgid "Upload"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\chooser.html:34
|
||||
#: .\templates\wagtaildocs\documents\add.html:25
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Save"
|
||||
msgstr "Salveză"
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:5
|
||||
#: .\templates\wagtaildocs\documents\results.html:5
|
||||
#, python-format
|
||||
msgid ""
|
||||
"\n"
|
||||
" There is one match\n"
|
||||
" "
|
||||
msgid_plural ""
|
||||
"\n"
|
||||
" There are %(counter)s matches\n"
|
||||
" "
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:12
|
||||
msgid "Latest documents"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\chooser\results.html:19
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(search_query)s</em>\""
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\_file_field.html:5
|
||||
msgid "Change document:"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:4
|
||||
#: .\templates\wagtaildocs\documents\index.html:17
|
||||
msgid "Add a document"
|
||||
msgstr "Adaugă un document"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\add.html:15
|
||||
msgid "Add document"
|
||||
msgstr "Adaugă document"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:3
|
||||
#, python-format
|
||||
msgid "Delete %(document.title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:6
|
||||
#: .\templates\wagtaildocs\documents\edit.html:29
|
||||
msgid "Delete document"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:10
|
||||
msgid "Are you sure you want to delete this document?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\confirm_delete.html:13
|
||||
msgid "Yes, delete"
|
||||
msgstr "Da, șterge"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:4
|
||||
#, python-format
|
||||
msgid "Editing %(document.title)s"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\edit.html:15
|
||||
msgid "Editing"
|
||||
msgstr "Editare"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\index.html:16
|
||||
msgid "Documents"
|
||||
msgstr "Documente"
|
||||
|
||||
#: .\templates\wagtaildocs\documents\list.html:20
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:18
|
||||
#, python-format
|
||||
msgid "Sorry, no documents match \"<em>%(query_string)s</em>\""
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\documents\results.html:21
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You haven't uploaded any documents. Why not <a "
|
||||
"href=\"%(wagtaildocs_add_document_url)s\">upload one now</a>?"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:9
|
||||
msgid "Clear choice"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtaildocs\edit_handlers\document_chooser_panel.html:10
|
||||
msgid "Choose another document"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:83
|
||||
msgid "Document '{0}' added."
|
||||
msgstr "Documentul '{0}' a fost adăugat."
|
||||
|
||||
#: .\views\documents.py:86 .\views\documents.py:115
|
||||
msgid "The document could not be saved due to errors."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\documents.py:112
|
||||
msgid "Document '{0}' updated"
|
||||
msgstr "Documentul '{0}' a fost actualizat."
|
||||
|
||||
#: .\views\documents.py:134
|
||||
msgid "Document '{0}' deleted."
|
||||
msgstr ""
|
||||
|
|
@ -7,17 +7,18 @@ from django.db.models.signals import pre_delete
|
|||
from django.dispatch.dispatcher import receiver
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.conf import settings
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from wagtail.wagtailadmin.taggable import TagSearchable
|
||||
|
||||
|
||||
class Document(models.Model, TagSearchable):
|
||||
title = models.CharField(max_length=255)
|
||||
file = models.FileField(upload_to='documents')
|
||||
title = models.CharField(max_length=255, verbose_name=_('Title'))
|
||||
file = models.FileField(upload_to='documents' , verbose_name=_('File'))
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
uploaded_by_user = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, blank=True, editable=False)
|
||||
|
||||
tags = TaggableManager(help_text=None, blank=True)
|
||||
tags = TaggableManager(help_text=None, blank=True, verbose_name=_('Tags'))
|
||||
|
||||
indexed_fields = {
|
||||
'uploaded_by_user_id': {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
{% include "wagtailadmin/shared/header.html" with title="Choose a document" tabbed=1 merged=1 %}
|
||||
{% load i18n %}
|
||||
{% trans "Choose a document" as choose_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=choose_str tabbed=1 merged=1 %}
|
||||
|
||||
{% if uploadform %}
|
||||
<ul class="tab-nav merged">
|
||||
<li class="active"><a href="#search">Search</a></li>
|
||||
<li><a href="#upload">Upload</a></li>
|
||||
<li class="active"><a href="#search">{% trans "Search" %}</a></li>
|
||||
<li><a href="#upload">{% trans "Upload" %}</a></li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
|
@ -14,7 +16,7 @@
|
|||
{% for field in searchform %}
|
||||
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
|
||||
{% endfor %}
|
||||
<li class="submit"><input type="submit" value="Search" /></li>
|
||||
<li class="submit"><input type="submit" value="{% trans 'Search' %}" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
<div id="search-results" class="listing documents">
|
||||
|
|
@ -29,7 +31,7 @@
|
|||
{% for field in uploadform %}
|
||||
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
|
||||
{% endfor %}
|
||||
<li><input type="submit" value="Save" /></li>
|
||||
<li><input type="submit" value="{% trans 'Save' %}" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,20 @@
|
|||
{% load i18n %}
|
||||
{% if documents %}
|
||||
{% if is_searching %}
|
||||
<h2>{{ documents.paginator.count }} match{{ documents.paginator.count|pluralize:"es" }}</h2>
|
||||
<h2>
|
||||
{% blocktrans count counter=documents.paginator.count %}
|
||||
There is one match
|
||||
{% plural %}
|
||||
There are {{ counter }} matches
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
{% else %}
|
||||
<h2>Latest documents</h2>
|
||||
<h2>{% trans "Latest documents" %}</h2>
|
||||
{% endif %}
|
||||
|
||||
{% include "wagtaildocs/documents/list.html" with choosing=1 %}
|
||||
|
||||
{% include "wagtailadmin/shared/pagination_nav.html" with items=documents is_ajax=1 %}
|
||||
{% else %}
|
||||
<p>Sorry, no documents match "<em>{{ search_query }}</em>"
|
||||
<p>{% blocktrans %}Sorry, no documents match "<em>{{ search_query }}</em>"{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "wagtailadmin/shared/field_as_li.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% block form_field %}
|
||||
<a href="{{ document.url }}" class="icon icon-doc-full-inverse">{{ document.file }}</a><br /><br />
|
||||
Change document:
|
||||
{% trans "Change document:" %}
|
||||
{{ field }}
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load image_tags %}
|
||||
{% block titletag %}Add a document{% endblock %}
|
||||
{% block titletag %}{% trans "Add a document" %}{% endblock %}
|
||||
{% block bodyclass %}menu-documents{% endblock %}
|
||||
{% block extra_css %}
|
||||
{% include "wagtailadmin/shared/tag_field_css.html" %}
|
||||
|
|
@ -11,7 +12,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Add document" %}
|
||||
{% trans "Add document" as add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_str %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<form action="{% url 'wagtaildocs_add_document' %}" method="POST" enctype="multipart/form-data">
|
||||
|
|
@ -20,7 +22,7 @@
|
|||
{% for field in form %}
|
||||
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
|
||||
{% endfor %}
|
||||
<li><input type="submit" value="Save" /></li>
|
||||
<li><input type="submit" value="{% trans 'Save' %}" /></li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% block titletag %}Delete {{ document.title }}{% endblock %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}{% blocktrans with title=document.title %}Delete {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-documents{% endblock %}
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Delete document" subtitle=document.title %}
|
||||
{% trans "Delete document" as del_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str subtitle=document.title %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>Are you sure you want to delete this document?</p>
|
||||
<p>{% trans "Are you sure you want to delete this document?" %}</p>
|
||||
<form action="{% url 'wagtaildocs_delete_document' document.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Yes, delete" class="serious" />
|
||||
<input type="submit" value='{% trans "Yes, delete" %}' class="serious" />
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load image_tags %}
|
||||
{% block titletag %}Editing {{ document.title }}{% endblock %}
|
||||
{% block titletag %}{% blocktrans with title=document.title %}Editing {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block bodyclass %}menu-documents{% endblock %}
|
||||
{% block extra_css %}
|
||||
{% include "wagtailadmin/shared/tag_field_css.html" %}
|
||||
|
|
@ -11,7 +12,8 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Editing" subtitle=document.title %}
|
||||
{% trans "Editing" as editing_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=document.title %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<form action="{% url 'wagtaildocs_edit_document' document.id %}" method="POST" enctype="multipart/form-data">
|
||||
|
|
@ -24,7 +26,7 @@
|
|||
{% include "wagtailadmin/shared/field_as_li.html" %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li><input type="submit" value="Save" /> <a href="{% url 'wagtaildocs_delete_document' document.id %}" class="button button-secondary no">Delete document</a></li>
|
||||
<li><input type="submit" value="{% trans 'Save' %}" /> <a href="{% url 'wagtaildocs_delete_document' document.id %}" class="button button-secondary no">{% trans "Delete document" %}</a></li>
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "wagtailadmin/base.html" %}
|
||||
{% load i18n %}
|
||||
{% block titletag %}Documents{% endblock %}
|
||||
{% block bodyclass %}menu-documents{% endblock %}
|
||||
{% block extra_js %}
|
||||
|
|
@ -12,7 +13,9 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Documents" add_link="wagtaildocs_add_document" add_text="Add a document" search_url="wagtaildocs_index" %}
|
||||
{% trans "Documents" as doc_str %}
|
||||
{% trans "Add a document" as add_doc_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=doc_str add_link="wagtaildocs_add_document" add_text=add_doc_str search_url="wagtaildocs_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<div id="document-results" class="documents">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{% load i18n %}
|
||||
<table class="listing">
|
||||
<col />
|
||||
<col />
|
||||
|
|
@ -5,7 +6,7 @@
|
|||
<thead>
|
||||
<tr class="table-headers">
|
||||
<th>
|
||||
Title
|
||||
{% trans "Title" %}
|
||||
{% if not is_searching %}
|
||||
{% if ordering == "title" %}
|
||||
<a href="{% url 'wagtaildocs_index' %}" class="icon icon-arrow-down-after teal"></a>
|
||||
|
|
@ -14,9 +15,9 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
</th>
|
||||
<th>File</th>
|
||||
<th>{% trans "File" %}</th>
|
||||
<th>
|
||||
Uploaded
|
||||
{% trans "Uploaded" %}
|
||||
{% if not is_searching %}
|
||||
{% if ordering == "-created_at" %}
|
||||
<a href="{% url 'wagtaildocs_index' %}" class="icon icon-arrow-down-after teal"></a>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,13 @@
|
|||
{% load i18n %}
|
||||
{% if documents %}
|
||||
{% if is_searching %}
|
||||
<h2>{{ documents|length }} match{{ documents|pluralize:"es" }}</h2>
|
||||
<h2>
|
||||
{% blocktrans count counter=documents|length %}
|
||||
There is one match
|
||||
{% plural %}
|
||||
There are {{ counter }} matches
|
||||
{% endblocktrans %}
|
||||
</h2>
|
||||
{% endif %}
|
||||
|
||||
{% include "wagtaildocs/documents/list.html" %}
|
||||
|
|
@ -8,8 +15,9 @@
|
|||
{% include "wagtailadmin/shared/pagination_nav.html" with items=documents is_searching=is_searching linkurl="wagtaildocs_index" %}
|
||||
{% else %}
|
||||
{% if is_searching %}
|
||||
<p>Sorry, no documents match "<em>{{ query_string }}</em>"
|
||||
<p>{% blocktrans %}Sorry, no documents match "<em>{{ query_string }}</em>"{% endblocktrans %}</p>
|
||||
{% else %}
|
||||
<p>You haven't uploaded any documents. Why not <a href="{% url 'wagtaildocs_add_document' %}">upload one now</a>?</p>
|
||||
{% url 'wagtaildocs_add_document' as wagtaildocs_add_document_url %}
|
||||
<p>{% blocktrans %}You haven't uploaded any documents. Why not <a href="{{ wagtaildocs_add_document_url }}">upload one now</a>?{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{% extends "wagtailadmin/edit_handlers/chooser_panel.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
{% block chooser_class %}document-chooser{% endblock %}
|
||||
|
||||
{% block chosen_state_view %}
|
||||
<span class="title">{{ document.title }}</span>
|
||||
{% endblock %}
|
||||
|
||||
{% block clear_button_label %}Clear choice{% endblock %}
|
||||
{% block choose_another_button_label %}Choose another document{% endblock %}
|
||||
{% block choose_button_label %}Choose a document{% endblock %}
|
||||
{% block clear_button_label %}{% trans "Clear choice" %}{% endblock %}
|
||||
{% block choose_another_button_label %}{% trans "Choose another document" %}{% endblock %}
|
||||
{% block choose_button_label %}{% trans "Choose a document" %}{% endblock %}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ from django.contrib import messages
|
|||
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
|
||||
from django.contrib.auth.decorators import login_required, permission_required
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from wagtail.wagtailadmin.forms import SearchForm
|
||||
|
||||
|
|
@ -79,10 +80,10 @@ def add(request):
|
|||
form = DocumentForm(request.POST, request.FILES, instance=doc)
|
||||
if form.is_valid():
|
||||
form.save()
|
||||
messages.success(request, "Document '%s' added." % doc.title)
|
||||
messages.success(request, _("Document '{0}' added.").format(doc.title))
|
||||
return redirect('wagtaildocs_index')
|
||||
else:
|
||||
messages.error(request, "The document could not be saved due to errors.")
|
||||
messages.error(request, _("The document could not be saved due to errors."))
|
||||
else:
|
||||
form = DocumentForm()
|
||||
|
||||
|
|
@ -108,10 +109,10 @@ def edit(request, document_id):
|
|||
# which definitely isn't what we want...
|
||||
original_file.storage.delete(original_file.name)
|
||||
doc = form.save()
|
||||
messages.success(request, "Document '%s' updated" % doc.title)
|
||||
messages.success(request, _("Document '{0}' updated").format(doc.title))
|
||||
return redirect('wagtaildocs_index')
|
||||
else:
|
||||
messages.error(request, "The document could not be saved due to errors.")
|
||||
messages.error(request, _("The document could not be saved due to errors."))
|
||||
else:
|
||||
form = DocumentForm(instance=doc)
|
||||
|
||||
|
|
@ -130,7 +131,7 @@ def delete(request, document_id):
|
|||
|
||||
if request.POST:
|
||||
doc.delete()
|
||||
messages.success(request, "Document '%s' deleted." % doc.title)
|
||||
messages.success(request, _("Document '{0}' deleted.").format(doc.title))
|
||||
return redirect('wagtaildocs_index')
|
||||
|
||||
return render(request, "wagtaildocs/documents/confirm_delete.html", {
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
from django import forms
|
||||
from django.core.validators import URLValidator
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
def validate_url(url):
|
||||
validator = URLValidator()
|
||||
try:
|
||||
validator(url)
|
||||
except ValidationError:
|
||||
raise ValidationError("Please enter a valid URL")
|
||||
raise ValidationError(_("Please enter a valid URL"))
|
||||
|
||||
|
||||
class EmbedForm(forms.Form):
|
||||
url = forms.CharField(label="URL", validators=[validate_url])
|
||||
url = forms.CharField(label=_("URL"), validators=[validate_url])
|
||||
|
|
|
|||
BIN
wagtail/wagtailembeds/locale/el/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailembeds/locale/el/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
51
wagtail/wagtailembeds/locale/el/LC_MESSAGES/django.po
Normal file
51
wagtail/wagtailembeds/locale/el/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# serafeim <serafeim@torchbox.com>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Wagtail\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-20 22:19+0200\n"
|
||||
"PO-Revision-Date: 2014-02-20 21:34+0000\n"
|
||||
"Last-Translator: serafeim <serafeim@torchbox.com>\n"
|
||||
"Language-Team: Greek (http://www.transifex.com/projects/p/wagtail/language/el/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: el\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: .\forms.py:11
|
||||
msgid "Please enter a valid URL"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:15
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailembeds\chooser\chooser.html:3
|
||||
msgid "Insert embed"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailembeds\chooser\chooser.html:14
|
||||
msgid "Insert"
|
||||
msgstr "Εισαγωγή"
|
||||
|
||||
#: .\views\chooser.py:34
|
||||
msgid ""
|
||||
"There seems to be a problem with your embedly API key. Please check your "
|
||||
"settings."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\chooser.py:36
|
||||
msgid "Cannot find an embed for this URL."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\chooser.py:38
|
||||
msgid ""
|
||||
"There seems to be an error with Embedly while trying to embed this URL. "
|
||||
"Please try again later."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailembeds/locale/en/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailembeds/locale/en/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
49
wagtail/wagtailembeds/locale/en/LC_MESSAGES/django.po
Normal file
49
wagtail/wagtailembeds/locale/en/LC_MESSAGES/django.po
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-02-21 17:37+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: .\forms.py:11
|
||||
msgid "Please enter a valid URL"
|
||||
msgstr ""
|
||||
|
||||
#: .\forms.py:15
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailembeds\chooser\chooser.html:3
|
||||
msgid "Insert embed"
|
||||
msgstr ""
|
||||
|
||||
#: .\templates\wagtailembeds\chooser\chooser.html:14
|
||||
msgid "Insert"
|
||||
msgstr ""
|
||||
|
||||
#: .\views\chooser.py:34
|
||||
msgid ""
|
||||
"There seems to be a problem with your embedly API key. Please check your "
|
||||
"settings."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\chooser.py:36
|
||||
msgid "Cannot find an embed for this URL."
|
||||
msgstr ""
|
||||
|
||||
#: .\views\chooser.py:38
|
||||
msgid ""
|
||||
"There seems to be an error with Embedly while trying to embed this URL. "
|
||||
"Please try again later."
|
||||
msgstr ""
|
||||
BIN
wagtail/wagtailembeds/locale/pl/LC_MESSAGES/django.mo
Normal file
BIN
wagtail/wagtailembeds/locale/pl/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue