From bc43fc4f8a182e6c429bc739b983ee09a8e73f8c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 10 May 2013 15:15:07 +0000 Subject: [PATCH] fix typos --- static/js/pandora/home.padma.js | 2 +- static/js/pandora/usersDialog.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/pandora/home.padma.js b/static/js/pandora/home.padma.js index 97a58da85..cb98f9fd5 100644 --- a/static/js/pandora/home.padma.js +++ b/static/js/pandora/home.padma.js @@ -276,7 +276,7 @@ pandora.ui.home = function() { if (lists.length) { $label = Ox.Label({ textAlign: 'center', - title: '' + Ox.formatCount(lists, 'Featured List') + '', + title: '' + Ox.formatCount(lists.length, 'Featured List') + '', width: 512 }) .css({ diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index 3a64678ed..c75e20175 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -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') }); }