修改中英文
This commit is contained in:
parent
ceef0f1e57
commit
f7480c6e43
@ -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);
|
||||
|
||||
|
@ -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
@ -361,7 +361,6 @@ public class LiveHDDialogFragment extends AbsDialogFragment {
|
||||
data.getString("name"),
|
||||
"恭喜您" + data.getString("desc") + "簽到成功!"
|
||||
);
|
||||
|
||||
}
|
||||
//守護
|
||||
}else if(TextUtils.equals(event.getMethod(), "BuyProtection")){
|
||||
|
Loading…
Reference in New Issue
Block a user