From: dbs Date: Thu, 5 May 2011 18:38:36 +0000 (+0000) Subject: Use valid JSON in Dojo i18n for Searcher.js X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b58f8022f0445a607a1dd9829e6a0eba182e7b6e;p=evergreen%2Fpines.git Use valid JSON in Dojo i18n for Searcher.js Dojo i18n processing scripts require valid JSON (quoted keys in hashes), even though Dojo itself is more relaxed and accepts unquoted keys. So, do the i18n dance here. Signed-off-by: Dan Scott git-svn-id: svn://svn.open-ils.org/ILS/trunk@20437 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js b/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js index 577e93c9c6..faa68ade68 100644 --- a/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js +++ b/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js @@ -1,42 +1,42 @@ { - and : 'AND', - or : 'OR', - more : 'More...', - less : '...Less', - classed_searches : 'Classed Searches', - faceted_searches : 'Facets', - filters : 'Filters', - modifiers : 'Modifiers', - new_facet : 'New Facet', - new_filter : 'New Filter', - new_modifier : 'New Modifier', - remove : 'Remove', - advanced : 'Advanced', - basic : 'Basic', - perform_search : 'Go!', - contains : 'Contains', - notcontains : 'Does Not Contain', - exact : 'Exactly Matches', - modifier_default : '-- Select a Modifier --', - available : 'Available', - descending : 'Sort Descending', - ascending : 'Sort Ascending', - metabib : 'Metarecord Search', - staff : 'Staff Search', - filter_default : '-- Select a Filter --', - site : 'Site', - depth : 'Search Depth', - sort : 'Sort Axis', - statuses : 'Statuses', - audience : 'Audience', - before : 'Published Before', - after : 'Published After', - between : 'Published Between', - during : 'In Publication', - item_form : 'Form', - item_type : 'Type', - format : 'Type and Form', - vr_format : 'Videorecording Format', - lit_form : 'Literary Form', - bib_level : 'Bibliographic Level' + "and" : "AND", + "or" : "OR", + "more" : "More...", + "less" : "...Less", + "classed_searches" : "Classed Searches", + "faceted_searches" : "Facets", + "filters" : "Filters", + "modifiers" : "Modifiers", + "new_facet" : "New Facet", + "new_filter" : "New Filter", + "new_modifier" : "New Modifier", + "remove" : "Remove", + "advanced" : "Advanced", + "basic" : "Basic", + "perform_search" : "Go!", + "contains" : "Contains", + "notcontains" : "Does Not Contain", + "exact" : "Exactly Matches", + "modifier_default" : "-- Select a Modifier --", + "available" : "Available", + "descending" : "Sort Descending", + "ascending" : "Sort Ascending", + "metabib" : "Metarecord Search", + "staff" : "Staff Search", + "filter_default" : "-- Select a Filter --", + "site" : "Site", + "depth" : "Search Depth", + "sort" : "Sort Axis", + "statuses" : "Statuses", + "audience" : "Audience", + "before" : "Published Before", + "after" : "Published After", + "between" : "Published Between", + "during" : "In Publication", + "item_form" : "Form", + "item_type" : "Type", + "format" : "Type and Form", + "vr_format" : "Videorecording Format", + "lit_form" : "Literary Form", + "bib_level" : "Bibliographic Level" }