Vote #70777
未完了accept translations with arguments on tabs label (render_tabs)
ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
-
開始日:
2011/09/27
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
37
version_id:
0
issue_org_id:
9329
author_id:
5471
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
on render_tabs helper, label, which is translated on view, don't accept translation arguments. A simple change on view allows to do this:
<%= render_tabs [ {:name=>'issued',:partial=>'issued_invoices',:label=>:issued}, {:name=>'received',:partial=>'received_invoices',:label=>[:received,{:num=>"3"}]} ] %>
journals
--------------------------------------------------------------------------------
いいね!0