diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 1a45112e..9a6fd433 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -46,10 +46,10 @@ set(BOOST_SHA256 set( MTXCLIENT_URL - https://github.com/Nheko-Reborn/mtxclient/archive/8c6e9ba8fc18ed9dd69d014eebd1ebff08701d6d.tar.gz + https://github.com/Nheko-Reborn/mtxclient/archive/32065798a2efa205052fcd2f470c52326a46d0b9.tar.gz ) set(MTXCLIENT_HASH - b31ec18b9d7d74db1a17b930bfa570fa1cede56cc49b43948b7d86c396f2f3d3) + 3ddc6a482b5f388533bbaa69c44f1621d65a4e38fcb6cafaff83330975ea7e2b) set( TWEENY_URL https://github.com/mobius3/tweeny/archive/b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf.tar.gz diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts index 81e440fe..e8d71f27 100644 --- a/resources/langs/nheko_de.ts +++ b/resources/langs/nheko_de.ts @@ -4,38 +4,108 @@ AudioItem - + Save File Datei speichern - DateSeparator + ChatPage - - Today - Heute + + Failed to upload image. Please try again. + + + + + Failed to upload file. Please try again. + + + + + Failed to upload audio. Please try again. + + + + + Failed to upload video. Please try again. + + + + + Failed to restore OLM account. Please login again. + + + + + Failed to restore save data. Please login again. + + + + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + + + + + + Please try to login again: %1 + + + + + Room creation failed: %1 + + + + + Failed to leave room: %1 + + + + + CommunitiesListItem + + + All rooms + + + + + Favourite rooms + - Yesterday - Gestern + Low priority rooms + + + + + + (tag) + + + + + (community) + EditModal - - APPLY - EINSETZEN + + Apply + - - CANCEL - ABBRECHEN + + Cancel + Abbrechen - + Name Titel @@ -48,7 +118,7 @@ FileItem - + Save File Datei speichern @@ -56,15 +126,23 @@ ImageItem - + Save image Bild speichern + + InviteeItem + + + Remove + + + LoginPage - + Matrix ID Matrix-ID @@ -78,57 +156,64 @@ Password Passwort + + + Device name + + LOGIN ANMELDEN - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + + The required endpoints were not found. Possibly not a Matrix server. + + + + + Received malformed response. Make sure the homeserver domain is valid. + + + + + An unknown error occured. Make sure the homeserver domain is valid. + + + + Empty password Leeres Passwort - - MatrixClient - - - Wrong username or password - Falscher Benutzername oder Passwort - - - - Login endpoint was not found on the server - Login-Endpunkt wurde auf dem Server nicht gefunden - - - - An unknown error occured. Please try again. - Ein unbekannter Fehler trat auf. Bitte erneut versuchen. - - - - Malformed response. Possibly not a Matrix server - Ungewöhnliche Antwort. Vielleicht kein Matrix-Server - - MemberList - + Room members Teilnehmerliste - - SHOW MORE - MEHR ZEIGEN + + ESC + QuickSwitcher - + Search for a room... Raum suchen... @@ -136,7 +221,7 @@ RegisterPage - + Username Benutzername @@ -156,12 +241,12 @@ Heimserver - + REGISTER REGISTRIEREN - + Invalid username Ungültiger Benutzername @@ -181,15 +266,23 @@ Ungültiger Server-Name + + ReplyPopup + + + Logout + + + RoomInfoListItem - + Leave room Raum verlassen - + Accept Akzeptieren @@ -202,7 +295,12 @@ SideBarActions - + + User settings + + + + Create new room Neuen Raum erstellen @@ -211,16 +309,65 @@ Join a room Raum betreten + + + Start a new chat + + + + + Room directory + + + + + StatusIndicator + + + Encrypted + + + + + Delivered + + + + + Seen + + + + + Sent + + TextInputWidget - + + Send a file + + + + + Write a message... Schreibe eine Nachricht... - + + Send a message + + + + + Emoji + + + + Select a file Datei auswählen @@ -229,11 +376,47 @@ All Files (*) Alle Dateien (*) + + + Connection lost. Nheko is trying to re-connect... + + + + + TimelineItem + + + Message redaction failed: %1 + + + + + Reply + + + + + Options + + + + + TimelineView + + + Encryption is enabled + + TopRoomBar - + + Room options + + + + Invite users Benutzer einladen @@ -256,7 +439,7 @@ TrayIcon - + Show Zeigen @@ -269,7 +452,7 @@ TypingDisplay - + is typing tippt @@ -279,15 +462,18 @@ tippen + + UserInfoWidget + + + Logout + + + UserSettingsPage - - User Settings - Benutzereinstellungen - - - + Minimize to tray Ins Benachrichtigungsfeld minimieren @@ -297,12 +483,7 @@ Im Benachrichtigungsfeld starten - - Re-order rooms based on activity - Räume nach Aktivität sortieren - - - + Group's sidebar Gruppen-Seitenleiste @@ -318,19 +499,115 @@ + Desktop notifications + + + + + Scale factor + + + + + Font size + + + + + Font Family + + + + Theme Erscheinungsbild - + + Device ID + + + + + Device Fingerprint + + + + + Session Keys + + + + + IMPORT + + + + + EXPORT + + + + + ENCRYPTION + + + + GENERAL ALLGEMEINES + + + Open Sessions File + + + + + + + + + + + + + + Error + + + + + + File Password + + + + + Enter the passphrase to decrypt the file: + + + + + + The password cannot be empty + + + + + Enter passphrase to encrypt your session keys: + + + + + File to save the exported session keys + + WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. Willkommen bei nheko, dem Desktop-Client für das Matrix-Protokoll. @@ -340,12 +617,12 @@ Genieße deinen Aufenthalt! - + REGISTER REGISTRIEREN - + LOGIN ANMELDEN @@ -353,12 +630,17 @@ dialogs::CreateRoom - - CANCEL - ABBRECHEN + + Create room + - + + Cancel + Abbrechen + + + Name Titel @@ -378,12 +660,12 @@ Raumsichtbarkeit - + Room Preset Raumvorlage - + Direct Chat Direkter Chat @@ -391,12 +673,12 @@ dialogs::InviteUsers - - CANCEL - ABBRECHEN + + Cancel + Abbrechen - + User ID to invite Benutzer-ID, die eingeladen werden soll @@ -404,12 +686,17 @@ dialogs::JoinRoom - - CANCEL - ABBRECHEN + + Join + - + + Cancel + Abbrechen + + + Room ID or alias Raum-ID oder -Alias @@ -417,12 +704,12 @@ dialogs::LeaveRoom - - CANCEL - ABBRECHEN + + Cancel + Abbrechen - + Are you sure you want to leave? Willst du wirklich den Raum verlassen? @@ -430,12 +717,12 @@ dialogs::Logout - - CANCEL - ABBRECHEN + + Cancel + Abbrechen - + Logout. Are you sure? Willst du dich wirklich abmelden? @@ -443,7 +730,7 @@ dialogs::PreviewUploadOverlay - + Upload Hochladen @@ -453,7 +740,7 @@ Abbrechen - + Media type: %1 Media size: %2 @@ -465,14 +752,14 @@ Medien-Größe: %2 dialogs::ReCaptcha - - CONFIRM - BESTÄTIGEN + + Cancel + Abbrechen - - CANCEL - ABBRECHEN + + Confirm + @@ -483,20 +770,40 @@ Medien-Größe: %2 dialogs::ReadReceipts - + Read receipts Lesebestätigungen + + + Close + + + + + ESC + + dialogs::RoomSettings - - CANCEL - ABBRECHEN + + Settings + Einstellungen - + + Info + + + + + Internal ID + + + + Notifications Benachrichtigungen @@ -516,7 +823,7 @@ Medien-Größe: %2 Alle Nachrichten - + Room access Raumzugang @@ -535,11 +842,115 @@ Medien-Größe: %2 Invited users Nur Eingeladene + + + Encryption + + + + + End-to-End Encryption + + + + + Encryption is currently experimental and things might break unexpectedly. <br>Please take note that it can't be disabled afterwards. + + + + + Respond to key requests + + + + + Whether or not the client should respond automatically with the session keys + upon request. Use with caution, this is a temporary measure to test the + E2E implementation until device verification is completed. + + + + + %n member(s) + + + + + + + + ESC + + + + + Failed to enable encryption: %1 + + + + + Select an avatar + + + + + All Files (*) + Alle Dateien (*) + + + + The selected media is not an image + + + + + Error while reading media: %1 + + + + + + Failed to upload image: %s + + + + + dialogs::UserProfile + + + Ban the user from the room + + + + + Ignore messages from this user + + + + + Kick the user from the room + + + + + Start a conversation + + + + + Devices + + + + + ESC + + emoji::Panel - + Smileys & People Smileys & Personen diff --git a/resources/langs/nheko_el.ts b/resources/langs/nheko_el.ts index 1f993fea..276d25f0 100644 --- a/resources/langs/nheko_el.ts +++ b/resources/langs/nheko_el.ts @@ -4,38 +4,108 @@ AudioItem - + Save File Αποθήκευση - DateSeparator + ChatPage - - Today - Σήμερα + + Failed to upload image. Please try again. + + + + + Failed to upload file. Please try again. + + + + + Failed to upload audio. Please try again. + + + + + Failed to upload video. Please try again. + + + + + Failed to restore OLM account. Please login again. + + + + + Failed to restore save data. Please login again. + + + + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + + + + + + Please try to login again: %1 + + + + + Room creation failed: %1 + + + + + Failed to leave room: %1 + + + + + CommunitiesListItem + + + All rooms + + + + + Favourite rooms + - Yesterday - Χθές + Low priority rooms + + + + + + (tag) + + + + + (community) + EditModal - - APPLY + + Apply - - CANCEL - ΑΚΥΡΟ + + Cancel + Άκυρο - + Name Όνομα @@ -48,7 +118,7 @@ FileItem - + Save File Αποθήκευση @@ -56,15 +126,23 @@ ImageItem - + Save image Αποθήκευση Εικόνας + + InviteeItem + + + Remove + + + LoginPage - + Matrix ID Matrix ID @@ -78,57 +156,64 @@ Password Κωδικός + + + Device name + + LOGIN ΕΙΣΟΔΟΣ - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + + The required endpoints were not found. Possibly not a Matrix server. + + + + + Received malformed response. Make sure the homeserver domain is valid. + + + + + An unknown error occured. Make sure the homeserver domain is valid. + + + + Empty password Κενός κωδικός - - MatrixClient - - - Wrong username or password - Λανθασμένο όνμα χρήστη ή κωδικός - - - - Login endpoint was not found on the server - - - - - An unknown error occured. Please try again. - - - - - Malformed response. Possibly not a Matrix server - - - MemberList - + Room members Μέλη - - SHOW MORE - ΠΕΡΙΣΣΟΤΕΡΑ + + ESC + QuickSwitcher - + Search for a room... Αναζήτηση συνομιλίας... @@ -136,7 +221,7 @@ RegisterPage - + Username Όνομα χρήστη @@ -156,12 +241,12 @@ Διακομιστής - + REGISTER ΕΓΓΡΑΦΗ - + Invalid username Μη έγκυρο όνομα χρήστη @@ -181,15 +266,23 @@ Λανθασμένο όνομα διακομιστή + + ReplyPopup + + + Logout + + + RoomInfoListItem - + Leave room Βγές - + Accept Αποδοχή @@ -202,7 +295,12 @@ SideBarActions - + + User settings + + + + Create new room Νέα συνομιλία @@ -211,16 +309,65 @@ Join a room + + + Start a new chat + + + + + Room directory + + + + + StatusIndicator + + + Encrypted + + + + + Delivered + + + + + Seen + + + + + Sent + + TextInputWidget - + + Send a file + + + + + Write a message... Γράψε ένα μήνυμα... - + + Send a message + + + + + Emoji + + + + Select a file Διάλεξε ένα αρχείο @@ -229,11 +376,47 @@ All Files (*) Όλα τα αρχεία (*) + + + Connection lost. Nheko is trying to re-connect... + + + + + TimelineItem + + + Message redaction failed: %1 + + + + + Reply + + + + + Options + + + + + TimelineView + + + Encryption is enabled + + TopRoomBar - + + Room options + + + + Invite users Προσκάλεσε χρήστες @@ -256,7 +439,7 @@ TrayIcon - + Show Εμφάνιση @@ -269,7 +452,7 @@ TypingDisplay - + is typing πληκτρολογεί @@ -279,15 +462,18 @@ πληκτρολογούν + + UserInfoWidget + + + Logout + + + UserSettingsPage - - User Settings - Ρυθμίσεις Χρήστη - - - + Minimize to tray Ελαχιστοποίηση @@ -297,12 +483,7 @@ - - Re-order rooms based on activity - - - - + Group's sidebar @@ -318,19 +499,115 @@ + Desktop notifications + + + + + Scale factor + + + + + Font size + + + + + Font Family + + + + Theme Φόντο - + + Device ID + + + + + Device Fingerprint + + + + + Session Keys + + + + + IMPORT + + + + + EXPORT + + + + + ENCRYPTION + + + + GENERAL ΓΕΝΙΚΑ + + + Open Sessions File + + + + + + + + + + + + + + Error + + + + + + File Password + + + + + Enter the passphrase to decrypt the file: + + + + + + The password cannot be empty + + + + + Enter passphrase to encrypt your session keys: + + + + + File to save the exported session keys + + WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. Καλως ήρθες στο nheko! @@ -340,12 +617,12 @@ - + REGISTER ΕΓΓΡΑΦΗ - + LOGIN ΕΙΣΟΔΟΣ @@ -353,12 +630,17 @@ dialogs::CreateRoom - - CANCEL - ΑΚΥΡΟ + + Create room + - + + Cancel + Άκυρο + + + Name Όνομα @@ -378,12 +660,12 @@ - + Room Preset - + Direct Chat Άμεση συνομιλία @@ -391,12 +673,12 @@ dialogs::InviteUsers - - CANCEL - ΑΚΥΡΟ + + Cancel + Άκυρο - + User ID to invite Όνομα χρήστη @@ -404,12 +686,17 @@ dialogs::JoinRoom - - CANCEL - ΑΚΥΡΟ + + Join + - + + Cancel + Άκυρο + + + Room ID or alias ID ή όνομα συνομιλίας @@ -417,12 +704,12 @@ dialogs::LeaveRoom - - CANCEL - ΑΚΥΡΟ + + Cancel + Άκυρο - + Are you sure you want to leave? Είστε σίγουροι οτι θέλετε να κλείσετε τη συνομιλία; @@ -430,12 +717,12 @@ dialogs::Logout - - CANCEL - ΑΚΥΡΟ + + Cancel + Άκυρο - + Logout. Are you sure? Αποσύνδεση. Είστε σίγουροι; @@ -443,7 +730,7 @@ dialogs::PreviewUploadOverlay - + Upload Μεταφόρτωση @@ -453,7 +740,7 @@ Άκυρο - + Media type: %1 Media size: %2 @@ -463,14 +750,14 @@ Media size: %2 dialogs::ReCaptcha - - CONFIRM - ΕΠΙΒΕΒΑΙΩΣΗ + + Cancel + Άκυρο - - CANCEL - ΑΚΥΡΟ + + Confirm + @@ -481,20 +768,40 @@ Media size: %2 dialogs::ReadReceipts - + Read receipts + + + Close + + + + + ESC + + dialogs::RoomSettings - - CANCEL - ΑΚΥΡΟ + + Settings + Ρυθμίσεις - + + Info + + + + + Internal ID + + + + Notifications Ειδοποιήσεις @@ -514,7 +821,7 @@ Media size: %2 - + Room access @@ -533,11 +840,115 @@ Media size: %2 Invited users Μόνο με πρόσκληση + + + Encryption + + + + + End-to-End Encryption + + + + + Encryption is currently experimental and things might break unexpectedly. <br>Please take note that it can't be disabled afterwards. + + + + + Respond to key requests + + + + + Whether or not the client should respond automatically with the session keys + upon request. Use with caution, this is a temporary measure to test the + E2E implementation until device verification is completed. + + + + + %n member(s) + + + + + + + + ESC + + + + + Failed to enable encryption: %1 + + + + + Select an avatar + + + + + All Files (*) + Όλα τα αρχεία (*) + + + + The selected media is not an image + + + + + Error while reading media: %1 + + + + + + Failed to upload image: %s + + + + + dialogs::UserProfile + + + Ban the user from the room + + + + + Ignore messages from this user + + + + + Kick the user from the room + + + + + Start a conversation + + + + + Devices + + + + + ESC + + emoji::Panel - + Smileys & People Πρόσωπα diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts index 4f4db00d..ffca0843 100644 --- a/resources/langs/nheko_en.ts +++ b/resources/langs/nheko_en.ts @@ -4,38 +4,108 @@ AudioItem - + Save File - DateSeparator + ChatPage - - Today + + Failed to upload image. Please try again. + + + + + Failed to upload file. Please try again. + + + + + Failed to upload audio. Please try again. + + + + + Failed to upload video. Please try again. + + + + + Failed to restore OLM account. Please login again. + + + + + Failed to restore save data. Please login again. + + + + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + + + + + + Please try to login again: %1 + + + + + Room creation failed: %1 + + + + + Failed to leave room: %1 + + + + + CommunitiesListItem + + + All rooms + + + + + Favourite rooms - Yesterday + Low priority rooms + + + + + + (tag) + + + + + (community) EditModal - - APPLY + + Apply - - CANCEL + + Cancel - + Name @@ -48,7 +118,7 @@ FileItem - + Save File @@ -56,15 +126,23 @@ ImageItem - + Save image + + InviteeItem + + + Remove + + + LoginPage - + Matrix ID @@ -78,57 +156,64 @@ Password + + + Device name + + LOGIN - - Empty password - - - - - MatrixClient - - - Wrong username or password + + Autodiscovery failed. Received malformed response. - - Login endpoint was not found on the server + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + + The required endpoints were not found. Possibly not a Matrix server. - An unknown error occured. Please try again. + Received malformed response. Make sure the homeserver domain is valid. - - Malformed response. Possibly not a Matrix server + + An unknown error occured. Make sure the homeserver domain is valid. + + + + + Empty password MemberList - + Room members - - SHOW MORE + + ESC QuickSwitcher - + Search for a room... @@ -136,7 +221,7 @@ RegisterPage - + Username @@ -156,12 +241,12 @@ - + REGISTER - + Invalid username @@ -181,15 +266,23 @@ + + ReplyPopup + + + Logout + + + RoomInfoListItem - + Leave room - + Accept @@ -202,7 +295,12 @@ SideBarActions - + + User settings + + + + Create new room @@ -211,16 +309,65 @@ Join a room + + + Start a new chat + + + + + Room directory + + + + + StatusIndicator + + + Encrypted + + + + + Delivered + + + + + Seen + + + + + Sent + + TextInputWidget - + + Send a file + + + + + Write a message... - + + Send a message + + + + + Emoji + + + + Select a file @@ -229,11 +376,47 @@ All Files (*) + + + Connection lost. Nheko is trying to re-connect... + + + + + TimelineItem + + + Message redaction failed: %1 + + + + + Reply + + + + + Options + + + + + TimelineView + + + Encryption is enabled + + TopRoomBar - + + Room options + + + + Invite users @@ -256,7 +439,7 @@ TrayIcon - + Show @@ -269,7 +452,7 @@ TypingDisplay - + is typing @@ -280,14 +463,17 @@ - UserSettingsPage + UserInfoWidget - - User Settings + + Logout + + + UserSettingsPage - + Minimize to tray @@ -297,12 +483,7 @@ - - Re-order rooms based on activity - - - - + Group's sidebar @@ -318,19 +499,115 @@ + Desktop notifications + + + + + Scale factor + + + + + Font size + + + + + Font Family + + + + Theme - + + Device ID + + + + + Device Fingerprint + + + + + Session Keys + + + + + IMPORT + + + + + EXPORT + + + + + ENCRYPTION + + + + GENERAL + + + Open Sessions File + + + + + + + + + + + + + + Error + + + + + + File Password + + + + + Enter the passphrase to decrypt the file: + + + + + + The password cannot be empty + + + + + Enter passphrase to encrypt your session keys: + + + + + File to save the exported session keys + + WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. @@ -340,12 +617,12 @@ - + REGISTER - + LOGIN @@ -353,12 +630,17 @@ dialogs::CreateRoom - - CANCEL + + Create room - + + Cancel + + + + Name @@ -378,12 +660,12 @@ - + Room Preset - + Direct Chat @@ -391,12 +673,12 @@ dialogs::InviteUsers - - CANCEL + + Cancel - + User ID to invite @@ -404,12 +686,17 @@ dialogs::JoinRoom - - CANCEL + + Join - + + Cancel + + + + Room ID or alias @@ -417,12 +704,12 @@ dialogs::LeaveRoom - - CANCEL + + Cancel - + Are you sure you want to leave? @@ -430,12 +717,12 @@ dialogs::Logout - - CANCEL + + Cancel - + Logout. Are you sure? @@ -443,7 +730,7 @@ dialogs::PreviewUploadOverlay - + Upload @@ -453,7 +740,7 @@ - + Media type: %1 Media size: %2 @@ -463,13 +750,13 @@ Media size: %2 dialogs::ReCaptcha - - CONFIRM + + Cancel - - CANCEL + + Confirm @@ -481,20 +768,40 @@ Media size: %2 dialogs::ReadReceipts - + Read receipts + + + Close + + + + + ESC + + dialogs::RoomSettings - - CANCEL + + Settings - + + Info + + + + + Internal ID + + + + Notifications @@ -514,7 +821,7 @@ Media size: %2 - + Room access @@ -533,11 +840,115 @@ Media size: %2 Invited users + + + Encryption + + + + + End-to-End Encryption + + + + + Encryption is currently experimental and things might break unexpectedly. <br>Please take note that it can't be disabled afterwards. + + + + + Respond to key requests + + + + + Whether or not the client should respond automatically with the session keys + upon request. Use with caution, this is a temporary measure to test the + E2E implementation until device verification is completed. + + + + + %n member(s) + + + + + + + + ESC + + + + + Failed to enable encryption: %1 + + + + + Select an avatar + + + + + All Files (*) + + + + + The selected media is not an image + + + + + Error while reading media: %1 + + + + + + Failed to upload image: %s + + + + + dialogs::UserProfile + + + Ban the user from the room + + + + + Ignore messages from this user + + + + + Kick the user from the room + + + + + Start a conversation + + + + + Devices + + + + + ESC + + emoji::Panel - + Smileys & People Smileys & People diff --git a/resources/langs/nheko_fr.ts b/resources/langs/nheko_fr.ts index 4b995d07..0826acad 100644 --- a/resources/langs/nheko_fr.ts +++ b/resources/langs/nheko_fr.ts @@ -4,35 +4,105 @@ AudioItem - + Save File Enregistrer le fichier - DateSeparator + ChatPage - - Today - Aujourd'hui + + Failed to upload image. Please try again. + + + + + Failed to upload file. Please try again. + + + + + Failed to upload audio. Please try again. + + + + + Failed to upload video. Please try again. + + + + + Failed to restore OLM account. Please login again. + + + + + Failed to restore save data. Please login again. + + + + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + + + + + + Please try to login again: %1 + + + + + Room creation failed: %1 + + + + + Failed to leave room: %1 + + + + + CommunitiesListItem + + + All rooms + + + + + Favourite rooms + - Yesterday - Hier + Low priority rooms + + + + + + (tag) + + + + + (community) + EditModal - - APPLY - APPLIQUER + + Apply + - - CANCEL - ANNULER + + Cancel + Annuler @@ -48,7 +118,7 @@ FileItem - + Save File Enregistrer le fichier @@ -56,15 +126,23 @@ ImageItem - + Save image Enregistrer l'image + + InviteeItem + + + Remove + + + LoginPage - + Matrix ID Identifiant Matrix @@ -78,57 +156,64 @@ Password Mot de passe + + + Device name + + LOGIN CONNEXION - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + + The required endpoints were not found. Possibly not a Matrix server. + + + + + Received malformed response. Make sure the homeserver domain is valid. + + + + + An unknown error occured. Make sure the homeserver domain is valid. + + + + Empty password Mot de passe vide - - MatrixClient - - - Wrong username or password - Mauvais nom d'utilisateur ou mot de passe - - - - Login endpoint was not found on the server - L'interface de connexion n'a pas pu être trouvée sur le serveur - - - - An unknown error occured. Please try again. - Une erreur inconnue s'est produite. Veuillez essayer à nouveau. - - - - Malformed response. Possibly not a Matrix server - La réponse du serveur est malformée. Il est possible qu'il ne s'agisse pas d'un serveur Matrix - - MemberList - + Room members Membres du salon - - SHOW MORE - MONTRER PLUS + + ESC + QuickSwitcher - + Search for a room... Chercher un salon… @@ -136,7 +221,7 @@ RegisterPage - + Username Nom d'utilisateur @@ -157,12 +242,12 @@ Serveur Matrix - + REGISTER S'ENREGISTRER - + Invalid username Nom d'utilisateur invalide @@ -182,15 +267,23 @@ Le nom du serveur est invalide + + ReplyPopup + + + Logout + + + RoomInfoListItem - + Leave room Quitter le salon - + Accept Accepter @@ -203,7 +296,12 @@ SideBarActions - + + User settings + + + + Create new room Créer un nouveau salon @@ -212,16 +310,65 @@ Join a room Rejoindre un salon + + + Start a new chat + + + + + Room directory + + + + + StatusIndicator + + + Encrypted + + + + + Delivered + + + + + Seen + + + + + Sent + + TextInputWidget - + + Send a file + + + + + Write a message... Écrivez un message... - + + Send a message + + + + + Emoji + + + + Select a file Sélectionnez un fichier @@ -230,11 +377,47 @@ All Files (*) Tous les types de fichiers (*) + + + Connection lost. Nheko is trying to re-connect... + + + + + TimelineItem + + + Message redaction failed: %1 + + + + + Reply + + + + + Options + + + + + TimelineView + + + Encryption is enabled + + TopRoomBar - + + Room options + + + + Invite users Inviter des utilisateurs @@ -257,7 +440,7 @@ TrayIcon - + Show Montrer @@ -270,7 +453,7 @@ TypingDisplay - + is typing est en train d'écrire @@ -280,15 +463,18 @@ sont en train d'écrire + + UserInfoWidget + + + Logout + + + UserSettingsPage - - User Settings - Paramètres utilisateur - - - + Minimize to tray Réduire à la barre des tâches @@ -298,12 +484,7 @@ Démarrer dans la barre des tâches - - Re-order rooms based on activity - Ré-ordonner les salons en fonction de leur activité - - - + Group's sidebar Barre latérale des groupes @@ -319,19 +500,115 @@ + Desktop notifications + + + + + Scale factor + + + + + Font size + + + + + Font Family + + + + Theme Thème - + + Device ID + + + + + Device Fingerprint + + + + + Session Keys + + + + + IMPORT + + + + + EXPORT + + + + + ENCRYPTION + + + + GENERAL GÉNÉRAL + + + Open Sessions File + + + + + + + + + + + + + + Error + + + + + + File Password + + + + + Enter the passphrase to decrypt the file: + + + + + + The password cannot be empty + + + + + Enter passphrase to encrypt your session keys: + + + + + File to save the exported session keys + + WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. Bienvenue sur nheko ! Le client de bureau pour le protocole Matrix. @@ -341,12 +618,12 @@ Bon séjour ! - + REGISTER S'ENREGISTRER - + LOGIN CONNEXION @@ -354,12 +631,17 @@ dialogs::CreateRoom - - CANCEL - ANNULER + + Create room + - + + Cancel + Annuler + + + Name Nom @@ -379,12 +661,12 @@ Visibilité du salon - + Room Preset Préréglage du salon - + Direct Chat Discussion directe @@ -392,12 +674,12 @@ dialogs::InviteUsers - - CANCEL - ANNULER + + Cancel + Annuler - + User ID to invite Identifiant d'utilisateur à inviter @@ -405,12 +687,17 @@ dialogs::JoinRoom - - CANCEL - ANNULER + + Join + - + + Cancel + Annuler + + + Room ID or alias Identifiant ou alias du salon @@ -418,12 +705,12 @@ dialogs::LeaveRoom - - CANCEL - ANNULER + + Cancel + Annuler - + Are you sure you want to leave? Êtes-vous sûr·e de vouloir quitter ? @@ -431,12 +718,12 @@ dialogs::Logout - - CANCEL - ANNULER + + Cancel + Annuler - + Logout. Are you sure? Déconnexion. Êtes-vous sûr·e ? @@ -444,7 +731,7 @@ dialogs::PreviewUploadOverlay - + Upload Envoyer @@ -454,7 +741,7 @@ Annuler - + Media type: %1 Media size: %2 @@ -466,14 +753,14 @@ Taille du média : %2 dialogs::ReCaptcha - - CONFIRM - CONFIRMER + + Cancel + Annuler - - CANCEL - ANNULER + + Confirm + @@ -484,20 +771,40 @@ Taille du média : %2 dialogs::ReadReceipts - + Read receipts Accusés de lecture + + + Close + + + + + ESC + + dialogs::RoomSettings - - CANCEL - ANNULER + + Settings + Paramètres - + + Info + + + + + Internal ID + + + + Notifications Notifications @@ -517,7 +824,7 @@ Taille du média : %2 Tous les messages - + Room access Accès au salon @@ -536,11 +843,115 @@ Taille du média : %2 Invited users Utilisateurs invités + + + Encryption + + + + + End-to-End Encryption + + + + + Encryption is currently experimental and things might break unexpectedly. <br>Please take note that it can't be disabled afterwards. + + + + + Respond to key requests + + + + + Whether or not the client should respond automatically with the session keys + upon request. Use with caution, this is a temporary measure to test the + E2E implementation until device verification is completed. + + + + + %n member(s) + + + + + + + + ESC + + + + + Failed to enable encryption: %1 + + + + + Select an avatar + + + + + All Files (*) + Tous les types de fichiers (*) + + + + The selected media is not an image + + + + + Error while reading media: %1 + + + + + + Failed to upload image: %s + + + + + dialogs::UserProfile + + + Ban the user from the room + + + + + Ignore messages from this user + + + + + Kick the user from the room + + + + + Start a conversation + + + + + Devices + + + + + ESC + + emoji::Panel - + Smileys & People Smileys & Personnes diff --git a/resources/langs/nheko_nl.ts b/resources/langs/nheko_nl.ts index c13ab123..d91e883d 100644 --- a/resources/langs/nheko_nl.ts +++ b/resources/langs/nheko_nl.ts @@ -4,38 +4,108 @@ AudioItem - + Save File Bestand opslaan - DateSeparator + ChatPage - - Today - Vandaag + + Failed to upload image. Please try again. + + + + + Failed to upload file. Please try again. + + + + + Failed to upload audio. Please try again. + + + + + Failed to upload video. Please try again. + + + + + Failed to restore OLM account. Please login again. + + + + + Failed to restore save data. Please login again. + + + + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + + + + + + Please try to login again: %1 + + + + + Room creation failed: %1 + + + + + Failed to leave room: %1 + + + + + CommunitiesListItem + + + All rooms + + + + + Favourite rooms + - Yesterday - Gisteren + Low priority rooms + + + + + + (tag) + + + + + (community) + EditModal - - APPLY - TOEPASSEN + + Apply + - - CANCEL - ANNULEREN + + Cancel + Annuleren - + Name Naam @@ -48,7 +118,7 @@ FileItem - + Save File Bestand opslaan @@ -56,15 +126,23 @@ ImageItem - + Save image Afbeelding opslaan + + InviteeItem + + + Remove + + + LoginPage - + Matrix ID Matrix-id @@ -78,57 +156,64 @@ Password Wachtwoord + + + Device name + + LOGIN INLOGGEN - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + + The required endpoints were not found. Possibly not a Matrix server. + + + + + Received malformed response. Make sure the homeserver domain is valid. + + + + + An unknown error occured. Make sure the homeserver domain is valid. + + + + Empty password Leeg wachtwoord - - MatrixClient - - - Wrong username or password - Verkeerde gebruikersnaam of wachtwoord - - - - Login endpoint was not found on the server - Het inlog-endpoint is niet aangetroffen op de server - - - - An unknown error occured. Please try again. - Er is een onbekende fout opgetreden. Probeer het opnieuw. - - - - Malformed response. Possibly not a Matrix server - Onjuist antwoord ontvangen: dit is mogelijk geen Matrix server - - MemberList - + Room members Kamerleden - - SHOW MORE - MEER TONEN + + ESC + QuickSwitcher - + Search for a room... Zoek een kamer... @@ -136,7 +221,7 @@ RegisterPage - + Username Gebruikersnaam @@ -156,12 +241,12 @@ Thuisserver - + REGISTER REGISTREREN - + Invalid username Ongeldige gebruikersnaam @@ -181,15 +266,23 @@ Ongeldige servernaam + + ReplyPopup + + + Logout + + + RoomInfoListItem - + Leave room Kamer verlaten - + Accept Accepteren @@ -202,7 +295,12 @@ SideBarActions - + + User settings + + + + Create new room Nieuwe kamer creëren @@ -211,16 +309,65 @@ Join a room Kamer betreden + + + Start a new chat + + + + + Room directory + + + + + StatusIndicator + + + Encrypted + + + + + Delivered + + + + + Seen + + + + + Sent + + TextInputWidget - + + Send a file + + + + + Write a message... Typ een bericht... - + + Send a message + + + + + Emoji + + + + Select a file Kies een bestand @@ -229,11 +376,47 @@ All Files (*) Alle bestanden (*) + + + Connection lost. Nheko is trying to re-connect... + + + + + TimelineItem + + + Message redaction failed: %1 + + + + + Reply + + + + + Options + + + + + TimelineView + + + Encryption is enabled + + TopRoomBar - + + Room options + + + + Invite users Gebruikers uitnodigen @@ -256,7 +439,7 @@ TrayIcon - + Show Tonen @@ -269,7 +452,7 @@ TypingDisplay - + is typing is aan het typen @@ -279,15 +462,18 @@ zijn aan het typen + + UserInfoWidget + + + Logout + + + UserSettingsPage - - User Settings - Gebruikersinstellingen - - - + Minimize to tray Minimaliseren naar systeemvak @@ -297,12 +483,7 @@ Geminimaliseerd opstarten - - Re-order rooms based on activity - Kamers herordenen op basis van activiteit - - - + Group's sidebar Zijbalk van groep @@ -318,19 +499,115 @@ + Desktop notifications + + + + + Scale factor + + + + + Font size + + + + + Font Family + + + + Theme Thema - + + Device ID + + + + + Device Fingerprint + + + + + Session Keys + + + + + IMPORT + + + + + EXPORT + + + + + ENCRYPTION + + + + GENERAL ALGEMEEN + + + Open Sessions File + + + + + + + + + + + + + + Error + + + + + + File Password + + + + + Enter the passphrase to decrypt the file: + + + + + + The password cannot be empty + + + + + Enter passphrase to encrypt your session keys: + + + + + File to save the exported session keys + + WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. Welkom bij nheko! Dé computerclient voor het Matrix-protocol. @@ -340,12 +617,12 @@ Geniet van je verblijf! - + REGISTER REGISTREREN - + LOGIN INLOGGEN @@ -353,12 +630,17 @@ dialogs::CreateRoom - - CANCEL - ANNULEREN + + Create room + - + + Cancel + Annuleren + + + Name Naam @@ -378,12 +660,12 @@ Kamerzichtbaarheid - + Room Preset Kamer-voorinstellingen - + Direct Chat Directe chat @@ -391,12 +673,12 @@ dialogs::InviteUsers - - CANCEL - ANNULEREN + + Cancel + Annuleren - + User ID to invite Uit te nodigen gebruikers-id @@ -404,12 +686,17 @@ dialogs::JoinRoom - - CANCEL - ANNULEREN + + Join + - + + Cancel + Annuleren + + + Room ID or alias Kamer-id of alias @@ -417,12 +704,12 @@ dialogs::LeaveRoom - - CANCEL - ANNULEREN + + Cancel + Annuleren - + Are you sure you want to leave? Weet je zeker dat je wilt vertrekken? @@ -430,12 +717,12 @@ dialogs::Logout - - CANCEL - ANNULEREN + + Cancel + Annuleren - + Logout. Are you sure? Uitloggen. Weet je het zeker? @@ -443,7 +730,7 @@ dialogs::PreviewUploadOverlay - + Upload Uploaden @@ -453,7 +740,7 @@ Annuleren - + Media type: %1 Media size: %2 @@ -465,14 +752,14 @@ Mediagrootte: %2 dialogs::ReCaptcha - - CONFIRM - BEVESTIGEN + + Cancel + Annuleren - - CANCEL - ANNULEREN + + Confirm + @@ -483,20 +770,40 @@ Mediagrootte: %2 dialogs::ReadReceipts - + Read receipts Leesbevestigingen + + + Close + + + + + ESC + + dialogs::RoomSettings - - CANCEL - ANNULEREN + + Settings + Instellingen - + + Info + + + + + Internal ID + + + + Notifications Meldingen @@ -516,7 +823,7 @@ Mediagrootte: %2 Alle berichten - + Room access Kamertoegang @@ -535,11 +842,115 @@ Mediagrootte: %2 Invited users Uitgenodigde gebruikers + + + Encryption + + + + + End-to-End Encryption + + + + + Encryption is currently experimental and things might break unexpectedly. <br>Please take note that it can't be disabled afterwards. + + + + + Respond to key requests + + + + + Whether or not the client should respond automatically with the session keys + upon request. Use with caution, this is a temporary measure to test the + E2E implementation until device verification is completed. + + + + + %n member(s) + + + + + + + + ESC + + + + + Failed to enable encryption: %1 + + + + + Select an avatar + + + + + All Files (*) + Alle bestanden (*) + + + + The selected media is not an image + + + + + Error while reading media: %1 + + + + + + Failed to upload image: %s + + + + + dialogs::UserProfile + + + Ban the user from the room + + + + + Ignore messages from this user + + + + + Kick the user from the room + + + + + Start a conversation + + + + + Devices + + + + + ESC + + emoji::Panel - + Smileys & People Smileys en mensen diff --git a/resources/langs/nheko_pl.ts b/resources/langs/nheko_pl.ts index 2d908653..358f97a9 100644 --- a/resources/langs/nheko_pl.ts +++ b/resources/langs/nheko_pl.ts @@ -4,7 +4,7 @@ AudioItem - + Save File Zapisz plik @@ -12,7 +12,7 @@ ChatPage - + Failed to upload image. Please try again. Nie udało się wysłać obrazu. Spróbuj ponownie. @@ -32,7 +32,7 @@ Nie udało się wysłać filmu. Spróbuj ponownie. - + Failed to restore OLM account. Please login again. Nie udało się przywrócić konta OLM. Spróbuj zalogować się ponownie. @@ -42,8 +42,13 @@ Nie udało się przywrócić zapisanych danych. Spróbuj zalogować się ponownie. - - + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + + + + + Please try to login again: %1 Spróbuj zalogować się ponownie: %1 @@ -59,32 +64,48 @@ - DateSeparator + CommunitiesListItem - - Today - Dzisiaj + + All rooms + + + + + Favourite rooms + - Yesterday - Wczoraj + Low priority rooms + + + + + + (tag) + + + + + (community) + EditModal - - APPLY - ZASTOSUJ + + Apply + - - CANCEL - ANULUJ + + Cancel + Anuluj - + Name Nazwa @@ -97,7 +118,7 @@ FileItem - + Save File Zapisz plik @@ -105,11 +126,19 @@ ImageItem - + Save image Zapisz obraz + + InviteeItem + + + Remove + + + LoginPage @@ -138,7 +167,17 @@ ZALOGUJ - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + The required endpoints were not found. Possibly not a Matrix server. Nie odnaleziono wymaganych punktów końcowych. To może nie być serwer Matriksa. @@ -161,14 +200,14 @@ MemberList - + Room members Członkowie pokoju - - SHOW MORE - POKAŻ WIĘCEJ + + ESC + @@ -202,7 +241,7 @@ Serwer domowy - + REGISTER ZAREJESTRUJ @@ -227,15 +266,23 @@ Nieprawidłowa nazwa serwera + + ReplyPopup + + + Logout + Wyloguj + + RoomInfoListItem - + Leave room Opuść pokój - + Accept Akceptuj @@ -248,7 +295,7 @@ SideBarActions - + User settings Ustawienia użytkownika @@ -276,7 +323,7 @@ StatusIndicator - + Encrypted Szyfrowana @@ -299,18 +346,18 @@ TextInputWidget - + Send a file Wyślij plik - - + + Write a message... Napisz wiadomość… - + Send a message Wyślij wiadomość @@ -320,7 +367,7 @@ Emoji - + Select a file Wybierz plik @@ -338,10 +385,20 @@ TimelineItem - + Message redaction failed: %1 Redagowanie wiadomości nie powiodło się: %1 + + + Reply + + + + + Options + + TimelineView @@ -354,7 +411,7 @@ TopRoomBar - + Room options Ustawienia pokoju @@ -382,7 +439,7 @@ TrayIcon - + Show Pokaż @@ -395,7 +452,7 @@ TypingDisplay - + is typing pisze @@ -408,7 +465,7 @@ UserInfoWidget - + Logout Wyloguj @@ -416,7 +473,7 @@ UserSettingsPage - + Minimize to tray Zminimalizuj do paska zadań @@ -426,12 +483,7 @@ Rozpocznij na pasku zadań - - Re-order rooms based on activity - Porządkuj pokoje na podstawie aktywności - - - + Group's sidebar Pasek boczny grupy @@ -452,39 +504,110 @@ - Scale factor (requires restart) - Czynnik skalowania (wymaga ponownego uruchomienia) + Scale factor + - + + Font size + + + + + Font Family + + + + Theme Motyw - + Device ID ID urządzenia - + Device Fingerprint Odcisk palca urządzenia + + + Session Keys + + + + + IMPORT + + + + + EXPORT + + ENCRYPTION SZYFROWANIE - + GENERAL OGÓLNE + + + Open Sessions File + + + + + + + + + + + + + + Error + + + + + + File Password + + + + + Enter the passphrase to decrypt the file: + + + + + + The password cannot be empty + + + + + Enter passphrase to encrypt your session keys: + + + + + File to save the exported session keys + + WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. Witamy w nheko! Desktopowy klient protokołu Matrix. @@ -494,12 +617,12 @@ Udanego pobytu! - + REGISTER ZAREJESTRUJ SIĘ - + LOGIN ZALOGUJ SIĘ @@ -507,12 +630,17 @@ dialogs::CreateRoom - - CANCEL - ANULUJ + + Create room + - + + Cancel + Anuluj + + + Name Nazwa @@ -545,9 +673,9 @@ dialogs::InviteUsers - - CANCEL - ANULUJ + + Cancel + Anuluj @@ -558,12 +686,17 @@ dialogs::JoinRoom - - CANCEL - ANULUJ + + Join + - + + Cancel + Anuluj + + + Room ID or alias ID pokoju lub alias @@ -571,12 +704,12 @@ dialogs::LeaveRoom - - CANCEL - ANULUJ + + Cancel + Anuluj - + Are you sure you want to leave? Czy na pewno chcesz wyjść? @@ -584,12 +717,12 @@ dialogs::Logout - - CANCEL - ANULUJ + + Cancel + Anuluj - + Logout. Are you sure? Czy na pewno chcesz wylogować się? @@ -607,7 +740,7 @@ Anuluj - + Media type: %1 Media size: %2 @@ -619,14 +752,14 @@ Rozmiar multimediów: %2 dialogs::ReCaptcha - - CONFIRM - POTWIERDŹ + + Cancel + Anuluj - - CANCEL - ANULUJ + + Confirm + @@ -637,15 +770,25 @@ Rozmiar multimediów: %2 dialogs::ReadReceipts - + Read receipts Potwierdzenia przeczytania + + + Close + + + + + ESC + + dialogs::RoomSettings - + Settings Ustawienia @@ -655,7 +798,7 @@ Rozmiar multimediów: %2 Informacje - + Internal ID Wewnętrzne ID @@ -738,12 +881,17 @@ Rozmiar multimediów: %2 - + + ESC + + + + Failed to enable encryption: %1 Nie udało się włączyć szyfrowania: %1 - + Select an avatar Wybierz awatar @@ -772,7 +920,7 @@ Rozmiar multimediów: %2 dialogs::UserProfile - + Ban the user from the room Zablokuj użytkownika w tym pokoju @@ -792,10 +940,15 @@ Rozmiar multimediów: %2 Rozpocznij rozmowę - + Devices Urządzenia + + + ESC + + emoji::Panel diff --git a/resources/langs/nheko_ru.ts b/resources/langs/nheko_ru.ts index 297611ab..b6651c84 100644 --- a/resources/langs/nheko_ru.ts +++ b/resources/langs/nheko_ru.ts @@ -12,7 +12,7 @@ ChatPage - + Failed to upload image. Please try again. Не удалось загрузить изображение. Пожалуйста, попробуйте еще раз. @@ -32,7 +32,7 @@ Не удалось загрузить видео. Пожалуйста, попробуйте еще раз. - + Failed to restore OLM account. Please login again. Не удалось восстановить учетную запись OLM. Пожалуйста, войдите снова. @@ -42,13 +42,13 @@ Не удалось восстановить сохраненные данные. Пожалуйста, войдите снова. - + Failed to setup encryption keys. Server response: %1 %2. Please try again later. Не удалось настроить ключи шифрования. Ответ сервера:%1 %2. Пожалуйста, попробуйте позже. - + Please try to login again: %1 Повторите попытку входа: %1 @@ -126,7 +126,7 @@ ImageItem - + Save image Сохранить изображение @@ -167,7 +167,17 @@ ВОЙТИ - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + The required endpoints were not found. Possibly not a Matrix server. Необходимые конечные точки не найдены. Возможно, это не сервер Matrix. @@ -256,6 +266,14 @@ Неверное имя сервера + + ReplyPopup + + + Logout + Выйти + + RoomInfoListItem @@ -264,7 +282,7 @@ Покинуть комнату - + Accept Принять @@ -305,7 +323,7 @@ StatusIndicator - + Encrypted Зашифровано @@ -328,13 +346,13 @@ TextInputWidget - + Send a file Отправить файл - + Write a message... Написать сообщение... @@ -344,7 +362,12 @@ Отправить сообщение - + + Emoji + + + + Select a file Выберите файл @@ -362,10 +385,20 @@ TimelineItem - + Message redaction failed: %1 Ошибка редактирования сообщения: %1 + + + Reply + + + + + Options + + TimelineView @@ -440,7 +473,7 @@ UserSettingsPage - + Minimize to tray Сворачивать в системную панель @@ -481,11 +514,16 @@ + Font Family + + + + Theme Тема - + Device ID ID устройства @@ -520,7 +558,7 @@ ГЛАВНОЕ - + Open Sessions File Открыть файл сеансов @@ -532,14 +570,14 @@ - + Error Ошибка - + File Password Или введите пароль? @@ -911,4 +949,47 @@ Media size: %2 + + emoji::Panel + + + Smileys & People + + + + + Animals & Nature + + + + + Food & Drink + + + + + Activity + + + + + Travel & Places + + + + + Objects + + + + + Symbols + + + + + Flags + + + diff --git a/resources/langs/nheko_zh_CN.ts b/resources/langs/nheko_zh_CN.ts index 3ea4031c..634867a5 100644 --- a/resources/langs/nheko_zh_CN.ts +++ b/resources/langs/nheko_zh_CN.ts @@ -12,7 +12,7 @@ ChatPage - + Failed to upload image. Please try again. 上传图像失败。请重试。 @@ -32,7 +32,7 @@ 上传视频失败。请重试。 - + Failed to restore OLM account. Please login again. 恢复 OLM 账户失败。请重新登录。 @@ -42,13 +42,13 @@ 恢复保存的数据失败。请重新登录。 - - Failed to setup encryption keys. Server response: %s %d. Please try again later. - 建立加密密钥失败。 服务器返回:%s %d. 请稍后重试。 + + Failed to setup encryption keys. Server response: %1 %2. Please try again later. + - + Please try to login again: %1 请尝试再次登录:%1 @@ -64,32 +64,48 @@ - DateSeparator + CommunitiesListItem - - Today - 今天 + + All rooms + + + + + Favourite rooms + - Yesterday - 昨天 + Low priority rooms + + + + + + (tag) + + + + + (community) + EditModal - - APPLY - 应用 + + Apply + - - CANCEL - 取消 + + Cancel + 取消 - + Name 名称 @@ -115,6 +131,14 @@ 保存图像 + + InviteeItem + + + Remove + + + LoginPage @@ -143,7 +167,17 @@ 登录 - + + Autodiscovery failed. Received malformed response. + + + + + Autodiscovery failed. Unknown error when requesting .well-known. + + + + The required endpoints were not found. Possibly not a Matrix server. 没找到要求的终端。可能不是一个 Matrix 服务器。 @@ -166,14 +200,14 @@ MemberList - + Room members 聊天室成员 - - SHOW MORE - 显示更多 + + ESC + @@ -207,7 +241,7 @@ 服务器 - + REGISTER 注册 @@ -232,15 +266,23 @@ 无效的服务器名 + + ReplyPopup + + + Logout + 登出 + + RoomInfoListItem - + Leave room 离开聊天室 - + Accept 接受 @@ -253,7 +295,7 @@ SideBarActions - + User settings 用户设置 @@ -281,7 +323,7 @@ StatusIndicator - + Encrypted 加密的 @@ -304,18 +346,18 @@ TextInputWidget - + Send a file 发送一个文件 - - + + Write a message... 写一条消息... - + Send a message 发送一条消息 @@ -325,7 +367,7 @@ - + Select a file 选择一个文件 @@ -343,10 +385,20 @@ TimelineItem - + Message redaction failed: %1 删除消息失败:%1 + + + Reply + + + + + Options + + TimelineView @@ -359,7 +411,7 @@ TopRoomBar - + Room options 聊天室选项 @@ -387,7 +439,7 @@ TrayIcon - + Show 显示 @@ -400,7 +452,7 @@ TypingDisplay - + is typing 正在打字 @@ -413,7 +465,7 @@ UserInfoWidget - + Logout 登出 @@ -421,7 +473,7 @@ UserSettingsPage - + Minimize to tray 最小化至托盘 @@ -431,12 +483,7 @@ 在托盘启动 - - Re-order rooms based on activity - 根据活动重排序聊天室 - - - + Group's sidebar 群组侧边栏 @@ -457,26 +504,36 @@ - Scale factor (requires restart) - 缩放系数(需要重启) + Scale factor + - + + Font size + + + + + Font Family + + + + Theme 主题 - + Device ID 设备 ID - + Device Fingerprint 设备指纹 - + Session Keys 会话密钥 @@ -501,48 +558,48 @@ 通用 - + Open Sessions File 打开会话文件 - + - + - + Error 错误 - - + + File Password 文件密码 - + Enter the passphrase to decrypt the file: 输入密码以解密文件: - - + + The password cannot be empty 密码不能为空 - + Enter passphrase to encrypt your session keys: 输入密码以加密你的会话密钥: - + File to save the exported session keys 保存导出的会话密钥的文件 @@ -550,7 +607,7 @@ WelcomePage - + Welcome to nheko! The desktop client for the Matrix protocol. 欢迎使用 nheko! Matrix 协议的桌面客户端。 @@ -560,12 +617,12 @@ 祝您使用愉快! - + REGISTER 注册 - + LOGIN 登录 @@ -573,12 +630,17 @@ dialogs::CreateRoom - - CANCEL - 取消 + + Create room + - + + Cancel + 取消 + + + Name 名称 @@ -611,9 +673,9 @@ dialogs::InviteUsers - - CANCEL - 取消 + + Cancel + 取消 @@ -624,12 +686,17 @@ dialogs::JoinRoom - - CANCEL - 取消 + + Join + - + + Cancel + 取消 + + + Room ID or alias 聊天室 ID 或别名 @@ -637,12 +704,12 @@ dialogs::LeaveRoom - - CANCEL - 取消 + + Cancel + 取消 - + Are you sure you want to leave? 你确定要离开吗? @@ -650,12 +717,12 @@ dialogs::Logout - - CANCEL - 取消 + + Cancel + 取消 - + Logout. Are you sure? 登出。确定吗? @@ -673,7 +740,7 @@ 取消 - + Media type: %1 Media size: %2 @@ -685,14 +752,14 @@ Media size: %2 dialogs::ReCaptcha - - CONFIRM - 确定 + + Cancel + 取消 - - CANCEL - 取消 + + Confirm + @@ -703,15 +770,25 @@ Media size: %2 dialogs::ReadReceipts - + Read receipts 阅读回执 + + + Close + + + + + ESC + + dialogs::RoomSettings - + Settings 设置 @@ -802,12 +879,17 @@ Media size: %2 - + + ESC + + + + Failed to enable encryption: %1 启用加密失败:%1 - + Select an avatar 选择一个头像 @@ -836,7 +918,7 @@ Media size: %2 dialogs::UserProfile - + Ban the user from the room 在这个聊天室封禁这个用户 @@ -856,10 +938,15 @@ Media size: %2 开始一个聊天 - + Devices 设备 + + + ESC + + emoji::Panel diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp index f702832f..0e7a18d4 100644 --- a/src/LoginPage.cpp +++ b/src/LoginPage.cpp @@ -20,6 +20,7 @@ #include #include "Config.h" +#include "Logging.h" #include "LoginPage.h" #include "MatrixClient.h" #include "ui/FlatButton.h" @@ -186,7 +187,37 @@ LoginPage::onMatrixIdEntered() serverInput_->setText(homeServer); http::client()->set_server(user.hostname()); - checkHomeserverVersion(); + http::client()->well_known([this](const mtx::responses::WellKnown &res, + mtx::http::RequestErr err) { + if (err) { + using namespace boost::beast::http; + + if (err->status_code == status::not_found) { + nhlog::net()->info("Autodiscovery: No .well-known."); + checkHomeserverVersion(); + return; + } + + if (!err->parse_error.empty()) { + emit versionErrorCb( + tr("Autodiscovery failed. Received malformed response.")); + nhlog::net()->error( + "Autodiscovery failed. Received malformed response."); + return; + } + + emit versionErrorCb(tr("Autodiscovery failed. Unknown error when " + "requesting .well-known.")); + nhlog::net()->error("Autodiscovery failed. Unknown error when " + "requesting .well-known."); + return; + } + + nhlog::net()->info("Autodiscovery: Discovered '" + res.homeserver.base_url + + "'"); + http::client()->set_server(res.homeserver.base_url); + checkHomeserverVersion(); + }); } } @@ -272,7 +303,6 @@ LoginPage::onLoginButtonClicked() if (password_input_->text().isEmpty()) return loginError(tr("Empty password")); - http::client()->set_server(serverInput_->text().toStdString()); http::client()->login( user.localpart(), password_input_->text().toStdString(), @@ -285,6 +315,12 @@ LoginPage::onLoginButtonClicked() return; } + if (res.well_known) { + http::client()->set_server(res.well_known->homeserver.base_url); + nhlog::net()->info("Login requested to user server: " + + res.well_known->homeserver.base_url); + } + emit loginOk(res); }); diff --git a/src/Utils.cpp b/src/Utils.cpp index 690a9a9a..3d304e7d 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -342,10 +342,10 @@ utils::linkColor() return QPalette().color(QPalette::Link).name(); } -int +uint32_t utils::hashQString(const QString &input) { - auto hash = 0; + uint32_t hash = 0; for (int i = 0; i < input.length(); i++) { hash = input.at(i).digitValue() + ((hash << 5) - hash); @@ -363,7 +363,7 @@ utils::generateContrastingHexColor(const QString &input, const QString &backgrou // Create a color for the input auto hash = hashQString(input); // create a hue value based on the hash of the input. - auto userHue = qAbs(hash % 360); + auto userHue = static_cast(qAbs(hash % 360)); // start with moderate saturation and lightness values. auto sat = 220; auto lightness = 125; diff --git a/src/Utils.h b/src/Utils.h index bf941c4c..0f022770 100644 --- a/src/Utils.h +++ b/src/Utils.h @@ -243,7 +243,7 @@ QString linkColor(); //! Returns the hash code of the input QString -int +uint32_t hashQString(const QString &input); //! Generate a color (matching #RRGGBB) that has an acceptable contrast to background that is based