diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-05-26 11:18:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-26 11:18:47 +0200 |
commit | a27e2bfcfdc0267c23da7fdcaddda46d298d42af (patch) | |
tree | 7b8ba1b9e4d657bbe0a1f19215be3f5b58e17771 | |
parent | f0fdac807851823cb7aa29fcedfdd7de8b2733d8 (diff) | |
parent | 441cedf1df43d6fda0acc58abc52701ad57d53bc (diff) | |
download | nextcloud-server-a27e2bfcfdc0267c23da7fdcaddda46d298d42af.tar.gz nextcloud-server-a27e2bfcfdc0267c23da7fdcaddda46d298d42af.zip |
Merge pull request #9585 from nextcloud/feature/noid/rename-syncclients
Rename sync clients section to mobile & desktop
-rw-r--r-- | lib/private/Settings/Manager.php | 2 | ||||
-rw-r--r-- | tests/lib/Settings/ManagerTest.php | 8 |
2 files changed, 5 insertions, 5 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..5c4e2fe7a2c 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()); } @@ -199,13 +199,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->assertArraySubset([ 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')], ], $this->manager->getPersonalSections()); } |