mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 06:01:58 +00:00
Simplified inlining and cleaning up unused translations
This commit is contained in:
@@ -255,7 +255,6 @@ class PluginLoader extends Logger {
|
|||||||
version: version,
|
version: version,
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
//this.error(t('PluginLoader.plugin_load_error.message', { name: name }), e);
|
|
||||||
this.error('Error loading plugin ' + name, e);
|
this.error('Error loading plugin ' + name, e);
|
||||||
const TheError: FC<{}> = () => (
|
const TheError: FC<{}> = () => (
|
||||||
<Translation>
|
<Translation>
|
||||||
@@ -266,11 +265,12 @@ class PluginLoader extends Logger {
|
|||||||
<pre>
|
<pre>
|
||||||
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
||||||
</pre>
|
</pre>
|
||||||
<IconContext.Provider value={{ style: { verticalAlign: 'middle' } }}>
|
<div>
|
||||||
<div>
|
<Trans
|
||||||
<Trans i18nKey="PluginLoader.plugin_error_uninstall" components={[<FaCog />]} />
|
i18nKey="PluginLoader.plugin_error_uninstall"
|
||||||
</div>
|
components={[<FaCog style={{ verticalAlign: 'middle' }} />]}
|
||||||
</IconContext.Provider>
|
/>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user