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
|
|
@ -28,7 +28,7 @@ Ox.DocPage = function(options, self) {
|
|||
|
||||
self.$homeButton = Ox.Button({
|
||||
title: 'home',
|
||||
tooltip: 'Home',
|
||||
tooltip: Ox._('Home'),
|
||||
type: 'image'
|
||||
})
|
||||
.css({float: 'left', margin: '4px 2px 4px 4px'})
|
||||
|
|
@ -56,7 +56,7 @@ Ox.DocPage = function(options, self) {
|
|||
if (self.options.item.examples) {
|
||||
self.$examplesMenu = Ox.MenuButton({
|
||||
items: self.options.item.examples,
|
||||
title: 'Examples...',
|
||||
title: Ox._('Examples...'),
|
||||
})
|
||||
.css({float: 'right', margin: '4px 4px 4px 2px'})
|
||||
.bindEvent({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue