aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorcedricnjanga2017-09-25 23:58:18 +0200
committercedricnjanga2017-09-26 00:02:54 +0200
commit733548a996d5e66c740f59d313eb031ddfcc9116 (patch)
tree5bf503daffb85e8cb4dda3f5ff21d3641acebf4e /app/views
parent2c681c7cfceaae63e4fa76c15afc05fd3bbf8942 (diff)
downloadchouette-core-733548a996d5e66c740f59d313eb031ddfcc9116.tar.bz2
Refs #4603 : Add translations to React Timetable app
Diffstat (limited to 'app/views')
-rw-r--r--app/views/time_tables/edit.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/time_tables/edit.html.slim b/app/views/time_tables/edit.html.slim
index ed55dc4e3..cc6f31489 100644
--- a/app/views/time_tables/edit.html.slim
+++ b/app/views/time_tables/edit.html.slim
@@ -11,6 +11,6 @@
= javascript_tag do
| window.actionType = "#{raw params[:action]}";
- | window.I18n = #{(I18n.backend.send(:translations).to_json).html_safe};
+ | window.I18n = #{(I18n.backend.send(:translations)[I18n.locale].to_json).html_safe};
= javascript_include_tag 'es6_browserified/time_tables/index.js'