Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-04-12 13:52:51 +0300
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-04-12 13:52:51 +0300
commit16df1c5188d5a312ef5db7db427961597fe56ebe (patch)
treed95646f164a789d9e6f1b354b9a6472acb72f53f
parentfdee771aca39f394c940edfcaa5a15826b078974 (diff)
apps: Fix typos (found by codespell) (#23862)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r--apps/files_sharing/ajax/shareinfo.php8
-rw-r--r--apps/files_sharing/js/share.js2
-rw-r--r--apps/files_sharing/lib/external/manager.php2
-rw-r--r--apps/files_sharing/tests/cache.php2
-rw-r--r--apps/files_versions/tests/versions.php4
-rw-r--r--apps/user_ldap/lib/wizard.php2
-rw-r--r--apps/user_ldap/tests/mapping/abstractmappingtest.php2
7 files changed, 11 insertions, 11 deletions
diff --git a/apps/files_sharing/ajax/shareinfo.php b/apps/files_sharing/ajax/shareinfo.php
index e531e84ebbc..e15e12fd287 100644
--- a/apps/files_sharing/ajax/shareinfo.php
+++ b/apps/files_sharing/ajax/shareinfo.php
@@ -71,12 +71,12 @@ function getChildInfo($dir, $view) {
$children = $view->getDirectoryContent($dir->getPath());
$result = array();
foreach ($children as $child) {
- $formated = \OCA\Files\Helper::formatFileInfo($child);
+ $formatted = \OCA\Files\Helper::formatFileInfo($child);
if ($child->getType() === 'dir') {
- $formated['children'] = getChildInfo($child, $view);
+ $formatted['children'] = getChildInfo($child, $view);
}
- $formated['mtime'] = $formated['mtime'] / 1000;
- $result[] = $formated;
+ $formatted['mtime'] = $formatted['mtime'] / 1000;
+ $result[] = $formatted;
}
return $result;
}
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 5bfc8e1d4a2..07ec5f766a1 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -38,7 +38,7 @@
var tr = oldCreateRow.apply(this, arguments);
var sharePermissions = fileData.permissions;
if (fileData.mountType && fileData.mountType === "external-root"){
- // for external storages we cant use the permissions of the mountpoint
+ // for external storages we can't use the permissions of the mountpoint
// instead we show all permissions and only use the share permissions from the mountpoint to handle resharing
sharePermissions = sharePermissions | (OC.PERMISSION_ALL & ~OC.PERMISSION_SHARE);
}
diff --git a/apps/files_sharing/lib/external/manager.php b/apps/files_sharing/lib/external/manager.php
index 71d6788cb52..7dc9f66f114 100644
--- a/apps/files_sharing/lib/external/manager.php
+++ b/apps/files_sharing/lib/external/manager.php
@@ -384,7 +384,7 @@ class Manager {
}
/**
- * return a list of shares wich are accepted by the user
+ * return a list of shares which are accepted by the user
*
* @return array list of accepted server-to-server shares
*/
diff --git a/apps/files_sharing/tests/cache.php b/apps/files_sharing/tests/cache.php
index c137ba0728d..fcc5a343a03 100644
--- a/apps/files_sharing/tests/cache.php
+++ b/apps/files_sharing/tests/cache.php
@@ -193,7 +193,7 @@ class Test_Files_Sharing_Cache extends TestCase {
array('name' => 'shareddir', 'path' => ''),
)
),
- array('%nonexistant%',
+ array('%nonexistent%',
array(
)
),
diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/versions.php
index f6658e092bd..9d0ffb87946 100644
--- a/apps/files_versions/tests/versions.php
+++ b/apps/files_versions/tests/versions.php
@@ -224,7 +224,7 @@ class Test_Files_Versioning extends \Test\TestCase {
),
11 // size of all deleted files (every file has the size 1)
),
- // third set of versions, with some gaps inbetween
+ // third set of versions, with some gaps between
array(
array(
// first slice (10sec) keep one version every 2 seconds
@@ -605,7 +605,7 @@ class Test_Files_Versioning extends \Test\TestCase {
/**
* @param string $hookName name of hook called
- * @param string $params variable to recieve parameters provided by hook
+ * @param string $params variable to receive parameters provided by hook
*/
private function connectMockHooks($hookName, &$params) {
if ($hookName === null) {
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 5235011fb96..0b475ee7143 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -221,7 +221,7 @@ class Wizard extends LDAPUtility {
$count = intval($this->countUsersWithAttribute($attr, true));
if($count > 0) {
//no change, but we sent it back to make sure the user interface
- //is still correct, even if the ajax call was cancelled inbetween
+ //is still correct, even if the ajax call was cancelled meanwhile
$this->result->addChange('ldap_display_name', $attr);
return $this->result;
}
diff --git a/apps/user_ldap/tests/mapping/abstractmappingtest.php b/apps/user_ldap/tests/mapping/abstractmappingtest.php
index c6427be516b..a931a07a44c 100644
--- a/apps/user_ldap/tests/mapping/abstractmappingtest.php
+++ b/apps/user_ldap/tests/mapping/abstractmappingtest.php
@@ -112,7 +112,7 @@ abstract class AbstractMappingTest extends \Test\TestCase {
}
/**
- * tests unmap() for both successfuly and not successful removing of
+ * tests unmap() for both successful and unsuccessful removing of
* mapping entries
*/
public function testUnmap() {