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

@ -147,13 +147,13 @@ Ox.Resizebar = function(options, self) {
function getTitle() {
var title = '';
if (self.options.collapsed) {
title = 'Click to show';
title = Ox._('Click to show');
} else {
if (self.options.resizable) {
title = 'Drag to resize'
title = Ox._('Drag to resize');
}
if (self.options.collapsible) {
title = (title ? title + ' or c' : 'C') + 'lick to hide'
title = Ox._((title ? title + ' or c' : 'C') + 'lick to hide');
}
}
if (title && Ox.isString(self.options.tooltip)) {