mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 19:04:38 -05:00
feat: Improve create link texts
Use `Create public link` for first link share creation Signed-off-by: nfebe <fenn25.fn@gmail.com>
This commit is contained in:
parent
33eaf9ca4d
commit
14573fc96c
1 changed files with 8 additions and 2 deletions
|
|
@ -357,11 +357,17 @@ export default {
|
|||
}
|
||||
return this.share.shareWith
|
||||
}
|
||||
|
||||
if (this.index === null) {
|
||||
return t('files_sharing', 'Share link')
|
||||
}
|
||||
}
|
||||
if (this.index > 1) {
|
||||
|
||||
if (this.index >= 1) {
|
||||
return t('files_sharing', 'Share link ({index})', { index: this.index })
|
||||
}
|
||||
return t('files_sharing', 'Share link')
|
||||
|
||||
return t('files_sharing', 'Create public link')
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue