mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 03:47:01 -04:00
Fix Broken i18n
This commit is contained in:
parent
7dfa1ad5f1
commit
bad5dac776
15 changed files with 22 additions and 22 deletions
|
@ -59,13 +59,13 @@ export default definePlugin({
|
|||
replacement: {
|
||||
// Find the Edit User Profile button and insert our custom button.
|
||||
// A bit jank, but whatever
|
||||
match: /,(.{11}\.Button,.{58}\.USER_SETTINGS_EDIT_USER_PROFILE}\))/,
|
||||
match: /,(.{0,20}\.Button,.{0,100}#{intl::USER_SETTINGS_EDIT_USER_PROFILE}\)}\))/,
|
||||
replace: ",$self.insertScanQrButton($1)",
|
||||
},
|
||||
},
|
||||
// Insert a Scan QR Code MenuItem in the Swith Accounts popout
|
||||
{
|
||||
find: "#{intl::SWITCH_ACCOUNTS_MANAGE_ACCOUNTS},",
|
||||
find: 'id:"manage-accounts"',
|
||||
replacement: {
|
||||
match: /(id:"manage-accounts",.*?)}\)\)(,\i)/,
|
||||
replace: "$1}),$self.ScanQrMenuItem)$2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue