summaryrefslogtreecommitdiff
path: root/src/components/InstallationButton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/InstallationButton.tsx')
-rw-r--r--src/components/InstallationButton.tsx9
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>
);
};