diff options
| author | Michel Etienne | 2012-10-10 17:02:34 +0200 | 
|---|---|---|
| committer | Michel Etienne | 2012-10-10 17:02:34 +0200 | 
| commit | 8b8c8f3ec124e6327e535c13a4045c1d62859d52 (patch) | |
| tree | 053513c3658b0e7f5966b3668d970ad3070b2c07 | |
| parent | 5e2ae4230eb3313a9aefcb6d4680354bac1687e5 (diff) | |
| download | chouette-core-8b8c8f3ec124e6327e535c13a4045c1d62859d52.tar.bz2 | |
add i18n on referentail attributes
| -rw-r--r-- | app/views/referentials/_referential.erb | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/referentials/_referential.erb b/app/views/referentials/_referential.erb index 4e74b081c..fff6b47fd 100644 --- a/app/views/referentials/_referential.erb +++ b/app/views/referentials/_referential.erb @@ -1,10 +1,10 @@  <%= div_for(referential) do %>    <%= link_to referential.name, referential %>    <div class="info"> -    <%= t('.lines') %>: <span class="lines_count"></span> - -    <%= t('.networks') %>: <span class="networks_count"></span> - -    <%= t('.vehicle_journeys') %>: <span class="vehicle_journeys_count"></span> - -    <%= t('.time_tables') %>: <span class="time_tables_count"></span> +    <%= referential.human_attribute_name('lines') %>: <span class="lines_count"></span> - +    <%= referential.human_attribute_name('networks') %>: <span class="networks_count"></span> - +    <%= referential.human_attribute_name('vehicle_journeys') %>: <span class="vehicle_journeys_count"></span> - +    <%= referential.human_attribute_name('time_tables') %>: <span class="time_tables_count"></span>      <div class="actions">          <%= link_to t("actions.edit"), edit_referential_path(referential), :class => "edit" %> |        <%= link_to t("actions.destroy"), referential_path(referential), :method => :delete, :confirm =>  t('referentials.actions.destroy_confirm'), :class => "remove" %>  | 
