From d3f9bb4ee852a6622c113928a238707e3f154745 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 26 Mar 2026 11:19:03 +0100 Subject: [PATCH] feat: add i18n keys for API token expiry notifications --- pkg/i18n/lang/en.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkg/i18n/lang/en.json b/pkg/i18n/lang/en.json index ec79274bc..eaf22b241 100644 --- a/pkg/i18n/lang/en.json +++ b/pkg/i18n/lang/en.json @@ -133,6 +133,19 @@ "working_on_it": "We've got the error message on our radar and are on it to get it sorted out soon." } }, + "api_token": { + "expiring": { + "week": { + "subject": "Your API token \"%[1]s\" expires in 7 days", + "message": "Your API token \"%[1]s\" will expire on %[2]s. If you still need it, please create a new token before it expires." + }, + "day": { + "subject": "Your API token \"%[1]s\" expires tomorrow", + "message": "Your API token \"%[1]s\" will expire on %[2]s. If you still need it, please create a new token before it expires." + }, + "action": "Manage API Tokens" + } + }, "common": { "have_nice_day": "Have a nice day!", "copy_url": "If the button above doesn't work, copy the url below and paste it in your browser's address bar:",