summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-04-21 14:52:33 +0000
committerGo MAEDA <maeda@farend.jp>2019-04-21 14:52:33 +0000
commit4eecc027b1c1fbd2007a39b59ee37b86f3022a36 (patch)
tree412cb6ba299491c0ab8f855fa352723cfc92ffaa
parentabb8274a9853c9ff17c53fa2b7733ef3f0203841 (diff)
downloadredmine-4eecc027b1c1fbd2007a39b59ee37b86f3022a36.tar.gz
redmine-4eecc027b1c1fbd2007a39b59ee37b86f3022a36.zip
Remove hard-coded strings (#30838).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18072 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/settings/_mail_handler.html.erb2
-rw-r--r--config/locales/en.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/settings/_mail_handler.html.erb b/app/views/settings/_mail_handler.html.erb
index d14593da1..910270033 100644
--- a/app/views/settings/_mail_handler.html.erb
+++ b/app/views/settings/_mail_handler.html.erb
@@ -18,7 +18,7 @@
<em class="info"><%= l(:text_comma_separated) %>
<%= l(:label_example) %>: smime.p7s, *.vcf</em>
</p>
- <p><%= setting_select :mail_handler_preferred_body_part, [['Text', 'plain'], ['HTML', 'html']] %></p>
+ <p><%= setting_select :mail_handler_preferred_body_part, [[l(:label_preferred_body_part_text), 'plain'], [l(:label_preferred_body_part_html), 'html']] %></p>
</div>
<div class="box tabular settings">
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 8757b70ea..44e451fd2 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1045,6 +1045,8 @@ en:
label_inherited_from_group: "Inherited from group %{name}"
label_trackers_description: Trackers description
label_open_trackers_description: View all trackers description
+ label_preferred_body_part_text: Text
+ label_preferred_body_part_html: HTML (experimental)
button_login: Login
button_submit: Submit