fix(microsoft-shared): escape @ in i18n strings to avoid vue-i18n linked-message parser
Vue-i18n treats @ as the marker for linked messages (@:other.key).
A bare @ in a translation triggers 'Invalid linked format' SyntaxError
when the message compiler runs. Escape with {'@'} so vue-i18n outputs
the literal character at render time.
Affected strings: MICROSOFT_SHARED.DESCRIPTION and UPN_PLACEHOLDER, both
contained the example address sales@yourcompany.com which broke when
the user clicked the new Microsoft Shared Inbox tile.
This commit is contained in:
@@ -526,9 +526,9 @@
|
||||
},
|
||||
"MICROSOFT_SHARED": {
|
||||
"TITLE": "Microsoft Shared Inbox",
|
||||
"DESCRIPTION": "Connect a shared mailbox (e.g. sales@yourcompany.com) using a Microsoft 365 user account that has Send As and Full Access permissions on the mailbox. All sending and receiving uses Microsoft Graph API, so it works with Security Defaults and survives the SMTP Basic Auth retirement.",
|
||||
"DESCRIPTION": "Connect a shared mailbox (e.g. sales{'@'}yourcompany.com) using a Microsoft 365 user account that has Send As and Full Access permissions on the mailbox. All sending and receiving uses Microsoft Graph API, so it works with Security Defaults and survives the SMTP Basic Auth retirement.",
|
||||
"UPN_LABEL": "Shared mailbox address",
|
||||
"UPN_PLACEHOLDER": "sales@yourcompany.com",
|
||||
"UPN_PLACEHOLDER": "sales{'@'}yourcompany.com",
|
||||
"UPN_HELP": "The address of the shared mailbox you want to add. You'll authenticate next as a delegate user.",
|
||||
"SIGN_IN": "Continue with Microsoft",
|
||||
"INVALID_UPN": "Enter a valid email address.",
|
||||
|
||||
Reference in New Issue
Block a user