Fix the syntax error (thanks phasefx) and get one more string
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Dec 2008 19:58:16 +0000 (19:58 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Dec 2008 19:58:16 +0000 (19:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11392 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/network.js
Open-ILS/xul/staff_client/chrome/locale/en-US/offline.properties

index a2f07f8..e41df25 100644 (file)
@@ -341,12 +341,12 @@ util.network.prototype = {
                                                //+ '&desc_brief=' + window.escape('Permission Denied: ' + robj.ilsperm)
                                                //+ '&desc_full=' + window.escape('Another staff member with the above permission may authorize this specific action.  Please notify your library administrator if you need this permission.  If you feel you have received this exception in error, inform your friendly Evergreen developers of the above permission and this debug information: ' + name),
                                                //'simple_auth' + (new Date()).toString(),
-                                               'Authorize',
+                                               offlineStrings.getFormattedString('network.permission.authorize'),
                                                'chrome,resizable,modal,width=700,height=500',
                                                {
                                                        'login_type' : 'temp',
                                                        'desc_brief' : offlineStrings.getFormattedString('network.permission.description.brief', [robj.ilsperm]),
-                                                       'desc_full' : 'offlineStrings.getFormattedString('network.permission.description.full', [name])
+                                                       'desc_full' : offlineStrings.getFormattedString('network.permission.description.full', [name])
                                                        //'simple_auth' : (new Date()).toString(),
                                                }
                                        );
index 5dbc43e..2526659 100644 (file)
@@ -172,6 +172,7 @@ network.new_session.expired=Session Expired
 network.new_session.expired.prompt=Please enter the credentials for a new login session.
 network.new_session.operator_change=Operator Change
 network.new_session.operator_change.prompt=Please enter the credentials for the new login session.  Note that the previous session is still active.
+network.permission.authorize=Authorize
 network.permission.description.brief=Permission Denied: %1$s
 network.permission.description.full=Another staff member with the above permission may authorize this specific action.  Please notify your library administrator if you need this permission.  If you feel you have received this exception in error, please inform your friendly Evergreen developers or helpdesk staff of the above permission and this debug information: %1$s
 network.server_or_method.error=Server or method error