diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-25 20:17:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-02-25 20:17:15 +0000 |
commit | 74e434b2f3993841e8558275988e215e2ff8ef90 (patch) | |
tree | d365ac3fc0f3d6c5f85218b9e9afab385cfe17d9 | |
parent | 4162d8ec6b68d6ac8e348f8a8e73fab4e0ca8bfa (diff) | |
download | redmine-74e434b2f3993841e8558275988e215e2ff8ef90.tar.gz redmine-74e434b2f3993841e8558275988e215e2ff8ef90.zip |
Removed hard-coded strings (#16164).
git-svn-id: http://svn.redmine.org/redmine/trunk@12928 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/workflows_helper.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb index 185488e36..28f4fc2dd 100644 --- a/app/helpers/workflows_helper.rb +++ b/app/helpers/workflows_helper.rb @@ -37,7 +37,7 @@ module WorkflowsHelper if multiple all_tag_options.merge!(:style => "display:none;") end - option_tags << content_tag('option', 'All', all_tag_options) + option_tags << content_tag('option', l(:label_all), all_tag_options) option_tags << options_from_collection_for_select(objects, "id", "name", selected) select_tag name, option_tags, {:multiple => multiple}.merge(options) end @@ -85,7 +85,11 @@ module WorkflowsHelper :class => "old-status-#{old_status.id} new-status-#{new_status.id}") else select_tag tag_name, - options_for_select([["Oui", "1"], ["Non", "0"], [l(:label_no_change_option), "no_change"]], "no_change") + options_for_select([ + [l(:general_text_Yes), "1"], + [l(:general_text_No), "0"], + [l(:label_no_change_option), "no_change"] + ], "no_change") end end end |