summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/PluginInstallModal.tsx
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-05-25 19:14:54 -0400
committerAAGaming <aagaming@riseup.net>2024-05-25 19:14:54 -0400
commita84a13c76d99f1e6f4505d43108a4111749e5035 (patch)
treee2826700cd371e6590818047551028d8179389bf /frontend/src/components/modals/PluginInstallModal.tsx
parent96cc72f2ca25ccb312b68a29aca755bb7df660ed (diff)
downloaddecky-loader-a84a13c76d99f1e6f4505d43108a4111749e5035.tar.gz
decky-loader-a84a13c76d99f1e6f4505d43108a4111749e5035.zip
Custom error handler and some misc fixes
Diffstat (limited to 'frontend/src/components/modals/PluginInstallModal.tsx')
-rw-r--r--frontend/src/components/modals/PluginInstallModal.tsx28
1 files changed, 14 insertions, 14 deletions
diff --git a/frontend/src/components/modals/PluginInstallModal.tsx b/frontend/src/components/modals/PluginInstallModal.tsx
index 8b3128a1..c6c90264 100644
--- a/frontend/src/components/modals/PluginInstallModal.tsx
+++ b/frontend/src/components/modals/PluginInstallModal.tsx
@@ -60,10 +60,10 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
strTitle={
<div>
<TranslationHelper
- trans_class={TranslationClass.PLUGIN_INSTALL_MODAL}
- trans_text="title"
- i18n_args={{ artifact: artifact }}
- install_type={installType}
+ transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
+ transText="title"
+ i18nArgs={{ artifact: artifact }}
+ installType={installType}
/>
</div>
}
@@ -71,17 +71,17 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
loading ? (
<div>
<TranslationHelper
- trans_class={TranslationClass.PLUGIN_INSTALL_MODAL}
- trans_text="button_processing"
- install_type={installType}
+ transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
+ transText="button_processing"
+ installType={installType}
/>
</div>
) : (
<div>
<TranslationHelper
- trans_class={TranslationClass.PLUGIN_INSTALL_MODAL}
- trans_text="button_idle"
- install_type={installType}
+ transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
+ transText="button_idle"
+ installType={installType}
/>
</div>
)
@@ -89,13 +89,13 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({
>
<div>
<TranslationHelper
- trans_class={TranslationClass.PLUGIN_INSTALL_MODAL}
- trans_text="desc"
- i18n_args={{
+ transClass={TranslationClass.PLUGIN_INSTALL_MODAL}
+ transText="desc"
+ i18nArgs={{
artifact: artifact,
version: version,
}}
- install_type={installType}
+ installType={installType}
/>
</div>
{loading && (