Kaydet (Commit) 8276f6cf authored tarafından Claude Paroz's avatar Claude Paroz

Simplified translatable string in admindocs template

Forward port of 60471c96 from stable/1.9.x.
üst 49320c2b
...@@ -4,7 +4,7 @@ msgid "" ...@@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Django\n" "Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-09 17:42+0200\n" "POT-Creation-Date: 2015-10-10 14:49+0200\n"
"PO-Revision-Date: 2010-05-13 15:35+0200\n" "PO-Revision-Date: 2010-05-13 15:35+0200\n"
"Last-Translator: Django team\n" "Last-Translator: Django team\n"
"Language-Team: English <en@li.org>\n" "Language-Team: English <en@li.org>\n"
...@@ -57,10 +57,9 @@ msgstr "" ...@@ -57,10 +57,9 @@ msgstr ""
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:15 #: contrib/admindocs/templates/admin_doc/bookmarklets.html:15
msgid "" msgid ""
"\n" "To install bookmarklets, drag the link to your bookmarks toolbar, or right-"
"<p class=\"help\">To install bookmarklets, drag the link to your bookmarks\n" "click the link and add it to your bookmarks. Now you can select the "
"toolbar, or right-click the link and add it to your bookmarks. Now you can\n" "bookmarklet from any page in the site."
"select the bookmarklet from any page in the site.</p>\n"
msgstr "" msgstr ""
#: contrib/admindocs/templates/admin_doc/bookmarklets.html:22 #: contrib/admindocs/templates/admin_doc/bookmarklets.html:22
......
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
{% block content %} {% block content %}
{% blocktrans %} <p class="help">{% blocktrans trimmed %}
<p class="help">To install bookmarklets, drag the link to your bookmarks To install bookmarklets, drag the link to your bookmarks toolbar, or right-click
toolbar, or right-click the link and add it to your bookmarks. Now you can the link and add it to your bookmarks. Now you can select the bookmarklet
select the bookmarklet from any page in the site.</p> from any page in the site.
{% endblocktrans %} {% endblocktrans %}</p>
<div id="content-main"> <div id="content-main">
<h3><a href="javascript:(function(){if(typeof ActiveXObject!='undefined'){x=new ActiveXObject('Microsoft.XMLHTTP')}else if(typeof XMLHttpRequest!='undefined'){x=new XMLHttpRequest()}else{return;}x.open('HEAD',location.href,false);x.send(null);try{view=x.getResponseHeader('x-view');}catch(e){alert('No view found for this page');return;}if(view=='undefined'){alert('No view found for this page');}document.location='{% url 'django-admindocs-views-index' %}'+view+'/';})()">{% trans "Documentation for this page" %}</a></h3> <h3><a href="javascript:(function(){if(typeof ActiveXObject!='undefined'){x=new ActiveXObject('Microsoft.XMLHTTP')}else if(typeof XMLHttpRequest!='undefined'){x=new XMLHttpRequest()}else{return;}x.open('HEAD',location.href,false);x.send(null);try{view=x.getResponseHeader('x-view');}catch(e){alert('No view found for this page');return;}if(view=='undefined'){alert('No view found for this page');}document.location='{% url 'django-admindocs-views-index' %}'+view+'/';})()">{% trans "Documentation for this page" %}</a></h3>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment