From 9d26671f05275055619960a66981201ed660bdd2 Mon Sep 17 00:00:00 2001 From: luz paz Date: Thu, 28 Jul 2022 07:11:38 -0400 Subject: 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 Signed-off-by: nextcloud-command --- apps/files/js/filelist.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files/js/filelist.js') 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++; -- cgit v1.2.3