diff --git a/README.md b/README.md index ccfdee88..02db65fb 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ the launcher sets it up. ## What's in it -- **Discover:** every recomp on recomplauncher.com, with screenshots, what it needs and how it +- **Catalog:** every recomp on recomplauncher.com, with screenshots, what it needs and how it runs for other players. - **Coming Soon:** the recomps on the way, with Notify Me for an email when each comes out, and Request a Recomp to ask for a project on GitHub or GitLab. @@ -43,7 +43,7 @@ the launcher sets it up. - + diff --git a/docs/DEVELOPERS.md b/docs/DEVELOPERS.md index 38a582a2..9971679b 100644 --- a/docs/DEVELOPERS.md +++ b/docs/DEVELOPERS.md @@ -333,7 +333,7 @@ This only follows places your file or the catalog names, not ones the launcher n ### `games`: several games in one release A release that carries a whole series lists its games. Players see each one as a game of its own: -in Discover, search and Home, with its own page (a "Part of" pill leads to the release's page) and +in the Catalog, search and Home, with its own page (a "Part of" pill leads to the release's page) and its own tile in the Library and Big Picture, with its own play time, achievements, pins and shortcuts. Installing, updating and removing stay one thing for the whole release. @@ -927,7 +927,7 @@ The launcher has tools for this. In Settings, open Developers and turn on Develo Add `"name"` to your file and the local build goes by that name. -If you'd rather check a release the way players get it, install it from Discover and open its +If you'd rather check a release the way players get it, install it from the Catalog and open its page. A file the launcher can't read is skipped, and the built-in one (if any) is used instead. Stuck, or want us to write the file with you? Open an issue, or send us your file. diff --git a/docs/SUPPORTED-GAMES.md b/docs/SUPPORTED-GAMES.md index cc5c7efa..96c3b718 100644 --- a/docs/SUPPORTED-GAMES.md +++ b/docs/SUPPORTED-GAMES.md @@ -1,6 +1,6 @@ # Supported games -The full, up-to-date list lives on **[recomplauncher.com](https://recomplauncher.com)**, and the same list is in the launcher's **Discover** tab. New recomps are added every day, so a copy here would be out of date by tomorrow. +The full, up-to-date list lives on **[recomplauncher.com](https://recomplauncher.com)**, and the same list is in the launcher's **Catalog** tab. New recomps are added every day, so a copy here would be out of date by tomorrow. ## What the labels mean @@ -10,7 +10,7 @@ The full, up-to-date list lives on **[recomplauncher.com](https://recomplauncher | **Setup Required** | The recomp needs a few manual steps first. The game's page shows a yellow **Set Up** button that walks you through them. | | **Plays great** | Most players who sent a report say it runs well. | | **Versions** | More than one recomp of the same game. They show as one game, and you can switch between them or keep a few installed. | -| **Windows / Linux / Mac** | The systems the developer makes builds for. Discover only shows builds for your system. | +| **Windows / Linux / Mac** | The systems the developer makes builds for. The Catalog only shows builds for your system. | ## What every game needs diff --git a/src-tauri/src/tray.rs b/src-tauri/src/tray.rs index c633351c..b3653bdb 100644 --- a/src-tauri/src/tray.rs +++ b/src-tauri/src/tray.rs @@ -53,7 +53,7 @@ fn menu(app: &AppHandle) -> tauri::Result> { } } m.append(&PredefinedMenuItem::separator(app)?)?; - for (id, key) in [("go:library", "Library"), ("go:discover", "Discover"), ("go:shots", "Screenshots"), ("go:settings", "Settings")] { + for (id, key) in [("go:library", "Library"), ("go:discover", "Catalog"), ("go:shots", "Screenshots"), ("go:settings", "Settings")] { m.append(&MenuItem::with_id(app, id, word(key), true, None::<&str>)?)?; } m.append(&MenuItem::with_id(app, "bp", word("Big Picture mode"), true, None::<&str>)?)?; diff --git a/ui/app.js b/ui/app.js index 59fb25e5..61e4b41e 100644 --- a/ui/app.js +++ b/ui/app.js @@ -623,7 +623,7 @@ const isHidden = (id) => hiddenSet().has(id); async function hideGame(id) { const g = verGroup(byId(id)), ids = g ? g.list.map((v) => v.id) : [id]; await saveUi({ hidden: [...new Set([...hiddenSet(), ...ids])] }, true); - toast(t('Hidden from Discover and Home. Settings → Discover shows it again.')); + toast(t('Hidden from the Catalog and Home. Settings → Catalog shows it again.')); render(true); } async function unhideGame(id) { @@ -637,7 +637,7 @@ function hiddenModal() { const draw = () => { const seen = new Set(), list = []; for (const id of hiddenSet()) { const a = byId(id); if (!a) continue; const g = verGroup(a), k = g ? 't:' + g.id : a.id; if (seen.has(k)) continue; seen.add(k); list.push(g ? leadOf(g) : a); } - return `

${esc(t('Hidden Games'))}

${esc(t('These don\'t show in Discover or on Home. Ones in your Library stay there.'))}

+ return `

${esc(t('Hidden Games'))}

${esc(t('These don\'t show in the Catalog or on Home. Ones in your Library stay there.'))}

${list.length ? `
${list.map((a) => `
${esc(a.game || a.name)}${esc(originName(a.origin))}
`).join('')}
` : `

${esc(t('Nothing is hidden.'))}

`}
${list.length > 1 ? `` : ''}
`; }; @@ -1507,7 +1507,7 @@ function offlineNote() { function pageHome() { const apps = visible(); - if (!apps.length) return S.cat ? `
${offlineNote()}

${esc(t('Nothing to discover right now'))}

` : `
${esc(t('Loading…'))}
`; + if (!apps.length) return S.cat ? `
${offlineNote()}

${esc(t('Nothing in the Catalog right now'))}

` : `
${esc(t('Loading…'))}
`; const mine = apps.filter(forOS); const pool = (mine.length ? mine : apps).filter((a) => !a.soon); const feats = turnkeyFirst(bannerApps() || oneEach(uniq([...pool.filter((a) => a.featured && (a.hero || a.cover)), ...pool.filter((a) => a.hero && notPC(a)).sort(byDl), ...pool.filter(notPC).sort(byDl)].map((a) => a.id)).map(byId)).slice(0, 5)); @@ -1605,7 +1605,7 @@ function foundSection(found) { // would otherwise read as everything the player owns. const notYet = t('None of them are in your Library yet.'); const intro = found.length === 1 ? one : many + ' ' + notYet; - return `

${esc(t('Found in your folders'))}

${esc(intro)}${more ? ' ' + esc(tn(more, '1 more in Discover.', '{n} more in Discover.')) : ''}

${seeAllBtn('found')}
+ return `

${esc(t('Found in your folders'))}

${esc(intro)}${more ? ' ' + esc(tn(more, '1 more in the Catalog.', '{n} more in the Catalog.')) : ''}

${seeAllBtn('found')}
${list.map((a) => `
${S.jobs[a.id] ? progress(a.id) : ``}
`).join('')}
`; @@ -1798,7 +1798,7 @@ function pageDiscover() { const genres = Object.keys(GENRES).filter((k) => apps.some((a) => a.genre === k)); const q = S.q.trim(); return `
${offlineNote()} -

${esc(q ? t('Search') : f.tag ? tf('All recomps with {tag}', { tag: f.tag }) : f.genre ? t(GENRES[f.genre]) : t('Discover'))}

${esc(t('Every recomp comes straight from its developer\'s GitHub. You bring your own copy of the game.'))}

+

${esc(q ? t('Search') : f.tag ? tf('All recomps with {tag}', { tag: f.tag }) : f.genre ? t(GENRES[f.genre]) : t('Catalog'))}

${esc(t('Every recomp comes straight from its developer\'s GitHub. You bring your own copy of the game.'))}

${notesBars()}
@@ -2022,7 +2022,7 @@ function pageLibrary() { if (!total) { return `

${esc(t('Library'))}

${esc(t('Your recomps, kept up to date from each developer\'s own GitHub.'))}

-

${esc(t('Nothing installed yet'))}

${esc(t('Pick a recomp in Discover and install it. It shows up here, ready to play.'))}

${devOn() ? `` : ''}
`; +

${esc(t('Nothing installed yet'))}

${esc(t('Pick a recomp in the Catalog and install it. It shows up here, ready to play.'))}

${devOn() ? `` : ''}
`; } const n = Object.keys(S.updates).filter((id) => S.library[id]).length; const setup = libRecs().filter(needsCopySetup).length; @@ -2089,7 +2089,7 @@ function pageGame(id) { wantCounts(); let a = byId(id); if (!a && S.library[id]) a = libApp(S.library[id]); - if (!a) return S.cat ? `

${esc(t('This recomp isn\'t listed anymore'))}

` : `
${esc(t('Loading…'))}
`; + if (!a) return S.cat ? `

${esc(t('This recomp isn\'t listed anymore'))}

` : `
${esc(t('Loading…'))}
`; const inst = S.library[id]; if (S.mods[id] === undefined) loadMods(id); if (inst && S.setup[id] === undefined) loadSetup(id); @@ -4328,12 +4328,12 @@ function pageSettings() { if (!S.ids && !S.idsAsked) { S.idsAsked = true; invoke('data_ids').then((ids) => { S.ids = ids; if (S.view === 'settings') render(true); }).catch(() => {}); } body = group(t('Language'), row(t('Language'), t('The launcher and its quick menu over your games.'), ``) + row(t('Clock'), t('How times show in the launcher, Big Picture mode and the quick menu.'), clockSelect(ui.clock))) - + group(t('Discover'), row(t('Refresh Discover'), t('Get the newest list of recomps, their releases and their art now, instead of waiting for the next check.'), ``) - + row(t('Hide AI-assisted recomps'), t('Recomps whose developers used AI tools for code, art, writing or voice won\'t show in Discover.'), sw('hide_ai', st.hide_ai, t('Hide AI-assisted recomps'))) + + group(t('Catalog'), row(t('Refresh Catalog'), t('Get the newest list of recomps, their releases and their art now, instead of waiting for the next check.'), ``) + + row(t('Hide AI-assisted recomps'), t('Recomps whose developers used AI tools for code, art, writing or voice won\'t show in the Catalog.'), sw('hide_ai', st.hide_ai, t('Hide AI-assisted recomps'))) + (igOn() ? row(t('Show where to buy the original game'), t('A small card on some game pages with the price of the original game at a partner store. Buying through it supports the launcher.'), sw('hide_buy', !ui.hide_buy, t('Show where to buy the original game'), 'ui-toggle')) : '') + row(t('Show the AI-assisted tag'), t('The tag on game pages. What the developer used AI for is always in the game\'s Overview.'), sw('show_ai_tag', ui.show_ai_tag, t('Show the AI-assisted tag'), 'ui-toggle')) - + row(t('Hidden games'), (ui.hidden || []).length ? t('Games you hid from Discover and Home. Right-click a game to hide it.') : t('Right-click a game in Discover and pick Hide from Discover to keep it out of the way.'), ``)) - + (S.os === 'windows' ? group(t('Portable'), portableRow(row)) : S.os === 'linux' ? group(t('Windows recomps'), row(t('Play Windows recomps with Proton'), t('Recomps that only have a Windows version install that one and play through Proton. Steam\'s Proton, GE-Proton, umu-launcher and Wine are found on their own.') + ' ' + t('With this off, those recomps are left out of Discover, search and game pages.'), sw('proton', st.proton, t('Play Windows recomps with Proton'))) + geRow(row)) : '') + + row(t('Hidden games'), (ui.hidden || []).length ? t('Games you hid from the Catalog and Home. Right-click a game to hide it.') : t('Right-click a game in the Catalog and pick Hide from Catalog to keep it out of the way.'), ``)) + + (S.os === 'windows' ? group(t('Portable'), portableRow(row)) : S.os === 'linux' ? group(t('Windows recomps'), row(t('Play Windows recomps with Proton'), t('Recomps that only have a Windows version install that one and play through Proton. Steam\'s Proton, GE-Proton, umu-launcher and Wine are found on their own.') + ' ' + t('With this off, those recomps are left out of the Catalog, search and game pages.'), sw('proton', st.proton, t('Play Windows recomps with Proton'))) + geRow(row)) : '') + group(t('Notifications and sharing'), row(t('Notifications'), S.os === 'windows' ? t('A Windows notification when a new recomp comes out for a game you own.') : t('A notification when a new recomp comes out for a game you own.'), sw('notify', st.notify, t('Notifications'))) + row(t('Discord status'), t('Shows the game you\'re playing on your Discord profile, with its cover and play time.'), sw('discord', st.discord !== false, t('Discord status'))) + row(t('Share usage and diagnostics'), t('Your PC\'s parts, which games you play and for how long, and what went wrong when one crashes or won\'t install. It helps fix problems faster. No names, no files.'), `${esc(t('What\'s sent'))}${sw('share_usage', st.data_asked && st.share_usage, t('Share usage and diagnostics'))}`) @@ -4393,12 +4393,12 @@ function pageSettings() { case 'look': body = group(t('Appearance'), `
${esc(t('Theme'))}${esc(t('Dark, black for OLED screens, or light.'))}
${[['dark', t('Dark')], ['oled', t('OLED')], ['light', tc('Light|theme')]].map(([k, n]) => ``).join('')}
` + `
${esc(t('Text Size'))}${esc(t('Bigger or smaller text, buttons and covers. Ctrl with + or - works too.'))}
${UI_SCALES.map((k) => ``).join('')}
` - + `
${esc(t('Opens On'))}${esc(t('The page you see when the launcher opens.'))}
${[['', t('Home')], ['discover', t('Discover')], ['library', t('Library')]].map(([k, n]) => ``).join('')}
` + + `
${esc(t('Opens On'))}${esc(t('The page you see when the launcher opens.'))}
${[['', t('Home')], ['discover', t('Catalog')], ['library', t('Library')]].map(([k, n]) => ``).join('')}
` + row(t('Featured Banner on Home'), t('The slideshow of recomps at the top of Home. Turn it off and Home starts with Jump back in.'), sw('hide_hero', !ui.hide_hero, t('Featured Banner on Home'), 'ui-toggle')) + row(t('Compact sidebar'), t('Only the icons and your pinned games\' covers. The button at the bottom of the sidebar does the same.'), sw('mini', ui.mini, t('Compact sidebar'), 'ui-toggle')) + row(t('Cover Size Slider'), t('The slider at the bottom right of the Library, for the size of its covers and to switch to wide tiles.'), sw('hide_tile_ctl', !ui.hide_tile_ctl, t('Cover Size Slider'), 'ui-toggle')) + row(t('Covers Only'), t('Hide the names under game covers in the Library and on Home.'), sw('hide_names', ui.hide_names, t('Covers Only'), 'ui-toggle')) - + row(t('Show Versions Under Names'), t('The newest version of each recomp in Discover, and the version you have installed in the Library.'), sw('show_versions', ui.show_versions, t('Show Versions Under Names'), 'ui-toggle')) + + row(t('Show Versions Under Names'), t('The newest version of each recomp in the Catalog, and the version you have installed in the Library.'), sw('show_versions', ui.show_versions, t('Show Versions Under Names'), 'ui-toggle')) + row(t('Console Labels on Covers'), t('A strip across the top of each cover with its console, like the band on a real game box.'), sw('cover_labels', ui.cover_labels, t('Console Labels on Covers'), 'ui-toggle')) + row(t('Show Game Names'), t('Name every recomp after its game, like Tears of the Kingdom instead of TotK Recomp. Names you gave games yourself stay.'), sw('game_names', ui.game_names, t('Show Game Names'), 'ui-toggle')) + row(t('Show Game Media'), t('Every version of a game shows the same cover, background, logo and icon: the recommended version\'s. The versions list keeps each one\'s own icon, and pictures you picked yourself stay.'), sw('game_media', ui.game_media, t('Show Game Media'), 'ui-toggle')) @@ -4915,7 +4915,7 @@ function updateDiscover() { const ai = $('.dctl [data-k="hide_ai"]'); if (ai) ai.setAttribute('aria-checked', String(!!S.settings.hide_ai)); const h = $('.dhead h1'); - if (h) h.textContent = S.q.trim() ? t('Search') : f.genre ? t(GENRES[f.genre]) : t('Discover'); + if (h) h.textContent = S.q.trim() ? t('Search') : f.genre ? t(GENRES[f.genre]) : t('Catalog'); const vals = { origin: f.origin || '', 'genre-sel': f.genre || '', 'show-sel': f.show || '' }; for (const sl of $$('#main .dctl select[data-act]')) if (sl.dataset.act in vals && sl.value !== vals[sl.dataset.act]) sl.value = vals[sl.dataset.act]; if (window.syncDrops) window.syncDrops(); @@ -5106,7 +5106,7 @@ T.event.listen('mine-merged', async (e) => { const list = (e && e.payload) || []; try { await refreshState(); } catch (err) { /* it shows on the next look */ } for (const m of list) { - toast(tf('{name} is on Discover now. Your copy moved over to it.', { name: m.name || m.to })); + toast(tf('{name} is in the Catalog now. Your copy moved over to it.', { name: m.name || m.to })); if (S.arg === m.from) S.arg = m.to; if (window.tvRemap) window.tvRemap(m.from, m.to); } @@ -6009,7 +6009,7 @@ function gameMenu(id) { ...(S.view !== 'game' || S.arg !== id ? [{ act: 'open', id, label: t('Game page'), icon: 'page' }] : []), { act: 'pin', id, label: pinned ? t('Unpin from the sidebar') : t('Pin to the sidebar'), icon: 'pin' }, ...(!g && isSaved(id) ? [{ act: 'unsave', id, label: t('Remove from Library'), icon: 'bin' }] : []), - ...(x && !x.custom ? [isHidden(id) ? { act: 'unhide', id, label: t('Show in Discover'), icon: 'hide' } : { act: 'hide', id, label: t('Hide from Discover'), icon: 'hide' }] : []), + ...(x && !x.custom ? [isHidden(id) ? { act: 'unhide', id, label: t('Show in Catalog'), icon: 'hide' } : { act: 'hide', id, label: t('Hide from Catalog'), icon: 'hide' }] : []), // Its own pictures and words before it's installed too (they stay when it is). ...(!g && x ? [{ act: 'customize', id, label: t('Edit Name and Artwork…'), icon: 'shot' }] : []), ...(g ? ['-', @@ -6076,7 +6076,7 @@ function confirmUninstall(id) { const s = document.createElement('div'); s.className = 'scrim'; s.innerHTML = `
Discover

Discover

Catalog

Catalog

A game's page

A game's page