Add translation

This commit is contained in:
Dorian Zedler 2021-06-29 17:47:39 +02:00
parent 20ffca4670
commit d286a87553
Signed by: dorian
GPG key ID: 989DE36109AFA354
5 changed files with 57 additions and 46 deletions

View file

@ -101,7 +101,6 @@ DataListView {
} }
else { else {
// an international competition -> get nation // an international competition -> get nation
fedName = athleteData["nation"] fedName = athleteData["nation"]
} }
@ -125,7 +124,9 @@ DataListView {
} }
} }
selector.appear(selectOptions, qsTrId("#selectCategory"), "<a href=\"blank\">Show results</a>") selector.appear(selectOptions, qsTrId("#selectCategory"),
//% "Show results"
"<a href=\"blank\">" + qsTrId("#showResults") + "</a>")
} }
function filterAthletes(athletes) { function filterAthletes(athletes) {

Binary file not shown.

View file

@ -4,40 +4,40 @@
<context> <context>
<name></name> <name></name>
<message id="#scanQrCode"> <message id="#scanQrCode">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="19"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="20"/>
<location filename="../qml/Pages/StartPage.qml" line="120"/> <location filename="../qml/Pages/StartPage.qml" line="120"/>
<source>Scan QR-Code</source> <source>Scan QR-Code</source>
<translation>QR-Code scannen</translation> <translation>QR-Code scannen</translation>
</message> </message>
<message id="#placeQrCodeInCenter"> <message id="#placeQrCodeInCenter">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="34"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="39"/>
<source>Place the Code in the center</source> <source>Place the Code in the center</source>
<translation>Positioniere den Code in der Mitte</translation> <translation>Positioniere den Code in der Mitte</translation>
</message> </message>
<message id="#cameraPermissionDenied"> <message id="#cameraPermissionDenied">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="207"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="243"/>
<source>Camera access required</source> <source>Camera access required</source>
<oldsource>Camera access denied</oldsource> <oldsource>Camera access denied</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#cameraPermissionDeniedDetails"> <message id="#cameraPermissionDeniedDetails">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="223"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="259"/>
<source>blueROCK needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</source> <source>blueROCK needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</source>
<oldsource>This app needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</oldsource> <oldsource>This app needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#allowAccess"> <message id="#allowAccess">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="232"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="268"/>
<source>Allow access</source> <source>Allow access</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#pleaseWait"> <message id="#pleaseWait">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="256"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="50"/>
<source>Plase wait</source> <source>Plase wait</source>
<translation>Bitte warten</translation> <translation>Bitte warten</translation>
</message> </message>
<message id="#invalidQrCode"> <message id="#invalidQrCode">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="262"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="56"/>
<source>Invalid QR-Code</source> <source>Invalid QR-Code</source>
<translation>Ungültiger QR-Code</translation> <translation>Ungültiger QR-Code</translation>
</message> </message>
@ -174,33 +174,33 @@
</message> </message>
<message id="#selectCategory"> <message id="#selectCategory">
<location filename="../qml/Widgets/CalendarWidget.qml" line="278"/> <location filename="../qml/Widgets/CalendarWidget.qml" line="278"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="112"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="127"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="169"/> <location filename="../qml/Widgets/ResultWidget.qml" line="169"/>
<source>Select category</source> <source>Select category</source>
<translation>Kategorie auswählen</translation> <translation>Kategorie auswählen</translation>
</message> </message>
<message id="#age"> <message id="#age">
<location filename="../qml/Widgets/ProfileWidget.qml" line="194"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="203"/>
<source>Age</source> <source>Age</source>
<translation>Alter</translation> <translation>Alter</translation>
</message> </message>
<message id="#yearOfBirth"> <message id="#yearOfBirth">
<location filename="../qml/Widgets/ProfileWidget.qml" line="211"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="220"/>
<source>Year of birth</source> <source>Year of birth</source>
<translation>Geburtsjahr</translation> <translation>Geburtsjahr</translation>
</message> </message>
<message id="#city"> <message id="#city">
<location filename="../qml/Widgets/ProfileWidget.qml" line="228"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="237"/>
<source>City</source> <source>City</source>
<translation>Stadt</translation> <translation>Stadt</translation>
</message> </message>
<message id="#showBestResults"> <message id="#showBestResults">
<location filename="../qml/Widgets/ProfileWidget.qml" line="271"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="280"/>
<source>Show best results</source> <source>Show best results</source>
<translation>Zeige die besten Ergebnisse</translation> <translation>Zeige die besten Ergebnisse</translation>
</message> </message>
<message id="#showAllResults"> <message id="#showAllResults">
<location filename="../qml/Widgets/ProfileWidget.qml" line="273"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="282"/>
<source>Show all results</source> <source>Show all results</source>
<translation>Zeige alle Ergebnisse</translation> <translation>Zeige alle Ergebnisse</translation>
</message> </message>
@ -210,48 +210,53 @@
<translation>(Rangliste)</translation> <translation>(Rangliste)</translation>
</message> </message>
<message id="#registrationHeadline"> <message id="#registrationHeadline">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="61"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="77"/>
<source>(Registration)</source> <source>(Registration)</source>
<translation>(Registrierung)</translation> <translation>(Registrierung)</translation>
</message> </message>
<message id="#showResults">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="129"/>
<source>Show results</source>
<translation type="unfinished"></translation>
</message>
<message id="#resultsHeadline"> <message id="#resultsHeadline">
<location filename="../qml/Widgets/ResultWidget.qml" line="136"/> <location filename="../qml/Widgets/ResultWidget.qml" line="136"/>
<source>(Results)</source> <source>(Results)</source>
<translation>(Ergebnisse)</translation> <translation>(Ergebnisse)</translation>
</message> </message>
<message id="#startlistHeadline"> <message id="#startlistHeadline">
<location filename="../qml/Widgets/StartlistWidget.qml" line="56"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="72"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="82"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="98"/>
<source>(Startlist)</source> <source>(Startlist)</source>
<translation>(Startliste)</translation> <translation>(Startliste)</translation>
</message> </message>
<message id="#loading"> <message id="#loading">
<location filename="../qml/main.qml" line="551"/> <location filename="../qml/main.qml" line="552"/>
<source>Loading</source> <source>Loading</source>
<translation>Laden</translation> <translation>Laden</translation>
</message> </message>
<message id="#noConnectionError"> <message id="#noConnectionError">
<location filename="../qml/main.qml" line="665"/> <location filename="../qml/main.qml" line="666"/>
<source>No connection to server</source> <source>No connection to server</source>
<translation>Keine Verbindung zum Server</translation> <translation>Keine Verbindung zum Server</translation>
</message> </message>
<message id="#notFoundError"> <message id="#notFoundError">
<location filename="../qml/main.qml" line="670"/> <location filename="../qml/main.qml" line="671"/>
<source>Not found</source> <source>Not found</source>
<translation>Nicht gefunden</translation> <translation>Nicht gefunden</translation>
</message> </message>
<message id="#noDataError"> <message id="#noDataError">
<location filename="../qml/main.qml" line="675"/> <location filename="../qml/main.qml" line="676"/>
<source>No Data</source> <source>No Data</source>
<translation>Keine Daten</translation> <translation>Keine Daten</translation>
</message> </message>
<message id="#invalidRequestError"> <message id="#invalidRequestError">
<location filename="../qml/main.qml" line="680"/> <location filename="../qml/main.qml" line="681"/>
<source>Invalid Request</source> <source>Invalid Request</source>
<translation>Ungültige Anfrage</translation> <translation>Ungültige Anfrage</translation>
</message> </message>
<message id="#unexpectedError"> <message id="#unexpectedError">
<location filename="../qml/main.qml" line="686"/> <location filename="../qml/main.qml" line="687"/>
<source>Unexpected error</source> <source>Unexpected error</source>
<translation>Unerwarteter Fehler</translation> <translation>Unerwarteter Fehler</translation>
</message> </message>

Binary file not shown.

View file

@ -4,40 +4,40 @@
<context> <context>
<name></name> <name></name>
<message id="#scanQrCode"> <message id="#scanQrCode">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="19"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="20"/>
<location filename="../qml/Pages/StartPage.qml" line="120"/> <location filename="../qml/Pages/StartPage.qml" line="120"/>
<source>Scan QR-Code</source> <source>Scan QR-Code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#placeQrCodeInCenter"> <message id="#placeQrCodeInCenter">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="34"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="39"/>
<source>Place the Code in the center</source> <source>Place the Code in the center</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#cameraPermissionDenied"> <message id="#cameraPermissionDenied">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="207"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="243"/>
<source>Camera access required</source> <source>Camera access required</source>
<oldsource>Camera access denied</oldsource> <oldsource>Camera access denied</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#cameraPermissionDeniedDetails"> <message id="#cameraPermissionDeniedDetails">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="223"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="259"/>
<source>blueROCK needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</source> <source>blueROCK needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</source>
<oldsource>This app needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</oldsource> <oldsource>This app needs to access your camera in order to scan QR-Codes. It will never record or store any photos or videos.</oldsource>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#allowAccess"> <message id="#allowAccess">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="232"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="268"/>
<source>Allow access</source> <source>Allow access</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#pleaseWait"> <message id="#pleaseWait">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="256"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="50"/>
<source>Plase wait</source> <source>Plase wait</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#invalidQrCode"> <message id="#invalidQrCode">
<location filename="../qml/Pages/QrCodeScanPage.qml" line="262"/> <location filename="../qml/Pages/QrCodeScanPage.qml" line="56"/>
<source>Invalid QR-Code</source> <source>Invalid QR-Code</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -170,33 +170,33 @@
</message> </message>
<message id="#selectCategory"> <message id="#selectCategory">
<location filename="../qml/Widgets/CalendarWidget.qml" line="278"/> <location filename="../qml/Widgets/CalendarWidget.qml" line="278"/>
<location filename="../qml/Widgets/RegistrationWidget.qml" line="112"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="127"/>
<location filename="../qml/Widgets/ResultWidget.qml" line="169"/> <location filename="../qml/Widgets/ResultWidget.qml" line="169"/>
<source>Select category</source> <source>Select category</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#age"> <message id="#age">
<location filename="../qml/Widgets/ProfileWidget.qml" line="194"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="203"/>
<source>Age</source> <source>Age</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#yearOfBirth"> <message id="#yearOfBirth">
<location filename="../qml/Widgets/ProfileWidget.qml" line="211"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="220"/>
<source>Year of birth</source> <source>Year of birth</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#city"> <message id="#city">
<location filename="../qml/Widgets/ProfileWidget.qml" line="228"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="237"/>
<source>City</source> <source>City</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#showBestResults"> <message id="#showBestResults">
<location filename="../qml/Widgets/ProfileWidget.qml" line="271"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="280"/>
<source>Show best results</source> <source>Show best results</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#showAllResults"> <message id="#showAllResults">
<location filename="../qml/Widgets/ProfileWidget.qml" line="273"/> <location filename="../qml/Widgets/ProfileWidget.qml" line="282"/>
<source>Show all results</source> <source>Show all results</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -206,48 +206,53 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#registrationHeadline"> <message id="#registrationHeadline">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="61"/> <location filename="../qml/Widgets/RegistrationWidget.qml" line="77"/>
<source>(Registration)</source> <source>(Registration)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#showResults">
<location filename="../qml/Widgets/RegistrationWidget.qml" line="129"/>
<source>Show results</source>
<translation type="unfinished"></translation>
</message>
<message id="#resultsHeadline"> <message id="#resultsHeadline">
<location filename="../qml/Widgets/ResultWidget.qml" line="136"/> <location filename="../qml/Widgets/ResultWidget.qml" line="136"/>
<source>(Results)</source> <source>(Results)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#startlistHeadline"> <message id="#startlistHeadline">
<location filename="../qml/Widgets/StartlistWidget.qml" line="56"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="72"/>
<location filename="../qml/Widgets/StartlistWidget.qml" line="82"/> <location filename="../qml/Widgets/StartlistWidget.qml" line="98"/>
<source>(Startlist)</source> <source>(Startlist)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#loading"> <message id="#loading">
<location filename="../qml/main.qml" line="551"/> <location filename="../qml/main.qml" line="552"/>
<source>Loading</source> <source>Loading</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#noConnectionError"> <message id="#noConnectionError">
<location filename="../qml/main.qml" line="665"/> <location filename="../qml/main.qml" line="666"/>
<source>No connection to server</source> <source>No connection to server</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#notFoundError"> <message id="#notFoundError">
<location filename="../qml/main.qml" line="670"/> <location filename="../qml/main.qml" line="671"/>
<source>Not found</source> <source>Not found</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#noDataError"> <message id="#noDataError">
<location filename="../qml/main.qml" line="675"/> <location filename="../qml/main.qml" line="676"/>
<source>No Data</source> <source>No Data</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#invalidRequestError"> <message id="#invalidRequestError">
<location filename="../qml/main.qml" line="680"/> <location filename="../qml/main.qml" line="681"/>
<source>Invalid Request</source> <source>Invalid Request</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message id="#unexpectedError"> <message id="#unexpectedError">
<location filename="../qml/main.qml" line="686"/> <location filename="../qml/main.qml" line="687"/>
<source>Unexpected error</source> <source>Unexpected error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>