aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Profile/ProfileManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Profile/ProfileManager.php')
-rw-r--r--lib/private/Profile/ProfileManager.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/Profile/ProfileManager.php b/lib/private/Profile/ProfileManager.php
index 557ae87bafe..c4317b294f3 100644
--- a/lib/private/Profile/ProfileManager.php
+++ b/lib/private/Profile/ProfileManager.php
@@ -396,31 +396,31 @@ class ProfileManager {
$propertiesMetadata = [
IAccountManager::PROPERTY_ADDRESS => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('Address'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('Address'),
],
IAccountManager::PROPERTY_AVATAR => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('Profile picture'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('Profile picture'),
],
IAccountManager::PROPERTY_BIOGRAPHY => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('About'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('About'),
],
IAccountManager::PROPERTY_DISPLAYNAME => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('Full name'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('Full name'),
],
IAccountManager::PROPERTY_HEADLINE => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('Headline'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('Headline'),
],
IAccountManager::PROPERTY_ORGANISATION => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('Organisation'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('Organisation'),
],
IAccountManager::PROPERTY_ROLE => [
'appId' => self::CORE_APP_ID,
- 'displayId' => $this->l10nFactory->get(self::CORE_APP_ID)->t('Role'),
+ 'displayId' => $this->l10nFactory->get('lib')->t('Role'),
],
];