)}
@@ -307,8 +315,7 @@ const TrackPage = connect((state) => ({ login: state.login }))(
{processing && (
- Track data is still being processed, please reload page in
- a while.
+ {t("TrackPage.processing")}
)}
@@ -316,8 +323,7 @@ const TrackPage = connect((state) => ({ login: state.login }))(
{error && (
- The processing of this track failed, please ask your site
- administrator for help in debugging the issue.
+ {t("TrackPage.processingError")}
)}
@@ -328,7 +334,7 @@ const TrackPage = connect((state) => ({ login: state.login }))(
{track?.description && (
<>
- Description
+ {t("TrackPage.description")}
{track.description}
>
@@ -347,7 +353,7 @@ const TrackPage = connect((state) => ({ login: state.login }))(
open={downloadError != null}
cancelButton={false}
onConfirm={hideDownloadError}
- header="Download failed"
+ header={t("TrackPage.downloadFailed")}
content={String(downloadError)}
/>
diff --git a/frontend/src/pages/TracksPage.tsx b/frontend/src/pages/TracksPage.tsx
index 2cf0d16..4bb0e61 100644
--- a/frontend/src/pages/TracksPage.tsx
+++ b/frontend/src/pages/TracksPage.tsx
@@ -114,15 +114,7 @@ export function TrackListItem({track, privateTracks = false}) {
{privateTracks && (
- {track.public ? (
- <>
- {t('general.public')}
- >
- ) : (
- <>
- {t('general.private')}
- >
- )}
+
diff --git a/frontend/src/translations/de.yaml b/frontend/src/translations/de.yaml
index a008441..fe0c7a7 100644
--- a/frontend/src/translations/de.yaml
+++ b/frontend/src/translations/de.yaml
@@ -7,6 +7,8 @@ general:
private: Privat
show: Anzeigen
edit: Bearbeiten
+ save: Speichern
+ delete: Löschen
App:
footer:
@@ -221,3 +223,49 @@ SettingsPage:
generate: Neuen API-Schlüssel erstellen
+TrackPage:
+ downloadFailed: Download fehlgeschlagen
+ downloadError: Diese Fahrt wurde vermutlich nicht korrekt importiert, oder in letzter Zeit nicht aktualisiert. Bitte frage den Administrator um Hilfe mit diesem Problem.
+ processing: Diese Fahrt wird gerade importiert, bitte lade die Seite später neu.
+ processingError: Beim Import dieser Fahrt ist ein Fehler aufgetreten, bitte frage den Administrator um Hilfe mit diesem Problem.
+ description: Beschreibung
+
+ mapSettings:
+ title: Karteneinstellungen
+ showTrack: Route anzeigen
+ gpsTrack: GPS-Route
+ snappedTrack: Erkannte Straßenroute
+
+ points: Punkte
+ confirmedPoints: Bestätigte Überholungen
+ allPoints: Alle Messungen
+
+ side: Seite für Einfärbung
+ overtakerSide: Überholung (links)
+ stationarySide: Ruhender Verkehr (rechts)
+
+ details:
+ visibility: Sichtbarkeit
+ originalFileName: Original Dateiname
+ uploadedWith: Hochgeladen mit
+ duration: Dauer
+ uploadedDate: Hochgeladen am
+ recordedDate: Aufgezeichnet am
+ numEvents: Bestätigte Überholungen
+ length: Länge
+ processingStatus: Verarbeitung
+
+ actions:
+ edit: Fahrt bearbeiten
+
+ download: Herunterladen
+ original: Original
+ gpx: GPX-Track
+ hintAuthorOnly: Nur du, als Autor:in dieser Fahrt, kannst die Originaldatei herunterladen.
+ hintOriginal: Dies ist die Originaldatei, wie sie auf den Server hochgeladen wurde, und kann mit anderen Werkzeugen verwendet werden.
+ hintAuthorOnlyOthers: Nur der:die Autor:in dieser Fahrt kann die Originaldatei herunterladen.
+
+ comments:
+ title: Kommentare
+ post: Kommentar abschicken
+ empty: Bisher hat niemand diese Fahrt kommentiert.
diff --git a/frontend/src/translations/en.yaml b/frontend/src/translations/en.yaml
index 352d707..750b88d 100644
--- a/frontend/src/translations/en.yaml
+++ b/frontend/src/translations/en.yaml
@@ -12,6 +12,7 @@ general:
show: Show
edit: Edit
save: Save
+ delete: Delete
copied: Copied.
copyError: Failed to copy.
@@ -226,3 +227,51 @@ SettingsPage:
generate: Generate new API key
+
+TrackPage:
+ downloadFailed: Download failed
+ downloadError: The track probably has not been imported correctly or recently enough. Please ask your administrator for assistance.
+ processing: Track data is still being processed, please reload page in a while.
+ processingError: The processing of this track failed, please ask your site administrator for help in debugging the issue.
+ description: Description
+
+
+ mapSettings:
+ title: Map settings
+ showTrack: Show track
+ gpsTrack: GPS track
+ snappedTrack: Snapped to road
+
+ points: Points
+ confirmedPoints: Confirmed
+ allPoints: All measurements
+
+ side: Side (for color)
+ overtakerSide: Overtaker (Left)
+ stationarySide: Stationary (Right)
+
+ details:
+ visibility: Visibility
+ originalFileName: Original Filename
+ uploadedWith: Uploaded with
+ duration: Duration
+ uploadedDate: Uploaded on
+ recordedDate: Recorded on
+ numEvents: Confirmed events
+ length: Length
+ processingStatus: Processing
+
+ actions:
+ edit: Edit track
+
+ download: Download
+ original: Original
+ gpx: Track (GPX)
+ hintAuthorOnly: Only you, the author of this track, can download the original file.
+ hintOriginal: This is the file as it was uploaded to the server, without modifications, and it can be used with other tools.
+ hintAuthorOnlyOthers: Only the author of this track can download the original file.
+
+ comments:
+ title: Comments
+ post: Post comment
+ empty: Nobody commented... yet