1
0
Fork 0
forked from 0x2620/oxjs

add localization to Ox

This commit is contained in:
j 2013-05-09 13:03:33 +00:00
commit 4d8c716d0b
31 changed files with 499 additions and 352 deletions

View file

@ -97,7 +97,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
],
style: 'square',
title: 'set',
tooltip: 'Options',
tooltip: Ox._('Options'),
type: 'image'
})
.css({float: 'left'})
@ -127,7 +127,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
self.$scrollButton = Ox.Button({
style: 'symbol',
title: 'arrowDown',
tooltip: 'Scroll to Player',
tooltip: Ox._('Scroll to Player'),
type: 'image'
})
.css({float: 'right'})
@ -197,7 +197,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
self.$playButton = Ox.Button({
style: 'symbol',
title: 'play',
tooltip: 'Play',
tooltip: Ox._('Play'),
type: 'image'
})
.css({
@ -213,7 +213,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
self.$muteButton = Ox.Button({
style: 'symbol',
title: self.options.muted ? 'unmute' : 'mute',
tooltip: self.options.muted ? 'Unmute' : 'Mute',
tooltip: self.options.muted ? Ox._('Unmute') : Ox._('Mute'),
type: 'image'
})
.css({float: 'left'})
@ -787,7 +787,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
self.$video.options({muted: self.options.muted});
self.$muteButton.options({
title: self.options.muted ? 'unmute' : 'mute',
tooltip: self.options.muted ? 'Unmute' : 'Mute'
tooltip: self.options.muted ? Ox._('Unmute') : Ox._('Mute')
});
that.triggerEvent('muted', {
muted: self.options.muted