summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Service
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-18 09:53:02 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-18 16:40:53 -0500
commit1c0bffe87f578403b130015f8fee5560cc075b34 (patch)
treeddf334b5dfd362f9c905ed2e9ed27fd8aa584694 /apps/files_external/lib/Service
parentb072d2c49d6f61c2b55abf12e04bdf2166dbd4f4 (diff)
downloadnextcloud-server-1c0bffe87f578403b130015f8fee5560cc075b34.tar.gz
nextcloud-server-1c0bffe87f578403b130015f8fee5560cc075b34.zip
Fix translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external/lib/Service')
-rw-r--r--apps/files_external/lib/Service/StoragesService.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/Service/StoragesService.php b/apps/files_external/lib/Service/StoragesService.php
index 43839a17d76..4e38ea96259 100644
--- a/apps/files_external/lib/Service/StoragesService.php
+++ b/apps/files_external/lib/Service/StoragesService.php
@@ -147,14 +147,14 @@ abstract class StoragesService {
$mount = $this->dbConfig->getMountById($id);
if (!is_array($mount)) {
- throw new NotFoundException('Storage with id "' . $id . '" not found');
+ throw new NotFoundException('Storage with ID "' . $id . '" not found');
}
$config = $this->getStorageConfigFromDBMount($mount);
if ($this->isApplicable($config)) {
return $config;
} else {
- throw new NotFoundException('Storage with id "' . $id . '" not found');
+ throw new NotFoundException('Storage with ID "' . $id . '" not found');
}
}
@@ -377,7 +377,7 @@ abstract class StoragesService {
$existingMount = $this->dbConfig->getMountById($id);
if (!is_array($existingMount)) {
- throw new NotFoundException('Storage with id "' . $id . '" not found while updating storage');
+ throw new NotFoundException('Storage with ID "' . $id . '" not found while updating storage');
}
$oldStorage = $this->getStorageConfigFromDBMount($existingMount);
@@ -456,7 +456,7 @@ abstract class StoragesService {
$existingMount = $this->dbConfig->getMountById($id);
if (!is_array($existingMount)) {
- throw new NotFoundException('Storage with id "' . $id . '" not found');
+ throw new NotFoundException('Storage with ID "' . $id . '" not found');
}
$this->dbConfig->removeMount($id);