fix some locale strings

This commit is contained in:
j 2013-07-17 10:19:57 +00:00
parent 60bf786a3a
commit aa6d2de64b
5 changed files with 10 additions and 14 deletions

View file

@ -152,7 +152,7 @@ Ox.InsertHTMLDialog = function(options, self) {
self.$select = Ox.Select({ self.$select = Ox.Select({
items: self.items, items: self.items,
label: 'Insert', label: Ox._('Insert'),
labelWidth: 128, labelWidth: 128,
value: 'img', value: 'img',
width: 384 width: 384

View file

@ -309,7 +309,7 @@ Ox.MapEditor = function(options, self) {
}), }),
self.$findInput = Ox.Input({ self.$findInput = Ox.Input({
clear: true, clear: true,
placeholder: 'Find in List', placeholder: Ox._('Find in List'),
width: 234 width: 234
}) })
.bindEvent({ .bindEvent({
@ -385,7 +385,7 @@ Ox.MapEditor = function(options, self) {
self.$map = Ox.Map({ self.$map = Ox.Map({
clickable: true, clickable: true,
editable: true, editable: true,
findPlaceholder: 'Find on Map', findPlaceholder: Ox._('Find on Map'),
height: self.options.height, height: self.options.height,
places: self.options.places, places: self.options.places,
//statusbar: true, //statusbar: true,
@ -951,11 +951,7 @@ Ox.MapEditor = function(options, self) {
} }
function initList(data) { function initList(data) {
self.$status.html( self.$status.html(Ox.formatCount(data.items, 'Place'));
Ox.formatNumber(data.items) + ' Place' + (
data.items == 1 ? '' : 's'
)
);
} }
function openItem(data) { function openItem(data) {

View file

@ -122,7 +122,7 @@ Ox.AnnotationFolder = function(options, self) {
id: 'add', id: 'add',
style: 'symbol', style: 'symbol',
title: 'add', title: 'add',
tooltip: Ox._('Add {0}', self.options.item), tooltip: Ox._('Add {0}', [self.options.item]),
type: 'image' type: 'image'
}) })
.bindEvent({ .bindEvent({

View file

@ -64,9 +64,9 @@ Ox.ClipPanel = function(options, self) {
{id: 'grid', title: Ox._('View as Grid'), checked: self.options.view == 'grid'}, {id: 'grid', title: Ox._('View as Grid'), checked: self.options.view == 'grid'},
]}, ]},
{}, {},
{id: 'split', title: 'Split Clip(s) at Cuts', disabled: true}, {id: 'split', title: Ox._('Split Clip(s) at Cuts'), disabled: true},
{id: 'join', title: 'Join Clip(s) at Cuts', disabled: true}, {id: 'join', title: Ox._('Join Clip(s) at Cuts'), disabled: true},
{id: 'dereference', title: 'Make Clip(s) Static', disabled: true} {id: 'dereference', title: Ox._('Make Clip(s) Static'), disabled: true}
], ],
title: 'set', title: 'set',
tooltip: Ox._('Options'), tooltip: Ox._('Options'),

View file

@ -778,9 +778,9 @@ Ox.VideoPlayer = function(options, self) {
self.positionWidth = getPositionWidth(); self.positionWidth = getPositionWidth();
self.$position = Ox.Element({ self.$position = Ox.Element({
tooltip: self.options.type == 'play' ? 'Position' tooltip: Ox._(self.options.type == 'play' ? 'Position'
: self.options.type == 'in' ? 'In Point' : self.options.type == 'in' ? 'In Point'
: 'Out Point' : 'Out Point')
}) })
.addClass('OxPosition') .addClass('OxPosition')
.css({ .css({