修改中英文

This commit is contained in:
18142669586 2023-04-10 13:44:39 +08:00
parent ceef0f1e57
commit f7480c6e43
5 changed files with 1078 additions and 2190 deletions

View File

@ -74,10 +74,12 @@ public class CommonAppContext extends MultiDexApplication {
} else {
locale = getResources().getConfiguration().locale;
}
if (locale.getLanguage().equals("en")) {
lang = "english";
} else {
if (locale.getLanguage().equals("zh")) {
lang = "chinese";
} else {
lang = "english";
}
Log.i("lang", lang);

View File

@ -158,10 +158,12 @@ public class CommonHttpUtil {
} else {
locale = context.getResources().getConfiguration().locale;
}
if (locale.getLanguage().equals("en")) {
lang = "english";
} else {
if (locale.getLanguage().equals("zh")) {
lang = "chinese";
} else {
lang = "english";
}
}
Log.i("来了", lang);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -361,7 +361,6 @@ public class LiveHDDialogFragment extends AbsDialogFragment {
data.getString("name"),
"恭喜您" + data.getString("desc") + "簽到成功!"
);
}
//守護
}else if(TextUtils.equals(event.getMethod(), "BuyProtection")){