@@ -108,17 +120,6 @@ export default function PersonalSettings() {
{t("settings-personal:api-keys.description")}
-
- Please, make sure you are on the
-
- latest version of CLI
- .
-
@@ -365,4 +366,5 @@ export const getServerSideProps = getTranslatedServerSideProps([
"settings",
"settings-personal",
"section-password",
+ "section-api-key"
]);
diff --git a/frontend/public/locales/en/section-api-key.json b/frontend/public/locales/en/section-api-key.json
new file mode 100644
index 000000000..3419744fe
--- /dev/null
+++ b/frontend/public/locales/en/section-api-key.json
@@ -0,0 +1,13 @@
+{
+ "api-keys": "Service Tokens",
+ "api-keys-description": "Every service token is specific to you, a certain project and a certain environment within this project.",
+ "add-new": "Add New Token",
+ "add-dialog": {
+ "title": "Add an API Key",
+ "description": "Specify the name and expiry period. When an API key is generated, you will only be able to see it once before it disappears. Make sure to save it somewhere.",
+ "name": "API Key Name",
+ "add": "Add API Key",
+ "copy-service-token": "Copy your API key",
+ "copy-service-token-description": "Once you close this popup, you will never see your API key again"
+ }
+}