Skip to content

Commit 7029921

Browse files
committed
update
1 parent 24b3891 commit 7029921

5 files changed

Lines changed: 6 additions & 1 deletion

File tree

HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,8 @@ public boolean isWindowsHighPerformance() {
717717

718718
public void setWindowsHighPerformance(boolean windowsHighPerformance) {
719719
this.windowsHighPerformance.set(windowsHighPerformance);
720-
720+
}
721+
721722
@SerializedName("allowAutoAgent")
722723
private final BooleanProperty allowAutoAgent = new SimpleBooleanProperty(false);
723724

HMCL/src/main/java/org/jackhuang/hmcl/ui/main/SettingsPage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ else if (locale.isSameLanguage(currentLocale))
263263
{
264264
LineToggleButton windowsHighPerformance = new LineToggleButton();
265265
windowsHighPerformance.setTitle(i18n("settings.launcher.gpu_preferences"));
266+
windowsHighPerformance.setSubtitle(i18n("settings.advanced.windows_only"));
266267
windowsHighPerformance.selectedProperty().bindBidirectional(config().windowsHighPerformanceProperty());
267268

268269
settingsPane.getContent().add(windowsHighPerformance);

HMCL/src/main/resources/assets/lang/I18N.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,6 +1429,7 @@ settings.advanced.unsupported_system_options=Settings not applicable to the curr
14291429
settings.advanced.use_native_glfw=Use System GLFW
14301430
settings.advanced.use_native_openal=Use System OpenAL
14311431
settings.advanced.linux_freebsd_only=Linux/FreeBSD Only
1432+
settings.advanced.windows_only=Windows Only
14321433
settings.advanced.workaround=Workaround
14331434
settings.advanced.workaround.warning=Workaround options are intended only for advanced users. Tweaking with these options may crash the game. Unless you know what you are doing, please do not edit these options.
14341435
settings.advanced.wrapper_launcher=Wrapper Command

HMCL/src/main/resources/assets/lang/I18N_zh.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,7 @@ settings.advanced.unsupported_system_options=不適用於目前系統的選項
12201220
settings.advanced.use_native_glfw=使用系統 GLFW
12211221
settings.advanced.use_native_openal=使用系統 OpenAL
12221222
settings.advanced.linux_freebsd_only=僅限 Linux/FreeBSD
1223+
settings.advanced.windows_only=僅限 Windows
12231224
settings.advanced.workaround=除錯選項
12241225
settings.advanced.workaround.warning=除錯選項僅提供給專業玩家使用。修改除錯選項可能會導致遊戲無法啟動。除非你知道你在做什麼,否則請不要修改這些選項。
12251226
settings.advanced.wrapper_launcher=前置指令

HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,7 @@ settings.advanced.unsupported_system_options=不适用于当前系统的选项
12251225
settings.advanced.use_native_glfw=使用系统 GLFW
12261226
settings.advanced.use_native_openal=使用系统 OpenAL
12271227
settings.advanced.linux_freebsd_only=仅 Linux/FreeBSD
1228+
settings.advanced.windows_only=仅 Windows
12281229
settings.advanced.workaround=调试选项
12291230
settings.advanced.workaround.warning=调试选项仅提供给专业玩家使用。调试选项可能会导致游戏无法启动。除非你知道你在做什么,否则请不要修改这些选项!
12301231
settings.advanced.wrapper_launcher=包装命令

0 commit comments

Comments
 (0)