mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 02:24:54 +08:00
FIX: Wizard didn't load translations correctly
* Translations from the js.* namespace were not found, because the i18n-patches were not loaded. * The extra-locales didn't use a hash in the URL.
This commit is contained in:
parent
2c5d9269a0
commit
2801376df5
@ -3,6 +3,7 @@
|
||||
//= require ./ember-addons/macro-alias
|
||||
//= require ./ember-addons/ember-computed-decorators
|
||||
//= require_tree ./discourse-common
|
||||
//= require i18n-patches
|
||||
//= require_tree ./select-kit
|
||||
//= require wizard/router
|
||||
//= require wizard/wizard
|
||||
|
@ -2,11 +2,11 @@
|
||||
<head>
|
||||
<%= discourse_stylesheet_link_tag :wizard, theme_ids: nil %>
|
||||
<%= preload_script 'ember_jquery' %>
|
||||
<%= preload_script "locales/#{I18n.locale}" %>
|
||||
<%= preload_script 'wizard-vendor' %>
|
||||
<%= preload_script 'wizard-application' %>
|
||||
<%= preload_script "locales/#{I18n.locale}" %>
|
||||
<%= render partial: "common/special_font_face" %>
|
||||
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
||||
<script src="<%= ExtraLocalesController.url("wizard") %>"></script>
|
||||
<%= csrf_meta_tags %>
|
||||
|
||||
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
|
||||
|
Loading…
x
Reference in New Issue
Block a user