- Here you find your API Key, for use in the OpenBikeSensor. You can to copy and paste it into your sensor's
- configuration interface to allow direct upload from the device.
-
-
Please protect your API Key carefully as it allows full control over your account.
- You can generate a new API Key here, which will invalidate the old one, disconnecting all devices you used it on
- from your account.
-
-
+ {t("SettingsPage.apiKey.generateDescription")}
+
+
>
- )
+ );
}
-export default SettingsPage
+export default SettingsPage;
diff --git a/frontend/src/translations/de.yaml b/frontend/src/translations/de.yaml
index f8c615a..a008441 100644
--- a/frontend/src/translations/de.yaml
+++ b/frontend/src/translations/de.yaml
@@ -179,3 +179,45 @@ MapPage:
southWest: südwestwärts
west: westwärts
northWest: nordwestwärts
+
+SettingsPage:
+ title: Einstellungen
+
+ profile:
+ title: Mein Profil
+ publicNotice: All diese Informationen sind öffentlich.
+ username:
+ label: Kontoname
+ bio:
+ label: Bio
+ avatarUrl:
+ label: Avatar URL
+
+ apiKey:
+ title: Mein API-Schlüssel
+ description: |
+ Hier findest du deinen API-Schlüssel für die Nutzung mit dem
+ OpenBikeSensor. Du kannst ihn dir herauskopieren und in der Seite für die
+ Einstellungen deines Geräts einfügen, um dann direkt vom Gerät aus
+ Fahrten hochladen zu können.
+
+ Bitte schütze deinen API-Schlüssel vor ungewolltem Zugriff, denn er
+ erlaubt Zugang zu deinem Konto auf dieser Seite.
+ urlDescription: |
+ Die API-URL sollte wie folgt gesetzt werden:
+
+ generateDescription: |
+ Hier kannst du einen neuen API-Schlüssel für dein Konto erstellen. Der
+ alte wird damit ungültig, und alle Geräte, die damit konfiguriert wurden,
+ können nicht mehr auf dein Konto zugreifen.
+
+ key:
+ label: Persönlicher API-Schlüssel
+ empty: Du hast keinen API-Schlüssel, kannst dir aber unten einen erstellen.
+ show: API-Schlüssel zeigen
+
+ url:
+ label: API URL
+
+ generate: Neuen API-Schlüssel erstellen
+
diff --git a/frontend/src/translations/en.yaml b/frontend/src/translations/en.yaml
index b1f5ac5..352d707 100644
--- a/frontend/src/translations/en.yaml
+++ b/frontend/src/translations/en.yaml
@@ -11,6 +11,10 @@ general:
private: Private
show: Show
edit: Edit
+ save: Save
+
+ copied: Copied.
+ copyError: Failed to copy.
App:
footer:
@@ -183,3 +187,42 @@ MapPage:
southWest: south-west bound
west: west bound
northWest: north-west bound
+
+SettingsPage:
+ title: Settings
+
+ profile:
+ title: My profile
+ publicNotice: All of this information is public.
+ username:
+ label: Username
+ bio:
+ label: Bio
+ avatarUrl:
+ label: Avatar URL
+
+ apiKey:
+ title: My API Key
+ description: |
+ Here you find your API Key, for use in the OpenBikeSensor. You can to
+ copy and paste it into your sensor's configuration interface to allow
+ direct upload from the device.
+
+ Please protect your API Key carefully as it allows full control over
+ your account.
+ urlDescription: |
+ The API URL should be set to:
+ generateDescription: |
+ You can generate a new API Key here, which will invalidate the old one,
+ disconnecting all devices you used it on from your account.
+
+ key:
+ label: Personal API Key
+ empty: You have no API Key, please generate one below.
+ show: Show API Key
+
+ url:
+ label: API URL
+
+ generate: Generate new API key
+