summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/l10n/vi.php1
-rw-r--r--apps/files_external/lib/ftp.php4
-rw-r--r--apps/files_external/lib/swift.php4
-rw-r--r--apps/files_external/lib/webdav.php4
4 files changed, 7 insertions, 6 deletions
diff --git a/apps/files_external/l10n/vi.php b/apps/files_external/l10n/vi.php
index 80328bf957a..0160692cb65 100644
--- a/apps/files_external/l10n/vi.php
+++ b/apps/files_external/l10n/vi.php
@@ -3,6 +3,7 @@
"Error configuring Dropbox storage" => "Lỗi cấu hình lưu trữ Dropbox ",
"Grant access" => "Cấp quyền truy cập",
"Fill out all required fields" => "Điền vào tất cả các trường bắt buộc",
+"Please provide a valid Dropbox app key and secret." => "Xin vui lòng cung cấp một ứng dụng Dropbox hợp lệ và mã bí mật.",
"Error configuring Google Drive storage" => "Lỗi cấu hình lưu trữ Google Drive",
"External Storage" => "Lưu trữ ngoài",
"Mount point" => "Điểm gắn",
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php
index 0b60d42219a..951dfd7f3cc 100644
--- a/apps/files_external/lib/ftp.php
+++ b/apps/files_external/lib/ftp.php
@@ -21,8 +21,8 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
$this->host=$params['host'];
$this->user=$params['user'];
$this->password=$params['password'];
- if(isset($params['secure'])){
- if(is_string($params['secure'])){
+ if(isset($params['secure'])) {
+ if(is_string($params['secure'])) {
$this->secure = ($params['secure'] === 'true');
}else{
$this->secure = (bool)$params['secure'];
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index 844b54aaeea..d7ab38fbe2a 100644
--- a/apps/files_external/lib/swift.php
+++ b/apps/files_external/lib/swift.php
@@ -274,8 +274,8 @@ class SWIFT extends \OC\Files\Storage\Common{
$this->host=$params['host'];
$this->user=$params['user'];
$this->root=isset($params['root'])?$params['root']:'/';
- if(isset($params['secure'])){
- if(is_string($params['secure'])){
+ if(isset($params['secure'])) {
+ if(is_string($params['secure'])) {
$this->secure = ($params['secure'] === 'true');
}else{
$this->secure = (bool)$params['secure'];
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 5fc0111f2ae..973c95fe58b 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -30,8 +30,8 @@ class DAV extends \OC\Files\Storage\Common{
$this->host=$host;
$this->user=$params['user'];
$this->password=$params['password'];
- if(isset($params['secure'])){
- if(is_string($params['secure'])){
+ if(isset($params['secure'])) {
+ if(is_string($params['secure'])) {
$this->secure = ($params['secure'] === 'true');
}else{
$this->secure = (bool)$params['secure'];