fix typos

This commit is contained in:
j 2013-05-10 15:15:07 +00:00
parent 0796f15d9e
commit bc43fc4f8a
2 changed files with 4 additions and 3 deletions

View file

@ -276,7 +276,7 @@ pandora.ui.home = function() {
if (lists.length) { if (lists.length) {
$label = Ox.Label({ $label = Ox.Label({
textAlign: 'center', textAlign: 'center',
title: '<b>' + Ox.formatCount(lists, 'Featured List') + '</b>', title: '<b>' + Ox.formatCount(lists.length, 'Featured List') + '</b>',
width: 512 width: 512
}) })
.css({ .css({

View file

@ -735,7 +735,7 @@ pandora.ui.usersDialog = function() {
Ox.Input({ Ox.Input({
disabled: true, disabled: true,
id: 'from', id: 'from',
label: Ox_('From'), label: Ox._('From'),
labelWidth: 80, labelWidth: 80,
value: pandora.site.site.name + ' <' + pandora.site.site.email.contact + '>', value: pandora.site.site.name + ' <' + pandora.site.site.email.contact + '>',
width: formWidth - 16 width: formWidth - 16
@ -922,8 +922,9 @@ pandora.ui.usersDialog = function() {
function setTo() { function setTo() {
var recipients = getTo().length; var recipients = getTo().length;
//fixme shoule be No not no from formatCount here
$mailForm.values({ $mailForm.values({
to: (recipients || Ox._('No')) + (recipients == 1 ? Ox._('recipient') : Ox._('recipients')) to: Ox.formatCount(recipients, 'recipient')
}); });
} }