From e1af2f47662cc1655bfbbdf741df5a2d2532015f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 24 May 2018 15:06:28 +0200 Subject: [PATCH] Rename sync clients section to mobile & desktop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/Settings/Manager.php | 2 +- tests/lib/Settings/ManagerTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index becc670c6f9..d8130ed6b5b 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -350,7 +350,7 @@ class Manager implements IManager { $sections = [ 0 => [new Section('personal-info', $this->l->t('Personal info'), 0, $this->url->imagePath('core', 'actions/info.svg'))], 5 => [new Section('security', $this->l->t('Security'), 0, $this->url->imagePath('settings', 'password.svg'))], - 15 => [new Section('sync-clients', $this->l->t('Sync clients'), 0, $this->url->imagePath('settings', 'change.svg'))], + 15 => [new Section('sync-clients', $this->l->t('Mobile & desktop'), 0, $this->url->imagePath('core', 'clients/phone.svg'))], ]; $legacyForms = \OC_App::getForms('personal'); diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php index d51a57598b3..a80aae526ce 100644 --- a/tests/lib/Settings/ManagerTest.php +++ b/tests/lib/Settings/ManagerTest.php @@ -150,13 +150,13 @@ class ManagerTest extends TestCase { ->willReturnMap([ ['core', 'actions/info.svg', '1'], ['settings', 'password.svg', '2'], - ['settings', 'change.svg', '3'], + ['core', 'clients/phone.svg', '3'], ]); $this->assertEquals([ 0 => [new Section('personal-info', 'Personal info', 0, '1')], 5 => [new Section('security', 'Security', 0, '2')], - 15 => [new Section('sync-clients', 'Sync clients', 0, '3')], + 15 => [new Section('sync-clients', 'Mobile & desktop', 0, '3')], 55 => [\OC::$server->query(\OCA\WorkflowEngine\Settings\Section::class)], ], $this->manager->getPersonalSections()); }