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) {
|
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({
|
||||||
|
|
|
@ -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')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue