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

@ -128,9 +128,9 @@ Ox.Spreadsheet = function(options, self) {
style: 'square',
type: 'image',
items: [
{id: 'before', title: 'Add column before'},
{id: 'after', title: 'Add column after'},
{id: 'remove', title: 'Remove this column', disabled: self.columns == 1}
{id: 'before', title: Ox._('Add column before')},
{id: 'after', title: Ox._('Add column after')},
{id: 'remove', title: Ox._('Remove this column'), disabled: self.columns == 1}
]
})
.bindEvent({
@ -166,9 +166,9 @@ Ox.Spreadsheet = function(options, self) {
style: 'square',
type: 'image',
items: [
{id: 'before', title: 'Add row above'},
{id: 'after', title: 'Add row below'},
{id: 'remove', title: 'Remove this row', disabled: self.rows == 1}
{id: 'before', title: Ox._('Add row above')},
{id: 'after', title: Ox._('Add row below')},
{id: 'remove', title: Ox._('Remove this row'), disabled: self.rows == 1}
]
})
.bindEvent({