Skip to content

Commit ebafca7

Browse files
fix(wordings): fix(wordings): Shorter labels for the share action buttons (to avoid longer words being truncated in languages other than English)
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(wordings): fix(wordings): Shorter labels for the share action buttons (to avoid longer words being truncated in languages other than English) Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(wordings): Shorter labels for the share action buttons (to avoid longer words being truncated in languages other than English) Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(wordings): Shorter labels for the share action buttons (to avoid longer words being truncated in languages other than English) Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Update apps/files_sharing/src/views/SharingDetailsTab.vue Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(comment): adding comments Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> fix(comment): add one last comment Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Co-Authored-By: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent e9b5cf8 commit ebafca7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,15 @@
271271
<div class="sharingTabDetailsView__delete">
272272
<NcButton
273273
v-if="!isNewShare"
274-
:aria-label="t('files_sharing', 'Delete share')"
275274
:disabled="false"
276275
:readonly="false"
277276
variant="tertiary"
278277
@click.prevent="removeShare">
279278
<template #icon>
280279
<CloseIcon :size="20" />
281280
</template>
282-
{{ t('files_sharing', 'Delete share') }}
281+
<!-- TRANSLATORS: Button to delete the share -->
282+
{{ t('files_sharing', 'Delete') }}
283283
</NcButton>
284284
</div>
285285
<NcButton
@@ -434,9 +434,9 @@ export default {
434434
default: {
435435
if (this.share.id) {
436436
// Share already exists
437-
return t('files_sharing', 'Update share')
437+
return t('files_sharing', 'Update') /** TRANSLATORS: Button to update share (apply changes) **/
438438
} else {
439-
return t('files_sharing', 'Create share')
439+
return t('files_sharing', 'Create') /** TRANSLATORS: Button to create new share **/
440440
}
441441
}
442442
}
@@ -627,9 +627,9 @@ export default {
627627
628628
shareButtonText() {
629629
if (this.isNewShare) {
630-
return t('files_sharing', 'Save share')
630+
return t('files_sharing', 'Save') /** TRANSLATORS: Button to save new share **/
631631
}
632-
return t('files_sharing', 'Update share')
632+
return t('files_sharing', 'Update') /** TRANSLATORS: Button to update share (apply changes) **/
633633
},
634634
635635
resharingIsPossible() {

0 commit comments

Comments
 (0)