Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing typos

Ilian Sapundshiev88f2d400581a
diff --git a/app/locales/en/core.json b/app/locales/en/core.json
index 8ddbbaa9e..ca1a8ff2b 100644
--- a/app/locales/en/core.json
+++ b/app/locales/en/core.json
@@ -366,9 +366,8 @@
"checkingThumbnails": "Checking thumbnails",
"loadingOrGeneratingThumbnails": "Loading or generating thumbnails...",
"copyingFilesFailed": "Copying files failed",
- "filesMovedSuccessfull": "Files moved successfull",
- "filesCopiedSuccessfull": "Files copied successfull",
- "allFilesMoveSuccessfully": "All files move successfully",
+ "filesMovedSuccessful": "Files moved successful",
+ "filesCopiedSuccessful": "Files copied successful",
"movingFilesFailed": "Moving files failed",
"loadingIndex": "Loading index ...",
"loadingIndexFailed": "Loading index failed",
diff --git a/app/reducers/io-actions.js b/app/reducers/io-actions.js
index cbc69ddb9..b3fc90f15 100644
--- a/app/reducers/io-actions.js
+++ b/app/reducers/io-actions.js
@@ -46,7 +46,7 @@ const actions = {
return true;
});
Promise.all(renameJobs).then(() => {
- dispatch(AppActions.showNotification(i18n.t('core:allFilesMoveSuccessfully')));
+ dispatch(AppActions.showNotification(i18n.t('core:filesMovedSuccessful')));
return true;
}).catch((err) => {
console.warn('Moving files failed with ' + err)
@@ -58,7 +58,7 @@ const actions = {
return true;
});
renameFilesPromise(moveJobs).then(() => {
- dispatch(AppActions.showNotification(i18n.t('core:filesMovedSuccessfull')));
+ dispatch(AppActions.showNotification(i18n.t('core:filesMovedSuccessful')));
const moveMetaJobs = [];
moveJobs.map((job) => {
dispatch(AppActions.reflectDeleteEntry(job[0])); // TODO moved files should be added to the index, if the target dir in index
@@ -87,7 +87,7 @@ const actions = {
return true;
});
copyFilesPromise(copyJobs).then(() => {
- dispatch(AppActions.showNotification(i18n.t('core:filesCopiedSuccessfull')));
+ dispatch(AppActions.showNotification(i18n.t('core:filesCopiedSuccessful')));
const copyMetaJobs = [];
copyJobs.map((job) => {
// dispatch(AppActions.reflectCopyEntry(job[0])); // TODO need only for the index if the target dir is indexed