Fix all plugins for new i18n lib (#2993)

This commit is contained in:
Nuckyz 2024-11-05 16:49:27 -03:00
parent 5216bcca1e
commit 00f82e96bd
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
89 changed files with 351 additions and 238 deletions

View file

@ -37,9 +37,9 @@ export default definePlugin({
authors: [Devs.newwares],
patches: [
{
find: "Messages.REPLY_QUOTE_MESSAGE_NOT_LOADED",
find: "#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}",
replacement: {
match: /Messages\.REPLY_QUOTE_MESSAGE_NOT_LOADED/,
match: /#{intl::REPLY_QUOTE_MESSAGE_NOT_LOADED}\)/,
replace: "$&,onMouseEnter:()=>$self.fetchReply(arguments[0])"
}
},