fixing l10n problems
This commit is contained in:
Родитель
c69843e527
Коммит
61b1b673a3
|
@ -347,7 +347,7 @@ class BULK_VALIDATION_UPDATED(_LOG):
|
|||
class BULK_VALIDATION_EMAILED(_LOG):
|
||||
id = 47
|
||||
action_class = None
|
||||
format = _(u'Authors emailed about compatability of {version}.')
|
||||
format = _(u'Authors emailed about compatibility of {version}.')
|
||||
|
||||
|
||||
class CUSTOM_TEXT(_LOG):
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
<table id="compat">
|
||||
<tr>
|
||||
<th>{{ _('Version') }}</th>
|
||||
{# L10n: "#" means "number" #}
|
||||
<th>{{ _('# of Add-ons') }}</th>
|
||||
</tr>
|
||||
{% for key, title in keys %}
|
||||
|
|
|
@ -240,8 +240,8 @@ def notify(request, job):
|
|||
notify_form = NotifyForm(request.POST)
|
||||
|
||||
if not notify_form.is_valid():
|
||||
messages.error(request, _('Error processing the mail template: %s'
|
||||
% notify_form.errors['text'][0]))
|
||||
msg = _('Error processing the mail template: %s')
|
||||
messages.error(request, msg % notify_form.errors['text'][0])
|
||||
|
||||
else:
|
||||
file_pks = job.result_failing().values_list('file_id', flat=True)
|
||||
|
|
|
@ -41,8 +41,9 @@ function initAdminValidation(doc) {
|
|||
var $version_popup = $('#set-max-version').popup('a.set-max-version', {
|
||||
callback: function(obj) {
|
||||
var $ct = $(obj.click_target);
|
||||
var msg = ngettext('Set {0} addon-on to a max version of {1}.',
|
||||
'Set {0} addon-ons to a max version of {1}.',
|
||||
// L10n: {0} is the number of add-ons, {1} is a version like 4.0
|
||||
var msg = ngettext('Set {0} add-on to a max version of {1}.',
|
||||
'Set {0} add-ons to a max version of {1}.',
|
||||
$ct.attr('data-job-count'));
|
||||
$(this).children('p').text(format(msg, [$ct.attr('data-job-count'),
|
||||
$ct.attr('data-job-version')]));
|
||||
|
|
Загрузка…
Ссылка в новой задаче