mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-13 12:15:09 +03:00
Fixed untranslated error message and added french suffix country code.
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
"decky_title": "Decky",
|
||||
"decky_update_available": "Ενημέρωση σε {{tag_name}} διαθέσιμη!",
|
||||
"error": "Σφάλμα",
|
||||
"plugin_error_uninstall": "Πηγαίντε στο {{-icon}} στο μενού του Decky για να απεγκαταστήσετε αυτή την επέκταση.",
|
||||
"plugin_error_uninstall": "Πηγαίντε στο <0></0> στο μενού του Decky για να απεγκαταστήσετε αυτή την επέκταση.",
|
||||
"plugin_load_error": {
|
||||
"message": "Σφάλμα στη φόρτωση της επέκτασης {{name}}",
|
||||
"toast": "Σφάλμα φόρτωσης {{name}}"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"decky_title": "Decky",
|
||||
"decky_update_available": "Update to {{tag_name}} available!",
|
||||
"error": "Error",
|
||||
"plugin_error_uninstall": "Please go to {{-icon}} in the Decky menu if you need to uninstall this plugin.",
|
||||
"plugin_error_uninstall": "Please go to <0></0> in the Decky menu if you need to uninstall this plugin.",
|
||||
"plugin_load_error": {
|
||||
"message": "Error loading plugin {{name}}",
|
||||
"toast": "Error loading {{name}}"
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
"PluginLoader": {
|
||||
"decky_title": "Decky",
|
||||
"error": "Erreur",
|
||||
"plugin_error_uninstall": "Allez sur {{-icon}} dans le menu de Decky si vous voulez désinstaller ce plugin.",
|
||||
"plugin_error_uninstall": "Allez sur <0></0> dans le menu de Decky si vous voulez désinstaller ce plugin.",
|
||||
"plugin_load_error": {
|
||||
"message": "Erreur lors du chargement du plugin {{name}}",
|
||||
"toast": "Erreur lors du chargement de {{name}}"
|
||||
@@ -56,7 +56,7 @@
|
||||
"decky_title": "Decky",
|
||||
"decky_update_available": "Disponibile aggiornamento a {{tag_name}}!",
|
||||
"error": "Errore",
|
||||
"plugin_error_uninstall": "Per rimuovere questo plugin vai su {{-icon}} nel menu di Decky.",
|
||||
"plugin_error_uninstall": "Per rimuovere questo plugin vai su <0></0> nel menu di Decky.",
|
||||
"plugin_load_error": {
|
||||
"message": "Errore caricando il plugin {{name}}",
|
||||
"toast": "Errore caricando {{name}}"
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
"desc": "Je i sigurt që don ta çinstalojsh {{name}}?"
|
||||
},
|
||||
"error": "Gabim",
|
||||
"plugin_error_uninstall": "Ju lutem shko nga {{-icon}} në Decky menu nëse don ta çinstalojsh këtë shtese."
|
||||
"plugin_error_uninstall": "Ju lutem shko nga <0></0> në Decky menu nëse don ta çinstalojsh këtë shtese."
|
||||
},
|
||||
"PluginListIndex": {
|
||||
"no_plugin": "Nuk ka shtesa të instaluar!",
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"PluginLoader": {
|
||||
"decky_title": "Decky",
|
||||
"error": "错误",
|
||||
"plugin_error_uninstall": "如果你想卸载插件请点击 Decky 菜单中的 {{-icon}} 图标",
|
||||
"plugin_error_uninstall": "如果你想卸载插件请点击 Decky 菜单中的 <0></0> 图标",
|
||||
"plugin_load_error": {
|
||||
"message": "加载插件 {{name}} 错误",
|
||||
"toast": "加载插件 {{name}} 发生了错误"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
"PluginLoader": {
|
||||
"decky_title": "Decky",
|
||||
"error": "錯誤",
|
||||
"plugin_error_uninstall": "如果您要解除安裝外掛程式,請在 Decky 選單,按下 {{-icon}}。",
|
||||
"plugin_error_uninstall": "如果您要解除安裝外掛程式,請在 Decky 選單,按下 <0></0>。",
|
||||
"plugin_load_error": {
|
||||
"message": "載入外掛程式 {{name}} 發生錯誤",
|
||||
"toast": "{{name}} 載入出錯"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"@types/react-router": "5.1.18",
|
||||
"@types/webpack": "^5.28.1",
|
||||
"husky": "^8.0.3",
|
||||
"i18next-parser": "^7.7.0",
|
||||
"i18next-parser": "^7.9.0",
|
||||
"import-sort-style-module": "^6.0.0",
|
||||
"inquirer": "^8.2.5",
|
||||
"prettier": "^2.8.8",
|
||||
@@ -33,7 +33,7 @@
|
||||
"rollup-plugin-delete": "^2.0.0",
|
||||
"rollup-plugin-external-globals": "^0.6.1",
|
||||
"rollup-plugin-polyfill-node": "^0.10.2",
|
||||
"tslib": "^2.5.0",
|
||||
"tslib": "^2.5.2",
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"importSort": {
|
||||
@@ -44,10 +44,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"decky-frontend-lib": "3.20.7",
|
||||
"i18next": "^22.4.15",
|
||||
"i18next-http-backend": "^2.2.0",
|
||||
"i18next": "^22.5.0",
|
||||
"i18next-http-backend": "^2.2.1",
|
||||
"react-file-icon": "^1.3.0",
|
||||
"react-i18next": "^12.2.2",
|
||||
"react-i18next": "^12.3.1",
|
||||
"react-icons": "^4.8.0",
|
||||
"react-markdown": "^8.0.7",
|
||||
"remark-gfm": "^3.0.1"
|
||||
|
||||
Generated
+248
-242
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,6 @@
|
||||
import { ConfirmModal, ModalRoot, Patch, QuickAccessTab, Router, showModal, sleep } from 'decky-frontend-lib';
|
||||
import { FC, lazy } from 'react';
|
||||
import { Trans, Translation } from 'react-i18next';
|
||||
import { FaCog, FaExclamationCircle, FaPlug } from 'react-icons/fa';
|
||||
|
||||
import { DeckyState, DeckyStateContextProvider, useDeckyState } from './components/DeckyState';
|
||||
@@ -255,26 +256,25 @@ class PluginLoader extends Logger {
|
||||
} catch (e) {
|
||||
//this.error(t('PluginLoader.plugin_load_error.message', { name: name }), e);
|
||||
this.error('Error loading plugin ' + name, e);
|
||||
/*const TheError: FC<{}> = () => (
|
||||
<>
|
||||
{t('PluginLoader.error')}:{' '}
|
||||
<pre>
|
||||
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
||||
</pre>
|
||||
<>{t('PluginLoader.plugin_error_uninstall', { icon: "<FaCog style={{ display: 'inline' }} />" })}</>
|
||||
</>
|
||||
);*/
|
||||
const TheError: FC<{}> = () => (
|
||||
<>
|
||||
Error:{' '}
|
||||
<pre>
|
||||
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
||||
</pre>
|
||||
<>
|
||||
Please go to <FaCog style={{ display: 'inline' }} /> in the Decky menu if you need to uninstall this
|
||||
plugin.
|
||||
</>
|
||||
</>
|
||||
<Translation>
|
||||
{(t, {}) => {
|
||||
return (
|
||||
<>
|
||||
{t('PluginLoader.error')}:{' '}
|
||||
<pre>
|
||||
<code>{e instanceof Error ? e.stack : JSON.stringify(e)}</code>
|
||||
</pre>
|
||||
<>
|
||||
<Trans
|
||||
i18nKey="PluginLoader.plugin_error_uninstall"
|
||||
components={[<FaCog style={{ display: 'inline' }} />]}
|
||||
/>
|
||||
</>
|
||||
</>
|
||||
);
|
||||
}}
|
||||
</Translation>
|
||||
);
|
||||
this.plugins.push({
|
||||
name: name,
|
||||
|
||||
Reference in New Issue
Block a user