From 9089329cc2b1bae3c776f76eece63c3443ca017f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 20 May 2013 19:14:57 +0000 Subject: [PATCH] more locale strings --- static/js/pandora/autovalidate.js | 2 +- static/js/pandora/siteDialog.0xdb.js | 4 ++-- static/js/pandora/siteDialog.js | 4 ++-- static/js/pandora/usersDialog.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/static/js/pandora/autovalidate.js b/static/js/pandora/autovalidate.js index b42e45fe4..1f7b6a0c1 100644 --- a/static/js/pandora/autovalidate.js +++ b/static/js/pandora/autovalidate.js @@ -56,7 +56,7 @@ pandora.validateNewEmail = function(value, callback) { operator: '==' }, function(result) { callback({ - message: Ox._('E-mail address already exists'), + message: Ox._('E-Mail Address already exists'), valid: !result.data.users.length }); }) : callback({ diff --git a/static/js/pandora/siteDialog.0xdb.js b/static/js/pandora/siteDialog.0xdb.js index bd816223f..921bdfa8e 100644 --- a/static/js/pandora/siteDialog.0xdb.js +++ b/static/js/pandora/siteDialog.0xdb.js @@ -127,7 +127,7 @@ pandora.ui.siteDialog = function(section) { .bindEvent({ change: function(data) { that.options({ - title: Ox.getObjectById(tabs, data.selected).title + title: Ox._(Ox.getObjectById(tabs, data.selected).title) }); pandora.UI.set({page: data.selected}); } @@ -151,7 +151,7 @@ pandora.ui.siteDialog = function(section) { minHeight: 256, minWidth: 688, // 16 + 256 + 16 + 384 + 16 removeOnClose: true, - title: Ox.getObjectById(tabs, section).title, + title: Ox._(Ox.getObjectById(tabs, section).title), width: dialogWidth }) .bindEvent({ diff --git a/static/js/pandora/siteDialog.js b/static/js/pandora/siteDialog.js index c94188498..d335eaaab 100644 --- a/static/js/pandora/siteDialog.js +++ b/static/js/pandora/siteDialog.js @@ -95,7 +95,7 @@ pandora.ui.siteDialog = function(section) { .bindEvent({ change: function(data) { that.options({ - title: Ox.getObjectById(tabs, data.selected).title + title: Ox._(Ox.getObjectById(tabs, data.selected).title) }); pandora.UI.set({page: data.selected}); } @@ -119,7 +119,7 @@ pandora.ui.siteDialog = function(section) { minHeight: 256, minWidth: 688, // 16 + 256 + 16 + 384 + 16 removeOnClose: true, - title: Ox.getObjectById(tabs, section).title, + title: Ox._(Ox.getObjectById(tabs, section).title), width: dialogWidth }) .bindEvent({ diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index c75e20175..9630132ca 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -64,7 +64,7 @@ pandora.ui.usersDialog = function() { items: [ {id: 'all', title: Ox._('Find: All')}, {id: 'username', title: Ox._('Find: Username')}, - {id: 'email', title: Ox._('Find: E-Mail-Address')} + {id: 'email', title: Ox._('Find: E-Mail Address')} ], overlap: 'right', type: 'image' @@ -789,7 +789,7 @@ pandora.ui.usersDialog = function() { id: 'insert', items: [ {id: 'username', title: Ox._('Username')}, - {id: 'email', title: Ox._('E-Mail address')}, + {id: 'email', title: Ox._('E-Mail Address')}, ], title: Ox._('Insert...'), width: formWidth - 16