From 6df48c1413a14516e7ee8919f33fbc13f0141966 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 1 Aug 2026 02:39:59 +0200 Subject: Show and extend the elevation window A banner appears while elevated, counting down in minutes and carrying extend and drop controls. Three extensions of 30 minutes are allowed, so the window is at most two hours without a fresh code; a code resets the budget. The countdown is advisory, the server-side check authoritative, so it says "expired" rather than vanishing. The post-login flash tells an admin the timer has started. --- config/locales/en.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config/locales/en.yml') diff --git a/config/locales/en.yml b/config/locales/en.yml index 9a8041bf..e4c7ecc4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -589,6 +589,9 @@ en: removed: "%{lang} translation removed from the draft. Publish to make this permanent." elevation: dropped: "Administrative rights dropped." + renewed: "Administrative rights extended by %{minutes} minutes. %{left} extensions left." + cannot_renew: "Cannot extend. Request the rights again with a current code." + granted_at_login: "Signed in. Administrative rights last %{minutes} minutes." assets: index: @@ -710,3 +713,10 @@ en: log_out: "Log out" social_meta: site_description: "The Chaos Computer Club is a galactic community of life forms campaigning for freedom of information and the assessment of the impact of technology." + elevation_banner: + active: "Administrative rights active —" + minutes_short: "%{count} min left" + less_than_a_minute: "less than 1 min" + expired: "expired" + renew: "Extend" + drop: "Drop" -- cgit v1.3