Browse Source

misc: Fix some typos

Some of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Stefan Weil 8 years ago
parent
commit
ee5f5eebe5

+ 1 - 1
autotest-external.sh

@@ -218,7 +218,7 @@ EOF
 		stopFile=`echo "$startFile" | sed 's/start/stop/'`
 		echo "stop: $stopFile"
 		if [ -f $FILES_EXTERNAL_BACKEND_ENV_PATH/$stopFile ]; then
-			# execute stop file if existant
+			# execute stop file if existent
 			./$FILES_EXTERNAL_BACKEND_ENV_PATH/$stopFile
 		fi
 		if [ "$DOEXIT" ]; then

+ 1 - 1
lib/private/share/share.php

@@ -1265,7 +1265,7 @@ class Share extends Constants {
 	/**
 	 * validate expiration date if it meets all constraints
 	 *
-	 * @param string $expireDate well formate date string, e.g. "DD-MM-YYYY"
+	 * @param string $expireDate well formatted date string, e.g. "DD-MM-YYYY"
 	 * @param string $shareTime timestamp when the file was shared
 	 * @param string $itemType
 	 * @param string $itemSource

+ 1 - 1
settings/js/users/groups.js

@@ -31,7 +31,7 @@ GroupList = {
 
 	setUserCount: function (groupLiElement, usercount) {
 		if ($sortGroupBy !== 1) {
-			// If we don't sort by group count we dont display them either
+			// If we don't sort by group count we don't display them either
 			return;
 		}
 

+ 2 - 2
tests/core/command/encryption/changekeystorageroottest.php

@@ -74,9 +74,9 @@ class ChangeKeyStorageRootTest extends TestCase {
 		$this->outputInterface = $this->getMock('Symfony\Component\Console\Output\OutputInterface');
 		$this->userInterface = $this->getMock('\OCP\UserInterface');
 
-		$outputFormaterInterface = $this->getMock('Symfony\Component\Console\Formatter\OutputFormatterInterface');
+		$outputFormatterInterface = $this->getMock('Symfony\Component\Console\Formatter\OutputFormatterInterface');
 		$this->outputInterface->expects($this->any())->method('getFormatter')
-			->willReturn($outputFormaterInterface);
+			->willReturn($outputFormatterInterface);
 
 		$this->changeKeyStorageRoot = new ChangeKeyStorageRoot(
 			$this->view,