1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-03 14:24:23 +01:00
fab-manager/app/frontend/packs/locale.js.erb
2020-09-15 15:00:05 +02:00

11 lines
557 B
Plaintext

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 %>