Skip to content

Commit

Permalink
Move some translatable strings to templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
julen committed Aug 13, 2012
1 parent ae97ab8 commit 4d18b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pootle/apps/pootle_app/templates/index/index.html
Expand Up @@ -25,7 +25,7 @@
{% block content %}
<div class="module first" lang="{{ LANGUAGE_CODE }}">
<div class="hd">
<h2>{{ languagelink }}</h2>
<h2>{% trans "Languages" %}</h2>
</div>
<div class="bd">
<table class="sortable" id="js-stats-index-languages">
Expand All @@ -52,7 +52,7 @@ <h2>{{ languagelink }}</h2>

<div class="module" lang="{{ LANGUAGE_CODE }}">
<div class="hd">
<h2>{{ projectlink }}</h2>
<h2>{% trans "Projects" %}</h2>
</div>
<div class="bd">
<table class="sortable" id="js-stats-index-projects">
Expand Down
2 changes: 0 additions & 2 deletions pootle/apps/pootle_app/views/index/index.py
Expand Up @@ -97,9 +97,7 @@ def view(request):
'traduction',
'traduire',
],
'languagelink': _('Languages'),
'languages': languages,
'projectlink': _('Projects'),
'projects': getprojects(request),
'topstats': topstats,
'translationlegend': {'translated': _('Translations are complete'),
Expand Down

0 comments on commit 4d18b66

Please sign in to comment.