diff options
| author | Michel Etienne | 2012-08-02 15:00:57 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-08-02 15:00:57 +0200 |
| commit | 32c0e9231430db577e103cd1216ababf3500602a (patch) | |
| tree | 4e4a2b09980a484b4cee0e9ce13b0fb5f54d86f5 | |
| parent | 625f14ee52dd24a740bfbe07483156677f3bc251 (diff) | |
| download | chouette-core-32c0e9231430db577e103cd1216ababf3500602a.tar.bz2 | |
correct pluralize on referential and validation
| -rw-r--r-- | app/views/layouts/application.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0b39e2b97..69d5be2a5 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -35,8 +35,8 @@ <li><%= link_to "Aide", help_path, :class =>("current" if help_page?) %></li> <li><%= link_to "Tests de validation", test_sheet_path+"1_1", :class =>("current" if test_sheet_page?) %></li> <% elsif ! selected_referential? %> - <li><%= link_to Referential.model_name.human.capitalize.pluralize, referentials_path, :class => ("current" if current_page?(referentials_path) || current_page?(root_url)) %></li> - <li><%= tab_link_to FileValidation, file_validations_path %></li> + <li><%= link_to Referential.model_name.human(:count=>2), referentials_path, :class => ("current" if current_page?(referentials_path) || current_page?(root_url)) %></li> + <li><%= tab_link_to FileValidation.model_name.human(:count=>2), file_validations_path %></li> <% else %> <li><%= link_to t("layouts.tabs.dashboard"), referential_path(@referential), :class => ("current" if current_page?(referential_path(@referential))) %></li> <li><%= tab_link_to Chouette::Network, referential_networks_path(@referential) %></li> |
