fixup: MissingRTCFocus error, fix confusion between domain/brand
This commit is contained in:
@@ -85,7 +85,7 @@
|
|||||||
"generic_description": "Submitting debug logs will help us track down the problem.",
|
"generic_description": "Submitting debug logs will help us track down the problem.",
|
||||||
"insufficient_capacity": "Insufficient capacity",
|
"insufficient_capacity": "Insufficient capacity",
|
||||||
"insufficient_capacity_description": "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.",
|
"insufficient_capacity_description": "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.",
|
||||||
"matrix_rtc_focus_missing": "The server is not configured to work with \"{{brand}}\". Please contact your server admin (Error Code: {{ errorCode }}).",
|
"matrix_rtc_focus_missing": "The server is not configured to work with {{brand}}. Please contact your server admin (Domain: {{domain}}, Error Code: {{ errorCode }}).",
|
||||||
"open_elsewhere": "Opened in another tab",
|
"open_elsewhere": "Opened in another tab",
|
||||||
"open_elsewhere_description": "{{brand}} has been opened in another tab. If that doesn't sound right, try reloading the page.",
|
"open_elsewhere_description": "{{brand}} has been opened in another tab. If that doesn't sound right, try reloading the page.",
|
||||||
"unexpected_ec_error": "An unexpected error occurred (<0>Error Code:</0> <1>{{ errorCode }}</1>). Please contact your server administrator."
|
"unexpected_ec_error": "An unexpected error occurred (<0>Error Code:</0> <1>{{ errorCode }}</1>). Please contact your server administrator."
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ export class MatrixRTCFocusMissingError extends ElementCallError {
|
|||||||
ErrorCode.MISSING_MATRIX_RTC_FOCUS,
|
ErrorCode.MISSING_MATRIX_RTC_FOCUS,
|
||||||
ErrorCategory.CONFIGURATION_ISSUE,
|
ErrorCategory.CONFIGURATION_ISSUE,
|
||||||
t("error.matrix_rtc_focus_missing", {
|
t("error.matrix_rtc_focus_missing", {
|
||||||
brand: domain,
|
domain,
|
||||||
|
brand: import.meta.env.VITE_PRODUCT_NAME || "Element Call",
|
||||||
errorCode: ErrorCode.MISSING_MATRIX_RTC_FOCUS,
|
errorCode: ErrorCode.MISSING_MATRIX_RTC_FOCUS,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user