forked from 0x2620/pandora
fix typos
This commit is contained in:
parent
0796f15d9e
commit
bc43fc4f8a
2 changed files with 4 additions and 3 deletions
|
@ -276,7 +276,7 @@ pandora.ui.home = function() {
|
|||
if (lists.length) {
|
||||
$label = Ox.Label({
|
||||
textAlign: 'center',
|
||||
title: '<b>' + Ox.formatCount(lists, 'Featured List') + '</b>',
|
||||
title: '<b>' + Ox.formatCount(lists.length, 'Featured List') + '</b>',
|
||||
width: 512
|
||||
})
|
||||
.css({
|
||||
|
|
|
@ -735,7 +735,7 @@ pandora.ui.usersDialog = function() {
|
|||
Ox.Input({
|
||||
disabled: true,
|
||||
id: 'from',
|
||||
label: Ox_('From'),
|
||||
label: Ox._('From'),
|
||||
labelWidth: 80,
|
||||
value: pandora.site.site.name + ' <' + pandora.site.site.email.contact + '>',
|
||||
width: formWidth - 16
|
||||
|
@ -922,8 +922,9 @@ pandora.ui.usersDialog = function() {
|
|||
|
||||
function setTo() {
|
||||
var recipients = getTo().length;
|
||||
//fixme shoule be No not no from formatCount here
|
||||
$mailForm.values({
|
||||
to: (recipients || Ox._('No')) + (recipients == 1 ? Ox._('recipient') : Ox._('recipients'))
|
||||
to: Ox.formatCount(recipients, 'recipient')
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue