Skip to content

Commit c6b3882

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): 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> Co-Authored-By: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 05d0288 commit c6b3882

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,14 @@
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+
{{ t('files_sharing', 'Delete') }}
283282
</NcButton>
284283
</div>
285284
<NcButton
@@ -434,9 +433,9 @@ export default {
434433
default: {
435434
if (this.share.id) {
436435
// Share already exists
437-
return t('files_sharing', 'Update share')
436+
return t('files_sharing', 'Update') /** TRANSLATORS: Single-verb label to prevent button truncation in some languages **/
438437
} else {
439-
return t('files_sharing', 'Create share')
438+
return t('files_sharing', 'Create') /** TRANSLATORS: Single-verb label to prevent button truncation in some languages **/
440439
}
441440
}
442441
}
@@ -627,9 +626,9 @@ export default {
627626
628627
shareButtonText() {
629628
if (this.isNewShare) {
630-
return t('files_sharing', 'Save share')
629+
return t('files_sharing', 'Save') /** TRANSLATORS: Single-verb label to prevent button truncation in some languages **/
631630
}
632-
return t('files_sharing', 'Update share')
631+
return t('files_sharing', 'Update') /** TRANSLATORS: Single-verb label to prevent button truncation in some languages **/
633632
},
634633
635634
resharingIsPossible() {

0 commit comments

Comments
 (0)