summaryrefslogtreecommitdiff
path: root/src/components/UsageInstructions.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/UsageInstructions.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/UsageInstructions.tsx')
-rw-r--r--src/components/UsageInstructions.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/UsageInstructions.tsx b/src/components/UsageInstructions.tsx
index 5f032b8..36e31cf 100644
--- a/src/components/UsageInstructions.tsx
+++ b/src/components/UsageInstructions.tsx
@@ -1,4 +1,5 @@
import { PanelSectionRow } from "@decky/ui";
+import t from '../i18n/i18n';
export function UsageInstructions() {
return (
@@ -15,7 +16,7 @@ export function UsageInstructions() {
color: "white"
}}
>
- Usage Instructions
+ {t('USAGE_TITLE', 'Usage Instructions')}
</div>
</PanelSectionRow>
@@ -28,7 +29,7 @@ export function UsageInstructions() {
whiteSpace: "pre-wrap"
}}
>
- Click "Copy Launch Option" button, then paste it into your Steam game's launch options to enable frame generation.
+ {t('USAGE_DESC', 'Click "Copy Launch Option" button, then paste it into your Steam game\'s launch options to enable frame generation.')}
</div>
</PanelSectionRow>
@@ -60,7 +61,7 @@ export function UsageInstructions() {
marginTop: "8px"
}}
>
-The configuration is stored in ~/.config/lsfg-vk/conf.toml and hot-reloads while games are running.
+ {t('USAGE_CONFIG_NOTE', 'The configuration is stored in ~/.config/lsfg-vk/conf.toml and hot-reloads while games are running.')}
</div>
</PanelSectionRow>
</>