Commit c46562b4 authored by fallenstardust's avatar fallenstardust

卡组信息异常提醒tips

parent 0bac7691
......@@ -267,7 +267,7 @@ public class GameUriManager {
Deck deckInfo = new Deck(uri, mainList, exList, sideList);
File file = deckInfo.saveTemp(AppsSettings.get().getDeckDir());
if (!deckInfo.isCompleteDeck()) {
YGOUtil.show("当前卡组缺少完整信息,将只显示已有卡片");
YGOUtil.show(activity.getString(R.string.tip_deckInfo_isNot_completeDeck));
}
startSetting.putExtra(Intent.EXTRA_TEXT, file.getAbsolutePath());
activity.startActivity(startSetting);
......
......@@ -553,7 +553,7 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
deckInfo.setCompleteDeck(isCompleteDeck);
File file = deckInfo.saveTemp(AppsSettings.get().getDeckDir());
if (!deckInfo.isCompleteDeck()) {
YGOUtil.show("当前卡组缺少完整信息,将只显示已有卡片");
YGOUtil.show(activity.getString(R.string.tip_deckInfo_isNot_completeDeck));
}
if (!file.getAbsolutePath().isEmpty()) {
mBundle.putString("setDeck", file.getAbsolutePath());
......
......@@ -351,4 +351,5 @@
<string name="settings_data_language_about">게임 데이터 언어를 변경합니다.</string>
<string name="find_in_page">" 발견:"</string>
<string name="tip_card_info_diff">몇몇 특수한 카드들을 제외하고 8자리 코드번호를 초과하는 카드들은 프리릴리즈 카드로, 프리릴리즈카드를 허용하는 서버 에서만 사용이 가능합니다.</string>
<string name="tip_deckInfo_isNot_completeDeck">Card info Exception! Tried to become exsisted Card Info</string>
</resources>
......@@ -350,4 +350,5 @@
<string name="settings_data_language">切换资料语言</string>
<string name="settings_data_language_about">切换ygopro界面和效果说明文字等的语言</string>
<string name="tip_card_info_diff">软件未收录此卡。请尝试更新软件,或查看扩展卡包中是否有此卡。</string>
<string name="tip_deckInfo_isNot_completeDeck">当前卡组解析异常,将尽量转换为已有卡片</string>
</resources>
......@@ -359,4 +359,5 @@
<string name="settings_data_language_about">change language of YGOPro UI and card database </string>
<string name="find_in_page">find:</string>
<string name="tip_card_info_diff">Released and Pre-released Cards are different,pls note after patch them</string>
<string name="tip_deckInfo_isNot_completeDeck">Card info Exception! Tried to become exsisted Card Info</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