The new menu languages follow the FSR 4 and FSR sharpness catalog ids, and the Vietnamese setup text has the FSR download entries

The eight new menu tables still used UI_MENU_FSR3_SHARPNESS and lacked the four FSR 4 upscaler strings, which dev renamed or added, so the PR did not compile on dev. installer/text/vi.json lacked the six fsr step, phase, warning and checkbox ids. CONTRIBUTING.md lists all twelve menu languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-23 18:38:32 +03:00
1 parent 719cff3a4c
commit c465183dcc
3 files changed
+55 -25

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ Open pull requests against `dev`. Branch from the current `dev` and rebase on it
- **The fix, not a disabled feature.** A crash that goes away with a feature off points at the bug in that feature. Turning the feature off for a vendor is not a fix.
- **The frame time on weak hardware.** Game threads and the render thread do no file I/O, no GPU allocations, no per-draw state copies and no global atomic counters. Memory kept per frame or per object is freed. The full list with measured costs: [docs/pr-review-kit/02-performance.md](docs/pr-review-kit/02-performance.md), "What the hot path must not do".
- **Other GPUs.** New Vulkan code queries each feature, extension, format and limit it uses and keeps a working path without it. Nothing is hardcoded from what one GPU reports.
- **Text in the catalogs.** Text a player sees gets an id in `runtime/ui_text.h` and an entry in `runtime/ui_text.c` for every menu language (English, Russian, Brazilian Portuguese, Simplified Chinese); installer text goes into `installer/text/*.json`.
- **Text in the catalogs.** Text a player sees gets an id in `runtime/ui_text.h` and an entry in `runtime/ui_text.c` for every menu language (English, Russian, Brazilian Portuguese, Simplified Chinese, German, French, Spanish, Italian, Dutch, Japanese, Korean, Vietnamese); installer text goes into `installer/text/*.json`.
- **The generator owns generated C.** Change `recomp/`, never `generated/`.
### Checks by what you changed
+6 -8
View File
@@ -9,8 +9,8 @@
"step.pc_prompts": "Vẽ biểu tượng nút bàn phím và chuột",
"step.shapes": "Bố trí giao diện trò chơi theo màn hình của bạn",
"step.dlss": "Tải xuống NVIDIA DLSS",
"step.fsr": "Tải xuống AMD FSR 4",
"step.cleanup": "Dọn dẹp",
"phase.check.host": "Kiểm tra bộ xử lý và card đồ họa",
"phase.check.verify": "Kiểm tra các tệp đã cài đặt",
"phase.check.verify_romfs": "Kiểm tra dữ liệu trò chơi đã cài đặt",
@@ -40,15 +40,14 @@
"phase.prepare.pack": "Đóng gói bộ nhớ đệm shader thành một tệp",
"phase.shapes.layouts": "Ghi bố cục màn hình và biểu tượng nút cho từng tỷ lệ màn hình",
"phase.dlss.download": "Tải xuống nvngx_dlss.dll từ DLSS SDK của NVIDIA",
"phase.fsr.download": "Tải xuống các thư viện FSR 4 từ FSR SDK của AMD",
"phase.cleanup.ini": "Ghi totk.ini",
"phase.cleanup.temp": "Xóa các tệp tạm",
"cli.usage": "Dòng lệnh không hợp lệ: {detail}",
"internal": "Lỗi không mong muốn ({exception}): {detail}",
"state.unreadable": "Không thể đọc {path}. Hãy chọn thư mục khác hoặc xóa tệp đó.",
"state.newer_format": "{path} được ghi bởi một trình cài đặt mới hơn. Hãy dùng trình cài đặt đó hoặc chọn thư mục khác.",
"state.output_changed": "Các tệp đã cài đặt của bước '{step}' đã thay đổi kể từ khi được tạo; bước đó sẽ chạy lại.",
"check.release_incomplete": "Thư mục trình cài đặt không đầy đủ; còn thiếu: {paths}. Hãy giải nén lại bản phát hành.",
"check.dest_not_folder": "Vị trí cài đặt {path} là một tệp, không phải thư mục.",
"check.dest_not_empty": "Thư mục cài đặt {path} không trống và không chứa bản cài đặt nào trước đó. Hãy chọn một thư mục trống.",
@@ -91,7 +90,6 @@
"check.firmware_missing": "Thư mục firmware {path} không tồn tại. Hãy chọn thư mục Contents/registered của firmware.",
"check.firmware_empty": "Thư mục firmware {path} không chứa tệp NCA nào. Hãy chọn thư mục Contents/registered của firmware.",
"check.fonts_keys_needed": "Phông chữ dùng chung cho ngôn ngữ này chưa được cài đặt; hãy chọn prod.keys để trình cài đặt trích xuất chúng từ firmware.",
"extract.exefs_mismatch": "Mã trò chơi đã trích xuất không khớp với phiên bản {version} ({modules}).",
"extract.romfs_merge_failed": "Áp dụng bản cập nhật vào dữ liệu trò chơi không thành công: {detail}. Chi tiết: {log}",
"extract.romfs_mismatch": "Dữ liệu trò chơi đã trích xuất không khớp với phiên bản {version} (kích thước {size}, tổng kiểm tra {sha256}...).",
@@ -111,7 +109,6 @@
"cleanup.romfs_unreadable": "Dữ liệu trò chơi trong {path} bị thiếu hoặc không đọc được sau khi cài đặt. Hãy khởi động lại Windows, rồi chạy lại trình cài đặt trên cùng thư mục đó: trình cài đặt sẽ trích xuất lại dữ liệu trò chơi và giữ nguyên phần còn lại.",
"prepare.pack_failed": "Đóng gói bộ nhớ đệm shader không thành công (mã thoát {code}). Chi tiết: {log}",
"cleanup.ini_failed": "Không thể ghi totk.ini: {detail}",
"warn.lang_needs_fonts": "Văn bản bằng {lang} cần phông chữ hệ thống của Switch, nhưng chưa có phông chữ nào được cung cấp. Trò chơi sẽ không khởi động bằng ngôn ngữ này cho đến khi chúng được thêm vào. Hãy chọn thư mục firmware (Contents/registered), hoặc xem mục \"Switch system fonts\" trong docs/installer.md.",
"warn.npdm_differs": "main.npdm khác với bản dump tham chiếu {version}; chỉ các mô-đun mã được sử dụng.",
"warn.cheats_skipped": "Không thể biên dịch các cheat trong thư mục mods có thay đổi mã của trò chơi; trò chơi sẽ được cài đặt mà không có chúng. Chi tiết: {log}",
@@ -122,7 +119,8 @@
"warn.kernel_old": "Linux {version} thiếu tính năng theo dõi ghi (write tracking) mà trò chơi cần (6.7 trở lên); trò chơi có thể chạy rất chậm. Cập nhật hệ thống sẽ khắc phục điều này.",
"warn.dlss_kept": "Thư mục cài đặt đã có một thư viện DLSS ({path}); trình cài đặt giữ nguyên thư viện đó.",
"warn.dlss_download_failed": "Không thể tải xuống NVIDIA DLSS từ {url}: {detail}. Trò chơi vẫn chạy mà không có DLSS; lần chạy trình cài đặt tiếp theo sẽ thử lại.",
"warn.fsr_kept": "Thư mục cài đặt đã có một thư viện FSR ({path}); trình cài đặt giữ nguyên các thư viện đó.",
"warn.fsr_download_failed": "Không thể tải xuống AMD FSR 4 từ {url}: {detail}. Trò chơi vẫn chạy mà không có nó; lần chạy trình cài đặt sau sẽ thử lại.",
"ui.title": "Cài đặt TotK",
"ui.rebuild_title": "Biên dịch lại trò chơi cho các mod của bạn",
"ui.start_game": "Khởi động trò chơi",
@@ -145,6 +143,8 @@
"ui.firmware_help": "Dành cho văn bản tiếng Trung Giản thể, tiếng Hàn và tiếng Trung Phồn thể: thư mục Contents/registered của firmware, ví dụ từ Ryujinx hoặc Yuzu. Trình cài đặt sẽ sao chép phông chữ hệ thống của Switch từ đó vào thư mục cài đặt.",
"ui.dlss": "Tải xuống NVIDIA DLSS (nvngx_dlss.dll) cho card đồ họa NVIDIA RTX",
"ui.dlss_help": "Từ DLSS SDK của NVIDIA trên GitHub, theo giấy phép RTX SDK của NVIDIA (github.com/NVIDIA/DLSS). Thư viện này giúp các tùy chọn dlaa và DLSS hoạt động; nếu không có, các tùy chọn đó không có tác dụng.",
"ui.fsr": "Tải xuống AMD FSR 4 (thư viện FSR SDK của AMD) cho card đồ họa AMD Radeon",
"ui.fsr_help": "Từ FSR SDK của AMD trên GitHub, theo giấy phép FSR SDK của AMD (github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK). Thư viện này giúp lựa chọn AMD FSR 4 cho bộ nâng độ phân giải cảnh 3D hoạt động trên các card Radeon mà thư viện của AMD hỗ trợ FSR 4; nếu không có, lựa chọn đó không có tác dụng. Được chọn sẵn khi máy có card đồ họa AMD.",
"ui.compressed_help": "Các tệp nén NSZ và XCZ dùng được ngay: trình cài đặt tự giải nén chúng (cho đến khi dữ liệu trò chơi được trích xuất xong, cần dung lượng trống bằng dung lượng của các tệp sau khi giải nén).",
"ui.section_files": "Tệp trò chơi",
"ui.section_install": "Cài đặt",
@@ -204,10 +204,8 @@
"param.input.base": "trò chơi gốc",
"param.input.update": "cập nhật",
"param.input.keys": "khóa",
"launcher.title": "Cài đặt TotK",
"launcher.python_missing": "Các tệp cài đặt không đầy đủ: thiếu thư mục python bên cạnh TotK-Setup.exe. Hãy giải nén lại toàn bộ tệp lưu trữ và khởi động TotK-Setup.exe từ thư mục đã giải nén.",
"lang.ja": "Tiếng Nhật",
"lang.en-US": "Tiếng Anh (Mỹ)",
"lang.en-GB": "Tiếng Anh (Anh)",
+48 -16
View File
@@ -2969,8 +2969,12 @@ static const char *const text_de[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: braucht eine NVIDIA-RTX-GPU",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: " DLSS_FILE " fehlt",
[UI_MENU_FSR3_SHARPNESS] = "FSR-3.1-Schärfe",
[UI_MENU_FSR3_SHARPNESS_DESC] = "Nachschärfen der 3D-Szene nach FSR 3.1; 0 schaltet es aus.",
[UI_MENU_FSR_SHARPNESS] = "FSR-Schärfe",
[UI_MENU_FSR_SHARPNESS_DESC] = "Nachschärfen der 3D-Szene nach AMD FSR 3.1 oder FSR 4; 0 schaltet es aus.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: für diese GPU nicht angeboten",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: Die FSR-Bibliotheken von AMD fehlen",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: nur unter Windows",
[UI_MENU_FPS_LIMIT] = "Bildratenbegrenzung",
[UI_MENU_FPS_LIMIT_DESC] = "Die höchste Bildrate, die das Spiel zeichnet. Über 60 ist experimentell und erfordert "
"„Spieltempo folgt der Uhr“.",
@@ -3872,8 +3876,12 @@ static const char *const text_fr[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS : demande un GPU NVIDIA RTX",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS : " DLSS_FILE " manquant",
[UI_MENU_FSR3_SHARPNESS] = "Netteté FSR 3.1",
[UI_MENU_FSR3_SHARPNESS_DESC] = "Accentuation de la scène 3D après FSR 3.1 ; 0 la désactive.",
[UI_MENU_FSR_SHARPNESS] = "Netteté FSR",
[UI_MENU_FSR_SHARPNESS_DESC] = "Netteté de la scène 3D après AMD FSR 3.1 ou FSR 4 ; 0 la désactive.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4 : non proposé pour ce GPU",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4 : les bibliothèques FSR d'AMD sont absentes",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4 : Windows uniquement",
[UI_MENU_FPS_LIMIT] = "Limite d'images par seconde",
[UI_MENU_FPS_LIMIT_DESC] = "Le nombre maximal d'images par seconde que dessine le jeu. Au-delà de 60, c'est "
"expérimental et demande « Vitesse du jeu selon l'horloge ».",
@@ -4789,8 +4797,12 @@ static const char *const text_es[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: necesita una GPU NVIDIA RTX",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: falta " DLSS_FILE,
[UI_MENU_FSR3_SHARPNESS] = "Nitidez de FSR 3.1",
[UI_MENU_FSR3_SHARPNESS_DESC] = "Enfoque de la escena 3D tras FSR 3.1; 0 lo desactiva.",
[UI_MENU_FSR_SHARPNESS] = "Nitidez de FSR",
[UI_MENU_FSR_SHARPNESS_DESC] = "Nitidez de la escena 3D tras AMD FSR 3.1 o FSR 4; 0 la desactiva.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: no disponible para esta GPU",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: faltan las bibliotecas FSR de AMD",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: solo en Windows",
[UI_MENU_FPS_LIMIT] = "Límite de fotogramas",
[UI_MENU_FPS_LIMIT_DESC] = "El máximo de fotogramas por segundo que dibuja el juego. Por encima de 60 es "
"experimental y requiere «Velocidad del juego según el reloj».",
@@ -5691,8 +5703,12 @@ static const char *const text_it[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: richiede una GPU NVIDIA RTX",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: " DLSS_FILE " mancante",
[UI_MENU_FSR3_SHARPNESS] = "Nitidezza FSR 3.1",
[UI_MENU_FSR3_SHARPNESS_DESC] = "Nitidezza della scena 3D dopo FSR 3.1; 0 la disattiva.",
[UI_MENU_FSR_SHARPNESS] = "Nitidezza FSR",
[UI_MENU_FSR_SHARPNESS_DESC] = "Nitidezza della scena 3D dopo AMD FSR 3.1 o FSR 4; 0 la disattiva.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: non disponibile per questa GPU",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: mancano le librerie FSR di AMD",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: solo su Windows",
[UI_MENU_FPS_LIMIT] = "Limite fotogrammi",
[UI_MENU_FPS_LIMIT_DESC] = "Il massimo di fotogrammi al secondo che il gioco disegna. Sopra 60 è sperimentale e "
"richiede «Velocità del gioco secondo l'orologio».",
@@ -6599,8 +6615,12 @@ static const char *const text_nl[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: vereist een NVIDIA RTX-GPU",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: " DLSS_FILE " ontbreekt",
[UI_MENU_FSR3_SHARPNESS] = "FSR 3.1-scherpte",
[UI_MENU_FSR3_SHARPNESS_DESC] = "Verscherpen van de 3D-scène na FSR 3.1; 0 zet het uit.",
[UI_MENU_FSR_SHARPNESS] = "FSR-scherpte",
[UI_MENU_FSR_SHARPNESS_DESC] = "Verscherping van de 3D-scène na AMD FSR 3.1 of FSR 4; 0 schakelt het uit.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: niet beschikbaar voor deze GPU",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: de FSR-bibliotheken van AMD ontbreken",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: alleen op Windows",
[UI_MENU_FPS_LIMIT] = "Beeldsnelheidslimiet",
[UI_MENU_FPS_LIMIT_DESC] = "Het hoogste aantal beelden per seconde dat het spel tekent. Boven 60 is experimenteel "
"en vereist \"Spelsnelheid volgt de klok\".",
@@ -7449,8 +7469,12 @@ static const char *const text_ja[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: NVIDIA RTX GPU が必要です",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: " DLSS_FILE " がありません",
[UI_MENU_FSR3_SHARPNESS] = "FSR 3.1 シャープネス",
[UI_MENU_FSR3_SHARPNESS_DESC] = "FSR 3.1 の後の 3D シーンのシャープ化です。0 でオフになります。",
[UI_MENU_FSR_SHARPNESS] = "FSR シャープネス",
[UI_MENU_FSR_SHARPNESS_DESC] = "AMD FSR 3.1 または FSR 4 の後の 3D シーンのシャープ化です。0 でオフになります。",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: この GPU では利用できません",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: AMD の FSR ライブラリがありません",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: Windows のみ",
[UI_MENU_FPS_LIMIT] = "フレームレート上限",
[UI_MENU_FPS_LIMIT_DESC] = "ゲームが描く 1 秒あたりの最大フレーム数です。60 を超える設定は実験的で、「ゲーム速度を時計に合わせる」が必要です。",
[UI_MENU_FPS_30] = "30 FPS",
@@ -8196,8 +8220,12 @@ static const char *const text_ko[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: NVIDIA RTX GPU 필요",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: " DLSS_FILE " 없음",
[UI_MENU_FSR3_SHARPNESS] = "FSR 3.1 선명도",
[UI_MENU_FSR3_SHARPNESS_DESC] = "FSR 3.1 뒤 3D 장면의 선명화입니다. 0이면 꺼집니다.",
[UI_MENU_FSR_SHARPNESS] = "FSR 선명도",
[UI_MENU_FSR_SHARPNESS_DESC] = "AMD FSR 3.1 또는 FSR 4 이후 3D 장면의 선명도를 높입니다. 0이면 꺼집니다.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: 이 GPU에서는 제공되지 않음",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: AMD FSR 라이브러리가 없음",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: Windows 전용",
[UI_MENU_FPS_LIMIT] = "프레임 속도 제한",
[UI_MENU_FPS_LIMIT_DESC] = "게임이 초당 그리는 최대 프레임 수입니다. 60을 넘는 설정은 실험적이며 '게임 속도를 시계에 맞추기'가 필요합니다.",
[UI_MENU_FPS_30] = "30 FPS",
@@ -8928,8 +8956,12 @@ static const char *const text_vi[UI_TEXT_COUNT] = {
[UI_MENU_SCENE_UPSCALER_FSR3] = "AMD FSR 3.1",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_GPU] = "DLSS: cần GPU NVIDIA RTX",
[UI_MENU_SCENE_UPSCALER_NO_DLSS_DLL] = "DLSS: thiếu " DLSS_FILE,
[UI_MENU_FSR3_SHARPNESS] = "Độ sắc nét FSR 3.1",
[UI_MENU_FSR3_SHARPNESS_DESC] = "Làm nét cảnh 3D sau FSR 3.1; 0 là tắt.",
[UI_MENU_FSR_SHARPNESS] = "Độ sắc nét FSR",
[UI_MENU_FSR_SHARPNESS_DESC] = "Làm nét cảnh 3D sau AMD FSR 3.1 hoặc FSR 4; 0 là tắt.",
[UI_MENU_SCENE_UPSCALER_FSR4] = "AMD FSR 4",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_GPU] = "FSR 4: không hỗ trợ GPU này",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_DLL] = "FSR 4: thiếu thư viện FSR của AMD",
[UI_MENU_SCENE_UPSCALER_NO_FSR4_OS] = "FSR 4: chỉ trên Windows",
[UI_MENU_FPS_LIMIT] = "Giới hạn tốc độ khung hình",
[UI_MENU_FPS_LIMIT_DESC] = "Số khung hình tối đa mỗi giây game vẽ. Trên 60 là thử nghiệm và cần bật Tốc độ game theo "