aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/lines/index.html.slim2
-rw-r--r--config/locales/lines.en.yml1
-rw-r--r--config/locales/lines.fr.yml1
3 files changed, 3 insertions, 1 deletions
diff --git a/app/views/lines/index.html.slim b/app/views/lines/index.html.slim
index 9d491ace4..4d4ba938d 100644
--- a/app/views/lines/index.html.slim
+++ b/app/views/lines/index.html.slim
@@ -57,4 +57,4 @@
- unless @lines.any?
.row.mt-xs
.col-lg-12
- = replacement_msg t('referential_lines.search_no_results')
+ = replacement_msg 'referential_lines.search_no_results'.t
diff --git a/config/locales/lines.en.yml b/config/locales/lines.en.yml
index 3d1ddc149..c1f9063a7 100644
--- a/config/locales/lines.en.yml
+++ b/config/locales/lines.en.yml
@@ -19,6 +19,7 @@ en:
show: 'Show'
show_network: 'Show network'
show_company: 'Show company'
+ search_no_results: "No results found"
filters:
name_or_objectid_cont: "Search by name or objectid"
new:
diff --git a/config/locales/lines.fr.yml b/config/locales/lines.fr.yml
index 47baf96f8..487cae35c 100644
--- a/config/locales/lines.fr.yml
+++ b/config/locales/lines.fr.yml
@@ -19,6 +19,7 @@ fr:
show: 'Consulter'
show_network: 'Voir le réseau'
show_company: 'Voir le transporteur principal'
+ search_no_results: "Aucun résultat"
filters:
name_or_objectid_cont: "Indiquez un nom d'itinéraire ou un ID..."
new: