Skip to content

Commit 3f56ffb

Browse files
committed
fix(files_sharing): String translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 parent 8e287a4 commit 3f56ffb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/files_sharing/src/components/PersonalSettings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default {
6969
accept: this.accepting,
7070
})
7171
} catch (error) {
72-
showError(t('sharing', 'Error while toggling options'))
72+
showError(t('files_sharing', 'Error while toggling options'))
7373
console.error(error)
7474
}
7575
},

apps/files_sharing/src/components/SharingEntryLink.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,12 +726,12 @@ export default {
726726
// otherwise the user needs to copy/paste the password before finishing the share.
727727
component.copyLink()
728728
}
729-
showSuccess(t('sharing', 'Link share created'))
729+
showSuccess(t('files_sharing', 'Link share created'))
730730
731731
} catch (data) {
732732
const message = data?.response?.data?.ocs?.meta?.message
733733
if (!message) {
734-
showError(t('sharing', 'Error while creating the share'))
734+
showError(t('files_sharing', 'Error while creating the share'))
735735
console.error(data)
736736
return
737737
}

0 commit comments

Comments
 (0)