プロジェクト

全般

プロフィール

Vote #70777

未完了

accept translations with arguments on tabs label (render_tabs)

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
-
開始日:
2011/09/27
期日:
進捗率:

0%

予定工数:
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:
ステータス-->[New]

説明

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

--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリI18n_37 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0