Navigation Menu

Skip to content

Commit

Permalink
Simplified translatable string in admindocs template
Browse files Browse the repository at this point in the history
Forward port of 60471c9 from stable/1.9.x.
  • Loading branch information
claudep committed Oct 10, 2015
1 parent 49320c2 commit 8276f6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 4 additions & 5 deletions django/contrib/admindocs/locale/en/LC_MESSAGES/django.po
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\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"
"Last-Translator: Django team\n"
"Language-Team: English <en@li.org>\n"
Expand Down Expand Up @@ -57,10 +57,9 @@ msgstr ""

#: contrib/admindocs/templates/admin_doc/bookmarklets.html:15
msgid ""
"\n"
"<p class=\"help\">To install bookmarklets, drag the link to your bookmarks\n"
"toolbar, or right-click the link and add it to your bookmarks. Now you can\n"
"select the bookmarklet from any page in the site.</p>\n"
"To install bookmarklets, drag the link to your bookmarks toolbar, or right-"
"click the link and add it to your bookmarks. Now you can select the "
"bookmarklet from any page in the site."
msgstr ""

#: contrib/admindocs/templates/admin_doc/bookmarklets.html:22
Expand Down
10 changes: 5 additions & 5 deletions django/contrib/admindocs/templates/admin_doc/bookmarklets.html
Expand Up @@ -12,11 +12,11 @@

{% block content %}

{% blocktrans %}
<p class="help">To install bookmarklets, drag the link to your bookmarks
toolbar, or right-click the link and add it to your bookmarks. Now you can
select the bookmarklet from any page in the site.</p>
{% endblocktrans %}
<p class="help">{% blocktrans trimmed %}
To install bookmarklets, drag the link to your bookmarks toolbar, or right-click
the link and add it to your bookmarks. Now you can select the bookmarklet
from any page in the site.
{% endblocktrans %}</p>

<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>
Expand Down

0 comments on commit 8276f6c

Please sign in to comment.