Skip to content

Commit

Permalink
fix(files_sharing): String translations
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
Pytal authored and nextcloud-command committed Jul 31, 2023
1 parent 8e287a4 commit 8a51d64
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apps/files_sharing/src/components/PersonalSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default {
accept: this.accepting,
})
} catch (error) {
showError(t('sharing', 'Error while toggling options'))
showError(t('files_sharing', 'Error while toggling options'))
console.error(error)
}
},
Expand Down
4 changes: 2 additions & 2 deletions apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -726,12 +726,12 @@ export default {
// otherwise the user needs to copy/paste the password before finishing the share.
component.copyLink()
}
showSuccess(t('sharing', 'Link share created'))
showSuccess(t('files_sharing', 'Link share created'))
} catch (data) {
const message = data?.response?.data?.ocs?.meta?.message
if (!message) {
showError(t('sharing', 'Error while creating the share'))
showError(t('files_sharing', 'Error while creating the share'))
console.error(data)
return
}
Expand Down
6 changes: 3 additions & 3 deletions dist/3832-3832.js → dist/1929-1929.js

Large diffs are not rendered by default.

File renamed without changes.
2 changes: 1 addition & 1 deletion dist/3832-3832.js.map → dist/1929-1929.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files_sharing-personal-settings.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/files_sharing-personal-settings.js.map

Large diffs are not rendered by default.

0 comments on commit 8a51d64

Please sign in to comment.