rollback addition of alpha1, introduced by accident

Massimo Melina committed Jan 29, 2024 at 11:09 UTC 997e9afed652adbbb5f3499663faf7068b128e9d
3 files changed +11 -14
frontend/src/BrowseFiles.ts
+11 -12
@@ -215,18 +215,17 @@ const Entry = memo(({ entry, midnight, separator }: EntryProps) => {
215 props: { entry },
216 ifEmpty: () => h(Fragment, {},
217 showFilter && h(Checkbox, {
218 - 'aria-label': t`Select file`,
219 - disabled: isLink,
220 - 'aria-labelledby': ariaId,
221 - value: selected[uri],
222 - onChange(v){
223 - if (v)
224 - return state.selected[uri] = true
225 - delete state.selected[uri]
226 - },
227 - }),
228 - h('span', { className: 'link-wrapper' }, // container to handle mouse over for both children
229 - ...isFolder || entry.web ? [ // internal navigation, use Link component
218 + disabled: isLink,
219 + 'aria-labelledby': ariaId,
220 + value: selected[uri],
221 + onChange(v) {
222 + if (v)
223 + return state.selected[uri] = true
224 + delete state.selected[uri]
225 + },
226 + }),
227 + h('span', { className: 'link-wrapper' }, // container to handle mouse over for both children
228 + ...isFolder || entry.web ? [ // internal navigation, use Link component
229 h(Link, { to: uri, ...ariaProps }, ico, entry.n.slice(0, -1)), // don't use name, as we want to include whole path in case of search
230 // popup button is here to be able to detect link-wrapper:hover
231 file_menu_on_link && !showingButton && h('button', {
src/langs/hfs-lang-en.json
-1
@@ -156,7 +156,6 @@
156 "Link": "Link",
157 "Auto-play": "Auto-play",
158 "autoplay_seconds": "Seconds to wait on images",
159 - "Select file": "Select file",
159 "Select all": "Select all",
160 "go_first": "Go to first item",
161 "go_last": "Go to last item"
src/langs/hfs-lang-it.json
-1
@@ -148,7 +148,6 @@
148 "Link": "Link",
149 "Auto-play": "Auto-play",
150 "autoplay_seconds": "Secondi di attesa mostrando immagini",
151 - "Select file": "Seleziona file",
151 "Select all": "Seleziona tutto",
152 "go_first": "Vai all'inizio",
153 "go_last": "Vai alla fine"