apps/files: Fix typos in comments (found and fixed by codespell)

This contribution is AGPL and MIT licensed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2016-03-09 15:14:05 +01:00
parent d0a70a9776
commit 692f312513
5 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -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 {

View File

@ -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);

View File

@ -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'));

View File

@ -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,