[open-ils-commits] r16708 - in branches/rel_1_6/Open-ILS/web/js/dojo/openils: actor/nls booking/nls reports/nls widget/nls (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jun 14 11:54:11 EDT 2010


Author: dbs
Date: 2010-06-14 11:54:08 -0400 (Mon, 14 Jun 2010)
New Revision: 16708

Modified:
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/actor/nls/register.js
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/capture.js
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pickup_and_return.js
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pull_list.js
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/reports/nls/reports.js
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/AutoFieldWidget.js
   branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/TranslatorPopup.js
Log:
Fix bad JSON for all remaining Dojo i18n files


Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/actor/nls/register.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/actor/nls/register.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/actor/nls/register.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -1,7 +1,7 @@
 {
-    DUPE_PATRON_NAME : 'Found ${0} patron(s) with the same name',
-    DUPE_PATRON_EMAIL : 'Found ${0} patron(s) with the same email address',
-    DUPE_PATRON_IDENT : 'Found ${0} patron(s) with the same identification',
-    DUPE_PATRON_PHONE : 'Found ${0} patron(s) with the same phone number',
-    DUPE_PATRON_ADDR : 'Found ${0} patron(s) with the same address'
+    "DUPE_PATRON_NAME" : "Found ${0} patron(s) with the same name",
+    "DUPE_PATRON_EMAIL" : "Found ${0} patron(s) with the same email address",
+    "DUPE_PATRON_IDENT" : "Found ${0} patron(s) with the same identification",
+    "DUPE_PATRON_PHONE" : "Found ${0} patron(s) with the same phone number",
+    "DUPE_PATRON_ADDR" : "Found ${0} patron(s) with the same address"
 }

Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/capture.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/capture.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/capture.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -1,37 +1,34 @@
 {
-    'FAILURE': "Capture failed",
-    'SUCCESS': "Capture succeeded",
-    'UNKNOWN_PROBLEM': "An unknown problem occurred during capture attempt.",
-    'CAPTURED_NOTHING': "Didn't capture anything.",
-    'NO_PAYLOAD':
-        "We did not receive further information from the server about this" +
-        "attempt to capture.",
-    'HERES_WHAT_WE_KNOW':
-        "The following information is available about the failed capture:",
-    'CAPTURE_INFO': "Capture Information",
-    'CAPTURE_BRESV_DATES': "Reservation time:",
-    'CAPTURE_BRESV_BRSRC': "Resource barcode:",
-    'CAPTURE_BRESV_PICKUP_LIB': "Pickup library:",
-    'CAPTURE_CAUSES_TRANSIT': "This item is now in transit!",
-    'CAPTURE_TRANSIT_SOURCE': "From:",
-    'CAPTURE_TRANSIT_DEST': "To:",
-    'BARCODE': "Barcode",
-    'TITLE': "Title",
-    'AUTHOR': "Author",
-    'RESERVED': "Reserved for patron",
-    'REQUEST': "Request time",
-    'DURATION': "Reserved from",
-    'SLIP_DATE': "Slip date",
-    'PRINTED_BY': "Printed by",
-    'AT': "at",
-    'PRINT': "<u>P</u>rint",
-    'PRINT_ACCESSKEY': "P",
-    'TRANSIT': "*** TRANSIT ***",
-    'RESERVATION_SHELF': "RESERVATION SHELF",
-    'NEEDS_ROUTED_TO': "This item need to be routed to",
+    "FAILURE": "Capture failed",
+    "SUCCESS": "Capture succeeded",
+    "UNKNOWN_PROBLEM": "An unknown problem occurred during capture attempt.",
+    "CAPTURED_NOTHING": "Didn't capture anything.",
+    "NO_PAYLOAD": "We did not receive further information from the server about this attempt to capture.",
+    "HERES_WHAT_WE_KNOW": "The following information is available about the failed capture:",
+    "CAPTURE_INFO": "Capture Information",
+    "CAPTURE_BRESV_DATES": "Reservation time:",
+    "CAPTURE_BRESV_BRSRC": "Resource barcode:",
+    "CAPTURE_BRESV_PICKUP_LIB": "Pickup library:",
+    "CAPTURE_CAUSES_TRANSIT": "This item is now in transit!",
+    "CAPTURE_TRANSIT_SOURCE": "From:",
+    "CAPTURE_TRANSIT_DEST": "To:",
+    "BARCODE": "Barcode",
+    "TITLE": "Title",
+    "AUTHOR": "Author",
+    "RESERVED": "Reserved for patron",
+    "REQUEST": "Request time",
+    "DURATION": "Reserved from",
+    "SLIP_DATE": "Slip date",
+    "PRINTED_BY": "Printed by",
+    "AT": "at",
+    "PRINT": "<u>P</u>rint",
+    "PRINT_ACCESSKEY": "P",
+    "TRANSIT": "*** TRANSIT ***",
+    "RESERVATION_SHELF": "RESERVATION SHELF",
+    "NEEDS_ROUTED_TO": "This item need to be routed to",
 
-    'AUTO_capture_heading': "Capture Reserved Resources",
-    'AUTO_resource_barcode': "Enter barcode:",
-    'AUTO_pickup_lib_selector': "Pickup library:",
-    'AUTO_ATTR_VALUE_capture': "Capture"
+    "AUTO_capture_heading": "Capture Reserved Resources",
+    "AUTO_resource_barcode": "Enter barcode:",
+    "AUTO_pickup_lib_selector": "Pickup library:",
+    "AUTO_ATTR_VALUE_capture": "Capture"
 }

Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pickup_and_return.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pickup_and_return.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pickup_and_return.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -1,39 +1,33 @@
 {
-    'NO_PATRON_BARCODE': "Please enter a patron barcode.",
-    'RESERVATIONS_NO_RESPONSE':
-        "No response from server when asking for reservations.",
-    'RESERVATIONS_ERROR':
-        "Error communicating with server (asking for reservations):",
-    'PICKUP_NO_RESPONSE': "No response from server when attempting pickup.",
-    'PICKUP_ERROR': "Error communicating with server (attempting pickup):",
-    'RETURN_NO_RESPONSE': "No response from server when attempting return.",
-    'RETURN_ERROR': "Error communicating with server (attempting return):",
-    'RETURN_SUCCESS': "Return successful.",
-    'SELECT_SOMETHING': "You have not selected any reservations.",
-    'NO_SUCH_RETURNABLE_RESOURCE': "No such returnable resource.",
-    'RETURNABLE_RESOURCE_ERROR': "Error looking up returnable resource:",
-    'NOTICE_CHANGE_OF_PATRON':
-        "Note that the resource scanned was out on reservation to different\n" +
-        "patron than the last resource you scanned.  If this is not\n" +
-        "expected, stop to examine outstanding reservations for your patron\n" +
-        "or on the resource.",
+    "NO_PATRON_BARCODE": "Please enter a patron barcode.",
+    "RESERVATIONS_NO_RESPONSE": "No response from server when asking for reservations.",
+    "RESERVATIONS_ERROR": "Error communicating with server (asking for reservations):",
+    "PICKUP_NO_RESPONSE": "No response from server when attempting pickup.",
+    "PICKUP_ERROR": "Error communicating with server (attempting pickup):",
+    "RETURN_NO_RESPONSE": "No response from server when attempting return.",
+    "RETURN_ERROR": "Error communicating with server (attempting return):",
+    "RETURN_SUCCESS": "Return successful.",
+    "SELECT_SOMETHING": "You have not selected any reservations.",
+    "NO_SUCH_RETURNABLE_RESOURCE": "No such returnable resource.",
+    "RETURNABLE_RESOURCE_ERROR": "Error looking up returnable resource:",
+    "NOTICE_CHANGE_OF_PATRON":
+        "Note that the resource scanned was out on reservation to a different\npatron than the last resource you scanned.  If this is not\nexpected, stop to examine outstanding reservations for your patron\nor on the resource.",
 
-    'AUTO_h1': "Reservations Pickup",
-    'AUTO_return_h1': "Reservations Return",
-    'AUTO_patron_barcode': "Enter patron barcode:",
-    'AUTO_barcode_type': "Return by barcode of",
-    'AUTO_in_bresv': "Patron has returned these resources today:",
-    'AUTO_ready_bresv': "Patron has these reservations ready for pickup:",
-    'AUTO_out_bresv': "Patron currently has these reservations out:",
-    'AUTO_no_ready_bresv':
-        "Patron has no reservations ready for pickup at this time.",
-    'AUTO_no_out_bresv': "Patron has no more reservations out at this time.",
-    'AUTO_no_in_bresv': "Patron has not returned any resources today.",
-    'AUTO_patron': "Patron",
-    'AUTO_resource': "Resource",
-    'AUTO_ATTR_VALUE_go': "Go",
-    'AUTO_ATTR_VALUE_reset': "Clear / New Patron",
-    'AUTO_ATTR_VALUE_pickup': "Pick up",
-    'AUTO_ATTR_VALUE_return': "Return",
-    'ADDRESS': "${0}\n${1}\n${2}, ${3} ${4}"
+    "AUTO_h1": "Reservations Pickup",
+    "AUTO_return_h1": "Reservations Return",
+    "AUTO_patron_barcode": "Enter patron barcode:",
+    "AUTO_barcode_type": "Return by barcode of",
+    "AUTO_in_bresv": "Patron has returned these resources today:",
+    "AUTO_ready_bresv": "Patron has these reservations ready for pickup:",
+    "AUTO_out_bresv": "Patron currently has these reservations out:",
+    "AUTO_no_ready_bresv": "Patron has no reservations ready for pickup at this time.",
+    "AUTO_no_out_bresv": "Patron has no more reservations out at this time.",
+    "AUTO_no_in_bresv": "Patron has not returned any resources today.",
+    "AUTO_patron": "Patron",
+    "AUTO_resource": "Resource",
+    "AUTO_ATTR_VALUE_go": "Go",
+    "AUTO_ATTR_VALUE_reset": "Clear / New Patron",
+    "AUTO_ATTR_VALUE_pickup": "Pick up",
+    "AUTO_ATTR_VALUE_return": "Return",
+    "ADDRESS": "${0}\n${1}\n${2}, ${3} ${4}"
 }

Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pull_list.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pull_list.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/booking/nls/pull_list.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -1,22 +1,22 @@
 {
-    'PULL_LIST_NO_RESPONSE': "No response from server trying to get pull list!",
-    'PULL_LIST_ERROR': "Error trying to fetch pull list: ",
-    'COPY_LOOKUP_NO_RESPONSE': "No response looking up copies by barcode",
-    'COPY_LOOKUP_ERROR': "Error looking up copies by barcode: ",
-    'COPY_MISSING': "Unexpected error: No information for copy: ",
-    'AT': "at",
-    'FOR': "for",
+    "PULL_LIST_NO_RESPONSE": "No response from server trying to get pull list!",
+    "PULL_LIST_ERROR": "Error trying to fetch pull list: ",
+    "COPY_LOOKUP_NO_RESPONSE": "No response looking up copies by barcode",
+    "COPY_LOOKUP_ERROR": "Error looking up copies by barcode: ",
+    "COPY_MISSING": "Unexpected error: No information for copy: ",
+    "AT": "at",
+    "FOR": "for",
 
-    'AUTO_no_results': "No results.",
-    'AUTO_owning_lib_selector': "See pull list for library:",
-    'AUTO_pull_list_title': "Booking Pull List",
-    'AUTO_interval_in_days': "Generate list for this many days hence: ",
-    'AUTO_ATTR_VALUE_fetch': "Fetch",
-    'AUTO_th_title_or_name': "Title or name",
-    'AUTO_th_barcode': "Barcode",
-    'AUTO_th_call_number': "Call number",
-    'AUTO_th_copy_location': "Copy location",
-    'AUTO_th_pickup_lib': "Pickup library",
-    'AUTO_th_resv_details': "Reservation details",
-    'AUTO_ATTR_VALUE_print': "Print"
+    "AUTO_no_results": "No results.",
+    "AUTO_owning_lib_selector": "See pull list for library:",
+    "AUTO_pull_list_title": "Booking Pull List",
+    "AUTO_interval_in_days": "Generate list for this many days hence: ",
+    "AUTO_ATTR_VALUE_fetch": "Fetch",
+    "AUTO_th_title_or_name": "Title or name",
+    "AUTO_th_barcode": "Barcode",
+    "AUTO_th_call_number": "Call number",
+    "AUTO_th_copy_location": "Copy location",
+    "AUTO_th_pickup_lib": "Pickup library",
+    "AUTO_th_resv_details": "Reservation details",
+    "AUTO_ATTR_VALUE_print": "Print"
 }

Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/reports/nls/reports.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/reports/nls/reports.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/reports/nls/reports.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -43,7 +43,7 @@
 	"REPORT_EDITOR_OUTPUT_FOLDERS": "Output Folders",
 	"REPORT_EDITOR_PROVIDE_FOLDER_ALERT": "Please provide a report folder",
 	"REPORT_EDITOR_ENTER_NAME_ALERT": "Please enter a report name",
-	"REPORT_EDITOR_INVALID_DATE_ALERT": "invalid start date -  YYYY-MM-DD",
+	"REPORT_EDITOR_INVALID_DATE_ALERT": "invalid start date - YYYY-MM-DD",
 	"REPORT_EDITOR_PROVIDE_OUTPUT_ALERT": "Please provide an output folder",
 	
 	"TFORMS_LABEL_RAW_DATA": "Raw Data",
@@ -69,7 +69,7 @@
 	"TFORMS_LABEL_YEAR_TRUNC": "Year",
 	"TFORMS_LABEL_HOUR_TRUNC": "Hour",
 	"TFORMS_LABEL_DAY_NAME": "Day Name",
-	"TFORMS_LABEL_MONTH_NAME": "Month Name'",
+	"TFORMS_LABEL_MONTH_NAME": "Month Name",
 	"TFORMS_LABEL_AGE": "Age",
 	"TFORMS_LABEL_MONTHS_AGO": "Months ago",
 	"TFORMS_LABEL_QUARTERS_AGO": "Quarters ago",

Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/AutoFieldWidget.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/AutoFieldWidget.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/AutoFieldWidget.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -1,5 +1,5 @@
 {
-    'TRUE' : 'True',
-    'FALSE' : 'False',
-    'UNSET' : 'Unset'
+    "TRUE" : "True",
+    "FALSE" : "False",
+    "UNSET" : "Unset"
 }

Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/TranslatorPopup.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/TranslatorPopup.js	2010-06-14 15:52:18 UTC (rev 16707)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/nls/TranslatorPopup.js	2010-06-14 15:54:08 UTC (rev 16708)
@@ -1,8 +1,8 @@
-({
-	locale : 'Locale',
-	translation : 'Translation',
-	translate : 'Translate',
-	create : 'Create',
-	update : 'Update',
-	remove : 'Remove'
-})
+{
+	"locale" : "Locale",
+	"translation" : "Translation",
+	"translate" : "Translate",
+	"create" : "Create",
+	"update" : "Update",
+	"remove" : "Remove"
+}



More information about the open-ils-commits mailing list