|
85 | 85 | <NcInputField v-if="isPublicShare" |
86 | 86 | :value.sync="share.label" |
87 | 87 | type="text" |
88 | | - :label="t('file_sharing', 'Share label')" /> |
| 88 | + :label="t('files_sharing', 'Share label')" /> |
89 | 89 | <template v-if="isPublicShare"> |
90 | 90 | <NcCheckboxRadioSwitch :checked.sync="isPasswordProtected" :disabled="isPasswordEnforced"> |
91 | | - {{ t('file_sharing', 'Set password') }} |
| 91 | + {{ t('files_sharing', 'Set password') }} |
92 | 92 | </NcCheckboxRadioSwitch> |
93 | 93 | <NcInputField v-if="isPasswordProtected" |
94 | 94 | :type="hasUnsavedPassword ? 'text' : 'password'" |
95 | 95 | :value="hasUnsavedPassword ? share.newPassword : '***************'" |
96 | 96 | :error="passwordError" |
97 | 97 | :required="isPasswordEnforced" |
98 | | - :label="t('file_sharing', 'Password')" |
| 98 | + :label="t('files_sharing', 'Password')" |
99 | 99 | @update:value="onPasswordChange" /> |
100 | 100 |
|
101 | 101 | <!-- Migrate icons and remote -> icon="icon-info"--> |
|
118 | 118 | :max="dateMaxEnforced" |
119 | 119 | :hide-label="true" |
120 | 120 | :disabled="isExpiryDateEnforced" |
121 | | - :placeholder="t('file_sharing', 'Expiration date')" |
| 121 | + :placeholder="t('files_sharing', 'Expiration date')" |
122 | 122 | type="date" |
123 | 123 | @input="onExpirationChange" /> |
124 | 124 | <NcCheckboxRadioSwitch v-if="isPublicShare" |
125 | 125 | :disabled="canChangeHideDownload" |
126 | 126 | :checked.sync="share.hideDownload" |
127 | 127 | @update:checked="queueUpdate('hideDownload')"> |
128 | | - {{ t('file_sharing', 'Hide download') }} |
| 128 | + {{ t('files_sharing', 'Hide download') }} |
129 | 129 | </NcCheckboxRadioSwitch> |
130 | 130 | <NcCheckboxRadioSwitch v-if="canTogglePasswordProtectedByTalkAvailable" |
131 | 131 | :checked.sync="isPasswordProtectedByTalk" |
132 | 132 | @update:checked="onPasswordProtectedByTalkChange"> |
133 | | - {{ t('file_sharing', 'Video verification') }} |
| 133 | + {{ t('files_sharing', 'Video verification') }} |
| 134 | + </NcCheckboxRadioSwitch> |
| 135 | + <NcCheckboxRadioSwitch v-if="!isPublicShare" :disabled="!canSetDownload" :checked.sync="canDownload"> |
| 136 | + {{ t('files_sharing', 'Allow download') }} |
134 | 137 | </NcCheckboxRadioSwitch> |
135 | 138 | <NcCheckboxRadioSwitch v-if="!isPublicShare" :disabled="!canSetDownload" :checked.sync="canDownload"> |
136 | 139 | {{ t('file_sharing', 'Allow download') }} |
137 | 140 | </NcCheckboxRadioSwitch> |
138 | 141 | <NcCheckboxRadioSwitch :checked.sync="writeNoteToRecipientIsChecked"> |
139 | | - {{ t('file_sharing', 'Note to recipient') }} |
| 142 | + {{ t('files_sharing', 'Note to recipient') }} |
140 | 143 | </NcCheckboxRadioSwitch> |
141 | 144 | <template v-if="writeNoteToRecipientIsChecked"> |
142 | 145 | <textarea :value="share.note" @input="share.note = $event.target.value" /> |
143 | 146 | </template> |
144 | 147 | <NcCheckboxRadioSwitch :checked.sync="setCustomPermissions"> |
145 | | - {{ t('file_sharing', 'Custom permissions') }} |
| 148 | + {{ t('files_sharing', 'Custom permissions') }} |
146 | 149 | </NcCheckboxRadioSwitch> |
147 | 150 | <section v-if="setCustomPermissions" class="custom-permissions-group"> |
148 | 151 | <NcCheckboxRadioSwitch :disabled="!allowsFileDrop && share.type === SHARE_TYPES.SHARE_TYPE_LINK" |
149 | 152 | :checked.sync="hasRead"> |
150 | | - {{ t('file_sharing', 'Read') }} |
| 153 | + {{ t('files_sharing', 'Read') }} |
151 | 154 | </NcCheckboxRadioSwitch> |
152 | 155 | <NcCheckboxRadioSwitch v-if="isFolder" :disabled="!canSetCreate" :checked.sync="canCreate"> |
153 | | - {{ t('file_sharing', 'Create') }} |
| 156 | + {{ t('files_sharing', 'Create') }} |
154 | 157 | </NcCheckboxRadioSwitch> |
155 | 158 | <NcCheckboxRadioSwitch :disabled="!canSetEdit" :checked.sync="canEdit"> |
156 | | - {{ t('file_sharing', 'Update') }} |
| 159 | + {{ t('files_sharing', 'Update') }} |
157 | 160 | </NcCheckboxRadioSwitch> |
158 | 161 | <NcCheckboxRadioSwitch v-if="config.isResharingAllowed && share.type !== SHARE_TYPES.SHARE_TYPE_LINK" |
159 | 162 | :disabled="!canSetReshare" |
160 | 163 | :checked.sync="canReshare"> |
161 | | - {{ t('file_sharing', 'Share') }} |
| 164 | + {{ t('files_sharing', 'Share') }} |
162 | 165 | </NcCheckboxRadioSwitch> |
163 | 166 | <NcCheckboxRadioSwitch :disabled="!canSetDelete" :checked.sync="canDelete"> |
164 | | - {{ t('file_sharing', 'Delete') }} |
| 167 | + {{ t('files_sharing', 'Delete') }} |
165 | 168 | </NcCheckboxRadioSwitch> |
166 | 169 | </section> |
167 | 170 | </section> |
|
181 | 184 | </NcButton> |
182 | 185 | <div class="button-group"> |
183 | 186 | <NcButton @click="$emit('close-sharing-details')"> |
184 | | - {{ t('file_sharing', 'Cancel') }} |
| 187 | + {{ t('files_sharing', 'Cancel') }} |
185 | 188 | </NcButton> |
186 | 189 | <NcButton type="primary" @click="saveShare"> |
187 | 190 | {{ shareButtonText }} |
@@ -477,9 +480,9 @@ export default { |
477 | 480 | }, |
478 | 481 | shareButtonText() { |
479 | 482 | if (this.isNewShare) { |
480 | | - return t('file_sharing', 'Save share') |
| 483 | + return t('files_sharing', 'Save share') |
481 | 484 | } |
482 | | - return t('file_sharing', 'Update share') |
| 485 | + return t('files_sharing', 'Update share') |
483 | 486 |
|
484 | 487 | }, |
485 | 488 | /** |
|
0 commit comments