diff options
author | szaimen <szaimen@e.mail.de> | 2021-05-20 12:13:04 +0200 |
---|---|---|
committer | szaimen <szaimen@e.mail.de> | 2021-05-20 12:13:04 +0200 |
commit | 35d978c2fca0b4ae7961e44a3a9e1a4f77fad6dc (patch) | |
tree | 9ab67411941c1ae6ac456e0ec879f1e1852b40fa /apps/files_external | |
parent | 7ffee26aa8768736593c77dcb12d17978a6e06b2 (diff) | |
download | nextcloud-server-35d978c2fca0b4ae7961e44a3a9e1a4f77fad6dc.tar.gz nextcloud-server-35d978c2fca0b4ae7961e44a3a9e1a4f77fad6dc.zip |
Rename External storages to External storage
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/appinfo/app.php | 2 | ||||
-rw-r--r-- | apps/files_external/js/app.js | 2 | ||||
-rw-r--r-- | apps/files_external/js/mountsfilelist.js | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Service/GlobalStoragesService.php | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Service/LegacyStoragesService.php | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Service/StoragesService.php | 4 | ||||
-rw-r--r-- | apps/files_external/lib/Service/UserStoragesService.php | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Settings/Section.php | 2 | ||||
-rw-r--r-- | apps/files_external/templates/settings.php | 4 | ||||
-rw-r--r-- | apps/files_external/tests/Settings/SectionTest.php | 6 | ||||
-rw-r--r-- | apps/files_external/tests/js/mountsfilelistSpec.js | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index f8f7d377bc7..15254b29002 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -43,7 +43,7 @@ $appContainer = \OCA\Files_External\MountConfig::$app->getContainer(); 'appname' => 'files_external', 'script' => 'list.php', 'order' => 30, - 'name' => $l->t('External storages'), + 'name' => $l->t('External storage'), ]; }); diff --git a/apps/files_external/js/app.js b/apps/files_external/js/app.js index cf74ae350d7..4f91e2e78b0 100644 --- a/apps/files_external/js/app.js +++ b/apps/files_external/js/app.js @@ -34,7 +34,7 @@ OCA.Files_External.App = { ); this._extendFileList(this.fileList); - this.fileList.appName = t('files_external', 'External storages'); + this.fileList.appName = t('files_external', 'External storage'); return this.fileList; }, diff --git a/apps/files_external/js/mountsfilelist.js b/apps/files_external/js/mountsfilelist.js index 034c29c05c2..c5817a916f6 100644 --- a/apps/files_external/js/mountsfilelist.js +++ b/apps/files_external/js/mountsfilelist.js @@ -28,7 +28,7 @@ FileList.prototype = _.extend({}, OCA.Files.FileList.prototype, /** @lends OCA.Files_External.FileList.prototype */ { - appName: 'External storages', + appName: 'External storage', _allowSelection: false, diff --git a/apps/files_external/lib/Service/GlobalStoragesService.php b/apps/files_external/lib/Service/GlobalStoragesService.php index 22c366d5bb3..2c195bd8694 100644 --- a/apps/files_external/lib/Service/GlobalStoragesService.php +++ b/apps/files_external/lib/Service/GlobalStoragesService.php @@ -33,7 +33,7 @@ use OC\Files\Filesystem; use OCA\Files_External\Lib\StorageConfig; /** - * Service class to manage global external storages + * Service class to manage global external storage */ class GlobalStoragesService extends StoragesService { /** diff --git a/apps/files_external/lib/Service/LegacyStoragesService.php b/apps/files_external/lib/Service/LegacyStoragesService.php index 825921832cf..60f6118284a 100644 --- a/apps/files_external/lib/Service/LegacyStoragesService.php +++ b/apps/files_external/lib/Service/LegacyStoragesService.php @@ -97,7 +97,7 @@ abstract class LegacyStoragesService { } /** - * Read the external storages config + * Read the external storage config * * @return StorageConfig[] map of storage id to storage config */ diff --git a/apps/files_external/lib/Service/StoragesService.php b/apps/files_external/lib/Service/StoragesService.php index 334b1c5041a..aed05e2725a 100644 --- a/apps/files_external/lib/Service/StoragesService.php +++ b/apps/files_external/lib/Service/StoragesService.php @@ -45,7 +45,7 @@ use OCP\Files\StorageNotAvailableException; use OCP\ILogger; /** - * Service class to manage external storages + * Service class to manage external storage */ abstract class StoragesService { @@ -125,7 +125,7 @@ abstract class StoragesService { } /** - * Read the external storages config + * Read the external storage config * * @return array map of storage id to storage config */ diff --git a/apps/files_external/lib/Service/UserStoragesService.php b/apps/files_external/lib/Service/UserStoragesService.php index 138876f4e1c..770a4f25e03 100644 --- a/apps/files_external/lib/Service/UserStoragesService.php +++ b/apps/files_external/lib/Service/UserStoragesService.php @@ -36,7 +36,7 @@ use OCP\Files\Config\IUserMountCache; use OCP\IUserSession; /** - * Service class to manage user external storages + * Service class to manage user external storage * (aka personal storages) */ class UserStoragesService extends StoragesService { diff --git a/apps/files_external/lib/Settings/Section.php b/apps/files_external/lib/Settings/Section.php index 50f9707118e..02cb12c5b39 100644 --- a/apps/files_external/lib/Settings/Section.php +++ b/apps/files_external/lib/Settings/Section.php @@ -60,7 +60,7 @@ class Section implements IIconSection { * @return string */ public function getName() { - return $this->l->t('External storages'); + return $this->l->t('External storage'); } /** diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 45858709a02..a9bf5bd3af0 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -101,7 +101,7 @@ $canCreateMounts = $_['visibilityType'] === BackendService::VISIBILITY_ADMIN || </div> <form data-can-create="<?php echo $canCreateMounts?'true':'false' ?>" id="files_external" class="section" data-encryption-enabled="<?php echo $_['encryptionEnabled']?'true': 'false'; ?>"> - <h2 class="inlineblock" data-anchor-name="external-storage"><?php p($l->t('External storages')); ?></h2> + <h2 class="inlineblock" data-anchor-name="external-storage"><?php p($l->t('External storage')); ?></h2> <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-external-storage')); ?>"></a> <p class="settings-hint"><?php p($l->t('External storage enables you to mount external storage services and devices as secondary Nextcloud storage devices. You may also allow users to mount their own external storage services.')); ?></p> <?php if (isset($_['dependencies']) and ($_['dependencies'] !== '') and $canCreateMounts) { @@ -207,7 +207,7 @@ $canCreateMounts = $_['visibilityType'] === BackendService::VISIBILITY_ADMIN || <form autocomplete="false" action="#" id="global_credentials" method="post"> <h2><?php p($l->t('Global credentials')); ?></h2> - <p class="settings-hint"><?php p($l->t('Global credentials can be used to authenticate with multiple external storages that have the same credentials.')); ?></p> + <p class="settings-hint"><?php p($l->t('Global credentials can be used to authenticate with multiple external storage that have the same credentials.')); ?></p> <input type="text" name="username" autocomplete="false" value="<?php p($_['globalCredentials']['user']); ?>" diff --git a/apps/files_external/tests/Settings/SectionTest.php b/apps/files_external/tests/Settings/SectionTest.php index fe9dde4f54a..96bf1cd1eb9 100644 --- a/apps/files_external/tests/Settings/SectionTest.php +++ b/apps/files_external/tests/Settings/SectionTest.php @@ -57,10 +57,10 @@ class SectionTest extends TestCase { $this->l ->expects($this->once()) ->method('t') - ->with('External storages') - ->willReturn('External storages'); + ->with('External storage') + ->willReturn('External storage'); - $this->assertSame('External storages', $this->section->getName()); + $this->assertSame('External storage', $this->section->getName()); } public function testGetPriority() { diff --git a/apps/files_external/tests/js/mountsfilelistSpec.js b/apps/files_external/tests/js/mountsfilelistSpec.js index 309c87948cd..cbc7ff415e3 100644 --- a/apps/files_external/tests/js/mountsfilelistSpec.js +++ b/apps/files_external/tests/js/mountsfilelistSpec.js @@ -72,7 +72,7 @@ describe('OCA.Files_External.FileList tests', function() { alertStub.restore(); }); - describe('loading file list for external storages', function() { + describe('loading file list for external storage', function() { var ocsResponse; var reloading; |