From ffdc2c73e457f8a500c5022d56d37479cf38715a Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 3 Jul 2025 13:02:51 +0200 Subject: [PATCH] fix(l10n): our default language is American English so adjust the spelling For British English we have the `en-GB` translations, so the default should be American English which spells it `organization` not `organisation`. Signed-off-by: Ferdinand Thiessen --- lib/private/Profile/ProfileManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Profile/ProfileManager.php b/lib/private/Profile/ProfileManager.php index 84c7ea48373..1ade208fbcf 100644 --- a/lib/private/Profile/ProfileManager.php +++ b/lib/private/Profile/ProfileManager.php @@ -350,7 +350,7 @@ class ProfileManager implements IProfileManager { } /** - * Return the profile config of the target user with additional medatata, + * Return the profile config of the target user with additional metadata, * if a config does not already exist a default config is created and returned */ public function getProfileConfigWithMetadata(IUser $targetUser, ?IUser $visitingUser): array { @@ -399,7 +399,7 @@ class ProfileManager implements IProfileManager { ], IAccountManager::PROPERTY_ORGANISATION => [ 'appId' => self::CORE_APP_ID, - 'displayId' => $this->l10nFactory->get('lib')->t('Organisation'), + 'displayId' => $this->l10nFactory->get('lib')->t('Organization'), ], IAccountManager::PROPERTY_ROLE => [ 'appId' => self::CORE_APP_ID,