From 0cb5382052a96c343ea0b569dee7aa50c8d4dd88 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 5 Jul 2026 14:41:18 +0200 Subject: [PATCH] Task/improve language localization in users table of admin control (#7245) * Improve language localization * Update changelog --- CHANGELOG.md | 1 + .../src/app/components/admin-users/admin-users.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b870e192c..f1f165ada 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Set the change detection strategy to `OnPush` in the prompt dialog component - Set the change detection strategy to `OnPush` in the overview of the admin control panel - Set the change detection strategy to `OnPush` in the portfolio page +- Improved the language localization in the users table of the admin control panel - Improved the language localization for German (`de`) - Upgraded `envalid` from version `8.1.1` to `8.2.0` - Upgraded `stripe` from version `21.0.1` to `22.2.3` diff --git a/apps/client/src/app/components/admin-users/admin-users.component.ts b/apps/client/src/app/components/admin-users/admin-users.component.ts index 3f0afcbb1..5460745f5 100644 --- a/apps/client/src/app/components/admin-users/admin-users.component.ts +++ b/apps/client/src/app/components/admin-users/admin-users.component.ts @@ -208,7 +208,7 @@ export class GfAdminUsersComponent implements OnInit { return Math.abs(differenceInSeconds(parseISO(aDateString), new Date())) < 60 - ? 'just now' + ? $localize`just now` : distanceString; }