aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-09 16:43:05 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-09 16:43:05 +0100
commitfe3ffcbfc3b45928a9bc7b92054c2a8866fa83f6 (patch)
tree71bb2e8f77dc7e36d81ca4e93a3911dfbe41dfe5 /apps
parent2098573614d1a8a78ee5b7fdcd527c7ed0844079 (diff)
parent692f312513158edf4cf99607e6d5437d139003c7 (diff)
downloadnextcloud-server-fe3ffcbfc3b45928a9bc7b92054c2a8866fa83f6.tar.gz
nextcloud-server-fe3ffcbfc3b45928a9bc7b92054c2a8866fa83f6.zip
Merge pull request #23026 from stweil/master
apps/files: Fix typos in comments (found and fixed by codespell)
Diffstat (limited to 'apps')
-rw-r--r--apps/files/appinfo/update.php2
-rw-r--r--apps/files/css/detailsView.css4
-rw-r--r--apps/files/js/filelist.js2
-rw-r--r--apps/files/js/jquery.fileupload.js2
-rw-r--r--apps/files/js/mainfileinfodetailview.js2
5 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/appinfo/update.php b/apps/files/appinfo/update.php
index 72aff4cd0d4..621ef7d2987 100644
--- a/apps/files/appinfo/update.php
+++ b/apps/files/appinfo/update.php
@@ -27,7 +27,7 @@ $installedVersion = \OC::$server->getConfig()->getAppValue('files', 'installed_v
$ocVersion = explode('.', \OC::$server->getSystemConfig()->getValue('version'));
/**
- * In case encryption was not enabled, we accidently set encrypted = 1 for
+ * In case encryption was not enabled, we accidentally set encrypted = 1 for
* files inside mount points, since 8.1.0. This breaks opening the files in
* 8.1.1 because we fixed the code that checks if a file is encrypted.
* In order to fix the file, we need to reset the flag of the file. However,
diff --git a/apps/files/css/detailsView.css b/apps/files/css/detailsView.css
index c65107937da..c77bb28c774 100644
--- a/apps/files/css/detailsView.css
+++ b/apps/files/css/detailsView.css
@@ -8,7 +8,7 @@
}
#app-sidebar .mainFileInfoView {
- margin-right: 20px; /* accomodate for close icon */
+ margin-right: 20px; /* accommodate for close icon */
float:left;
display:block;
width: 100%;
@@ -26,7 +26,7 @@
}
#app-sidebar .thumbnailContainer.image.portrait {
- margin: 0; /* if we dont fit the image anyway we give it back the margin */
+ margin: 0; /* if we don't fit the image anyway we give it back the margin */
}
#app-sidebar .image .thumbnail {
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index fcdf6caaa59..bfcc77d8999 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -468,7 +468,7 @@
actionsWidth += $(action).outerWidth();
});
- // substract app navigation toggle when visible
+ // subtract app navigation toggle when visible
containerWidth -= $('#app-navigation-toggle').width();
this.breadcrumb.setMaxWidth(containerWidth - actionsWidth - 10);
diff --git a/apps/files/js/jquery.fileupload.js b/apps/files/js/jquery.fileupload.js
index f9f6cc3a382..d7f19b17550 100644
--- a/apps/files/js/jquery.fileupload.js
+++ b/apps/files/js/jquery.fileupload.js
@@ -942,7 +942,7 @@
var inputClone = input.clone(true);
$('<form></form>').append(inputClone)[0].reset();
// Detaching allows to insert the fileInput on another form
- // without loosing the file input value:
+ // without losing the file input value:
input.after(inputClone).detach();
// Avoid memory leaks with the detached file input:
$.cleanData(input.unbind('remove'));
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 69c796e492f..1bcb4873c53 100644
--- a/apps/files/js/mainfileinfodetailview.js
+++ b/apps/files/js/mainfileinfodetailview.js
@@ -196,7 +196,7 @@
}
// only set background when we have an actual preview
- // when we dont have a preview we show the mime icon in the error handler
+ // when we don't have a preview we show the mime icon in the error handler
$iconDiv.css({
'background-image': 'url("' + previewUrl + '")',
height: (targetHeight > smallPreviewSize)? 'auto': targetHeight,