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 <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-07-03 13:02:51 +02:00
parent 11f0a5f655
commit ffdc2c73e4
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -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,