From 2e6f32911f30f5f944eeaac097bea184b658a220 Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 5 May 2011 18:40:18 +0000 Subject: [PATCH] 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/branches/rel_2_1@20438 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../web/js/dojo/openils/widget/nls/Searcher.js | 80 +++++++++++----------- 1 file changed, 40 insertions(+), 40 deletions(-) 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" } -- 2.11.0