forked from 0x2620/oxjs
add localization to Ox
This commit is contained in:
parent
b68b827d7b
commit
4d8c716d0b
31 changed files with 499 additions and 352 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue