FIX: Load locale first in wizard app

This commit is contained in:
Dan Ungureanu 2020-05-14 11:48:55 +03:00
parent 9a18bacbe3
commit 321879a619
No known key found for this signature in database
GPG Key ID: 0AA2A00D6ACC8B84

View File

@ -1,11 +1,11 @@
<html>
<head>
<%= discourse_stylesheet_link_tag :wizard, theme_ids: nil %>
<%= preload_script 'ember_jquery' %>
<%= preload_script "locales/#{I18n.locale}" %>
<%- if ExtraLocalesController.client_overrides_exist? %>
<%= preload_script_url ExtraLocalesController.url('overrides') %>
<%- end %>
<%= preload_script 'ember_jquery' %>
<%= preload_script 'wizard-vendor' %>
<%= preload_script 'wizard-application' %>
<%= preload_script_url ExtraLocalesController.url('wizard') %>