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({
items: self.items,
label: 'Insert',
label: Ox._('Insert'),
labelWidth: 128,
value: 'img',
width: 384

View file

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

View file

@ -122,7 +122,7 @@ Ox.AnnotationFolder = function(options, self) {
id: 'add',
style: 'symbol',
title: 'add',
tooltip: Ox._('Add {0}', self.options.item),
tooltip: Ox._('Add {0}', [self.options.item]),
type: 'image'
})
.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: 'split', title: 'Split Clip(s) at Cuts', disabled: true},
{id: 'join', title: 'Join Clip(s) at Cuts', disabled: true},
{id: 'dereference', title: 'Make Clip(s) Static', disabled: true}
{id: 'split', title: Ox._('Split Clip(s) at Cuts'), disabled: true},
{id: 'join', title: Ox._('Join Clip(s) at Cuts'), disabled: true},
{id: 'dereference', title: Ox._('Make Clip(s) Static'), disabled: true}
],
title: 'set',
tooltip: Ox._('Options'),

View file

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