more locale strings

This commit is contained in:
j 2013-05-20 19:14:57 +00:00
parent 8a99176aba
commit 9089329cc2
4 changed files with 7 additions and 7 deletions

View file

@ -56,7 +56,7 @@ pandora.validateNewEmail = function(value, callback) {
operator: '==' operator: '=='
}, function(result) { }, function(result) {
callback({ callback({
message: Ox._('E-mail address already exists'), message: Ox._('E-Mail Address already exists'),
valid: !result.data.users.length valid: !result.data.users.length
}); });
}) : callback({ }) : callback({

View file

@ -127,7 +127,7 @@ pandora.ui.siteDialog = function(section) {
.bindEvent({ .bindEvent({
change: function(data) { change: function(data) {
that.options({ that.options({
title: Ox.getObjectById(tabs, data.selected).title title: Ox._(Ox.getObjectById(tabs, data.selected).title)
}); });
pandora.UI.set({page: data.selected}); pandora.UI.set({page: data.selected});
} }
@ -151,7 +151,7 @@ pandora.ui.siteDialog = function(section) {
minHeight: 256, minHeight: 256,
minWidth: 688, // 16 + 256 + 16 + 384 + 16 minWidth: 688, // 16 + 256 + 16 + 384 + 16
removeOnClose: true, removeOnClose: true,
title: Ox.getObjectById(tabs, section).title, title: Ox._(Ox.getObjectById(tabs, section).title),
width: dialogWidth width: dialogWidth
}) })
.bindEvent({ .bindEvent({

View file

@ -95,7 +95,7 @@ pandora.ui.siteDialog = function(section) {
.bindEvent({ .bindEvent({
change: function(data) { change: function(data) {
that.options({ that.options({
title: Ox.getObjectById(tabs, data.selected).title title: Ox._(Ox.getObjectById(tabs, data.selected).title)
}); });
pandora.UI.set({page: data.selected}); pandora.UI.set({page: data.selected});
} }
@ -119,7 +119,7 @@ pandora.ui.siteDialog = function(section) {
minHeight: 256, minHeight: 256,
minWidth: 688, // 16 + 256 + 16 + 384 + 16 minWidth: 688, // 16 + 256 + 16 + 384 + 16
removeOnClose: true, removeOnClose: true,
title: Ox.getObjectById(tabs, section).title, title: Ox._(Ox.getObjectById(tabs, section).title),
width: dialogWidth width: dialogWidth
}) })
.bindEvent({ .bindEvent({

View file

@ -64,7 +64,7 @@ pandora.ui.usersDialog = function() {
items: [ items: [
{id: 'all', title: Ox._('Find: All')}, {id: 'all', title: Ox._('Find: All')},
{id: 'username', title: Ox._('Find: Username')}, {id: 'username', title: Ox._('Find: Username')},
{id: 'email', title: Ox._('Find: E-Mail-Address')} {id: 'email', title: Ox._('Find: E-Mail Address')}
], ],
overlap: 'right', overlap: 'right',
type: 'image' type: 'image'
@ -789,7 +789,7 @@ pandora.ui.usersDialog = function() {
id: 'insert', id: 'insert',
items: [ items: [
{id: 'username', title: Ox._('Username')}, {id: 'username', title: Ox._('Username')},
{id: 'email', title: Ox._('E-Mail address')}, {id: 'email', title: Ox._('E-Mail Address')},
], ],
title: Ox._('Insert...'), title: Ox._('Insert...'),
width: formWidth - 16 width: formWidth - 16