Merge pull request #8589 from fibsifan/files_external_sftp_port

rename URL-fields to Host for SFTP/FTP and SMB external Storage backends
This commit is contained in:
Robin McCorkell 2014-05-15 13:22:22 +01:00
commit a0f309bbd8
1 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\Dropbox', array(
OC_Mount_Config::registerBackend('\OC\Files\Storage\FTP', array( OC_Mount_Config::registerBackend('\OC\Files\Storage\FTP', array(
'backend' => 'FTP', 'backend' => 'FTP',
'configuration' => array( 'configuration' => array(
'host' => (string)$l->t('URL'), '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('Root'),
@ -108,7 +108,7 @@ if (!OC_Util::runningOnWindows()) {
OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB', array( OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB', array(
'backend' => 'SMB / CIFS', 'backend' => 'SMB / CIFS',
'configuration' => array( 'configuration' => array(
'host' => (string)$l->t('URL'), 'host' => (string)$l->t('Host'),
'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'),
@ -118,7 +118,7 @@ if (!OC_Util::runningOnWindows()) {
OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB_OC', array( OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB_OC', array(
'backend' => (string)$l->t('SMB / CIFS using OC login'), 'backend' => (string)$l->t('SMB / CIFS using OC login'),
'configuration' => array( 'configuration' => array(
'host' => (string)$l->t('URL'), '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('Root')),
@ -148,7 +148,7 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\OwnCloud', array(
OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array( OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array(
'backend' => 'SFTP', 'backend' => 'SFTP',
'configuration' => array( 'configuration' => array(
'host' => (string)$l->t('URL'), '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('Root'))));