Fix Broken i18n

This commit is contained in:
thororen1234 2024-11-03 21:25:19 -05:00
parent 7dfa1ad5f1
commit bad5dac776
15 changed files with 22 additions and 22 deletions

View file

@ -27,9 +27,9 @@ export default definePlugin({
authors: [EquicordDevs.iamme],
patches: [
{
find: "#{intl::MESSAGE_EDITED},",
find: "#{intl::MESSAGE_EDITED}),",
replacement: {
match: /#{intl::MESSAGE_EDITED},(?:[^}]*[}]){3}\)/,
match: /#{intl::MESSAGE_EDITED}\),(?:[^}]*[}]){3}\)/,
replace: "$&,$self.PinnedIcon(arguments[0].message)"
}
}