mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Recompile theme translations when fallback data changes (#24371)
Previously we would only recompile a theme locale when its own data changes. However, the output also includes fallback data from other locales, so we need to invalidate all locales when fallback locale data is changed. Building a list of dependent locales is tricky, so let's just invalidate them all.
This commit is contained in:
@@ -6,7 +6,7 @@ require "json_schemer"
|
||||
class Theme < ActiveRecord::Base
|
||||
include GlobalPath
|
||||
|
||||
BASE_COMPILER_VERSION = 77
|
||||
BASE_COMPILER_VERSION = 78
|
||||
|
||||
class SettingsMigrationError < StandardError
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user