1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/frontend/packs/locale.js.erb

11 lines
557 B
Plaintext
Raw Normal View History

2020-09-15 15:00:05 +02:00
import 'angular-i18n/angular-locale_<%= Rails.application.secrets.angular_locale %>.js';
<% if Rails.application.secrets.moment_locale != 'en' %>
import 'moment/locale/<%= Rails.application.secrets.moment_locale %>.js';
<% end %>
<% if Rails.application.secrets.summernote_locale != 'en-US' %>
import 'summernote/lang/summernote-<%= Rails.application.secrets.summernote_locale %>.js';
<% end %>
<% if Rails.application.secrets.fullcalendar_locale != 'en' %>
import 'fullcalendar/dist/lang/<%= Rails.application.secrets.fullcalendar_locale %>.js';
<% end %>