1.21 default skip only English when system lang is not en | 系统语言非英文时 默认 忽略纯英文

This commit is contained in:
林万程
2022-08-06 05:00:21 +08:00
parent 2e42026154
commit c17d7494f3
4 changed files with 12 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ import org.jetbrains.annotations.Nullable;
import java.awt.*;
import java.math.BigInteger;
import java.util.Locale;
@State(
name = "io.github.linwancen.plugin.show.settings.AppSettingsState",
@@ -40,7 +41,7 @@ public class AppSettingsState extends AbstractSettingsState implements Persisten
public boolean fromRef = true;
public boolean inJson = true;
public boolean skipAnnotation = true;
public boolean skipAscii = false;
public boolean skipAscii = !"en".equals(Locale.getDefault().getLanguage());
public boolean skipBlank = true;
public static AppSettingsState getInstance() {