From 5cfbe8a32c47537ae36caea4fa4687316d8c509a Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 1 Sep 2017 11:49:46 -0400 Subject: [PATCH] Turn on facet translation by default for supported fields. (#1023) --- config/vufind/EDS.ini | 6 +++--- config/vufind/Primo.ini | 4 ++-- config/vufind/Summon.ini | 6 +++--- config/vufind/facets.ini | 7 ++++--- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/config/vufind/EDS.ini b/config/vufind/EDS.ini index 7576b15dde6..f2a50448b81 100644 --- a/config/vufind/EDS.ini +++ b/config/vufind/EDS.ini @@ -150,9 +150,9 @@ orFacets = * ; translated facets, be sure that all of the necessary strings are included in the ; language files found in the languages directory. You may add a colon and the ; name of a text domain after the field name to specify translations in a specific -; text domain (subdirectory of the languages folder). By default, no facets are -; translated -- uncomment or add lines below to turn on this feature. -;translated_facets[] = SourceType +; text domain (subdirectory of the languages folder). If you comment out the lines +; below, no facets will be translated. +translated_facets[] = SourceType ; This section shows which search types will display in the basic search box at ; the top of EDS pages. The name of each setting below corresponds with an diff --git a/config/vufind/Primo.ini b/config/vufind/Primo.ini index c127b1c799b..fc39d3362d9 100644 --- a/config/vufind/Primo.ini +++ b/config/vufind/Primo.ini @@ -129,8 +129,8 @@ special_facets = daterange ; translated facets, be sure that all of the necessary strings are included in the ; language files found in the languages directory. You may add a colon and the ; name of a text domain after the field name to specify translations in a specific -; text domain (subdirectory of the languages folder). By default, no facets are -; translated -- uncomment or add lines below to turn on this feature. +; text domain (subdirectory of the languages folder). If you comment out the lines +; below, no facets will be translated. translated_facets[] = tlevel ; This section shows which search types will display in the basic search box at diff --git a/config/vufind/Summon.ini b/config/vufind/Summon.ini index 3318d70b9bb..fe5ffd8de07 100644 --- a/config/vufind/Summon.ini +++ b/config/vufind/Summon.ini @@ -221,9 +221,9 @@ orFacets = * ; translated facets, be sure that all of the necessary strings are included in the ; language files found in the languages directory. You may add a colon and the ; name of a text domain after the field name to specify translations in a specific -; text domain (subdirectory of the languages folder). By default, no facets are -; translated -- uncomment or add lines below to turn on this feature. -;translated_facets[] = ContentType +; text domain (subdirectory of the languages folder). If you comment out the lines +; below, no facets will be translated. +translated_facets[] = ContentType ; This section shows which search types will display in the basic search box at ; the top of Summon pages. The name of each setting below corresponds with an diff --git a/config/vufind/facets.ini b/config/vufind/facets.ini index a9c5279d401..958c144e6e9 100644 --- a/config/vufind/facets.ini +++ b/config/vufind/facets.ini @@ -168,11 +168,12 @@ special_facets = "illustrated,daterange" ; translated facets, be sure that all of the necessary strings are included in the ; language files found in the languages directory. You may add a colon and the ; name of a text domain after the field name to specify translations in a specific -; text domain (subdirectory of the languages folder). By default, no facets are -; translated -- uncomment or add lines below to turn on this feature. +; text domain (subdirectory of the languages folder). If you comment out the lines +; below, no facets will be translated. ;translated_facets[] = institution ;translated_facets[] = building -;translated_facets[] = format +translated_facets[] = format +translated_facets[] = callnumber-first:CallNumberFirst ; Any facets named here will be treated as a delimited facet. ; Delimited facets can be used to display a text value for otherwise incomprehensible -- GitLab