プロジェクト

全般

プロフィール

« | » 

リビジョン fe7395a6

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

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

差分を表示:

app/views/glossary_terms/index.html.erb
<h2><%=t :label_glossary_terms %></h2>
<h2><%=l :label_glossary_terms %></h2>
<table class="list">
<thead>
<tr>
<th><%=t :field_name %></th>
<th><%=l :field_name %></th>
<th><%=l :field_description %></th>
</tr>
</thead>
......
<% @glossary_terms.each do |term| %>
<tr>
<td class="name">
<%= term.name %>
<%= link_to term.name, term %>
</td>
<td class="description">
<%= term.description %>

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