This commit is contained in:
Wil Clouser 2012-03-01 12:12:23 -08:00
Родитель 564389ff4a
Коммит 997d175832
8 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -48,7 +48,7 @@
<input type="radio" name="type" value="suggested"
id="contrib-suggested" checked="checked"/>
<label for="contrib-suggested">
{# L10n: {1} is a currency amount (e.g., $5.00) #}
{# L10n: {0} is a currency amount (e.g., $5.00) #}
{{ _('A one-time suggested contribution of {0}')|f(
addon.suggested_amount|currencyfmt('USD')) }}
</label>

Просмотреть файл

@ -40,6 +40,7 @@
{% if show_date in ['created', 'new', 'newest'] %}
{{ _('Added {0}')|f(addon.created|datetime) }}
{% elif show_date == 'updated' %}
{# L10n: {0} is a date #}
{{ _('Updated {0}')|f(addon.last_updated|datetime) }}
{% endif %}
</p>

Просмотреть файл

@ -13,7 +13,10 @@
</span>
{% elif extra == 'popular' %}
<span class="users">
{{ _('<b>{0}</b> users')|f(addon.persona.popularity|numberfmt)|safe }}
{# L10n: {0} is the number of users. #}
{{ ngettext("<strong>{0}</strong> user",
"<strong>{0}</strong> users",
addon.persona.popularity)|f(addon.persona.popularity|numberfmt)|safe }}
</span>
{% elif extra == 'rating' %}
{# TODO(jbalogh): call this rating when remora is gone. #}

Просмотреть файл

@ -1,6 +1,7 @@
{% extends "browse/base_listing.html" %}
{% block title %}
{# L10n: {0} is the category name. Ex: Sports #}
{{ page_title(_('{0}: Featured Add-ons')|f(category.name)) }}
{% endblock %}
@ -16,6 +17,7 @@
{% if addons %}
{{ addon_listing_items(addons, src='creatured') }}
{% else %}
{# L10n: {0} is a category name. Ex: Sports #}
<p class="no-results">{{ _('No featured add-ons in {0}.')|f(category.name) }}</p>
{% endif %}
</div>

Просмотреть файл

@ -2,6 +2,7 @@
{% from "browse/macros.html" import secondary_categories %}
{% set name = category.name if category else filter.title %}
{# L10n: {0} is a category name. Ex: "Sports" #}
{% set title = _('Personas') if is_homepage else _('{0} Personas')|f(name) %}
{% set url_base = url('browse.personas', category.slug) %}

Просмотреть файл

@ -113,6 +113,7 @@ def SearchForm(request):
# This gets replaced by a <select> with js.
lver = forms.ChoiceField(
# L10n: {0} is the name of an app. Ex: Firefox
label=_(u'{0} Version').format(unicode(current_app.pretty)),
choices=get_app_versions(current_app), required=False)
appver = forms.CharField(required=False)

Просмотреть файл

@ -4,6 +4,7 @@
{% block title %}
{% if query %}
{# L10n: {0} is the string the user was searching for #}
{{ page_title(_('Collection Search Results for {0}')|f(query)) }}
{% else %}
{{ page_title(_('Collection Search Results')) }}

Просмотреть файл

@ -5,6 +5,7 @@
{% block title %}
{% if query %}
{# L10n: {0} is the string the user was searching for #}
{{ page_title(_('Personas Search Results for {0}')|f(query)) }}
{% else %}
{{ page_title(_('Personas Search Results')) }}