mirror of
https://github.com/discourse/discourse.git
synced 2025-08-17 18:04:11 +08:00
DEV: Remove precompile for locale js (#32799)
The Rails asset pipeline isn't used for locale bundles any more. Plus, `assets.precompile` isn't used for anything since we switched to propshaft.
This commit is contained in:
parent
5cf6ebf70c
commit
d86b4ff298
1 changed files with 0 additions and 1 deletions
|
@ -1446,7 +1446,6 @@ class Plugin::Instance
|
|||
|
||||
if valid_locale?(opts)
|
||||
DiscoursePluginRegistry.register_locale(locale, opts)
|
||||
Rails.configuration.assets.precompile << "locales/#{locale}.js"
|
||||
else
|
||||
msg = "Invalid locale! #{opts.inspect}"
|
||||
# The logger isn't always present during boot / parsing locales from plugins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue