"ADDRESS_APPROVE" : "Approve Address",
"ADDRESS_OWNED" : "This address is owned by another user: ",
"ADDRESS_NEW" : "New Address",
- "STAT_CATS" : "Statistical Categories"
+ "STAT_CATS" : "Statistical Categories",
+ "SAVE" : "Save",
+ "SAVE_CLONE" : "Save & Clone",
+ "SHOW_REQUIRED" : "Show Only Required Fields",
+ "SHOW_SUGGESTED" : "Show Suggested Fields",
+ "SHOW_ALL" : "Show All Fields"
}
var userId = cgi.param('usr');
var stageUname = cgi.param('stage');
+ saveButton.attr("label", localeStrings.SAVE);
+ saveCloneButton.attr("label", localeStrings.SAVE_CLONE);
+ replaceBarcode.attr("label", localeStrings.REPLACE_BARCODE);
+ dojo.byId('uedit-show-required').innerHTML = localeStrings.SHOW_REQUIRED;
+ dojo.byId('uedit-show-suggested').innerHTML = localeStrings.SHOW_SUGGESTED;
+ dojo.byId('uedit-show-all').innerHTML = localeStrings.SHOW_ALL;
+ dojo.byId('uedit-dupe-barcode-warning').innerHTML = localeStrings.BARCODE_IN_USE;
+ allCards.attr("label", localeStrings.SEE_ALL);
+ dojo.byId('uedit-dupe-username-warning').innerHTML = localeStrings.DUPE_USERNAME;
+ generatePassword.attr("label", localeStrings.RESET_PASSWORD);
+ dojo.byId('verifyPassword').innerHTML = localeStrings.VERIFY_PASSWORD;
+ dojo.byId('parentGuardian').innerHTML = localeStrings.PARENT_OR_GUARDIAN;
+ dojo.byId('userSettings').innerHTML = localeStrings.USER_SETTINGS;
+ dojo.byId('statCats').innerHTML = localeStrings.STAT_CATS;
+
dojo.query("td[name='addressHeader']").forEach( function(item) { item.innerHTML = localeStrings.ADDRESS_HEADER; });
dojo.query("span[name='mailingAddress']").forEach( function(item) { item.innerHTML = localeStrings.ADDRESS_MAILING; });
dojo.query("span[name='billingAddress']").forEach( function(item) { item.innerHTML = localeStrings.ADDRESS_BILLING; });
checkGrpAppPerm(); // to do the initial load
loadStaticFields();
- replaceBarcode.attr("label", localeStrings.REPLACE_BARCODE);
- dojo.byId('uedit-dupe-barcode-warning').innerHTML = localeStrings.BARCODE_IN_USE;
- allCards.attr("label", localeStrings.SEE_ALL);
- dojo.byId('uedit-dupe-username-warning').innerHTML = localeStrings.DUPE_USERNAME;
- generatePassword.attr("label", localeStrings.RESET_PASSWORD);
- dojo.byId('verifyPassword').innerHTML = localeStrings.VERIFY_PASSWORD;
- dojo.byId('parentGuardian').innerHTML = localeStrings.PARENT_OR_GUARDIAN;
- dojo.byId('userSettings').innerHTML = localeStrings.USER_SETTINGS;
- dojo.byId('statCats').innerHTML = localeStrings.STAT_CATS;
if(patron.isnew() && patron.addresses().length == 0)
uEditNewAddr(null, uEditAddrVirtId, true);
</div>
<div id='uedit-save-div'>
- <button dojoType='dijit.form.Button' jsId='saveButton' onClick='uEditSave' scrollOnFocus='false'>Save</button>
- <button dojoType='dijit.form.Button' jsId='saveCloneButton' onClick='uEditSaveClone' scrollOnFocus='false'>Save & Clone</button>
+ <button dojoType='dijit.form.Button' jsId='saveButton' onClick='uEditSave' scrollOnFocus='false'></button>
+ <button dojoType='dijit.form.Button' jsId='saveCloneButton' onClick='uEditSaveClone' scrollOnFocus='false'></button>
<div id='require-toggle'>
<a href='javascript:uEditToggleRequired(1);' id='uedit-show-required'>Show Only Required Fields</a><br id='uedit-show-required-br'/>
<a href='javascript:uEditToggleRequired(2);' id='uedit-show-suggested'>Show Suggested Fields</a><br id='uedit-show-suggested-br'/>
msgstr ""
"Project-Id-Version: Evergreen 1.4\n"
"Report-Msgid-Bugs-To: open-ils-dev@list.georgialibraries.org\n"
-"POT-Creation-Date: 2011-04-23 01:19:52-0400\n"
+"POT-Creation-Date: 2011-04-23 01:33:28-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Billing"
msgstr ""
-#: register.js:SEE_ALL
-msgid "See All"
-msgstr ""
-
-#: register.js:BARCODE_IN_USE
-msgid "Barcode is already in use"
+#: register.js:ADDRESS_OWNED
+msgid "This address is owned by another user: "
msgstr ""
#: register.js:REPLACED_ADDRESS
msgid "<div>Replaces address <b>${0}</b><br/> ${1} ${2}<br/> ${3}, ${4} ${5}</div>"
msgstr ""
+#: register.js:SHOW_REQUIRED
+msgid "Show Only Required Fields"
+msgstr ""
+
#: register.js:DUPE_PATRON_ADDR
msgid "Found ${0} patron(s) with the same address"
msgstr ""
+#: register.js:SAVE
+msgid "Save"
+msgstr ""
+
#: register.js:DUPE_PATRON_IDENT
msgid "Found ${0} patron(s) with the same identification"
msgstr ""
msgid "An address is required during registration."
msgstr ""
-#: register.js:EXAMPLE
-msgid "Example: "
+#: register.js:PARENT_OR_GUARDIAN
+msgid "Parent/Guardian"
msgstr ""
#: register.js:ADDRESS_HEADER
msgid "Form is invalid. Please edit and try again."
msgstr ""
-#: register.js:PARENT_OR_GUARDIAN
-msgid "Parent/Guardian"
+#: register.js:BARCODE_IN_USE
+msgid "Barcode is already in use"
msgstr ""
-#: register.js:DUPE_PATRON_NAME
-msgid "Found ${0} patron(s) with the same name"
+#: register.js:EXAMPLE
+msgid "Example: "
+msgstr ""
+
+#: register.js:SHOW_SUGGESTED
+msgid "Show Suggested Fields"
msgstr ""
#: register.js:ADDRESS_PENDING
msgid "Username is already in use"
msgstr ""
+#: register.js:DUPE_PATRON_NAME
+msgid "Found ${0} patron(s) with the same name"
+msgstr ""
+
#: register.js:DEFAULT_ADDRESS_TYPE
msgid "MAILING"
msgstr ""
+#: register.js:SHOW_ALL
+msgid "Show All Fields"
+msgstr ""
+
#: register.js:ADDRESS_APPROVE
msgid "Approve Address"
msgstr ""
msgid "Verify Password"
msgstr ""
+#: register.js:SAVE_CLONE
+msgid "Save & Clone"
+msgstr ""
+
#: register.js:STAT_CATS
msgid "Statistical Categories"
msgstr ""
msgid "Reset Password"
msgstr ""
-#: register.js:ADDRESS_OWNED
-msgid "This address is owned by another user: "
+#: register.js:SEE_ALL
+msgid "See All"
msgstr ""
#: register.js:DELETE_ADDRESS