[open-ils-commits] r16604 - trunk/Open-ILS/web/js/dojo/openils/acq/nls (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jun 7 01:00:19 EDT 2010
Author: dbs
Date: 2010-06-07 01:00:16 -0400 (Mon, 07 Jun 2010)
New Revision: 16604
Modified:
trunk/Open-ILS/web/js/dojo/openils/acq/nls/acq.js
Log:
Fix up acq Dojo NLS file to be strictly JSON compliant
simplejson chokes on non-compliant JSON:
* Strings must be delimited in double-quotes
* Joining strings with + is not allowed
Modified: trunk/Open-ILS/web/js/dojo/openils/acq/nls/acq.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/acq/nls/acq.js 2010-06-07 03:48:07 UTC (rev 16603)
+++ trunk/Open-ILS/web/js/dojo/openils/acq/nls/acq.js 2010-06-07 05:00:16 UTC (rev 16604)
@@ -1,85 +1,78 @@
{
- 'CREATE_PO_ASSETS_CONFIRM' : "This will create bibliographic, call number, and copy records for this purchase order in the ILS.\n\nContinue?",
- 'ROLLBACK_PO_RECEIVE_CONFIRM' : "This will rollback receipt of all copies for this purchase order.\n\nContinue?",
- 'XUL_RECORD_DETAIL_PAGE' : 'Record Details',
- 'DELETE_LI_COPIES_CONFIRM' : 'This will delete the last ${0} copies in the table. Proceed?',
- 'NO_PO_RESULTS': "No results",
- 'PO_HEADING_ERROR' : "Unexpected problem building virtual combined PO",
- 'CONFIRM_SPLIT_PO': "Are you sure you want to split this purchase order into\none purchase order for every constituent line item?",
- 'DFA_NOT_ALL': "Could not record all of your applications of distribution forumulas.",
- 'APPLY': "Apply",
- 'RESET_FORMULAE': "Reset Formulas",
- 'OUT_OF_COPIES': "You have applied distribution formulas to every copy.",
- 'ONE_LI_ATTR_SEARCH_AT_A_TIME': "You cannot both type in an attribute value search and search for an uploaded file of terms at the same time.",
- 'LI_ATTR_SEARCH_CHOOSE_FILE': "Select file with search terms",
- 'LI_ATTR_SEARCH_TOO_LARGE': "That file is too large for this operation.",
- 'SELECT_AN_LI_ATTRIBUTE': "You must select an LI attribute.",
- 'NO_RESULTS': "No results.",
- 'EXPORT_SAVE_DIALOG_TITLE': "Save field values to a file",
- 'EXPORT_SHORT_LIST': "Not all of the selected items had the attribute '${0}'.\nChoose OK to save those values that could be found.",
- 'EXPORT_EMPTY_LIST': "No values for attribute '${0}' found.",
- 'UNRECEIVE_LI': "Are you sure you want to mark this lineitem as UN-received?",
+ "CREATE_PO_ASSETS_CONFIRM" : "This will create bibliographic, call number, and copy records for this purchase order in the ILS.\n\nContinue?",
+ "ROLLBACK_PO_RECEIVE_CONFIRM" : "This will rollback receipt of all copies for this purchase order.\n\nContinue?",
+ "XUL_RECORD_DETAIL_PAGE" : "Record Details",
+ "DELETE_LI_COPIES_CONFIRM" : "This will delete the last ${0} copies in the table. Proceed?",
+ "NO_PO_RESULTS" : "No results",
+ "PO_HEADING_ERROR" : "Unexpected problem building virtual combined PO",
+ "CONFIRM_SPLIT_PO" : "Are you sure you want to split this purchase order into\none purchase order for every constituent line item?",
+ "DFA_NOT_ALL" : "Could not record all of your applications of distribution forumulas.",
+ "APPLY" : "Apply",
+ "RESET_FORMULAE" : "Reset Formulas",
+ "OUT_OF_COPIES" : "You have applied distribution formulas to every copy.",
+ "ONE_LI_ATTR_SEARCH_AT_A_TIME" : "You cannot both type in an attribute value search and search for an uploaded file of terms at the same time.",
+ "LI_ATTR_SEARCH_CHOOSE_FILE" : "Select file with search terms",
+ "LI_ATTR_SEARCH_TOO_LARGE" : "That file is too large for this operation.",
+ "SELECT_AN_LI_ATTRIBUTE" : "You must select an LI attribute.",
+ "NO_RESULTS" : "No results.",
+ "EXPORT_SAVE_DIALOG_TITLE" : "Save field values to a file",
+ "EXPORT_SHORT_LIST" : "Not all of the selected items had the attribute '${0}'.\nChoose OK to save those values that could be found.",
+ "EXPORT_EMPTY_LIST" : "No values for attribute '${0}' found.",
+ "UNRECEIVE_LI" : "Are you sure you want to mark this lineitem as UN-received?",
- 'UNRECEIVE_LID': "Are you sure you want to mark this copy as UN-received?",
- 'CONFIRM_LI_ALERT': "An alert has been placed on the lineitem titled,\n\"${0}\":\n\n${1}\n${2}\n${3}\nChoose OK if you wish to acknowledge this alert.",
- 'ALERT_UNSELECTED': "You must choose an alert code.",
- 'DFA_TIP': "<strong>Applied by</strong>: ${0}<br /><strong>When</strong>: ${1}",
- 'ITS_YOU': "You",
- 'JUST_NOW': "Just now",
- 'EXPLAIN_DFA_MGMT': "Remove record of this distribution formula usage?",
- 'VENDOR_PUBLIC': "VENDOR PUBLIC",
- 'PO_CANCEL_CONFIRM': "Are you SURE you want to cancel this purchase order?",
- 'LI_CANCEL_CONFIRM': "Are you SURE you want to cancel this line item?",
- 'LID_CANCEL_CONFIRM': "Are you SURE you want to cancel this copy?",
- 'UR_CANCEL_CONFIRM': "Are you SURE you want to cancel this user request?",
- 'CANCEL_REASON': "Cancel reason",
- 'CANCEL': "Cancel",
- 'YES': "Yes",
- 'NO' : "No",
- 'VENDOR_SAYS_PREPAY_NOT_NEEDED': "The selected vendor does not necessarily require prepayment, according\nto records. Require prepayment on this PO anyway?",
- 'VENDOR_SAYS_PREPAY_NEEDED': "The selected vendor requires prepayment, according to records.\nProceed anyway without required prepayment on this PO?",
- 'PREPAYMENT_REQUIRED_REMINDER': "This PO requires prepayment. Are you certain you're ready to activate it?",
- 'LI_FORMAT_ERROR': "Unexpected error retrieving formatted lineitem information.",
- 'FUND_NOT_YET_LOADED': "Fund not yet loaded. Try coming back to this display later.",
- 'CONFIRM_DELETE_MAPPING': "Are you sure you want to remove this tag from this fund?",
- 'COULD_NOT_CREATE_MAPPING': "Error tagging fund.",
- 'COULD_NOT_DELETE_MAPPING': "Error removing tag from fund.",
- 'FUND_LIST_ROLLOVER_SUMMARY' : 'Fund Propagation & Rollover Summary for Fiscal Year ${0}',
- 'FUND_LIST_ROLLOVER_SUMMARY_FUNDS' : '<b>${1}</b> funds propagated for fiscal year ${0} for the selected locations',
- 'FUND_LIST_ROLLOVER_SUMMARY_ROLLOVER_AMOUNT' : '<b>$${1}</b> unspent money rolled over to fiscal year ${0} for the selected locations',
- 'FUND_XFER_SAME_SOURCE_AND_DEST': "Cannot transfer. The source and destination funds are the same.",
- 'FUND_XFER_CONFIRM': "Are you sure you're ready to commit this transfer?",
- 'PO_CHECKING': "[One moment...]",
- 'PO_COULD_ACTIVATE' : "Yes.",
- 'PO_WARNING_NO_BLOCK_ACTIVATION': "Yes; fund ${0} (${1}) would be encumbered beyond its warning level.",
- 'PO_STOP_BLOCKS_ACTIVATION': "No; fund ${0} (${1}) would be encumbered beyond its stop level.",
- 'PO_FUND_WARNING_CONFIRM': "Are you sure? Did you see the warning about over-encumbering a fund?",
- 'CONFIRM_FUNDS_AT_STOP': "One or more of the selected funds has a balance below its stop level.\nYou may not be able to activate purchase orders incorporating these copies.\nContinue?",
- 'CONFIRM_FUNDS_AT_WARNING': "One or more of the selected funds has a balance below its warning level.\nContinue?",
- 'INVOICE_ITEM_DETAILS' : "${0} <br/> ${1} <br/> ${2}. <br/> Estimated Price: $${3}. <br/> Lineitem ID: ${4} <br/> PO: ${5} <br/> Order Date: ${6}",
- 'INVOICE_CONFIRM_ITEM_DELETE' : "Remove this $${0} '${1}' charge from the invoice?",
- 'INVOICE_CONFIRM_ENTRY_DETACH' : "Remove $${0} charge for item '${1}, ${2} [${3}] from the invoice?",
- 'LINEITEM_SUMMARY' : "<div class='acq-lineitem-summary'><a href='${19}'>${0}</a>, by ${1} (${2})</div>" +
- "<div class='acq-lineitem-summary-extra'>" +
- "${3} Ordered, ${4} Received, ${7} Invoiced, ${8} Claimed, ${9} Cancelled</div>" +
- "<div class='acq-lineitem-summary-extra'>Estimated $${6}, Encumbered $${16}, Paid $${17}</div>" +
- "<div class='acq-lineitem-summary-extra'>" +
- "<a style='padding-right: 10px;' href='${11}/acq/po/view/${12}'>PO #${13} ${18}</a>" +
- "<a style='padding-right: 10px;' href='${11}/acq/picklist/view/${14}'>${15}</a></div>",
- 'INVOICE_CONFIRM_PRORATE' : "Prorate charges?\n\nAny subsequent changes to the invoice that would affect prorated amounts should be resolved manually.",
- 'INVOICE_EXTRA_COPIES' : "You are attempting to invoice <b>${0}</b> more copies than originally ordered. <br/><br/>To add these items to the original order, " +
- "select a fund and choose 'Add New Items' below. <br/>After saving the invoice, you may finish editing and importing the new copies from the lineitem details page.",
- 'INVOICE_ITEM_PO_DETAILS' : "<b>${0}</b><br/><a href='${1}/acq/po/view/${2}'>PO #${3} ${4}</a><br/>Total Estimated Cost: $${5}",
- 'UNNAMED': "Unnamed",
- 'NO_FIND_INVOICE': "Could not find that invoice.\nNote that the Invoice # field is case-sensitive.",
- 'NO_LI_TO_CLAIM': "You have not selected any lineitems to claim.",
- 'NO_LID_TO_CLAIM': "You have not selected any lineitem details to claim.",
- 'CHANGE_CLAIM_POLICY': "Change claim policy",
- 'CANCELED': "Canceled",
- 'RECVD': "Recv'd",
- 'NOT_RECVD': "Not recv'd",
- 'PRINT': "Print",
- 'INVOICES': "Invoices",
- 'NUM_CLAIMS_EXISTING': "Claims (${0} existing)",
- 'LOAD_TERMS_FIRST': "You can't retrieve records until you've loaded a CSV file\nwith bibliographic IDs in the first column."
+ "UNRECEIVE_LID" : "Are you sure you want to mark this copy as UN-received?",
+ "CONFIRM_LI_ALERT" : "An alert has been placed on the lineitem titled,\n\"${0}\":\n\n${1}\n${2}\n${3}\nChoose OK if you wish to acknowledge this alert.",
+ "ALERT_UNSELECTED" : "You must choose an alert code.",
+ "DFA_TIP" : "<strong>Applied by</strong>: ${0}<br /><strong>When</strong>: ${1}",
+ "ITS_YOU" : "You",
+ "JUST_NOW" : "Just now",
+ "EXPLAIN_DFA_MGMT" : "Remove record of this distribution formula usage?",
+ "VENDOR_PUBLIC" : "VENDOR PUBLIC",
+ "PO_CANCEL_CONFIRM" : "Are you SURE you want to cancel this purchase order?",
+ "LI_CANCEL_CONFIRM" : "Are you SURE you want to cancel this line item?",
+ "LID_CANCEL_CONFIRM" : "Are you SURE you want to cancel this copy?",
+ "UR_CANCEL_CONFIRM" : "Are you SURE you want to cancel this user request?",
+ "CANCEL_REASON" : "Cancel reason",
+ "CANCEL" : "Cancel",
+ "YES" : "Yes",
+ "NO" : "No",
+ "VENDOR_SAYS_PREPAY_NOT_NEEDED" : "The selected vendor does not necessarily require prepayment, according\nto records. Require prepayment on this PO anyway?",
+ "VENDOR_SAYS_PREPAY_NEEDED" : "The selected vendor requires prepayment, according to records.\nProceed anyway without required prepayment on this PO?",
+ "PREPAYMENT_REQUIRED_REMINDER" : "This PO requires prepayment. Are you certain you're ready to activate it?",
+ "LI_FORMAT_ERROR" : "Unexpected error retrieving formatted lineitem information.",
+ "FUND_NOT_YET_LOADED" : "Fund not yet loaded. Try coming back to this display later.",
+ "CONFIRM_DELETE_MAPPING" : "Are you sure you want to remove this tag from this fund?",
+ "COULD_NOT_CREATE_MAPPING" : "Error tagging fund.",
+ "COULD_NOT_DELETE_MAPPING" : "Error removing tag from fund.",
+ "FUND_LIST_ROLLOVER_SUMMARY" : "Fund Propagation & Rollover Summary for Fiscal Year ${0}",
+ "FUND_LIST_ROLLOVER_SUMMARY_FUNDS" : "<b>${1}</b> funds propagated for fiscal year ${0} for the selected locations",
+ "FUND_LIST_ROLLOVER_SUMMARY_ROLLOVER_AMOUNT" : "<b>$${1}</b> unspent money rolled over to fiscal year ${0} for the selected locations",
+ "FUND_XFER_SAME_SOURCE_AND_DEST" : "Cannot transfer. The source and destination funds are the same.",
+ "FUND_XFER_CONFIRM" : "Are you sure you're ready to commit this transfer?",
+ "PO_CHECKING" : "[One moment...]",
+ "PO_COULD_ACTIVATE" : "Yes.",
+ "PO_WARNING_NO_BLOCK_ACTIVATION" : "Yes; fund ${0} (${1}) would be encumbered beyond its warning level.",
+ "PO_STOP_BLOCKS_ACTIVATION" : "No; fund ${0} (${1}) would be encumbered beyond its stop level.",
+ "PO_FUND_WARNING_CONFIRM" : "Are you sure? Did you see the warning about over-encumbering a fund?",
+ "CONFIRM_FUNDS_AT_STOP" : "One or more of the selected funds has a balance below its stop level.\nYou may not be able to activate purchase orders incorporating these copies.\nContinue?",
+ "CONFIRM_FUNDS_AT_WARNING" : "One or more of the selected funds has a balance below its warning level.\nContinue?",
+ "INVOICE_ITEM_DETAILS" : "${0} <br/> ${1} <br/> ${2}. <br/> Estimated Price: $${3}. <br/> Lineitem ID: ${4} <br/> PO: ${5} <br/> Order Date: ${6}",
+ "INVOICE_CONFIRM_ITEM_DELETE" : "Remove this $${0} '${1}' charge from the invoice?",
+ "INVOICE_CONFIRM_ENTRY_DETACH" : "Remove $${0} charge for item '${1}, ${2} [${3}] from the invoice?",
+ "LINEITEM_SUMMARY" : "<div class='acq-lineitem-summary'><a href='${19}'>${0}</a>, by ${1} (${2})</div>\n<div class='acq-lineitem-summary-extra'>\n${3} Ordered, ${4} Received, ${7} Invoiced, ${8} Claimed, ${9} Cancelled</div>\n<div class='acq-lineitem-summary-extra'>Estimated $${6}, Encumbered $${16}, Paid $${17}</div>\n<div class='acq-lineitem-summary-extra'>\n<a style='padding-right: 10px;' href='${11}/acq/po/view/${12}'>PO #${13} ${18}</a>\n<a style='padding-right: 10px;' href='${11}/acq/picklist/view/${14}'>${15}</a></div>",
+ "INVOICE_CONFIRM_PRORATE" : "Prorate charges?\n\nAny subsequent changes to the invoice that would affect prorated amounts should be resolved manually.",
+ "INVOICE_EXTRA_COPIES" : "You are attempting to invoice <b>${0}</b> more copies than originally ordered. <br/><br/>To add these items to the original order, select a fund and choose 'Add New Items' below. <br/>After saving the invoice, you may finish editing and importing the new copies from the lineitem details page.",
+ "INVOICE_ITEM_PO_DETAILS" : "<b>${0}</b><br/><a href='${1}/acq/po/view/${2}'>PO #${3} ${4}</a><br/>Total Estimated Cost: $${5}",
+ "UNNAMED" : "Unnamed",
+ "NO_FIND_INVOICE" : "Could not find that invoice.\nNote that the Invoice # field is case-sensitive.",
+ "NO_LI_TO_CLAIM" : "You have not selected any lineitems to claim.",
+ "NO_LID_TO_CLAIM" : "You have not selected any lineitem details to claim.",
+ "CHANGE_CLAIM_POLICY" : "Change claim policy",
+ "CANCELED" : "Canceled",
+ "RECVD" : "Recv'd",
+ "NOT_RECVD" : "Not recv'd",
+ "PRINT" : "Print",
+ "INVOICES" : "Invoices",
+ "NUM_CLAIMS_EXISTING" : "Claims (${0} existing)",
+ "LOAD_TERMS_FIRST" : "You can't retrieve records until you've loaded a CSV file\nwith bibliographic IDs in the first column."
}
More information about the open-ils-commits
mailing list