summaryrefslogtreecommitdiff
path: root/src/components/FgmodClipboardButton.tsx
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-08-03 14:36:43 -0400
committerGitHub <noreply@github.com>2026-08-03 14:36:43 -0400
commit1bba458079c36c4f95b757e820c746a0f95ed64f (patch)
tree52c1cad716b92c784d2946d063cc36b34255ea5e /src/components/FgmodClipboardButton.tsx
parent5598bb0e97fd9a0e16f63c4c93a4dc6ae1f169ab (diff)
parentc52d1fa86d302d0d6cb29808aa62c755c7b33362 (diff)
downloaddecky-lsfg-vk-1bba458079c36c4f95b757e820c746a0f95ed64f.tar.gz
decky-lsfg-vk-1bba458079c36c4f95b757e820c746a0f95ed64f.zip
Merge pull request #231 from sana2dang/language
Add multiple languages
Diffstat (limited to 'src/components/FgmodClipboardButton.tsx')
-rw-r--r--src/components/FgmodClipboardButton.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/FgmodClipboardButton.tsx b/src/components/FgmodClipboardButton.tsx
index 6f65955..efc5490 100644
--- a/src/components/FgmodClipboardButton.tsx
+++ b/src/components/FgmodClipboardButton.tsx
@@ -4,6 +4,7 @@ import { FaClipboard, FaCheck } from "react-icons/fa";
import { checkFgmodDirectory } from "../api/lsfgApi";
import { showClipboardErrorToast } from "../utils/toastUtils";
import { copyWithVerification } from "../utils/clipboardUtils";
+import t from '../i18n/i18n';
export function FgmodClipboardButton() {
const [isLoading, setIsLoading] = useState(false);
@@ -93,7 +94,7 @@ export function FgmodClipboardButton() {
color: showSuccess ? "#4CAF50" : "inherit",
fontWeight: showSuccess ? "bold" : "normal"
}}>
- {showSuccess ? "Copied to clipboard" : isLoading ? "Copying..." : "LSFG + DeckyFG"}
+ {showSuccess ? t('CLIPBOARD_COPIED', 'Copied to clipboard') : isLoading ? t('CLIPBOARD_COPYING', 'Copying...') : t('CLIPBOARD_LSFG_FGMOD', 'LSFG + DeckyFG')}
</div>
</div>
</ButtonItem>