diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-08-03 14:36:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-03 14:36:43 -0400 |
| commit | 9080ea21a68ec0817168a45811f3d51ade8d6be0 (patch) | |
| tree | 52c1cad716b92c784d2946d063cc36b34255ea5e /src/components/InstallationButton.tsx | |
| parent | b936baab13b026d4355844d94616a622753a7370 (diff) | |
| parent | e0681b06efdee3dcacb6ddfca515d947b802faff (diff) | |
| download | decky-lsfg-vk-9080ea21a68ec0817168a45811f3d51ade8d6be0.tar.gz decky-lsfg-vk-9080ea21a68ec0817168a45811f3d51ade8d6be0.zip | |
Merge pull request #231 from sana2dang/language
Add multiple languages
Diffstat (limited to 'src/components/InstallationButton.tsx')
| -rw-r--r-- | src/components/InstallationButton.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/InstallationButton.tsx b/src/components/InstallationButton.tsx index d0f2ce5..7f0ac96 100644 --- a/src/components/InstallationButton.tsx +++ b/src/components/InstallationButton.tsx @@ -1,5 +1,6 @@ import { ButtonItem, PanelSectionRow } from "@decky/ui"; import { FaDownload, FaTrash } from "react-icons/fa"; +import t from '../i18n/i18n'; interface InstallationButtonProps { isInstalled: boolean; @@ -20,7 +21,7 @@ export function InstallationButton({ if (isInstalling) { return ( <div style={{ display: "flex", alignItems: "center", gap: "8px" }}> - <div>Installing...</div> + <div>{t('INSTALL_INSTALLING', 'Installing...')}</div> </div> ); } @@ -28,7 +29,7 @@ export function InstallationButton({ if (isUninstalling) { return ( <div style={{ display: "flex", alignItems: "center", gap: "8px" }}> - <div>Uninstalling...</div> + <div>{t('INSTALL_UNINSTALLING', 'Uninstalling...')}</div> </div> ); } @@ -37,7 +38,7 @@ export function InstallationButton({ return ( <div style={{ display: "flex", alignItems: "center", gap: "8px" }}> <FaTrash /> - <div>Uninstall LSFG-VK</div> + <div>{t('INSTALL_UNINSTALL_BTN', 'Uninstall LSFG-VK')}</div> </div> ); } @@ -45,7 +46,7 @@ export function InstallationButton({ return ( <div style={{ display: "flex", alignItems: "center", gap: "8px" }}> <FaDownload /> - <div>Install LSFG-VK</div> + <div>{t('INSTALL_INSTALL_BTN', 'Install LSFG-VK')}</div> </div> ); }; |
