Skip to content
Snippets Groups Projects
Commit edcba11a authored by Martin Mattel's avatar Martin Mattel 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
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\FTP', array(
'host' => (string)$l->t('Host'),
'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root'),
'root' => '&'.$l->t('Remote subfolder'),
'secure' => '!'.$l->t('Secure ftps://')),
'has_dependencies' => true));
......@@ -132,7 +132,7 @@ if (!OC_Util::runningOnWindows()) {
'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'),
'share' => (string)$l->t('Share'),
'root' => '&'.$l->t('Root')),
'root' => '&'.$l->t('Remote subfolder')),
'has_dependencies' => true));
OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB_OC', array(
......@@ -142,7 +142,7 @@ if (!OC_Util::runningOnWindows()) {
'host' => (string)$l->t('Host'),
'username_as_share' => '!'.$l->t('Username as share'),
'share' => '&'.$l->t('Share'),
'root' => '&'.$l->t('Root')),
'root' => '&'.$l->t('Remote subfolder')),
'has_dependencies' => true));
}
......@@ -153,7 +153,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\DAV', array(
'host' => (string)$l->t('URL'),
'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root'),
'root' => '&'.$l->t('Remote subfolder'),
'secure' => '!'.$l->t('Secure https://')),
'has_dependencies' => true));
......@@ -175,7 +175,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array(
'host' => (string)$l->t('Host'),
'user' => (string)$l->t('Username'),
'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root'))));
'root' => '&'.$l->t('Remote subfolder'))));
$mountProvider = new \OCA\Files_External\Config\ConfigAdapter();
\OC::$server->getMountProviderCollection()->registerProvider($mountProvider);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment