mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 15:35:22 +08:00
f661fa609e
http://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
8 lines
297 B
Plaintext
8 lines
297 B
Plaintext
//= depend_on 'client.en.yml'
|
|
|
|
<% SimplesIdeias::I18n.assert_usable_configuration! %>
|
|
<% admin = SimplesIdeias::I18n.translation_segments['app/assets/javascripts/i18n/admin.en.js']
|
|
admin[:en][:js] = admin[:en].delete(:admin_js)
|
|
%>
|
|
jQuery.extend(true, I18n.translations, <%= admin.to_json %>);
|