Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l10n: Fixes #76

Merged
merged 4 commits into from
Oct 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/details/DetailsFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,19 +222,19 @@ export default {
emit('updateGroupFilesPagination', this.file)
})
} else if ('locked' in res.data && res.data.locked) {
showWarning(this.t('mediadc', 'Wait until file loaded before deleting'))
showWarning(this.t('mediadc', 'Wait until file has been loaded before deleting it'))
} else if ('not_permited' in res.data && res.data.not_permited) {
showError(this.t('mediadc', 'Not enough permitions to delete file'))
showError(this.t('mediadc', 'Not enough permissions to delete the file'))
} else if ('not_found' in res.data && res.data.not_found) {
showError(this.t('mediadc', 'File not found. Probably it\'s already deleted'))
showError(this.t('mediadc', 'File not found. Probably it\'s has been already deleted'))
} else {
showError(this.t('mediadc', 'Some error occured while deleting file'))
showError(this.t('mediadc', 'An error occurred while deleting the file'))
}
this.updating = false
})
.catch(err => {
console.debug(err)
showError(this.t('mediadc', 'Some error occured while deleting file'))
showError(this.t('mediadc', 'An error occurred while deleting the file'))
this.updating = false
})
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/CollectorDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<div v-for="dir in taskInfo.target_directories" :key="dir.fileid" class="target-directory-row">
<div class="owner-tooltip">
<div class="tooltip-title">
{{ t('mediadc', 'onwer:') }} {{ dir.fileowner }}
{{ t('mediadc', 'Owner:') }} {{ dir.fileowner }}
</div>
<div class="tooltip-content">
<a :href="filesDirLink(dir)" target="_blank">
Expand Down