From 3d7472210cdeffbf25ba446fc318d8b3780a96c6 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 12 Feb 2008 02:41:11 +0000 Subject: [PATCH] i18n for the server/main and server/OpenILS directories git-svn-id: svn://svn.open-ils.org/ILS/trunk@8726 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 5 ++++ .../server/OpenILS/util_overlay.xul | 2 +- .../server/locale/en-US/common.properties | 8 +++++ .../xul/staff_client/server/main/data.xul | 15 +++++----- .../server/main/gen_offline_widgets.xul | 20 ++++++++----- .../xul/staff_client/server/main/ws_info.xul | 29 ++++++++++--------- 6 files changed, 49 insertions(+), 30 deletions(-) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 5629c172fa..d06fb7722e 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -1646,3 +1646,8 @@ + + + + + diff --git a/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul b/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul index 9b2e1a60a3..45fa5e85fe 100644 --- a/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul +++ b/Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul @@ -1,4 +1,4 @@ - + + + @@ -19,7 +22,7 @@ + ]> @@ -47,9 +50,7 @@ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); if (typeof JSAN == 'undefined') { - throw( - "The JSAN library object is missing." - ); + throw(document.getElementById("commonStrings").getString('common.jsan.missing')); } ///////////////////////////////////////////////////////////////////////////// @@ -195,7 +196,7 @@ urls.XUL_OFFLINE_GENERATE_WIDGETS ); - document.getElementById('caption').setAttribute('label','Data loaded.'); + document.getElementById('caption').setAttribute('label', document.getElementById('commonStrings').getString('staff.main.data.loaded')); xulG.window.open(urls.XUL_MENU_FRAME + '?server='+window.escape(xulG.url), @@ -213,7 +214,7 @@ - +