Skip to content

Play your own Switch games on iPhone/iPad — one-click macOS app, no terminal. | 把 Switch 游戏装进 iPhone:图形界面一键构建,不用命令行。Bring your own game.

Launcher texts: the 120 fps option of the new pin

v0lumehi1937baaebc57
diff --git a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
index f5f78a21..62e8b629 100644
--- a/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
+++ b/frontend-ios/Sources/ShellUI/Resources/Localizable.xcstrings
@@ -41,6 +41,46 @@
}
}
},
+ "120 fps": {
+ "localizations": {
+ "de": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "120 fps"
+ }
+ },
+ "en": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "120 fps"
+ }
+ },
+ "fr": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "120 i/s"
+ }
+ },
+ "it": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "120 fps"
+ }
+ },
+ "sv": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "120 fps"
+ }
+ },
+ "zh-Hans": {
+ "stringUnit": {
+ "state": "translated",
+ "value": "120 fps"
+ }
+ }
+ }
+ },
"16:9 (Switch)": {
"localizations": {
"de": {
diff --git a/frontend/l10n/de.json b/frontend/l10n/de.json
index a56df225..9247aa48 100644
--- a/frontend/l10n/de.json
+++ b/frontend/l10n/de.json
@@ -934,6 +934,7 @@
"launch.none": "Dieser Build bringt keine Liste mit Startoptionen mit.",
"launch.opt.DM_FPS_TARGET.30": "30 fps",
"launch.opt.DM_FPS_TARGET.60": "60 fps",
+ "launch.opt.DM_FPS_TARGET.120": "120 fps",
"launch.opt.DM_FULLSCREEN.0": "Fenster",
"launch.opt.DM_FULLSCREEN.1": "Vollbild",
"launch.opt.DM_LANG.de": "Deutsch",
diff --git a/frontend/l10n/en.json b/frontend/l10n/en.json
index a2b1eb06..f0642855 100644
--- a/frontend/l10n/en.json
+++ b/frontend/l10n/en.json
@@ -932,6 +932,7 @@
"launch.none": "This build carries no list of launch options.",
"launch.opt.DM_FPS_TARGET.30": "30 fps",
"launch.opt.DM_FPS_TARGET.60": "60 fps",
+ "launch.opt.DM_FPS_TARGET.120": "120 fps",
"launch.opt.DM_FULLSCREEN.0": "Window",
"launch.opt.DM_FULLSCREEN.1": "Fullscreen",
"launch.opt.DM_LANG.de": "German",
diff --git a/frontend/l10n/fr.json b/frontend/l10n/fr.json
index bc97f6d6..f87d51b1 100644
--- a/frontend/l10n/fr.json
+++ b/frontend/l10n/fr.json
@@ -927,6 +927,7 @@
"launch.none": "Ce build ne contient aucune liste d’options de lancement.",
"launch.opt.DM_FPS_TARGET.30": "30 i/s",
"launch.opt.DM_FPS_TARGET.60": "60 i/s",
+ "launch.opt.DM_FPS_TARGET.120": "120 i/s",
"launch.opt.DM_FULLSCREEN.0": "Fenêtre",
"launch.opt.DM_FULLSCREEN.1": "Plein écran",
"launch.opt.DM_LANG.de": "Allemand",
diff --git a/frontend/l10n/it.json b/frontend/l10n/it.json
index 1a632fef..d1184304 100644
--- a/frontend/l10n/it.json
+++ b/frontend/l10n/it.json
@@ -933,6 +933,7 @@
"launch.none": "Questa build non contiene un elenco di opzioni di avvio.",
"launch.opt.DM_FPS_TARGET.30": "30 fps",
"launch.opt.DM_FPS_TARGET.60": "60 fps",
+ "launch.opt.DM_FPS_TARGET.120": "120 fps",
"launch.opt.DM_FULLSCREEN.0": "Finestra",
"launch.opt.DM_FULLSCREEN.1": "Schermo intero",
"launch.opt.DM_LANG.de": "Tedesco",
diff --git a/frontend/l10n/sv.json b/frontend/l10n/sv.json
index d96db42c..e00e2575 100644
--- a/frontend/l10n/sv.json
+++ b/frontend/l10n/sv.json
@@ -775,6 +775,7 @@
"launch.none": "Den här versionen saknar lista över startalternativ.",
"launch.opt.DM_FPS_TARGET.30": "30 fps",
"launch.opt.DM_FPS_TARGET.60": "60 fps",
+ "launch.opt.DM_FPS_TARGET.120": "120 fps",
"launch.opt.DM_FULLSCREEN.0": "Fönster",
"launch.opt.DM_FULLSCREEN.1": "Helskärm",
"launch.opt.DM_LANG.de": "Tyska",
diff --git a/frontend/l10n/zh.json b/frontend/l10n/zh.json
index a7d9ad20..1f7fb59c 100644
--- a/frontend/l10n/zh.json
+++ b/frontend/l10n/zh.json
@@ -933,6 +933,7 @@
"launch.none": "这个版本没有附带启动选项列表。",
"launch.opt.DM_FPS_TARGET.30": "30 fps",
"launch.opt.DM_FPS_TARGET.60": "60 fps",
+ "launch.opt.DM_FPS_TARGET.120": "120 fps",
"launch.opt.DM_FULLSCREEN.0": "窗口",
"launch.opt.DM_FULLSCREEN.1": "全屏",
"launch.opt.DM_LANG.de": "德语",
diff --git a/tools/tests/launcher_texts.txt b/tools/tests/launcher_texts.txt
index c3728323..95f52457 100644
--- a/tools/tests/launcher_texts.txt
+++ b/tools/tests/launcher_texts.txt
@@ -1,3 +1,4 @@
+120 fps
16:9 (Switch)
30 fps
60 fps
diff --git a/tools/tests/test_launcher_texts.py b/tools/tests/test_launcher_texts.py
index 22065ab1..c4e6cbeb 100644
--- a/tools/tests/test_launcher_texts.py
+++ b/tools/tests/test_launcher_texts.py
@@ -33,7 +33,7 @@ def engine_texts() -> set[str]:
cols = line.split('\t')
texts.update(c for c in cols[5:8] if c)
if cols[1] == 'choice' and cols[2] != 'languages':
- texts.update(pair.split('=', 1)[1] for pair in cols[2].split(','))
+ texts.update(pair.split('?', 1)[0].split('=', 1)[1] for pair in cols[2].split(','))
sys.path.insert(0, str(ENGINE / 'dm' / 'tools'))
try:
nacp = importlib.import_module('nacp')