<%= javascript_include_tag 'application' %>
<% if Rails.env.staging? && Rails.application.secrets.enable_in_context_translation %>
<% end %>
<% if Rails.application.assets.find_asset "moment/locale/#{Rails.application.secrets.moment_locale}.js" %>
<%
elsif Rails.application.secrets.moment_locale != 'en'
raise LoadError, "moment/locale/#{Rails.application.secrets.moment_locale}.js does not exists"
end
%>
<% if Rails.application.assets.find_asset "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js" %>
<%
elsif Rails.application.secrets.summernote_locale != 'en-US'
raise LoadError, "summernote/lang/summernote-#{Rails.application.secrets.summernote_locale}.js does not exists"
end
%>
<% if Rails.application.assets.find_asset "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js" %>
<%
elsif Rails.application.secrets.fullcalendar_locale != 'en'
raise LoadError, "fullcalendar/dist/lang/#{Rails.application.secrets.fullcalendar_locale}.js does not exists"
end
%>