aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Etienne2013-06-11 16:28:29 +0200
committerMichel Etienne2013-06-11 16:28:29 +0200
commitd02307e805b32bf56d95f857820015afa0aa1b9b (patch)
treebb4e0f5740f484e13b6b6141b7a017bdec50e4e2
parent4be0fac4db55170d5729a00139b873871a032c53 (diff)
downloadchouette-core-d02307e805b32bf56d95f857820015afa0aa1b9b.tar.bz2
Mantis 0019307 : show line : correct transport mode label
-rw-r--r--app/views/lines/show.html.erb2
-rw-r--r--config/locales/lines.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb
index 668eaebdc..1b30aff49 100644
--- a/app/views/lines/show.html.erb
+++ b/app/views/lines/show.html.erb
@@ -37,7 +37,7 @@
<%= @line.number %>
</p>
<p>
- <label><%= @line.human_attribute_name("transport_mode_name") %>: </label>
+ <label><%= @line.human_attribute_name("transport_mode") %>: </label>
<%= t("transport_modes.label.#{@line.transport_mode}") %>
</p>
<p>
diff --git a/config/locales/lines.yml b/config/locales/lines.yml
index 288dc539e..48e8bff68 100644
--- a/config/locales/lines.yml
+++ b/config/locales/lines.yml
@@ -45,7 +45,7 @@ en:
name: "Name"
published_name: "Published name"
number: "Number"
- transport_mode_name: "Transport mode"
+ transport_mode: "Transport mode"
group_of_line: "Group of lines"
comment: "Comments"
objectid: "Neptune identifier"
@@ -105,7 +105,7 @@ fr:
name: "Nom"
published_name: "Nom public"
number: "Indice"
- transport_mode_name: "Mode de transport"
+ transport_mode: "Mode de transport"
group_of_line: "Groupe de lignes"
comment: "Commentaire"
objectid: "Identifiant Neptune"