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

@ -133,12 +133,12 @@ export default definePlugin({
{
find: "#{intl::CUSTOM_STATUS_SET_CUSTOM_STATUS}",
replacement: {
match: /\.ModalFooter,.{0,70}\.Messages\.SAVE\}\)/,
match: /\.ModalFooter,.{0,70}\i\.\i\.string\(\i\.\i#{intl::SAVE}\)\}\)/,
replace: "$&,$self.renderRememberButton(this.state)"
}
},
{
find: '"aria-label":#{intl::STATUS_MENU_LABEL}',
find: /"aria-label":.{0,1}\.\i\.string\(\i\.\i#{intl::STATUS_MENU_LABEL}/,
replacement: {
match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/,
replace: "$self.render($2, $3),false&&$1"