]> source.dussan.org Git - nextcloud-server.git/commitdiff
smb: rename textfield from root to subfolder
authorMartin <martin.mattel@diemattels.at>
Thu, 1 Jan 2015 20:06:22 +0000 (21:06 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 7 Jan 2015 19:54:05 +0000 (20:54 +0100)
"root" or "subfolder" -> "Remote subfolder" on selected storages

missed ftp...

apps/files_external/appinfo/app.php

index 707563096f883da09ce5c0d821635ed1811adb2f..0aafcad559a2773e2649ea07bdbd3b9e39da5836 100644 (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);