{_t( @@ -200,7 +192,7 @@ export default class SetupEncryptionBody extends React.Component { ); - } else if (phase === PHASE_CONFIRM_SKIP) { + } else if (phase === Phase.ConfirmSkip) { return (
{_t( @@ -224,7 +216,7 @@ export default class SetupEncryptionBody extends React.Component {
{_t("Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?")}
- { - _t("Reporting this message will send its unique 'event ID' to the administrator of " + - "your homeserver. If messages in this room are encrypted, your homeserver " + - "administrator will not be able to read the message text or view any files or images.") - } -
- {adminMessage} -+ {subtitle} +
++ { + _t("Reporting this message will send its unique 'event ID' to the administrator of " + + "your homeserver. If messages in this room are encrypted, your homeserver " + + "administrator will not be able to read the message text or view any files " + + "or images.") + } +
+ {adminMessage} +{_t("Unable to set up keys")}
{_t("Ask %(displayName)s to scan your code:", { - displayName: member.displayName || member.name || member.userId, + displayName: (member as User).displayName || (member as RoomMember).name || member.userId, })}
{description}
{incomingCallText}
turn.matrix.org
, but this will not be as reliable, and it will share your IP address with that server. You can also manage this in Settings.": "Alternativno, možete pokušati koristiti javni poslužitelj na turn.matrix.org
, no to bi moglo biti manje pouzdano i Vaša IP adresa će biti podijeljena s tim poslužiteljem. Time također možete upravljati u Postavkama.",
+ "Please ask the administrator of your homeserver (%(homeserverDomain)s
) to configure a TURN server in order for calls to work reliably.": "Zamolite administratora Vašeg kućnog poslužitelja (%(homeserverDomain)s
) da konfigurira TURN poslužitelj kako bi pozivi mogli pouzdano funkcionirati.",
+ "Call failed due to misconfigured server": "Poziv neuspješan radi pogrešno konfiguriranog poslužitelja",
+ "The call was answered on another device.": "Na poziv je odgovoreno sa drugog uređaja.",
+ "Answered Elsewhere": "Odgovoreno je drugdje",
+ "The call could not be established": "Poziv se nije mogao uspostaviti",
+ "The remote side failed to pick up": "Sugovornik nije odgovorio na poziv",
+ "The user you called is busy.": "Pozvani korisnik je zauzet.",
+ "User Busy": "Korisnik zauzet",
+ "The other party declined the call.": "Sugovornik je odbio poziv.",
+ "Call Declined": "Poziv odbijen",
+ "Call Failed": "Poziv neuspješan",
+ "Unable to load! Check your network connectivity and try again.": "Učitavanje nije moguće! Provjerite mrežnu povezanost i pokušajte ponovo.",
+ "Error": "Geška",
+ "Where this page includes identifiable information, such as a room, user or group ID, that data is removed before being sent to the server.": "Gdje ova stranica uključuje identificirajuće podatke, poput ID-a sobe, korisnika ili grupe, ti se podaci uklanjaju prije slanja na poslužitelj.",
+ "The information being sent to us to help make %(brand)s better includes:": "Podaci koji nam se šalju radi poboljšanja %(brand)s uključuju:",
+ "Analytics": "Analitika",
+ "Your device resolution": "Razlučivost vašeg uređaja",
+ "Your user agent": "Vaš korisnički agent",
+ "e.g. /help
to list available commands. Did you mean to send this as a message?": "Ви можете скористатися /help
для перегляду доступних команд. Ви мали намір надіслати це як повідомлення?",
+ "Send messages": "Надіслати повідомлення",
+ "sends confetti": "надсилає конфеті",
+ "sends fireworks": "надсилає феєрверк",
+ "sends space invaders": "надсилає тему про космічних загарбників",
+ "Sends the given message with a space themed effect": "Надсилає це повідомлення з космічними ефектами",
+ "unknown person": "невідома особа",
+ "Sends the given message with snowfall": "Надсилає це повідомлення зі снігопадом",
+ "Sends the given message with fireworks": "Надсилає це повідомлення з феєрверком",
+ "Sends the given message with confetti": "Надсилає це повідомлення з конфеті",
+ "Use Ctrl + Enter to send a message": "Натисніть Ctrl + Enter, щоб надіслати повідомлення",
+ "Use Command + Enter to send a message": "Натисніть Command + Enter, щоб надіслати повідомлення",
+ "Use Ctrl + F to search": "Натисніть Ctrl + F, щоб шукати",
+ "Use Command + F to search": "Натисніть Command + F, щоб шукати",
+ "Send text messages as you in this room": "Надіслати текстові повідомлення у цю кімнату від свого імені",
+ "Send messages as you in your active room": "Надіслати повідомлення у свою активну кімнату від свого імені",
+ "Send messages as you in this room": "Надіслати повідомлення у цю кімнату від свого імені",
+ "Sends the given message as a spoiler": "Надсилає вказане повідомлення згорненим"
}
diff --git a/src/i18n/strings/zh_Hans.json b/src/i18n/strings/zh_Hans.json
index af02a40587..3267060d64 100644
--- a/src/i18n/strings/zh_Hans.json
+++ b/src/i18n/strings/zh_Hans.json
@@ -3274,5 +3274,11 @@
"Send stickers to your active room as you": "发送贴纸到你所活跃的聊天室",
"See when people join, leave, or are invited to your active room": "查看人们何时加入、离开或被邀请到你所活跃的聊天室",
"See when people join, leave, or are invited to this room": "查看人们何时加入、离开或被邀请到这个房间",
- "Kick, ban, or invite people to this room, and make you leave": "移除、封禁或邀请用户到此聊天室,并让你离开"
+ "Kick, ban, or invite people to this room, and make you leave": "移除、封禁或邀请用户到此聊天室,并让你离开",
+ "Currently joining %(count)s rooms|one": "目前正在加入 %(count)s 个聊天室",
+ "Currently joining %(count)s rooms|other": "目前正在加入 %(count)s 个聊天室",
+ "Try different words or check for typos. Some results may not be visible as they're private and you need an invite to join them.": "尝试不同的单词或检查拼写错误。某些结果可能不可见,因为它们属于私有的,你需要一个邀请才能加入。",
+ "No results for \"%(query)s\"": "「%(query)s」没有结果",
+ "The user you called is busy.": "你所拨打的用户正在忙碌中。",
+ "User Busy": "用户正在忙"
}
diff --git a/src/i18n/strings/zh_Hant.json b/src/i18n/strings/zh_Hant.json
index 5c27fb3878..053839f937 100644
--- a/src/i18n/strings/zh_Hant.json
+++ b/src/i18n/strings/zh_Hant.json
@@ -3378,5 +3378,11 @@
"See when people join, leave, or are invited to your active room": "檢視人們何時加入、離開或被邀請至您活躍的聊天室",
"Kick, ban, or invite people to your active room, and make you leave": "踢除、封鎖或邀請人們到您作用中的聊天室,然後讓您離開",
"See when people join, leave, or are invited to this room": "檢視人們何時加入、離開或被邀請至此聊天室",
- "Kick, ban, or invite people to this room, and make you leave": "踢除、封鎖或邀請人們到此聊天室,然後讓您離開"
+ "Kick, ban, or invite people to this room, and make you leave": "踢除、封鎖或邀請人們到此聊天室,然後讓您離開",
+ "Currently joining %(count)s rooms|one": "目前正在加入 %(count)s 個聊天室",
+ "Currently joining %(count)s rooms|other": "目前正在加入 %(count)s 個聊天室",
+ "Try different words or check for typos. Some results may not be visible as they're private and you need an invite to join them.": "嘗試不同的詞或是檢查拼字。某些結果可能不可見,因為其為私人的,您必須要有邀請才能加入。",
+ "No results for \"%(query)s\"": "「%(query)s」沒有結果",
+ "The user you called is busy.": "您想要通話的使用者目前忙碌中。",
+ "User Busy": "使用者忙碌"
}
diff --git a/src/indexing/EventIndex.ts b/src/indexing/EventIndex.ts
index b6289969bd..c36f96f368 100644
--- a/src/indexing/EventIndex.ts
+++ b/src/indexing/EventIndex.ts
@@ -300,7 +300,7 @@ export default class EventIndex extends EventEmitter {
}
private eventToJson(ev: MatrixEvent) {
- const jsonEvent = ev.toJSON();
+ const jsonEvent: any = ev.toJSON();
const e = ev.isEncrypted() ? jsonEvent.decrypted : jsonEvent;
if (ev.isEncrypted()) {
diff --git a/src/mjolnir/BanList.ts b/src/mjolnir/BanList.ts
index 21cd5d4cf7..89eec89500 100644
--- a/src/mjolnir/BanList.ts
+++ b/src/mjolnir/BanList.ts
@@ -92,7 +92,7 @@ export class BanList {
if (!room) return;
for (const eventType of ALL_RULE_TYPES) {
- const events = room.currentState.getStateEvents(eventType, undefined);
+ const events = room.currentState.getStateEvents(eventType);
for (const ev of events) {
if (!ev.getStateKey()) continue;
diff --git a/src/performance/entry-names.ts b/src/performance/entry-names.ts
index effd9506f6..6cb193b1b1 100644
--- a/src/performance/entry-names.ts
+++ b/src/performance/entry-names.ts
@@ -37,17 +37,17 @@ export enum PerformanceEntryNames {
SWITCH_ROOM = "mx_SwithRoom",
JUMP_TO_ROOM = "mx_JumpToRoom",
- JOIN_ROOM = "mx_JoinRoom",
- CREATE_DM = "mx_CreateDM",
+ JOIN_ROOM = "mx_JoinRoom", // ✅
+ CREATE_DM = "mx_CreateDM", // ✅
PEEK_ROOM = "mx_PeekRoom",
/**
* User
*/
- VERIFY_E2EE_USER = "mx_VerifyE2EEUser",
- LOGIN = "mx_Login",
- REGISTER = "mx_Register",
+ VERIFY_E2EE_USER = "mx_VerifyE2EEUser", // ✅
+ LOGIN = "mx_Login", // ✅
+ REGISTER = "mx_Register", // ✅
/**
* VoIP
diff --git a/src/rageshake/submit-rageshake.ts b/src/rageshake/submit-rageshake.ts
index 08d8ccfd13..859fdf046a 100644
--- a/src/rageshake/submit-rageshake.ts
+++ b/src/rageshake/submit-rageshake.ts
@@ -263,7 +263,13 @@ function uint8ToString(buf: Buffer) {
return out;
}
-export async function submitFeedback(endpoint: string, label: string, comment: string, canContact = false) {
+export async function submitFeedback(
+ endpoint: string,
+ label: string,
+ comment: string,
+ canContact = false,
+ extraData: Record