diff --git a/app/views/dmsf_detail/file_detail.html.erb b/app/views/dmsf_detail/file_detail.html.erb
index 4e803061..7ac42518 100644
--- a/app/views/dmsf_detail/file_detail.html.erb
+++ b/app/views/dmsf_detail/file_detail.html.erb
@@ -66,7 +66,7 @@
<% end %>
- <%= label_tag("", (revision.source_revision.nil? ? l(:label_created) : l(:label_changed)) + ":") %>
+ <%=label_tag("", (revision.source_revision.nil? ? l(:label_created) : l(:label_changed)) + ":")%>
<%= l(:info_changed_by_user, :changed => revision.updated_at.strftime("%Y-%m-%d %H:%M:%S"), :user => h(revision.user)) %>
diff --git a/app/views/settings/_dmsf_settings.erb b/app/views/settings/_dmsf_settings.erb
index 9807f24c..ea4d7692 100644
--- a/app/views/settings/_dmsf_settings.erb
+++ b/app/views/settings/_dmsf_settings.erb
@@ -1,50 +1,50 @@
- <%=content_tag(:label, "Maximum files upload:") %>
+ <%=content_tag(:label, l(:label_maximum_files_upload) + ":") %>
<%=text_field_tag "settings[dmsf_max_file_upload]", @settings["dmsf_max_file_upload"], :size=>10 %>
(<%=l(:label_default)%>: 0)
- Limits maximum number of files uploaded at once. "0" means unlimited.
+ <%= l(:note_maximum_number_of_files_uploaded) %>
- <%=content_tag(:label, "Maximum files download:") %>
+ <%=content_tag(:label, l(:label_maximum_files_download) + ":") %>
<%=text_field_tag "settings[dmsf_max_file_download]", @settings["dmsf_max_file_download"], :size=>10 %>
(<%=l(:label_default)%>: 0)
- Limits maximum number of files downloaded in zip or sent via email. "0" means unlimited.
+ <%= l(:note_maximum_number_of_files_downloaded) %>
- <%=content_tag(:label, "File storage directory:") %>
+ <%=content_tag(:label, l(:label_file_storage_directory) + ":") %>
<%=text_field_tag "settings[dmsf_storage_directory]", @settings["dmsf_storage_directory"], :size=>50 %>
(<%=l(:label_default)%>: <%="#{RAILS_ROOT}/files/dmsf"%>)
- <%=content_tag(:label, "Index database:") %>
+ <%=content_tag(:label, l(:label_index_database) + ":") %>
<%=text_field_tag 'settings[dmsf_index_database]', @settings['dmsf_index_database'], :size=>50 %>
(<%=l(:label_default)%>: <%="#{RAILS_ROOT}/files/dmsf_index"%>)
- <%=content_tag(:label, "Stemming Language:") %>
+ <%=content_tag(:label, l(:label_stemming_language) + ":") %>
<%=text_field_tag 'settings[dmsf_stemming_lang]', @settings['dmsf_stemming_lang'] %>
(<%=l(:label_default)%>: english )
- Possible values: danish dutch english finnish french german german2 hungarian italian kraaij_pohlmann lovins norwegian porter portuguese romanian russian spanish swedish turkish (pass 'none' to disable stemming)
+ <%=l(:note_possible_values)%>: danish dutch english finnish french german german2 hungarian italian kraaij_pohlmann lovins norwegian porter portuguese romanian russian spanish swedish turkish (<%=l(:note_pass_none_to_disable_stemming)%>)
- <%=content_tag(:label, "Stem strategy:")%>
- <%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_NONE', @settings['dmsf_stemming_strategy'] == 'STEM_NONE', :checked=>true %> Stem none (default)
- <%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_SOME', @settings['dmsf_stemming_strategy'] == 'STEM_SOME' %> Stem some
- <%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_ALL', @settings['dmsf_stemming_strategy'] == 'STEM_ALL' %> Stem all
+ <%=content_tag(:label, l(:label_stem_strategy) + ":")%>
+ <%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_NONE', @settings['dmsf_stemming_strategy'] == 'STEM_NONE', :checked=>true %> <%=l(:option_stem_none)%>
+ <%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_SOME', @settings['dmsf_stemming_strategy'] == 'STEM_SOME' %> <%=l(:option_stem_some)%>
+ <%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_ALL', @settings['dmsf_stemming_strategy'] == 'STEM_ALL' %> <%=l(:option_stem_all)%>
- This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are:
+ <%=l(:label_stemming_description)%>:
- * STEM_NONE: Don't perform any stemming.
- * STEM_SOME: Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters (currently: (/@\<\>=*[{\" ), or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'.
- * STEM_ALL: Search for stemmed forms of all words (note: no 'Z' prefix is added).
+ STEM_NONE: <%=l(:note_do_not_stem)%>
+ STEM_SOME: <%=l(:note_stem_some)%>
+ STEM_ALL: <%=l(:note_stem_all)%>
- Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed.
+ <%=l(:note_stemming_applied)%>
diff --git a/config/locales/cs.yml b/config/locales/cs.yml
index ac8ec1bd..f2cb8354 100644
--- a/config/locales/cs.yml
+++ b/config/locales/cs.yml
@@ -107,4 +107,22 @@ cs:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 248df50f..7ca0c40b 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -102,5 +102,22 @@ de:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
-
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml
index fe9f49ce..33286c49 100644
--- a/config/locales/en-GB.yml
+++ b/config/locales/en-GB.yml
@@ -102,4 +102,22 @@ en-GB:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 913e2eef..c7de9913 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -107,4 +107,22 @@ en:
:option_version_major: "Major"
:label_new_content: "New content"
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/es.yml b/config/locales/es.yml
index fd0d067a..1a386536 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -102,4 +102,22 @@ es:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index 06b9c3ac..cb60e5c3 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -102,4 +102,22 @@ fr:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/ja.yml b/config/locales/ja.yml
index 913e2eef..431669b0 100644
--- a/config/locales/ja.yml
+++ b/config/locales/ja.yml
@@ -106,5 +106,22 @@ en:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
-
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index 92c02310..c46c5793 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -102,4 +102,22 @@ ru:
:option_version_minor: "Minor"
:option_version_major: "Major"
:label_new_content: "New content"
+ :label_maximum_files_upload: "Maximum files upload"
+ :note_maximum_number_of_files_uploaded: "Limits maximum number of files uploaded at once. 0 means unlimited."
+ :label_maximum_files_download: "Maximum files download"
+ :note_maximum_number_of_files_downloaded: "Limits maximum number of files downloaded in zip or sent via email. 0 means unlimited."
+ :label_file_storage_directory: "File storage directory"
+ :label_index_database: "Index database"
+ :label_stemming_language: "Stemming Language"
+ :note_possible_values: "Possible values"
+ :note_pass_none_to_disable_stemming: "pass 'none' to disable stemming"
+ :label_stem_strategy: "Stem strategy"
+ :option_stem_none: "Stem none (default)"
+ :option_stem_some: "Stem some"
+ :option_stem_all: "Stem all"
+ :label_stemming_description: "This controls how the query parser will apply the stemming algorithm. The default value is STEM_NONE. The possible values are"
+ :note_do_not_stem: "Don't perform any stemming."
+ :note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'."
+ :note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)."
+ :note_stemming_applied: "Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed."
\ No newline at end of file