Commit 21ee960b authored by fallenstardust's avatar fallenstardust

mobile简中分类

parent 5a1f528c
......@@ -129,7 +129,7 @@ public interface Constants {
int STRING_ATTRIBUTE_START = 1010;
int STRING_RACE_START = 1020;
int STRING_OT_START = 1239;
int STRING_OT_START = 1480;
int UNSORT_TIMES = 0x80;
......
......@@ -336,19 +336,19 @@ public class CardSearcher implements View.OnClickListener {
private void initOtSpinners(Spinner spinner) {
CardOt[] ots = CardOt.values();
List<SimpleSpinnerItem> items = new ArrayList<>();
items.add(new SimpleSpinnerItem(0, getString(R.string.label_ot)));
items.add(new SimpleSpinnerItem(0, getString(R.string.label_ot)));/*
for (CardOt item : ots) {
if (item.ordinal() != 0) {
items.add(new SimpleSpinnerItem(item.ordinal(),
mStringManager.getOtString(item.ordinal(), item.toString()))
);
}
}/*
items.add(new SimpleSpinnerItem(1,"OCG"));
items.add(new SimpleSpinnerItem(2,"TCG"));
items.add(new SimpleSpinnerItem(3,"OCG&TCG"));
items.add(new SimpleSpinnerItem(4,"DIY"));
items.add(new SimpleSpinnerItem(8,"简中"));*/
}*/
items.add(new SimpleSpinnerItem(1, getString(R.string.label_ot_OCG)));
items.add(new SimpleSpinnerItem(2, getString(R.string.label_ot_TCG)));
items.add(new SimpleSpinnerItem(3, getString(R.string.label_ot_No_Exclusive)));
items.add(new SimpleSpinnerItem(4, getString(R.string.label_ot_CUSTOM)));
items.add(new SimpleSpinnerItem(11, getString(R.string.label_ot_SC_OCG)));
SimpleSpinnerAdapter adapter = new SimpleSpinnerAdapter(mContext);
adapter.setColor(Color.WHITE);
adapter.setColor(Color.WHITE);
......
package ocgcore.enums;
public enum CardOt {
All,
OCG,
TCG,
OCG_TCG,
CUSTOM/*,
简中*/
SC_OCG,
CUSTOM,
No_Exclusive,
All
}
......@@ -312,4 +312,10 @@
<string name="title_delete_ex">확장 삭제</string>
<string name="file_installed">문건 나왔습니다.</string>
<string name="ask_delete_ex">지우려면 확인을 클릭하십시오.</string>
<string name="label_ot_OCG">OCG</string>
<string name="label_ot_TCG">TCG</string>
<string name="label_ot_SC_OCG">SC_OCG</string>
<string name="label_ot_All">모든 카드</string>
<string name="label_ot_No_Exclusive">ID 없는 카드</string>
<string name="label_ot_CUSTOM">커스텀 카드</string>
</resources>
......@@ -99,6 +99,12 @@
<string name="hit_def">DEF</string>
<string name="label_race">种族</string>
<string name="label_ot">专属</string>
<string name="label_ot_OCG">OCG</string>
<string name="label_ot_TCG">TCG</string>
<string name="label_ot_SC_OCG">简体中文</string>
<string name="label_ot_CUSTOM">自定义卡片</string>
<string name="label_ot_No_Exclusive">无独有卡</string>
<string name="label_ot_All">全部卡片</string>
<string name="label_limit">不限制</string>
<string name="label_limitlist">禁卡表</string>
<string name="label_type">卡片类型</string>
......
......@@ -315,4 +315,10 @@
<string name="about_delete_ex">if you need to delte all expansion cards</string>
<string name="file_installed">file loaded</string>
<string name="ask_delete_ex">Click OK to confirm the deletion</string>
<string name="label_ot_TCG">TCG</string>
<string name="label_ot_OCG">OCG</string>
<string name="label_ot_All">All</string>
<string name="label_ot_CUSTOM">Custom</string>
<string name="label_ot_No_Exclusive">No exclusive</string>
<string name="label_ot_SC_OCG">SChinese OCG</string>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment