[open-ils-commits] r20438 - branches/rel_2_1/Open-ILS/web/js/dojo/openils/widget/nls (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu May 5 14:40:23 EDT 2011


Author: dbs
Date: 2011-05-05 14:40:18 -0400 (Thu, 05 May 2011)
New Revision: 20438

Modified:
   branches/rel_2_1/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js
Log:
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 <dscott at laurentian.ca>


Modified: branches/rel_2_1/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js
===================================================================
--- branches/rel_2_1/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js	2011-05-05 18:38:36 UTC (rev 20437)
+++ branches/rel_2_1/Open-ILS/web/js/dojo/openils/widget/nls/Searcher.js	2011-05-05 18:40:18 UTC (rev 20438)
@@ -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"
 }



More information about the open-ils-commits mailing list