Commit edcba11a authored by Martin's avatar Martin Committed by Morris Jobke
Browse files

smb: rename textfield from root to subfolder

"root" or "subfolder" -> "Remote subfolder" on selected storages

missed ftp...
parent bfb6e350
...@@ -90,7 +90,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\FTP', array( ...@@ -90,7 +90,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\FTP', array(
'host' => (string)$l->t('Host'), 'host' => (string)$l->t('Host'),
'user' => (string)$l->t('Username'), 'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'), 'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root'), 'root' => '&'.$l->t('Remote subfolder'),
'secure' => '!'.$l->t('Secure ftps://')), 'secure' => '!'.$l->t('Secure ftps://')),
'has_dependencies' => true)); 'has_dependencies' => true));
...@@ -132,7 +132,7 @@ if (!OC_Util::runningOnWindows()) { ...@@ -132,7 +132,7 @@ if (!OC_Util::runningOnWindows()) {
'user' => (string)$l->t('Username'), 'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'), 'password' => '*'.$l->t('Password'),
'share' => (string)$l->t('Share'), 'share' => (string)$l->t('Share'),
'root' => '&'.$l->t('Root')), 'root' => '&'.$l->t('Remote subfolder')),
'has_dependencies' => true)); 'has_dependencies' => true));
OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB_OC', array( OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB_OC', array(
...@@ -142,7 +142,7 @@ if (!OC_Util::runningOnWindows()) { ...@@ -142,7 +142,7 @@ if (!OC_Util::runningOnWindows()) {
'host' => (string)$l->t('Host'), 'host' => (string)$l->t('Host'),
'username_as_share' => '!'.$l->t('Username as share'), 'username_as_share' => '!'.$l->t('Username as share'),
'share' => '&'.$l->t('Share'), 'share' => '&'.$l->t('Share'),
'root' => '&'.$l->t('Root')), 'root' => '&'.$l->t('Remote subfolder')),
'has_dependencies' => true)); 'has_dependencies' => true));
} }
...@@ -153,7 +153,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\DAV', array( ...@@ -153,7 +153,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\DAV', array(
'host' => (string)$l->t('URL'), 'host' => (string)$l->t('URL'),
'user' => (string)$l->t('Username'), 'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'), 'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root'), 'root' => '&'.$l->t('Remote subfolder'),
'secure' => '!'.$l->t('Secure https://')), 'secure' => '!'.$l->t('Secure https://')),
'has_dependencies' => true)); 'has_dependencies' => true));
...@@ -175,7 +175,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array( ...@@ -175,7 +175,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array(
'host' => (string)$l->t('Host'), 'host' => (string)$l->t('Host'),
'user' => (string)$l->t('Username'), 'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'), 'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root')))); 'root' => '&'.$l->t('Remote subfolder'))));
$mountProvider = new \OCA\Files_External\Config\ConfigAdapter(); $mountProvider = new \OCA\Files_External\Config\ConfigAdapter();
\OC::$server->getMountProviderCollection()->registerProvider($mountProvider); \OC::$server->getMountProviderCollection()->registerProvider($mountProvider);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment