FIX: displays text of asset-version changed modal (#7631)

FIX: displays text of asset-version changed modal (#7631)

diff --git a/app/assets/javascripts/discourse/initializers/asset-version.js.es6 b/app/assets/javascripts/discourse/initializers/asset-version.js.es6
index 980e21e..21faedd 100644
--- a/app/assets/javascripts/discourse/initializers/asset-version.js.es6
+++ b/app/assets/javascripts/discourse/initializers/asset-version.js.es6
@@ -17,9 +17,7 @@ export default {
         // Since we can do this transparently for people browsing the forum
         //  hold back the message 24 hours.
         Ember.run.later(() => {
-          bootbox.confirm(I18n.lookup("assets_changed_confirm"), function(
-            result
-          ) {
+          bootbox.confirm(I18n.t("assets_changed_confirm"), function(result) {
             if (result) {
               document.location.reload();
             }

GitHub sha: 05206a61

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: