@ -91,17 +91,17 @@
< NcInputField v -if = " isPublicShare "
: value . sync = "share.label"
type = "text"
: label = "t('file _sharing', 'Share label')" / >
: label = "t('file s _sharing', 'Share label')" / >
< template v-if ="isPublicShare" >
< NcCheckboxRadioSwitch :checked.sync ="isPasswordProtected" :disabled ="isPasswordEnforced" >
{ { t ( 'file _sharing', 'Set password' ) } }
{ { t ( 'file s _sharing', 'Set password' ) } }
< / NcCheckboxRadioSwitch >
< NcInputField v -if = " isPasswordProtected "
: type = "hasUnsavedPassword ? 'text' : 'password'"
: value = "hasUnsavedPassword ? share.newPassword : '***************'"
: error = "passwordError"
: required = "isPasswordEnforced"
: label = "t('file _sharing', 'Password')"
: label = "t('file s _sharing', 'Password')"
@ update : value = "onPasswordChange" / >
<!-- Migrate icons and remote - > icon = "icon-info" -- >
@ -124,25 +124,25 @@
: max = "dateMaxEnforced"
: hide - label = "true"
: disabled = "isExpiryDateEnforced"
: placeholder = "t('file _sharing', 'Expiration date')"
: placeholder = "t('file s _sharing', 'Expiration date')"
type = "date"
@ input = "onExpirationChange" / >
< NcCheckboxRadioSwitch v -if = " isPublicShare "
: disabled = "canChangeHideDownload"
: checked . sync = "share.hideDownload"
@ update : checked = "queueUpdate('hideDownload')" >
{ { t ( 'file _sharing', 'Hide download' ) } }
{ { t ( 'file s _sharing', 'Hide download' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch v -if = " canTogglePasswordProtectedByTalkAvailable "
: checked . sync = "isPasswordProtectedByTalk"
@ update : checked = "onPasswordProtectedByTalkChange" >
{ { t ( 'file _sharing', 'Video verification' ) } }
{ { t ( 'file s _sharing', 'Video verification' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch v-if ="!isPublicShare" :disabled="!canSetDownload" :checked.sync="canDownload" >
{ { t ( 'file _sharing', 'Allow download' ) } }
{ { t ( 'file s _sharing', 'Allow download' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch :checked.sync ="writeNoteToRecipientIsChecked" >
{ { t ( 'file _sharing', 'Note to recipient' ) } }
{ { t ( 'file s _sharing', 'Note to recipient' ) } }
< / NcCheckboxRadioSwitch >
< template v-if ="writeNoteToRecipientIsChecked" >
< label for = "share-note-textarea" >
@ -151,26 +151,26 @@
< textarea id = "share-note-textarea" :value ="share.note" @ input = "share.note = $event.target.value" / >
< / template >
< NcCheckboxRadioSwitch :checked.sync ="setCustomPermissions" >
{ { t ( 'file _sharing', 'Custom permissions' ) } }
{ { t ( 'file s _sharing', 'Custom permissions' ) } }
< / NcCheckboxRadioSwitch >
< section v-if ="setCustomPermissions" class="custom-permissions-group" >
< NcCheckboxRadioSwitch : disabled = "!allowsFileDrop && share.type === SHARE_TYPES.SHARE_TYPE_LINK"
: checked . sync = "hasRead" >
{ { t ( 'file _sharing', 'Read' ) } }
{ { t ( 'file s _sharing', 'Read' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch v-if ="isFolder" :disabled="!canSetCreate" :checked.sync="canCreate" >
{ { t ( 'file _sharing', 'Create' ) } }
{ { t ( 'file s _sharing', 'Create' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch :disabled ="!canSetEdit" :checked.sync ="canEdit" >
{ { t ( 'file _sharing', 'Update' ) } }
{ { t ( 'file s _sharing', 'Update' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch v -if = " config.isResharingAllowed & & share.type ! = = SHARE_TYPES.SHARE_TYPE_LINK "
: disabled = "!canSetReshare"
: checked . sync = "canReshare" >
{ { t ( 'file _sharing', 'Share' ) } }
{ { t ( 'file s _sharing', 'Share' ) } }
< / NcCheckboxRadioSwitch >
< NcCheckboxRadioSwitch :disabled ="!canSetDelete" :checked.sync ="canDelete" >
{ { t ( 'file _sharing', 'Delete' ) } }
{ { t ( 'file s _sharing', 'Delete' ) } }
< / NcCheckboxRadioSwitch >
< / section >
< / section >
@ -193,7 +193,7 @@
< div class = "sharingTabDetailsView__footer" >
< div class = "button-group" >
< NcButton @click ="$emit('close-sharing-details')" >
{ { t ( 'file _sharing', 'Cancel' ) } }
{ { t ( 'file s _sharing', 'Cancel' ) } }
< / NcButton >
< NcButton type = "primary" @click ="saveShare" >
{ { shareButtonText } }
@ -495,9 +495,9 @@ export default {
} ,
shareButtonText ( ) {
if ( this . isNewShare ) {
return t ( 'file _sharing', 'Save share' )
return t ( 'file s _sharing', 'Save share' )
}
return t ( 'file _sharing', 'Update share' )
return t ( 'file s _sharing', 'Update share' )
} ,
/ * *