diff options
author | luz paz <luzpaz@github.com> | 2022-07-28 07:11:38 -0400 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-09-05 12:59:54 +0000 |
commit | 9d26671f05275055619960a66981201ed660bdd2 (patch) | |
tree | e3d4f35333192763a5fbbb0ebcbf4e6125de221b /apps/files | |
parent | f496e471e06d546179e3f12af1e6cc9319db9bb3 (diff) | |
download | nextcloud-server-9d26671f05275055619960a66981201ed660bdd2.tar.gz nextcloud-server-9d26671f05275055619960a66981201ed660bdd2.zip |
Fix typos in apps/ subdirectory
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/css/files.scss | 2 | ||||
-rw-r--r-- | apps/files/js/breadcrumb.js | 2 | ||||
-rw-r--r-- | apps/files/js/file-upload.js | 2 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 6 | ||||
-rw-r--r-- | apps/files/js/jquery.fileupload.js | 6 | ||||
-rw-r--r-- | apps/files/lib/Command/RepairTree.php | 2 | ||||
-rw-r--r-- | apps/files/lib/Controller/ApiController.php | 2 | ||||
-rw-r--r-- | apps/files/lib/Notification/Notifier.php | 2 | ||||
-rw-r--r-- | apps/files/src/views/Sidebar.vue | 2 | ||||
-rw-r--r-- | apps/files/tests/js/filelistSpec.js | 6 |
10 files changed, 16 insertions, 16 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 075646cae80..416d744b502 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -1062,7 +1062,7 @@ table.dragshadow td.size { overflow: hidden; // we but the thumbnail in background to ensure // the name is the default click handler - // force back the cursor which have been overrided + // force back the cursor which has been overridden // and disabled for some reason... cursor: pointer !important; diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js index 5386d6ee4a4..1083be461bb 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -320,7 +320,7 @@ // depending on whether the menu was previously being shown or not. this.$el.find('.crumbmenu').addClass('hidden'); - // Show the crumbs to compress the siblings before hidding again the + // Show the crumbs to compress the siblings before hiding again the // crumbs. This is needed when the siblings expand to fill all the // available width, as in that case their old width would limit the // available width for the crumbs. diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index dc38f731108..69f9d9d0e63 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -12,7 +12,7 @@ * The file upload code uses several hooks to interact with blueimps jQuery file upload library: * 1. the core upload handling hooks are added when initializing the plugin, * 2. if the browser supports progress events they are added in a separate set after the initialization - * 3. every app can add it's own triggers for fileupload + * 3. every app can add its own triggers for fileupload * - files adds d'n'd handlers and also reacts to done events to add new rows to the filelist * - TODO pictures upload button * - TODO music upload button diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index d60def34ebf..77f67c64ed7 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2591,7 +2591,7 @@ * @param fileNames array of file names to move * @param targetPath absolute target path * @param callback function to call when movement is finished - * @param dir the dir path where fileNames are located (optionnal, will take current folder if undefined) + * @param dir the dir path where fileNames are located (optional, will take current folder if undefined) */ move: function(fileNames, targetPath, callback, dir) { var self = this; @@ -2683,7 +2683,7 @@ * @param fileNames array of file names to copy * @param targetPath absolute target path * @param callback to call when copy is finished with success - * @param dir the dir path where fileNames are located (optionnal, will take current folder if undefined) + * @param dir the dir path where fileNames are located (optional, will take current folder if undefined) */ copy: function(fileNames, targetPath, callback, dir) { var self = this; @@ -2712,7 +2712,7 @@ if ( dotIndex > 1) { var leftPartOfName = targetPathAndName.substr(0, dotIndex); var fileNumber = leftPartOfName.match(/\d+/); - // TRANSLATORS name that is appended to copied files with the same name, will be put in parenthesis and appened with a number if it is the second+ copy + // TRANSLATORS name that is appended to copied files with the same name, will be put in parenthesis and appended with a number if it is the second+ copy var copyNameLocalized = t('files', 'copy'); if (isNaN(fileNumber) ) { fileNumber++; diff --git a/apps/files/js/jquery.fileupload.js b/apps/files/js/jquery.fileupload.js index cc0c97ba3ed..9b382ccae39 100644 --- a/apps/files/js/jquery.fileupload.js +++ b/apps/files/js/jquery.fileupload.js @@ -420,7 +420,7 @@ _initProgressListener: function (options) { var that = this, xhr = options.xhr ? options.xhr() : $.ajaxSettings.xhr(); - // Accesss to the native XHR object is required to add event listeners + // Access to the native XHR object is required to add event listeners // for the upload progress event: if (xhr.upload) { $(xhr.upload).bind('progress', function (e) { @@ -1060,7 +1060,7 @@ data.fileInputClone = inputClone; $('<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(); // If the fileInput had focus before it was detached, // restore focus to the inputClone. @@ -1138,7 +1138,7 @@ dirReader = entry.createReader(); readEntries(); } else { - // Return an empy list for file system items + // Return an empty list for file system items // other than files or directories: dfd.resolve([]); } diff --git a/apps/files/lib/Command/RepairTree.php b/apps/files/lib/Command/RepairTree.php index 4fe64ef0edf..521fe3d6a4a 100644 --- a/apps/files/lib/Command/RepairTree.php +++ b/apps/files/lib/Command/RepairTree.php @@ -68,7 +68,7 @@ class RepairTree extends Command { ->where($query->expr()->eq('fileid', $query->createParameter('fileid'))); foreach ($rows as $row) { - $output->writeln("Path of file {$row['fileid']} is {$row['path']} but should be {$row['parent_path']}/{$row['name']} based on it's parent", OutputInterface::VERBOSITY_VERBOSE); + $output->writeln("Path of file {$row['fileid']} is {$row['path']} but should be {$row['parent_path']}/{$row['name']} based on its parent", OutputInterface::VERBOSITY_VERBOSE); if ($fix) { $fileId = $this->getFileId((int)$row['parent_storage'], $row['parent_path'] . '/' . $row['name']); diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index 45c7466e0c2..e29e81d6296 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -247,7 +247,7 @@ class ApiController extends Controller { } /** - * Returns a list of recently modifed files. + * Returns a list of recently modified files. * * @NoAdminRequired * diff --git a/apps/files/lib/Notification/Notifier.php b/apps/files/lib/Notification/Notifier.php index 8f885a995f9..1a7a3726229 100644 --- a/apps/files/lib/Notification/Notifier.php +++ b/apps/files/lib/Notification/Notifier.php @@ -278,7 +278,7 @@ class Notifier implements INotifier, IDismissableNotifier { throw new \InvalidArgumentException('Unhandled app'); } - // TODO: This should all be moved to a service that also the transferownershipContoller uses. + // TODO: This should all be moved to a service that also the transferownershipController uses. try { $transferOwnership = $this->mapper->getById((int)$notification->getObjectId()); } catch (DoesNotExistException $e) { diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index 78713bdd5c6..d4bf8cfde40 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -456,7 +456,7 @@ export default { /** * Allow to set the Sidebar as fullscreen from OCA.Files.Sidebar * - * @param {boolean} isFullScreen - Wether or not to render the Sidebar in fullscreen. + * @param {boolean} isFullScreen - Whether or not to render the Sidebar in fullscreen. */ setFullScreenMode(isFullScreen) { this.isFullScreen = isFullScreen diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index b1153fc0a01..a302121ae0d 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -266,7 +266,7 @@ describe('OCA.Files.FileList tests', function() { type: OCA.Files.FileActions.TYPE_INLINE, permissions: OC.PERMISSION_ALL, icon: function() { - // Specify icon for hitory button + // Specify icon for history button return OC.imagePath('core','actions/history'); }, actionHandler: actionStub @@ -2474,7 +2474,7 @@ describe('OCA.Files.FileList tests', function() { type: OCA.Files.FileActions.TYPE_INLINE, permissions: OC.PERMISSION_ALL, icon: function() { - // Specify icon for hitory button + // Specify icon for history button return OC.imagePath('core','actions/history'); }, actionHandler: actionStub @@ -2539,7 +2539,7 @@ describe('OCA.Files.FileList tests', function() { type: OCA.Files.FileActions.TYPE_INLINE, permissions: OC.PERMISSION_ALL, icon: function() { - // Specify icon for hitory button + // Specify icon for history button return OC.imagePath('core','actions/history'); }, actionHandler: actionStub |