diff --git a/Makefile b/Makefile index 606ae24b..4d46e935 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,11 @@ docker-debian-appimage: debian-image docker run --privileged -v `pwd`:/build nheko-debian-appimage make linux-deploy update-translations: - lupdate src/**/*.cc src/**/*.cpp -ts resources/langs/nheko_*.ts -no-obsolete + lupdate \ + -locations relative \ + -Iinclude/dialogs \ + -Iinclude \ + src/ -ts resources/langs/nheko_*.ts -no-obsolete clean: rm -rf build diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 16ca72ed..8ca91883 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -2,21 +2,22 @@ # Generate the translation resource file # -FILE(GLOB LANG_TS_SRC "${CMAKE_CURRENT_SOURCE_DIR}/resources/langs/*.ts") +file(GLOB LANG_TS_SRC "${CMAKE_CURRENT_SOURCE_DIR}/resources/langs/*.ts") qt5_add_translation(QM_SRC ${LANG_TS_SRC}) +qt5_create_translation(${QM_SRC}) add_custom_target(LANG_QRC ALL DEPENDS ${QM_SRC}) # Generate a qrc file for the translations set(_qrc ${CMAKE_CURRENT_BINARY_DIR}/translations.qrc) if(NOT EXISTS ${_qrc}) - file(WRITE ${_qrc} " ") - foreach(_lang ${QM_SRC}) - get_filename_component(_filename ${_lang} NAME) - file(APPEND ${_qrc} "${_filename}") - endforeach(_lang) - file(APPEND ${_qrc} " ") + file(WRITE ${_qrc} "\n \n") + foreach(_lang ${QM_SRC}) + get_filename_component(_filename ${_lang} NAME) + file(APPEND ${_qrc} " ${_filename}\n") + endforeach(_lang) + file(APPEND ${_qrc} " \n\n") endif() qt5_add_resources(LANG_QRC ${_qrc}) diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts index e4a22ab0..6b38f53c 100644 --- a/resources/langs/nheko_de.ts +++ b/resources/langs/nheko_de.ts @@ -2,152 +2,435 @@ - CreateRoom + AudioItem - + + Save File + + + + + DateSeparator + + + Today + Heute + + + + Yesterday + Gestern + + + + FileItem + + + Save File + + + + + ImageItem + + + Save image + + + + + LoginPage + + + Matrix ID + Matrix ID + + + + e.g @joe:matrix.org + z.B. @joe:matrix.org + + + + Password + Passwort + + + + LOGIN + ANMELDUNG + + + + Empty password + Leeres Passwort + + + + MatrixClient + + + Wrong username or password + Falscher Nutzername 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 + + + + + SHOW MORE + + + + + QuickSwitcher + + + Search for a room... + + + + + RegisterPage + + + Username + Nutzername + + + + Password + Passwort + + + + Password confirmation + Passwort-Bestätigung + + + + Home Server + Heimserver + + + + REGISTER + REGISTRIEREN + + + + Invalid username + Ungültiger Nutzername + + + + Password is not long enough (min 8 chars) + Passwort nicht lang genug (min. 8 Zeichen) + + + + Passwords don't match + Passwörter stimmen nicht überein + + + + Invalid server name + Ungültiger Server-Name + + + + RoomInfoListItem + + + Leave room + + + + + Accept + + + + + Decline + + + + + SideBarActions + + + Create new room + + + + + Join a room + + + + + TextInputWidget + + + Write a message... + Schreibe eine Nachricht... + + + + Select a file + + + + + All Files (*) + + + + + TopRoomBar + + + Invite users + + + + + Members + + + + + Leave room + + + + + Settings + + + + + TrayIcon + + + Show + Zeige + + + + Quit + Schließe + + + + TypingDisplay + + + is typing + + + + + are typing + + + + + UserSettingsPage + + + User Settings + + + + + Minimize to tray + + + + + Start in tray + + + + + Re-order rooms based on activity + + + + + Group's sidebar + + + + + Typing notifications + + + + + Read receipts + Lesebestätigungen + + + + Theme + + + + + GENERAL + + + + + WelcomePage + + + Welcome to nheko! The desktop client for the Matrix protocol. + Willkommen bei nheko, dem Desktop-Client für das Matrix-Protokoll. + + + + Enjoy your stay! + Genieße deinen Aufenthalt! + + + + REGISTER + REGISTRIEREN + + + + LOGIN + ANMELDEN + + + + dialogs::CreateRoom + + CANCEL ABBRECHEN - + Name Titel - + Topic Thema - + Alias Alias - + Room Visibility Raumsichtbarkeit - + Room Preset Raumvorlage - + Direct Chat Direkter Chat - InviteUsers + dialogs::InviteUsers - + CANCEL ABBRECHEN - + User ID to invite Nutzer ID, die eingeladen werden soll - JoinRoom + dialogs::JoinRoom - + CANCEL ABBRECHEN - + Room ID or alias Raum-ID oder -Alias - LeaveRoom + dialogs::LeaveRoom - + CANCEL ABBRECHEN - + Are you sure you want to leave? Bist du sicher, dass du den Raum verlassen willst? - Logout + dialogs::Logout - + CANCEL ABBRECHEN - + Logout. Are you sure? Bist du dir sicher, dass du dich abmelden willst? - Panel + dialogs::PreviewUploadOverlay - - Smileys & People - Smileys & Personen - - - - Animals & Nature - Tiere & Natur - - - - Food & Drink - Essen & Tringen - - - - Activity - Aktivitäten - - - - Travel & Places - Reisen & Orte - - - - Objects - Objekte - - - - Symbols - Symbole - - - - Flags - Flaggen - - - - PreviewUploadOverlay - - + Upload Hochladen - + Cancel Abbrechen - + Media type: %1 Media size: %2 @@ -157,42 +440,120 @@ Medien-Größe: %2 - ReCaptcha + dialogs::ReCaptcha - + CONFIRM BESTÄTIGEN - + CANCEL ABBRECHEN - + Solve the reCAPTCHA and press the confirm button Löse das reCAPTCHA und drücke den "Bestätigen"-Knopf - ReadReceipts + dialogs::ReadReceipts - + Read receipts Lesebestätigungen - TimelineView + dialogs::RoomSettings - - Today - Heute + + CANCEL + ABBRECHEN - - Yesterday - Gestern + + Notifications + + + + + Muted + + + + + Mentions only + + + + + All messages + + + + + Room access + + + + + Anyone and guests + + + + + Anyone + + + + + Invited users + + + + + emoji::Panel + + + Smileys & People + Smileys & Personen + + + + Animals & Nature + Tiere & Natur + + + + Food & Drink + Essen & Trinken + + + + Activity + Aktivitäten + + + + Travel & Places + Reisen & Orte + + + + Objects + Objekte + + + + Symbols + Symbole + + + + Flags + Flaggen diff --git a/resources/langs/nheko_el.ts b/resources/langs/nheko_el.ts index a80a8869..6452ad78 100644 --- a/resources/langs/nheko_el.ts +++ b/resources/langs/nheko_el.ts @@ -2,195 +2,556 @@ - CreateRoom + AudioItem - + + Save File + Αποθήκευση + + + + DateSeparator + + + Today + Σήμερα + + + + Yesterday + Χθές + + + + FileItem + + + Save File + Αποθήκευση + + + + ImageItem + + + Save image + Αποθήκευση Εικόνας + + + + LoginPage + + + Matrix ID + Matrix ID + + + + e.g @joe:matrix.org + π.χ @john:matrix.org + + + + Password + Κωδικός + + + + LOGIN + ΕΙΣΟΔΟΣ + + + + 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 + ΠΕΡΙΣΣΟΤΕΡΑ + + + + QuickSwitcher + + + Search for a room... + Αναζήτηση συνομιλίας... + + + + RegisterPage + + + Username + Όνομα χρήστη + + + + Password + Κωδικός + + + + Password confirmation + Επαλήθευση κωδικού + + + + Home Server + Διακομιστής + + + + REGISTER + ΕΓΓΡΑΦΗ + + + + Invalid username + Μη έγκυρο όνομα χρήστη + + + + Password is not long enough (min 8 chars) + Ο κωδικός δεν αποτελείται από αρκετους χαρακτήρες + + + + Passwords don't match + Οι κωδικοί δεν ταιριίαζουν + + + + Invalid server name + Λανθασμένο όνομα διακομιστή + + + + RoomInfoListItem + + + Leave room + Βγές + + + + Accept + Αποδοχή + + + + Decline + Απόρριψη + + + + SideBarActions + + + Create new room + Νέα συνομιλία + + + + Join a room + + + + + TextInputWidget + + + Write a message... + Γράψε ένα μήνυμα... + + + + Select a file + Διάλεξε ένα αρχείο + + + + All Files (*) + Όλα τα αρχεία (*) + + + + TopRoomBar + + + Invite users + Προσκάλεσε χρήστες + + + + Members + Μέλη + + + + Leave room + Βγές από τη συνομιλία + + + + Settings + Ρυθμίσεις + + + + TrayIcon + + + Show + Εμφάνιση + + + + Quit + Έξοδος + + + + TypingDisplay + + + is typing + πληκτρολογεί + + + + are typing + πληκτρολογούν + + + + UserSettingsPage + + + User Settings + Ρυθμίσεις Χρήστη + + + + Minimize to tray + Ελαχιστοποίηση + + + + Start in tray + + + + + Re-order rooms based on activity + + + + + Group's sidebar + + + + + Typing notifications + + + + + Read receipts + + + + + Theme + Φόντο + + + + GENERAL + ΓΕΝΙΚΑ + + + + WelcomePage + + + Welcome to nheko! The desktop client for the Matrix protocol. + Καλως ήρθες στο nheko! + + + + Enjoy your stay! + + + + + REGISTER + ΕΓΓΡΑΦΗ + + + + LOGIN + ΕΙΣΟΔΟΣ + + + + dialogs::CreateRoom + + CANCEL - + ΑΚΥΡΟ - + Name - + Όνομα - + Topic - + Θέμα - + Alias - + Room Visibility - + Room Preset - + Direct Chat - + Άμεση συνομιλία - InviteUsers + dialogs::InviteUsers - + CANCEL - + ΑΚΥΡΟ - + User ID to invite - + Όνομα χρήστη - JoinRoom + dialogs::JoinRoom - + CANCEL - + ΑΚΥΡΟ - + Room ID or alias - + ID ή όνομα συνομιλίας - LeaveRoom + dialogs::LeaveRoom - + CANCEL - + ΑΚΥΡΟ - + Are you sure you want to leave? - + Είστε σίγουροι οτι θέλετε να κλείσετε τη συνομιλία; - Logout + dialogs::Logout - + CANCEL - + ΑΚΥΡΟ - + Logout. Are you sure? - + Αποσύνδεση. Είστε σίγουροι; - Panel + dialogs::PreviewUploadOverlay - - Smileys & People - Πρόσωπα - - - - Animals & Nature - Ζώα & Φύση - - - - Food & Drink - Φαγητά & Ποτά - - - - Activity - Δραστηριότητες - - - - Travel & Places - Ταξίδια & Τοποθεσίες - - - - Objects - Αντικείμενα - - - - Symbols - Σύμβολα - - - - Flags - Σημαίες - - - - PreviewUploadOverlay - - + Upload - + Μεταφόρτωση - + Cancel - + Άκυρο - + Media type: %1 Media size: %2 - + Τύπος πολυμέσου: %1 Μέγεθος: %2 - ReCaptcha + dialogs::ReCaptcha - + CONFIRM - + ΕΠΙΒΕΒΑΙΩΣΗ - + CANCEL - + ΑΚΥΡΟ - + Solve the reCAPTCHA and press the confirm button - ReadReceipts + dialogs::ReadReceipts - + Read receipts - TimelineView + dialogs::RoomSettings - - Today + + CANCEL + ΑΚΥΡΟ + + + + Notifications + Ειδοποιήσεις + + + + Muted + Αθόρυβο + + + + Mentions only + Αναφορές μόνο + + + + All messages - - Yesterday + + Room access + + + Anyone and guests + Οποιοσδήποτε & επισκέπτες + + + + Anyone + Οποιοσδήποτε + + + + Invited users + Μόνο με πρόσκληση + + + + emoji::Panel + + + Smileys & People + Πρόσωπα + + + + Animals & Nature + Ζώα & Φύση + + + + Food & Drink + Φαγητά & Ποτά + + + + Activity + Δραστηριότητες + + + + Travel & Places + Ταξίδια & Τοποθεσίες + + + + Objects + Αντικείμενα + + + + Symbols + Σύμβολα + + + + Flags + Σημαίες + diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts index 430775e1..0a2a0711 100644 --- a/resources/langs/nheko_en.ts +++ b/resources/langs/nheko_en.ts @@ -2,152 +2,435 @@ - CreateRoom + AudioItem - + + Save File + + + + + DateSeparator + + + Today + + + + + Yesterday + + + + + FileItem + + + Save File + + + + + ImageItem + + + Save image + + + + + LoginPage + + + Matrix ID + + + + + e.g @joe:matrix.org + + + + + Password + + + + + LOGIN + + + + + 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 + + + + + QuickSwitcher + + + Search for a room... + + + + + RegisterPage + + + Username + + + + + Password + + + + + Password confirmation + + + + + Home Server + + + + + REGISTER + + + + + Invalid username + + + + + Password is not long enough (min 8 chars) + + + + + Passwords don't match + + + + + Invalid server name + + + + + RoomInfoListItem + + + Leave room + + + + + Accept + + + + + Decline + + + + + SideBarActions + + + Create new room + + + + + Join a room + + + + + TextInputWidget + + + Write a message... + + + + + Select a file + + + + + All Files (*) + + + + + TopRoomBar + + + Invite users + + + + + Members + + + + + Leave room + + + + + Settings + + + + + TrayIcon + + + Show + + + + + Quit + + + + + TypingDisplay + + + is typing + + + + + are typing + + + + + UserSettingsPage + + + User Settings + + + + + Minimize to tray + + + + + Start in tray + + + + + Re-order rooms based on activity + + + + + Group's sidebar + + + + + Typing notifications + + + + + Read receipts + + + + + Theme + + + + + GENERAL + + + + + WelcomePage + + + Welcome to nheko! The desktop client for the Matrix protocol. + + + + + Enjoy your stay! + + + + + REGISTER + + + + + LOGIN + + + + + dialogs::CreateRoom + + CANCEL - + Name - + Topic - + Alias - + Room Visibility - + Room Preset - + Direct Chat - InviteUsers + dialogs::InviteUsers - + CANCEL - + User ID to invite - JoinRoom + dialogs::JoinRoom - + CANCEL - + Room ID or alias - LeaveRoom + dialogs::LeaveRoom - + CANCEL - + Are you sure you want to leave? - Logout + dialogs::Logout - + CANCEL - + Logout. Are you sure? - Panel + dialogs::PreviewUploadOverlay - - Smileys & People - Smileys & People - - - - Animals & Nature - Animals & Nature - - - - Food & Drink - Food & Drink - - - - Activity - Activity - - - - Travel & Places - Travel & Places - - - - Objects - Objects - - - - Symbols - Symbols - - - - Flags - Flags - - - - PreviewUploadOverlay - - + Upload - + Cancel - + Media type: %1 Media size: %2 @@ -155,42 +438,120 @@ Media size: %2 - ReCaptcha + dialogs::ReCaptcha - + CONFIRM - + CANCEL - + Solve the reCAPTCHA and press the confirm button - ReadReceipts + dialogs::ReadReceipts - + Read receipts - TimelineView + dialogs::RoomSettings - - Today + + CANCEL - - Yesterday + + Notifications + + + + + Muted + + + + + Mentions only + + + + + All messages + + + + + Room access + + + + + Anyone and guests + + + + + Anyone + + + + + Invited users + + emoji::Panel + + + Smileys & People + Smileys & People + + + + Animals & Nature + Animals & Nature + + + + Food & Drink + Food & Drink + + + + Activity + Activity + + + + Travel & Places + Travel & Places + + + + Objects + Objects + + + + Symbols + Symbols + + + + Flags + Flags + + diff --git a/resources/langs/nheko_nl.ts b/resources/langs/nheko_nl.ts index 521fe065..79b0c87d 100644 --- a/resources/langs/nheko_nl.ts +++ b/resources/langs/nheko_nl.ts @@ -2,196 +2,558 @@ - CreateRoom + AudioItem - + + Save File + + + + + DateSeparator + + + Today + Vandaag + + + + Yesterday + Gisteren + + + + FileItem + + + Save File + + + + + ImageItem + + + Save image + + + + + LoginPage + + + Matrix ID + Matrix ID + + + + e.g @joe:matrix.org + b.v @jan:matrix.org< + + + + Password + Wachtwoord + + + + LOGIN + LOGIN + + + + Empty password + Leeg wachtwoord + + + + MatrixClient + + + Wrong username or password + Verkeerde gebruikersnaam of wachtwoord + + + + Login endpoint was not found on the server + De login eindpunt is niet gevonden op de server + + + + An unknown error occured. Please try again. + Er is een onbekende fout opgetreden. Probeer het alsjeblieft opnieuw. + + + + Malformed response. Possibly not a Matrix server + Onjuist antwoord ontvangen. Het is mogelijk geen Matrix server + + + + MemberList + + + Room members + + + + + SHOW MORE + + + + + QuickSwitcher + + + Search for a room... + + + + + RegisterPage + + + Username + Gebruikersnaam + + + + Password + Wachtwoord + + + + Password confirmation + Wachtwoord bevestiging + + + + Home Server + Home server + + + + REGISTER + REGISTREER + + + + Invalid username + Ongeldige gebruikersnaam + + + + Password is not long enough (min 8 chars) + Het wachtwoord is niet lang genoeg (minimaal 8 karakters) + + + + Passwords don't match + De wachtwoorden komen niet overeen + + + + Invalid server name + Ongeldige server naam + + + + RoomInfoListItem + + + Leave room + + + + + Accept + + + + + Decline + + + + + SideBarActions + + + Create new room + + + + + Join a room + + + + + TextInputWidget + + + Write a message... + Type een bericht... + + + + Select a file + + + + + All Files (*) + + + + + TopRoomBar + + + Invite users + + + + + Members + + + + + Leave room + + + + + Settings + + + + + TrayIcon + + + Show + Laten zien + + + + Quit + Sluiten + + + + TypingDisplay + + + is typing + + + + + are typing + + + + + UserSettingsPage + + + User Settings + + + + + Minimize to tray + + + + + Start in tray + + + + + Re-order rooms based on activity + + + + + Group's sidebar + + + + + Typing notifications + + + + + Read receipts + Lees bevestigingen + + + + Theme + + + + + GENERAL + + + + + WelcomePage + + + Welcome to nheko! The desktop client for the Matrix protocol. + Welkom bij nheko! De desktop client voor het Matrix protocol. + + + + Enjoy your stay! + Geniet van je verblijf! + + + + REGISTER + REGISTREER + + + + LOGIN + LOGIN + + + + dialogs::CreateRoom + + CANCEL ANNULEREN - + Name - Naam + Naam - + Topic Onderwerp - + Alias Alias - + Room Visibility Kamer zichtbaarheid - + Room Preset Kamer voorinstellingen - + Direct Chat Directe chat - InviteUsers + dialogs::InviteUsers - + CANCEL ANNULEREN - + User ID to invite Gebruikers ID om uit te nodigen - JoinRoom + dialogs::JoinRoom - + CANCEL ANNULEREN - + Room ID or alias Kamer ID of alias - LeaveRoom + dialogs::LeaveRoom - + CANCEL ANNULEREN - + Are you sure you want to leave? Weet je zeker dat je wilt vertrekken? - Logout + dialogs::Logout - + CANCEL ANNULEREN - + Logout. Are you sure? Uitloggen. Weet je het zeker? - Panel + dialogs::PreviewUploadOverlay - - Smileys & People - Smileys & Mensen - - - - Animals & Nature - Dieren & Natuur - - - - Food & Drink - Eten & Drinken - - - - Activity - Activiteit - - - - Travel & Places - Reizen & Locaties - - - - Objects - Objecten - - - - Symbols - Symbolen - - - - Flags - Vlaggen - - - - PreviewUploadOverlay - - + Upload Uploaden - + Cancel Annuleren - + Media type: %1 Media size: %2 -Media type: %1 -Media grootte: %2 + Media type: %1 +Media grootte: %2 + - ReCaptcha + dialogs::ReCaptcha - + CONFIRM BEVESTIGEN - + CANCEL ANNULEREN - + Solve the reCAPTCHA and press the confirm button Los de reCAPTCHA op en klik op de bevestigen knop - ReadReceipts + dialogs::ReadReceipts - + Read receipts Lees bevestigingen - TimelineView + dialogs::RoomSettings - - Today - Vandaag + + CANCEL + ANNULEREN - - Yesterday - Gisteren + + Notifications + + + + + Muted + + + + + Mentions only + + + + + All messages + + + + + Room access + + + + + Anyone and guests + + + + + Anyone + + + + + Invited users + + + + + emoji::Panel + + + Smileys & People + Smileys & Mensen + + + + Animals & Nature + Dieren & Natuur + + + + Food & Drink + Eten & Drinken + + + + Activity + Activiteit + + + + Travel & Places + Reizen & Locaties + + + + Objects + Objecten + + + + Symbols + Symbolen + + + + Flags + Vlaggen