Feature #9329
accept translations with arguments on tabs label (render_tabs)
Status: | New | Start date: | 2011-09-27 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | I18n | |||
Target version: | - | |||
Resolution: |
Description
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"}]} ] %>
History
#1
Updated by Etienne Massip over 11 years ago
- Category set to I18n