MoreUserTags: make patch apply to all loaded intl modules
Co-Authored-By: sadan4 <117494111+sadan4@users.noreply.github.com>
This commit is contained in:
parent
0e59e55582
commit
f9f07b21a8
1 changed files with 3 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
find: '"#{intl::APP_TAG::hash}":',
|
||||
// This matches the intl bundle, english is always loaded as a fallback bundle
|
||||
// if the users language is not english, we need to apply to both because the load order is random
|
||||
all: true,
|
||||
predicate: () => settings.store.noAppsAllowed,
|
||||
replacement: {
|
||||
match: /(#{intl::APP_TAG::hash}":\[").*?("\])/,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue