i18n: add missing translation source strings for new components (#324)

This commit is contained in:
Tyler Wilding 2023-09-23 20:32:04 -06:00 committed by GitHub
parent 59c9971999
commit ca4c581568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 162 additions and 141 deletions

View file

@ -1,137 +1,156 @@
{ {
"header_updateAvailable": "Update Available!", "features_backToGamePage_buttonAlt": "Back to game page",
"setup_extractAndVerify": "Extract and Verify", "features_textures_addNewPack_buttonAlt": "Add a new texture pack",
"setup_copyFiles": "Copy Files", "features_textures_addNewPack": "Add New Pack",
"setup_decompile": "Decompile", "features_textures_applyChanges_buttonAlt": "Apply texture changes",
"setup_compile": "Compile", "features_textures_applyChanges": "Apply Texture Changes",
"setup_done": "Done", "features_textures_conflictsDetected": "Conflicts Detected!",
"setup_button_continue": "Continue", "features_textures_deletePack_buttonAlt": "delete texture pack",
"setup_installationFailed": "Installation has Failed!", "features_textures_description": "You can enable as many packs as you want, but if multiple packs replace the same file the order matters. For example if two packs replace the grass, the first pack in the list will take precedence.",
"setup_button_getSupportPackage": "Get Support Package", "features_textures_disabled": "Disabled",
"setup_button_installViaISO": "Install via ISO", "features_textures_enabled": "Enabled",
"setup_logs_header": "Logs", "features_textures_invalidPack": "Invalid texture pack format, ensure it contains a top-level `texture_replacements` folder.",
"setup_logs_truncation": "Last 250 Lines", "features_textures_listHeading": "Currently Added Packs",
"gameUpdate_versionMismatch_title": "Version Mismatch Detected!", "features_textures_moveDown_buttonAlt": "move texture pack down in order",
"features_textures_moveUp_buttonAlt": "move texture pack up in order",
"features_textures_replacedCount": "Textures replaced",
"gameControls_button_advanced": "Advanced",
"gameControls_button_compile_helpText": "Rebuild the game. (ie. after modifying OpenGOAL source code)",
"gameControls_button_compile": "Compile",
"gameControls_button_copyExecutableCommand_helpText_1": "For running the game outside the launcher.",
"gameControls_button_copyExecutableCommand_helpText_2": "The command is tooling-version specific.",
"gameControls_button_copyExecutableCommand": "Copy Game Executable Command",
"gameControls_button_decompile_helpText": "Extracts game assets (ie. to apply texture replacements)",
"gameControls_button_decompile": "Decompile",
"gameControls_button_features_textures": "Texture Packs",
"gameControls_button_features": "Features",
"gameControls_button_openREPL": "Open REPL",
"gameControls_button_openSavesFolder": "Open Saves Folder",
"gameControls_button_openSettingsFolder": "Open Settings Folder",
"gameControls_button_play": "Play",
"gameControls_button_playInDebug": "Play in Debug Mode",
"gameControls_button_resetSettings": "Reset Settings",
"gameControls_button_uninstall_confirmation": "Are you sure you want to uninstall?",
"gameControls_button_uninstall_helpText": "This will not delete any saves or settings",
"gameControls_button_uninstall": "Uninstall",
"gameControls_noToolingSet_button_setVersion": "Set Version",
"gameControls_noToolingSet_header": "No Tooling Version Configured!",
"gameControls_noToolingSet_subheader": "Head over to the following settings page to download the latest release",
"gameJob_applyTexturePacks": "Applying Packs",
"gameJob_deleteTexturePacks": "Deleting Packs",
"gameJob_enablingTexturePacks": "Enabling Packs",
"gameName_jak1": "Jak & Daxter: The Precursor Legacy",
"gameName_jak2": "Jak II",
"gameUpdate_versionMismatch_button_changeVersion": "Change Version",
"gameUpdate_versionMismatch_button_updateGame": "Update Game",
"gameUpdate_versionMismatch_currentlyInstalled": "The game is already installed with", "gameUpdate_versionMismatch_currentlyInstalled": "The game is already installed with",
"gameUpdate_versionMismatch_version": "Version",
"gameUpdate_versionMismatch_type": "Type",
"gameUpdate_versionMismatch_currentlySelected": "but you currently have selected", "gameUpdate_versionMismatch_currentlySelected": "but you currently have selected",
"gameUpdate_versionMismatch_nextSteps": "You can either update the game to this new version (no save data will be lost) or you can rollback your active version to match", "gameUpdate_versionMismatch_nextSteps": "You can either update the game to this new version (no save data will be lost) or you can rollback your active version to match",
"gameUpdate_versionMismatch_button_updateGame": "Update Game", "gameUpdate_versionMismatch_title": "Version Mismatch Detected!",
"gameUpdate_versionMismatch_button_changeVersion": "Change Version", "gameUpdate_versionMismatch_type": "Type",
"requirements_notMet_header": "Unfortunately, your system does not meet all the minimum requirements or we were unable to check them", "gameUpdate_versionMismatch_version": "Version",
"requirements_cpu_supportsAVX": "Your CPU supports AVX", "header_launcherVersionLabel": "Launcher",
"requirements_cpu_unableToCheckAVX": "Unable to verify if your CPU supports AVX", "header_toolingVersionLabel": "Tooling",
"requirements_cpu_doesNotSupportAVX": "Your CPU does not support AVX", "header_updateAvailable": "Update Available!",
"help_button_downloadPackage": "Download Support Package",
"help_button_openLogFolder": "Open Log Folder",
"help_button_reportGameIssue": "Report Game Issue",
"help_button_reportLauncherIssue": "Report Launcher Issue",
"help_description_createAnIssue": "You can either ask a question on our Discord, or create a GitHub issue with as much detail as possible.",
"help_description_duplicateReminder": "In either location, please do a quick search to see if the question has already been answered before",
"help_foreword": "If you are reporting an issue or asking for help, download the following support package and attach it in your Discord thread or GitHub issue.",
"help_header": "Support & FAQ",
"requirements_button_bypass_warning_1": "If you believe the requirement checks are false, you can bypass them.",
"requirements_button_bypass_warning_2": "However, if you are wrong you should expect issues installing or running the game!",
"requirements_button_bypass": "Bypass Requirements",
"requirements_button_recheck": "Recheck Requirements",
"requirements_cpu_avxExplanation_1": "This cannot be fixed without upgrading to a newer CPU", "requirements_cpu_avxExplanation_1": "This cannot be fixed without upgrading to a newer CPU",
"requirements_cpu_avxExplanation_2": "AVX support has been fairly standard since 2011", "requirements_cpu_avxExplanation_2": "AVX support has been fairly standard since 2011",
"requirements_cpu_avxExplanation_3": "Click here for more information", "requirements_cpu_avxExplanation_3": "Click here for more information",
"requirements_gpu_supportsOpenGL": "Your GPU supports OpenGL 4.3", "requirements_cpu_doesNotSupportAVX": "Your CPU does not support AVX",
"requirements_gpu_unableToCheckOpenGL": "Unable to verify if your GPU supports OpenGL 4.3", "requirements_cpu_supportsAVX": "Your CPU supports AVX",
"requirements_gpu_doesNotSupportOpenGL": "Your GPU does not support OpenGL 4.3", "requirements_cpu_unableToCheckAVX": "Unable to verify if your CPU supports AVX",
"requirements_gpu_avxExplanation_1_preLink": "Lookup your GPU",
"requirements_gpu_avxExplanation_1_link": "here", "requirements_gpu_avxExplanation_1_link": "here",
"requirements_gpu_avxExplanation_1_postLink": "to see if it should be supported", "requirements_gpu_avxExplanation_1_postLink": "to see if it should be supported",
"requirements_gpu_avxExplanation_1_preLink": "Lookup your GPU",
"requirements_gpu_avxExplanation_2": "You can attempt to upgrade your GPU drivers", "requirements_gpu_avxExplanation_2": "You can attempt to upgrade your GPU drivers",
"requirements_gpu_avxExplanation_3": "Otherwise, you will need to upgrade your GPU, most GPUs since 2012 support it", "requirements_gpu_avxExplanation_3": "Otherwise, you will need to upgrade your GPU, most GPUs since 2012 support it",
"requirements_button_recheck": "Recheck Requirements", "requirements_gpu_doesNotSupportOpenGL": "Your GPU does not support OpenGL 4.3",
"requirements_button_bypass": "Bypass Requirements", "requirements_gpu_supportsOpenGL": "Your GPU supports OpenGL 4.3",
"requirements_button_bypass_warning_1": "If you believe the requirement checks are false, you can bypass them.", "requirements_gpu_unableToCheckOpenGL": "Unable to verify if your GPU supports OpenGL 4.3",
"requirements_button_bypass_warning_2": "However, if you are wrong you should expect issues installing or running the game!", "requirements_notMet_header": "Unfortunately, your system does not meet all the minimum requirements or we were unable to check them",
"gameControls_button_play": "Play",
"gameControls_button_features": "Features",
"gameControls_button_features_textures": "Texture Packs",
"gameControls_button_advanced": "Advanced",
"gameControls_button_playInDebug": "Play in Debug Mode",
"gameControls_button_openREPL": "Open REPL",
"gameControls_button_decompile": "Decompile",
"gameControls_button_decompile_helpText": "Extracts game assets (ie. to apply texture replacements)",
"gameControls_button_compile": "Compile",
"gameControls_button_compile_helpText": "Rebuild the game. (ie. after modifying OpenGOAL source code)",
"gameControls_button_openSettingsFolder": "Open Settings Folder",
"gameControls_button_openSavesFolder": "Open Saves Folder",
"gameControls_button_resetSettings": "Reset Settings",
"gameControls_button_uninstall_confirmation": "Are you sure you want to uninstall?",
"gameControls_button_uninstall": "Uninstall",
"gameControls_button_uninstall_helpText": "This will not delete any saves or settings",
"gameName_jak1": "Jak & Daxter: The Precursor Legacy",
"gameName_jak2": "Jak II",
"temp_jak2_indev_header": "Jak II is Currently in Development",
"temp_jak2_indev_subheader": "In the meantime, check out our latest progress reports showcasing what we've accomplished so far",
"temp_jak2_indev_progressReports": "Progress Reports",
"gameControls_noToolingSet_header": "No Tooling Version Configured!",
"gameControls_noToolingSet_subheader": "Head over to the following settings page to download the latest release",
"gameControls_noToolingSet_button_setVersion": "Set Version",
"sidebar_settings": "Settings",
"sidebar_help": "Help",
"settings_general_localeChange": "Change Locale",
"settings_general_localeChange_helper_1": "Consider ",
"settings_general_localeChange_helper_link": "contributing translations",
"settings_general_localeChange_helper_2": "if you can!",
"settings_general_button_resetSettings": "Reset Launcher Settings",
"settings_general_button_resetSettings_confirmation": "Are you sure you want to reset your launcher settings? This will reset your installation directory and any other settings you have changed. This will not affect your game files.",
"settings_general_toggle_bypassRequirementsCheck": "Bypass Requirements Check",
"settings_folders_installationDir": "Installation Directory",
"settings_folders_installationDir_prompt": "Pick an Installation Folder", "settings_folders_installationDir_prompt": "Pick an Installation Folder",
"settings_versions_devel_tabName": "Development", "settings_folders_installationDir": "Installation Directory",
"settings_general_button_resetSettings_confirmation": "Are you sure you want to reset your launcher settings? This will reset your installation directory and any other settings you have changed. This will not affect your game files.",
"settings_general_button_resetSettings": "Reset Launcher Settings",
"settings_general_downloadLocaleSpecificFont": "Download Locale Specific Font",
"settings_general_localeChange_helper_1": "Consider ",
"settings_general_localeChange_helper_2": "if you can!",
"settings_general_localeChange_helper_link": "contributing translations",
"settings_general_localeChange": "Change Locale",
"settings_general_toggle_bypassRequirementsCheck": "Bypass Requirements Check",
"settings_tabs_folders": "Folders",
"settings_tabs_general": "General",
"settings_tabs_versions": "Versions",
"settings_versions_devel_description": "This list serves as a convenient area to stage, manage and test new releases (either official or unofficial). This list will always require manual management via it's respective folder", "settings_versions_devel_description": "This list serves as a convenient area to stage, manage and test new releases (either official or unofficial). This list will always require manual management via it's respective folder",
"settings_versions_official_tabName": "Official", "settings_versions_devel_tabName": "Development",
"settings_versions_official_description": "Official versions are from the `jak-project` GitHub repository", "settings_versions_header": "Configure your active tooling version",
"settings_versions_unofficial_tabName": "Unofficial",
"settings_versions_unofficial_description": "Unofficial versions are typically modified `jak-project` releases to enable changes or new content. These are not supported by the OpenGOAL team and will have to be manually added to the folder at this time",
"settings_versions_icon_save_altText": "save version change",
"settings_versions_icon_refresh_altText": "refresh version list",
"settings_versions_icon_openFolder_altText": "open version folder",
"settings_versions_icon_removeVersion_altText": "remove version",
"settings_versions_icon_downloadVersion_altText": "download version", "settings_versions_icon_downloadVersion_altText": "download version",
"settings_versions_icon_githubRelease_altText": "github release notes", "settings_versions_icon_githubRelease_altText": "github release notes",
"settings_versions_table_header_version": "Version", "settings_versions_icon_openFolder_altText": "open version folder",
"settings_versions_table_header_date": "Date", "settings_versions_icon_redownloadVersion_altText": "Redownload Version",
"settings_versions_icon_refresh_altText": "refresh version list",
"settings_versions_icon_removeVersion_altText": "remove version",
"settings_versions_icon_save_altText": "save version change",
"settings_versions_incompatibleVersion": "Incompatible",
"settings_versions_invalidReleaseGeneric": "Release marked as invalid",
"settings_versions_invalidReleaseWithReasons": "Release marked as invalid for the following reasons:",
"settings_versions_official_description": "Official versions are from the `jak-project` GitHub repository",
"settings_versions_official_tabName": "Official",
"settings_versions_table_header_changes": "Changes", "settings_versions_table_header_changes": "Changes",
"settings_versions_header": "Configure your active tooling version", "settings_versions_table_header_date": "Date",
"help_header": "Support & FAQ", "settings_versions_table_header_version": "Version",
"help_foreword": "If you are reporting an issue or asking for help, download the following support package and attach it in your Discord thread or GitHub issue.", "settings_versions_unofficial_description": "Unofficial versions are typically modified `jak-project` releases to enable changes or new content. These are not supported by the OpenGOAL team and will have to be manually added to the folder at this time",
"help_button_downloadPackage": "Download Support Package", "settings_versions_unofficial_tabName": "Unofficial",
"help_button_openLogFolder": "Open Log Folder", "setup_button_continue": "Continue",
"help_description_createAnIssue": "You can either ask a question on our Discord, or create a GitHub issue with as much detail as possible.", "setup_button_getSupportPackage": "Get Support Package",
"help_description_duplicateReminder": "In either location, please do a quick search to see if the question has already been answered before", "setup_button_installViaISO": "Install via ISO",
"help_button_reportLauncherIssue": "Report Launcher Issue", "setup_compile": "Compile",
"help_button_reportGameIssue": "Report Game Issue", "setup_copyFiles": "Copy Files",
"settings_tabs_general": "General", "setup_decompile": "Decompile",
"settings_tabs_folders": "Folders", "setup_done": "Done",
"settings_tabs_versions": "Versions", "setup_extractAndVerify": "Extract and Verify",
"update_header": "Launcher Update Available", "setup_installationFailed": "Installation has Failed!",
"update_versionLabel": "Version", "setup_logs_header": "Logs",
"update_description": "View the changes below and click the button to update to the latest version. The launcher will restart when finished.", "setup_logs_truncation": "Last 250 Lines",
"setup_prompt_ISOFileLabel": "Jak ISO File",
"setup_prompt_selectFolderWithISO": "Select a folder with your ISO's data extracted",
"setup_prompt_selectISO": "Select your legitimately obtained ISO File",
"sidebar_help": "Help",
"sidebar_settings": "Settings",
"splash_button_deleteOldInstallDir_no": "No",
"splash_button_deleteOldInstallDir_yes": "Yes",
"splash_button_setInstallFolder_prompt": "Pick an Installation Folder",
"splash_button_setInstallFolder": "Set Install Folder",
"splash_deleteOldInstallDir": "The old installation folder is no longer needed, delete it?",
"splash_noInstallDirSet": "No installation folder set!",
"splash_selectLocale": "Select Locale",
"splash_step_checkingDirectories": "Checking Directories",
"splash_step_errorOpening": "Problem opening Launcher",
"splash_step_finishingUp": "Finishing Up",
"splash_step_pickInstallFolder": "Pick an Installation Folder",
"splash_step_readingSettings": "Reading Settings",
"temp_jak2_indev_header": "Jak II is Currently in Development",
"temp_jak2_indev_progressReports": "Progress Reports",
"temp_jak2_indev_subheader": "In the meantime, check out our latest progress reports showcasing what we've accomplished so far",
"update_alreadyUpToDate": "You're Up to Date!",
"update_button_doUpdate": "Update Launcher", "update_button_doUpdate": "Update Launcher",
"update_button_viewChangelog": "View Changelog",
"update_button_hideDependencyChanges": "Dependency Changes", "update_button_hideDependencyChanges": "Dependency Changes",
"update_button_viewChangelog": "View Changelog",
"update_changelog_header_contributor": "Contributor", "update_changelog_header_contributor": "Contributor",
"update_changelog_header_description": "Description", "update_changelog_header_description": "Description",
"update_changelog_header_pullRequest": "Pull Request", "update_changelog_header_pullRequest": "Pull Request",
"update_alreadyUpToDate": "You're Up to Date!", "update_description": "View the changes below and click the button to update to the latest version. The launcher will restart when finished.",
"splash_selectLocale": "Select Locale", "update_header": "Launcher Update Available",
"splash_deleteOldInstallDir": "The old installation folder is no longer needed, delete it?", "update_versionLabel": "Version"
"splash_button_deleteOldInstallDir_yes": "Yes",
"splash_button_deleteOldInstallDir_no": "No",
"splash_noInstallDirSet": "No installation folder set!",
"splash_button_setInstallFolder": "Set Install Folder",
"splash_button_setInstallFolder_prompt": "Pick an Installation Folder",
"splash_step_readingSettings": "Reading Settings",
"splash_step_checkingDirectories": "Checking Directories",
"splash_step_pickInstallFolder": "Pick an Installation Folder",
"splash_step_finishingUp": "Finishing Up",
"splash_step_errorOpening": "Problem opening Launcher",
"gameJob_deleteTexturePacks": "Deleting Packs",
"gameJob_enablingTexturePacks": "Enabling Packs",
"gameJob_applyTexturePacks": "Applying Packs",
"features_textures_invalidPack": "Invalid texture pack format, ensure it contains a top-level `texture_replacements` folder.",
"features_textures_addNewPack": "Add New Pack",
"features_textures_applyChanges": "Apply Texture Changes",
"features_textures_listHeading": "Currently Added Packs",
"features_textures_description": "You can enable as many packs as you want, but if multiple packs replace the same file the order matters. For example if two packs replace the grass, the first pack in the list will take precedence.",
"features_textures_replacedCount": "Textures replaced",
"features_textures_enabled": "Enabled",
"features_textures_disabled": "Disabled",
"features_textures_conflictsDetected": "Conflicts Detected!"
} }

View file

@ -141,10 +141,10 @@
await writeText(launchString); await writeText(launchString);
toastStore.makeToast("Copied to clipboard!", "info"); toastStore.makeToast("Copied to clipboard!", "info");
}} }}
>Copy Game Executable Command<Helper >{$_("gameControls_button_copyExecutableCommand")}<Helper
helperClass="!text-neutral-400 !text-xs" helperClass="!text-neutral-400 !text-xs"
>For running the game outside the launcher.<br />The command is >{$_("gameControls_button_copyExecutableCommand_helpText_1")}<br
tooling-version specific.</Helper />{$_("gameControls_button_copyExecutableCommand_helpText_2")}</Helper
></DropdownItem ></DropdownItem
> >
<DropdownDivider /> <DropdownDivider />

View file

@ -231,14 +231,14 @@
class="flex-shrink border-solid rounded text-white hover:dark:text-slate-900 hover:bg-white font-semibold px-2 py-2" class="flex-shrink border-solid rounded text-white hover:dark:text-slate-900 hover:bg-white font-semibold px-2 py-2"
on:click={async () => on:click={async () =>
navigate(`/${getInternalName(activeGame)}`, { replace: true })} navigate(`/${getInternalName(activeGame)}`, { replace: true })}
aria-label="back to game page" aria-label={$_("features_backToGamePage_buttonAlt")}
> >
<IconArrowLeft /> <IconArrowLeft />
</Button> </Button>
<Button <Button
class="flex-shrink border-solid rounded bg-orange-400 hover:bg-orange-600 text-sm text-slate-900 font-semibold px-5 py-2" class="flex-shrink border-solid rounded bg-orange-400 hover:bg-orange-600 text-sm text-slate-900 font-semibold px-5 py-2"
on:click={addNewTexturePack} on:click={addNewTexturePack}
aria-label="add a new texture pack" aria-label={$_("features_textures_addNewPack_buttonAlt")}
disabled={addingPack} disabled={addingPack}
> >
{#if addingPack} {#if addingPack}
@ -250,7 +250,7 @@
<Button <Button
class="flex-shrink border-solid rounded bg-green-400 hover:bg-green-500 text-sm text-slate-900 font-semibold px-5 py-2" class="flex-shrink border-solid rounded bg-green-400 hover:bg-green-500 text-sm text-slate-900 font-semibold px-5 py-2"
on:click={applyTexturePacks} on:click={applyTexturePacks}
aria-label="apply texture changes" aria-label={$_("features_textures_applyChanges_buttonAlt")}
>{$_("features_textures_applyChanges")}</Button >{$_("features_textures_applyChanges")}</Button
> >
{/if} {/if}
@ -331,7 +331,7 @@
<Button <Button
outline outline
class="!p-1.5 rounded-md border-blue-500 text-blue-500 hover:bg-blue-600" class="!p-1.5 rounded-md border-blue-500 text-blue-500 hover:bg-blue-600"
aria-label="move texture pack up in order" aria-label={$_("features_textures_moveUp_buttonAlt")}
on:click={() => { on:click={() => {
moveTexturePack(packIndex - 1, packIndex); moveTexturePack(packIndex - 1, packIndex);
}} }}
@ -343,7 +343,7 @@
<Button <Button
outline outline
class="!p-1.5 rounded-md border-blue-500 text-blue-500 hover:bg-blue-600" class="!p-1.5 rounded-md border-blue-500 text-blue-500 hover:bg-blue-600"
aria-label="move texture pack down in order" aria-label={$_("features_textures_moveDown_buttonAlt")}
on:click={() => { on:click={() => {
moveTexturePack(packIndex + 1, packIndex); moveTexturePack(packIndex + 1, packIndex);
}} }}
@ -355,7 +355,7 @@
<Button <Button
outline outline
class="!p-1.5 rounded-md border-red-500 text-red-500 hover:bg-red-600" class="!p-1.5 rounded-md border-red-500 text-red-500 hover:bg-red-600"
aria-label="delete texture pack" aria-label={$_("features_textures_deletePack_buttonAlt")}
on:click={() => { on:click={() => {
pack.toBeDeleted = true; pack.toBeDeleted = true;
pack.enabled = false; pack.enabled = false;

View file

@ -44,11 +44,12 @@
async function install(viaFolder: boolean) { async function install(viaFolder: boolean) {
let sourcePath = ""; let sourcePath = "";
if (viaFolder) { if (viaFolder) {
sourcePath = await folderPrompt( sourcePath = await folderPrompt($_("setup_prompt_selectFolderWithISO"));
"Select a folder with your ISO's data extracted",
);
} else { } else {
sourcePath = await isoPrompt(); sourcePath = await isoPrompt(
$_("setup_prompt_ISOFileLabel"),
$_("setup_prompt_selectISO"),
);
} }
if (sourcePath !== undefined) { if (sourcePath !== undefined) {
installing = true; installing = true;

View file

@ -113,8 +113,8 @@
</div> </div>
<div class="border-l shrink-0 border-[#9f9f9f] h-8 m-2" /> <div class="border-l shrink-0 border-[#9f9f9f] h-8 m-2" />
<div class="flex flex-col shrink-0 text-neutral-500 mr-2 pointer-events-none"> <div class="flex flex-col shrink-0 text-neutral-500 mr-2 pointer-events-none">
<p class="font-mono text-sm">Launcher</p> <p class="font-mono text-sm">{$_("header_launcherVersionLabel")}</p>
<p class="font-mono text-sm">Tooling</p> <p class="font-mono text-sm">{$_("header_toolingVersionLabel")}</p>
</div> </div>
<div <div
class="flex flex-col text-neutral-300 mr-2 pointer-events-none max-w-[250px]" class="flex flex-col text-neutral-300 mr-2 pointer-events-none max-w-[250px]"

View file

@ -39,12 +39,11 @@ export async function saveFolderPrompt(
}); });
} }
export async function isoPrompt(): Promise<string | undefined> { export async function isoPrompt(
const path = await filePrompt( fileExplanation: string,
["ISO", "iso"], title: string,
"Jak ISO File", ): Promise<string | undefined> {
"Select your legitimately obtained ISO File", const path = await filePrompt(["ISO", "iso"], fileExplanation, title);
);
if (path === null) { if (path === null) {
return undefined; return undefined;
} }

View file

@ -105,7 +105,7 @@
{#if localeFontDownloading} {#if localeFontDownloading}
<Spinner class="mr-3" size="4" color="white" /> <Spinner class="mr-3" size="4" color="white" />
{/if} {/if}
Download Locale Specific Font {$_("settings_general_downloadLocaleSpecificFont")}
</Button> </Button>
{/if} {/if}
</div> </div>

View file

@ -157,7 +157,7 @@
)} )}
/> />
{:else if release.downloadUrl === undefined} {:else if release.downloadUrl === undefined}
<span>Incompatible</span> <span>{$_("settings_versions_incompatibleVersion")}</span>
{:else if release.pendingAction} {:else if release.pendingAction}
<Spinner color="yellow" size={"6"} /> <Spinner color="yellow" size={"6"} />
{:else if release.releaseType === "official" && release.downloadUrl !== undefined} {:else if release.releaseType === "official" && release.downloadUrl !== undefined}
@ -173,13 +173,13 @@
{#if release.invalid} {#if release.invalid}
<Tooltip color="red"> <Tooltip color="red">
{#if release.invalidationReasons.length > 0} {#if release.invalidationReasons.length > 0}
Release marked as invalid for the following reasons: {$_("settings_versions_invalidReleaseGeneric")}
{#each release.invalidationReasons as reason} {#each release.invalidationReasons as reason}
<br /> <br />
- {reason} - {reason}
{/each} {/each}
{:else} {:else}
Release marked as invalid {$_("settings_versions_invalidReleaseGeneric")}
{/if} {/if}
</Tooltip> </Tooltip>
{/if} {/if}
@ -199,7 +199,9 @@
{:else} {:else}
<IconRefresh <IconRefresh
class="text-xl" class="text-xl"
aria-label="Redownload Version" aria-label={$_(
"settings_versions_icon_redownloadVersion_altText",
)}
/> />
{/if} {/if}
</Button> </Button>