Browse Source

Task/improve language localization in users table of admin control (#7245)

* Improve language localization

* Update changelog
pull/7246/head
Thomas Kaul 1 week ago
committed by GitHub
parent
commit
0cb5382052
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/client/src/app/components/admin-users/admin-users.component.ts

1
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 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 overview of the admin control panel
- Set the change detection strategy to `OnPush` in the portfolio page - 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`) - Improved the language localization for German (`de`)
- Upgraded `envalid` from version `8.1.1` to `8.2.0` - Upgraded `envalid` from version `8.1.1` to `8.2.0`
- Upgraded `stripe` from version `21.0.1` to `22.2.3` - Upgraded `stripe` from version `21.0.1` to `22.2.3`

2
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())) < return Math.abs(differenceInSeconds(parseISO(aDateString), new Date())) <
60 60
? 'just now' ? $localize`just now`
: distanceString; : distanceString;
} }

Loading…
Cancel
Save