diff options
Diffstat (limited to 'apps/files_sharing/src/components/NewFileRequestDialog')
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogDatePassword.vue b/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogDatePassword.vue index 651f2a52efe..58a5b5fd0d6 100644 --- a/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogDatePassword.vue +++ b/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogDatePassword.vue @@ -17,7 +17,7 @@ </NcNoteCard> <!-- Enable expiration --> - <legend>{{ t('files_sharing', 'When should the request expire ?') }}</legend> + <legend>{{ t('files_sharing', 'When should the request expire?') }}</legend> <NcCheckboxRadioSwitch v-show="!defaultExpireDateEnforced" :checked="defaultExpireDateEnforced || expirationDate !== null" :disabled="disabled || defaultExpireDateEnforced" @@ -47,7 +47,7 @@ </NcNoteCard> <!-- Enable password --> - <legend>{{ t('files_sharing', 'What password should be used for the request ?') }}</legend> + <legend>{{ t('files_sharing', 'What password should be used for the request?') }}</legend> <NcCheckboxRadioSwitch v-show="!enforcePasswordForPublicLink" :checked="enforcePasswordForPublicLink || password !== null" :disabled="disabled || enforcePasswordForPublicLink" diff --git a/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogFinish.vue b/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogFinish.vue index 1fac6444a2a..a761e1150aa 100644 --- a/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogFinish.vue +++ b/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogFinish.vue @@ -59,7 +59,7 @@ import type { PropType } from 'vue' import Share from '../../models/Share' import { defineComponent } from 'vue' -import { generateUrl } from '@nextcloud/router' +import { generateUrl, getBaseUrl } from '@nextcloud/router' import { showError, showSuccess } from '@nextcloud/dialogs' import { translate, translatePlural } from '@nextcloud/l10n' @@ -118,7 +118,7 @@ export default defineComponent({ computed: { shareLink() { - return window.location.protocol + '//' + window.location.host + generateUrl('/s/') + this.share.token + return generateUrl('/s/{token}', { token: this.share.token }, { baseURL: getBaseUrl() }) }, }, diff --git a/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogIntro.vue b/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogIntro.vue index 858406b1fd0..57b03289661 100644 --- a/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogIntro.vue +++ b/apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogIntro.vue @@ -8,7 +8,7 @@ <!-- Request label --> <fieldset class="file-request-dialog__label" data-cy-file-request-dialog-fieldset="label"> <legend> - {{ t('files_sharing', 'What are you requesting ?') }} + {{ t('files_sharing', 'What are you requesting?') }} </legend> <NcTextField :value="label" :disabled="disabled" @@ -22,7 +22,7 @@ <!-- Request destination --> <fieldset class="file-request-dialog__destination" data-cy-file-request-dialog-fieldset="destination"> <legend> - {{ t('files_sharing', 'Where should these files go ?') }} + {{ t('files_sharing', 'Where should these files go?') }} </legend> <NcTextField :value="destination" :disabled="disabled" |