Removed GLoc calls, should stay 0.8 compatibile
This commit is contained in:
1 parent
4205fb95a3
commit
328cd3fc3f
1 file changed
+3
-3
@@ -38,11 +38,11 @@ class BudgetIssueHook < Redmine::Hook::ViewListener
|
|||||||
def view_issues_bulk_edit_details_bottom(context = { })
|
def view_issues_bulk_edit_details_bottom(context = { })
|
||||||
if context[:project].module_enabled?('budget_module')
|
if context[:project].module_enabled?('budget_module')
|
||||||
select = select_tag('deliverable_id',
|
select = select_tag('deliverable_id',
|
||||||
content_tag('option', GLoc.l(:label_no_change_option), :value => '') +
|
content_tag('option', l(:label_no_change_option), :value => '') +
|
||||||
content_tag('option', GLoc.l(:label_none), :value => 'none') +
|
content_tag('option', l(:label_none), :value => 'none') +
|
||||||
options_from_collection_for_select(Deliverable.find_all_by_project_id(context[:project].id, :order => 'subject ASC'), :id, :subject))
|
options_from_collection_for_select(Deliverable.find_all_by_project_id(context[:project].id, :order => 'subject ASC'), :id, :subject))
|
||||||
|
|
||||||
return content_tag(:p, "<label>#{GLoc.l(:field_deliverable)}: " + select + "</label>")
|
return content_tag(:p, "<label>#{l(:field_deliverable)}: " + select + "</label>")
|
||||||
else
|
else
|
||||||
return ''
|
return ''
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user