* settings localization
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@49 5e329b0b-a2ee-ea63-e329-299493fc886d
This commit is contained in:
parent
d0fa6cebc1
commit
9c1323e9b0
@ -66,7 +66,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<p class="no-ident">
|
||||
<%= 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)) %>
|
||||
</p>
|
||||
<div class="clear">
|
||||
|
||||
@ -1,50 +1,50 @@
|
||||
<p>
|
||||
<%=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 %><br/>
|
||||
(<%=l(:label_default)%>: 0)
|
||||
<br/>
|
||||
Limits maximum number of files uploaded at once. "0" means unlimited.
|
||||
<%= l(:note_maximum_number_of_files_uploaded) %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%=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 %><br/>
|
||||
(<%=l(:label_default)%>: 0)
|
||||
<br/>
|
||||
Limits maximum number of files downloaded in zip or sent via email. "0" means unlimited.
|
||||
<%= l(:note_maximum_number_of_files_downloaded) %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%=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 %><br/>
|
||||
(<%=l(:label_default)%>: <%="#{RAILS_ROOT}/files/dmsf"%>)
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%=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 %><br/>
|
||||
(<%=l(:label_default)%>: <%="#{RAILS_ROOT}/files/dmsf_index"%>)
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%=content_tag(:label, "Stemming Language:") %>
|
||||
<%=content_tag(:label, l(:label_stemming_language) + ":") %>
|
||||
<%=text_field_tag 'settings[dmsf_stemming_lang]', @settings['dmsf_stemming_lang'] %><br/>
|
||||
(<%=l(:label_default)%>: english )<br/>
|
||||
<br/>
|
||||
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)%>)
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%=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)<br>
|
||||
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_SOME', @settings['dmsf_stemming_strategy'] == 'STEM_SOME' %> Stem some<br>
|
||||
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_ALL', @settings['dmsf_stemming_strategy'] == 'STEM_ALL' %> Stem all <br>
|
||||
<%=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)%><br>
|
||||
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_SOME', @settings['dmsf_stemming_strategy'] == 'STEM_SOME' %> <%=l(:option_stem_some)%><br>
|
||||
<%=radio_button_tag 'settings[dmsf_stemming_strategy]', 'STEM_ALL', @settings['dmsf_stemming_strategy'] == 'STEM_ALL' %> <%=l(:option_stem_all)%><br>
|
||||
<br/>
|
||||
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)%>:
|
||||
<br>
|
||||
* STEM_NONE: Don't perform any stemming.<br>
|
||||
* 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'.<br>
|
||||
* STEM_ALL: Search for stemmed forms of all words (note: no 'Z' prefix is added).<br>
|
||||
STEM_NONE: <%=l(:note_do_not_stem)%><br>
|
||||
STEM_SOME: <%=l(:note_stem_some)%><br>
|
||||
STEM_ALL: <%=l(:note_stem_all)%><br>
|
||||
<br/>
|
||||
Note that the stemming algorithm is only applied to words in probabilistic fields - boolean filter terms are never stemmed.<br>
|
||||
<%=l(:note_stemming_applied)%><br>
|
||||
</p>
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user