aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/time_tables/edit.html.slim
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/time_tables/edit.html.slim')
-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'