|
8 | 8 | :name="t('files', 'Files settings')" |
9 | 9 | @update:open="onClose"> |
10 | 10 | <!-- Settings API--> |
11 | | - <NcAppSettingsSection id="settings" :name="t('files', 'Files settings')"> |
| 11 | + <NcAppSettingsSection id="settings" :name="t('files', 'General')"> |
12 | 12 | <fieldset class="files-settings__default-view" |
13 | 13 | data-cy-files-settings-setting="default_view"> |
14 | 14 | <legend> |
|
42 | 42 | <NcCheckboxRadioSwitch data-cy-files-settings-setting="folder_tree" |
43 | 43 | :checked="userConfig.folder_tree" |
44 | 44 | @update:checked="setConfig('folder_tree', $event)"> |
45 | | - {{ t('files', 'Enable folder tree') }} |
| 45 | + {{ t('files', 'Folder tree') }} |
46 | 46 | </NcCheckboxRadioSwitch> |
47 | 47 | </NcAppSettingsSection> |
48 | 48 |
|
49 | | - <!-- Visual settings --> |
50 | | - <NcAppSettingsSection id="settings" :name="t('files', 'Visual settings')"> |
| 49 | + <!-- Appearance --> |
| 50 | + <NcAppSettingsSection id="settings" :name="t('files', 'Appearance')"> |
51 | 51 | <NcCheckboxRadioSwitch data-cy-files-settings-setting="show_hidden" |
52 | 52 | :checked="userConfig.show_hidden" |
53 | 53 | @update:checked="setConfig('show_hidden', $event)"> |
|
58 | 58 | @update:checked="setConfig('show_mime_column', $event)"> |
59 | 59 | {{ t('files', 'Show file type column') }} |
60 | 60 | </NcCheckboxRadioSwitch> |
| 61 | + <NcCheckboxRadioSwitch data-cy-files-settings-setting="show_files_extensions" |
| 62 | + :checked="userConfig.show_files_extensions" |
| 63 | + @update:checked="setConfig('show_files_extensions', $event)"> |
| 64 | + {{ t('files', 'Show file extensions') }} |
| 65 | + </NcCheckboxRadioSwitch> |
61 | 66 | <NcCheckboxRadioSwitch data-cy-files-settings-setting="crop_image_previews" |
62 | 67 | :checked="userConfig.crop_image_previews" |
63 | 68 | @update:checked="setConfig('crop_image_previews', $event)"> |
64 | 69 | {{ t('files', 'Crop image previews') }} |
65 | 70 | </NcCheckboxRadioSwitch> |
66 | | - <NcCheckboxRadioSwitch data-cy-files-settings-setting="show_files_extensions" |
67 | | - :checked="userConfig.show_files_extensions" |
68 | | - @update:checked="setConfig('show_files_extensions', $event)"> |
69 | | - {{ t('files', 'Show files extensions') }} |
70 | | - </NcCheckboxRadioSwitch> |
71 | 71 | </NcAppSettingsSection> |
72 | 72 |
|
73 | 73 | <!-- Settings API--> |
|
85 | 85 | :label="t('files', 'WebDAV URL')" |
86 | 86 | :show-trailing-button="true" |
87 | 87 | :success="webdavUrlCopied" |
88 | | - :trailing-button-label="t('files', 'Copy to clipboard')" |
| 88 | + :trailing-button-label="t('files', 'Copy')" |
89 | 89 | :value="webdavUrl" |
90 | 90 | class="webdav-url-input" |
91 | 91 | readonly="readonly" |
|
101 | 101 | :href="webdavDocs" |
102 | 102 | target="_blank" |
103 | 103 | rel="noreferrer noopener"> |
104 | | - {{ t('files', 'Use this address to access your Files via WebDAV.') }} ↗ |
| 104 | + {{ t('files', 'How to access files using WebDAV') }} ↗ |
105 | 105 | </a> |
106 | 106 | </em> |
107 | 107 | <br> |
|
113 | 113 | </NcAppSettingsSection> |
114 | 114 |
|
115 | 115 | <NcAppSettingsSection id="warning" :name="t('files', 'Warnings')"> |
116 | | - <em>{{ t('files', 'Prevent warning dialogs from open or reenable them.') }}</em> |
117 | 116 | <NcCheckboxRadioSwitch type="switch" |
118 | 117 | :checked="userConfig.show_dialog_file_extension" |
119 | 118 | @update:checked="setConfig('show_dialog_file_extension', $event)"> |
120 | | - {{ t('files', 'Show a warning dialog when changing a file extension.') }} |
| 119 | + {{ t('files', 'Warn before changing a file extension') }} |
121 | 120 | </NcCheckboxRadioSwitch> |
122 | 121 | <NcCheckboxRadioSwitch type="switch" |
123 | 122 | :checked="userConfig.show_dialog_deletion" |
124 | 123 | @update:checked="setConfig('show_dialog_deletion', $event)"> |
125 | | - {{ t('files', 'Show a warning dialog when deleting files.') }} |
| 124 | + {{ t('files', 'Warn before deleting files') }} |
126 | 125 | </NcCheckboxRadioSwitch> |
127 | 126 | </NcAppSettingsSection> |
128 | 127 |
|
129 | 128 | <NcAppSettingsSection id="shortcuts" |
130 | 129 | :name="t('files', 'Keyboard shortcuts')"> |
131 | | - <em>{{ t('files', 'Speed up your Files experience with these quick shortcuts.') }}</em> |
132 | 130 |
|
133 | 131 | <h3>{{ t('files', 'Actions') }}</h3> |
134 | 132 | <dl> |
|
137 | 135 | <kbd>a</kbd> |
138 | 136 | </dt> |
139 | 137 | <dd class="shortcut-description"> |
140 | | - {{ t('files', 'Open the actions menu for a file') }} |
| 138 | + {{ t('files', 'File actions') }} |
141 | 139 | </dd> |
142 | 140 | </div> |
143 | 141 | <div> |
144 | 142 | <dt class="shortcut-key"> |
145 | 143 | <kbd>F2</kbd> |
146 | 144 | </dt> |
147 | 145 | <dd class="shortcut-description"> |
148 | | - {{ t('files', 'Rename a file') }} |
| 146 | + {{ t('files', 'Rename') }} |
149 | 147 | </dd> |
150 | 148 | </div> |
151 | 149 | <div> |
152 | 150 | <dt class="shortcut-key"> |
153 | 151 | <kbd>Del</kbd> |
154 | 152 | </dt> |
155 | 153 | <dd class="shortcut-description"> |
156 | | - {{ t('files', 'Delete a file') }} |
| 154 | + {{ t('files', 'Delete') }} |
157 | 155 | </dd> |
158 | 156 | </div> |
159 | 157 | <div> |
160 | 158 | <dt class="shortcut-key"> |
161 | 159 | <kbd>s</kbd> |
162 | 160 | </dt> |
163 | 161 | <dd class="shortcut-description"> |
164 | | - {{ t('files', 'Favorite or remove a file from favorites') }} |
| 162 | + {{ t('files', 'Add or remove favorite') }} |
165 | 163 | </dd> |
166 | 164 | </div> |
167 | 165 | <div v-if="isSystemtagsEnabled"> |
168 | 166 | <dt class="shortcut-key"> |
169 | 167 | <kbd>t</kbd> |
170 | 168 | </dt> |
171 | 169 | <dd class="shortcut-description"> |
172 | | - {{ t('files', 'Manage tags for a file') }} |
| 170 | + {{ t('files', 'Manage tags') }} |
173 | 171 | </dd> |
174 | 172 | </div> |
175 | 173 | </dl> |
|
189 | 187 | <kbd>ESC</kbd> |
190 | 188 | </dt> |
191 | 189 | <dd class="shortcut-description"> |
192 | | - {{ t('files', 'Deselect all files') }} |
| 190 | + {{ t('files', 'Deselect all') }} |
193 | 191 | </dd> |
194 | 192 | </div> |
195 | 193 | <div> |
196 | 194 | <dt class="shortcut-key"> |
197 | 195 | <kbd>Ctrl</kbd> + <kbd>Space</kbd> |
198 | 196 | </dt> |
199 | 197 | <dd class="shortcut-description"> |
200 | | - {{ t('files', 'Select or deselect a file') }} |
| 198 | + {{ t('files', 'Select or deselect') }} |
201 | 199 | </dd> |
202 | 200 | </div> |
203 | 201 | <div> |
204 | 202 | <dt class="shortcut-key"> |
205 | 203 | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> <span>+ <kbd>Space</kbd></span> |
206 | 204 | </dt> |
207 | 205 | <dd class="shortcut-description"> |
208 | | - {{ t('files', 'Select a range of files') }} |
| 206 | + {{ t('files', 'Select a range') }} |
209 | 207 | </dd> |
210 | 208 | </div> |
211 | 209 | </dl> |
|
217 | 215 | <kbd>Alt</kbd> + <kbd>↑</kbd> |
218 | 216 | </dt> |
219 | 217 | <dd class="shortcut-description"> |
220 | | - {{ t('files', 'Navigate to the parent folder') }} |
| 218 | + {{ t('files', 'Go to parent folder') }} |
221 | 219 | </dd> |
222 | 220 | </div> |
223 | 221 | <div> |
224 | 222 | <dt class="shortcut-key"> |
225 | 223 | <kbd>↑</kbd> |
226 | 224 | </dt> |
227 | 225 | <dd class="shortcut-description"> |
228 | | - {{ t('files', 'Navigate to the file above') }} |
| 226 | + {{ t('files', 'Go to file above') }} |
229 | 227 | </dd> |
230 | 228 | </div> |
231 | 229 | <div> |
232 | 230 | <dt class="shortcut-key"> |
233 | 231 | <kbd>↓</kbd> |
234 | 232 | </dt> |
235 | 233 | <dd class="shortcut-description"> |
236 | | - {{ t('files', 'Navigate to the file below') }} |
| 234 | + {{ t('files', 'Go to file below') }} |
237 | 235 | </dd> |
238 | 236 | </div> |
239 | 237 | <div> |
240 | 238 | <dt class="shortcut-key"> |
241 | 239 | <kbd>←</kbd> |
242 | 240 | </dt> |
243 | 241 | <dd class="shortcut-description"> |
244 | | - {{ t('files', 'Navigate to the file on the left (in grid mode)') }} |
| 242 | + {{ t('files', 'Go left in grid') }} |
245 | 243 | </dd> |
246 | 244 | </div> |
247 | 245 | <div> |
248 | 246 | <dt class="shortcut-key"> |
249 | 247 | <kbd>→</kbd> |
250 | 248 | </dt> |
251 | 249 | <dd class="shortcut-description"> |
252 | | - {{ t('files', 'Navigate to the file on the right (in grid mode)') }} |
| 250 | + {{ t('files', 'Go right in grid') }} |
253 | 251 | </dd> |
254 | 252 | </div> |
255 | 253 | </dl> |
|
261 | 259 | <kbd>V</kbd> |
262 | 260 | </dt> |
263 | 261 | <dd class="shortcut-description"> |
264 | | - {{ t('files', 'Toggle the grid view') }} |
| 262 | + {{ t('files', 'Toggle grid view') }} |
265 | 263 | </dd> |
266 | 264 | </div> |
267 | 265 | <div> |
268 | 266 | <dt class="shortcut-key"> |
269 | 267 | <kbd>D</kbd> |
270 | 268 | </dt> |
271 | 269 | <dd class="shortcut-description"> |
272 | | - {{ t('files', 'Open the sidebar for a file') }} |
| 270 | + {{ t('files', 'Open file sidebar') }} |
273 | 271 | </dd> |
274 | 272 | </div> |
275 | 273 | <div> |
@@ -400,7 +398,7 @@ export default { |
400 | 398 |
|
401 | 399 | await navigator.clipboard.writeText(this.webdavUrl) |
402 | 400 | this.webdavUrlCopied = true |
403 | | - showSuccess(t('files', 'WebDAV URL copied to clipboard')) |
| 401 | + showSuccess(t('files', 'WebDAV URL copied')) |
404 | 402 | setTimeout(() => { |
405 | 403 | this.webdavUrlCopied = false |
406 | 404 | }, 5000) |
|
0 commit comments