From b3bd38494122b402a7c1c3873747148da2538ef6 Mon Sep 17 00:00:00 2001
From: sana2dang <sana2dang@naver.com>
Date: Thu, 12 Mar 2026 16:07:04 +0900
Subject: Apply i18n to all UI components with ko/ja translations

- Add src/i18n/i18n.ts translation engine (ported from SimpleDeckyTDP)
- Add defaults/i18n/{ko,ja,template}.json with 80 translation keys
- Add defaults/i18n/language_metadata.json and steam_language_map.json
- Add scripts/build_i18n_json.sh to generate languages.json
- Apply t() to all 10 components: Content, ConfigurationSection,
  FlatpaksModal, FpsMultiplierControl, InstallationButton, NerdStuffModal,
  ProfileManagement, SmartClipboardButton, FgmodClipboardButton, UsageInstructions
---
 src/components/Content.tsx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'src/components/Content.tsx')

diff --git a/src/components/Content.tsx b/src/components/Content.tsx
index 3dc2696..c785a50 100644
--- a/src/components/Content.tsx
+++ b/src/components/Content.tsx
@@ -14,6 +14,7 @@ import { FpsMultiplierControl } from "./FpsMultiplierControl";
 import { NerdStuffModal } from "./NerdStuffModal";
 import { FlatpaksModal } from "./FlatpaksModal";
 import { ConfigurationData } from "../config/configSchema";
+import t from '../i18n/i18n';
 
 export function Content() {
   const {
@@ -108,7 +109,7 @@ export function Content() {
                 color: "white"
               }}
             >
-              FPS Multiplier
+              {t('CONTENT_FPS_MULTIPLIER', 'FPS Multiplier')}
             </div>
           </PanelSectionRow>
 
@@ -150,7 +151,7 @@ export function Content() {
           layout="below"
           onClick={handleShowNerdStuff}
         >
-          Nerd Stuff
+          {t('CONTENT_NERD_STUFF', 'Nerd Stuff')}
         </ButtonItem>
       </PanelSectionRow>
 
@@ -159,7 +160,7 @@ export function Content() {
           layout="below"
           onClick={handleShowFlatpaks}
         >
-          Flatpak Setup
+          {t('CONTENT_FLATPAK_SETUP', 'Flatpak Setup')}
         </ButtonItem>
       </PanelSectionRow>
 
-- 
cgit v1.2.3

