forked from 0x2620/pandora
consistently use title case when formatting counts
This commit is contained in:
parent
5e3e4de939
commit
f8179ea48a
6 changed files with 10 additions and 11 deletions
|
|
@ -6,7 +6,6 @@ pandora.ui.namesDialog = function() {
|
|||
|
||||
var height = Math.round((window.innerHeight - 48) * 0.9),
|
||||
width = 576 + Ox.UI.SCROLLBAR_SIZE,
|
||||
numberOfNames = 0,
|
||||
|
||||
$findInput = Ox.Input({
|
||||
changeOnKeypress: true,
|
||||
|
|
@ -73,8 +72,9 @@ pandora.ui.namesDialog = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
init: function(data) {
|
||||
numberOfNames = data.items;
|
||||
$status.html(Ox.formatCount(numberOfNames, 'name'));
|
||||
$status.html(
|
||||
Ox.toTitleCase(Ox.formatCount(data.items, 'name'))
|
||||
);
|
||||
},
|
||||
open: function(data) {
|
||||
$list.find('.OxItem.OxSelected > .OxCell.OxColumnSortname')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue