补充英文
This commit is contained in:
parent
41c8783b53
commit
fd0ad36a58
@ -23,6 +23,9 @@ public class NobleUtil {
|
||||
return -1;
|
||||
}
|
||||
public static String nobleIdToStringName(int id){
|
||||
if(!WordUtil.isNewZh()){
|
||||
return nobleIdToStringNameForEn(id);
|
||||
}
|
||||
switch (id){
|
||||
case 1:return "男爵";
|
||||
case 2:return "子爵";
|
||||
@ -34,6 +37,18 @@ public class NobleUtil {
|
||||
}
|
||||
return "未开通";
|
||||
}
|
||||
public static String nobleIdToStringNameForEn(int id){
|
||||
switch (id){
|
||||
case 1:return "baron";
|
||||
case 2:return "viscount";
|
||||
case 3:return "marquis";
|
||||
case 4:return "duke";
|
||||
case 5:return "king";
|
||||
case 6:return "emperor";
|
||||
case 7:return "SuperEmperor";
|
||||
}
|
||||
return "Not Opened";
|
||||
}
|
||||
public static int getNobleBackgroundId(int id){
|
||||
switch (id){
|
||||
case 1:return R.mipmap.img_aristocrat_nanjue;
|
||||
|
Loading…
Reference in New Issue
Block a user