mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
committed by
GitHub
parent
ba86e81aa0
commit
78049a820c
6
app/views/layouts/_set_js_locale.html.erb
Normal file
6
app/views/layouts/_set_js_locale.html.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
<script type="text/javascript">
|
||||
// Used to set I18n-js locale to Rails locale
|
||||
// Variable used in javascript/translations/index.js.erb
|
||||
|
||||
var LOCALE = "<%= I18n.locale %>";
|
||||
</script>
|
||||
Reference in New Issue
Block a user