プロジェクト

全般

プロフィール

« | » 

リビジョン fe7395a6

高徹 高橋 徹 さんが約6年前に追加

[phase-3]use redmine's I18n#l method instead of Rails' I18n#t

差分を表示:

app/views/glossary_terms/show.html.erb
<h2><%=t :label_glossary_term %> #<%= @term.id %></h2>
<h2><%=l :label_glossary_term %> #<%= @term.id %></h2>
<h3><%= @term.name %></h3>
<table>
<tr>
<th><%=t :field_description %></th>
<th><%=l :field_description %></th>
<td><%= @term.description %></td>
</tr>
<tr>
<th><%=l :field_created_on %></th>
<td><%= format_time(@term.created_at) %></td>
</tr>
<tr>
<th><%=l :field_updated_on %></th>
<td><%= format_time(@term.updated_at) %></td>
</tr>
</table>

他の形式にエクスポート: Unified diff