Merge #13074 from branch 'mmattel-smb_rename_text_root_to_subfolder'

This commit is contained in:
Morris Jobke 2015-01-07 20:54:25 +01:00
commit 8b95494073
1 changed files with 5 additions and 5 deletions

View File

@ -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);