Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
5f5e03cb
Commit
5f5e03cb
authored
Dec 14, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超过上限的提示语翻译
parent
c1a7747c
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
2 deletions
+20
-2
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
...ava/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
+14
-1
mobile/src/main/res/values-es/strings.xml
mobile/src/main/res/values-es/strings.xml
+1
-0
mobile/src/main/res/values-jp/strings.xml
mobile/src/main/res/values-jp/strings.xml
+1
-0
mobile/src/main/res/values-ko/strings.xml
mobile/src/main/res/values-ko/strings.xml
+1
-0
mobile/src/main/res/values-pt/strings.xml
mobile/src/main/res/values-pt/strings.xml
+1
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+1
-0
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+1
-1
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
View file @
5f5e03cb
...
...
@@ -823,6 +823,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
btnRedo
.
setVisibility
(
View
.
INVISIBLE
);
}
}
//同时刷新信用分总计
refreshDeckCreditCount
();
}
...
...
@@ -1231,7 +1232,19 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
}
}
if
(
overLimit
)
{
YGOUtil
.
showTextToast
(
"超过总分上限:"
+
limitList
.
getCreditLimits
().
entrySet
());
// 遍历获取第一个非空的信用分上限值
Integer
creditLimit
=
null
;
for
(
Integer
limit
:
limitList
.
getCreditLimits
().
values
())
{
if
(
limit
!=
null
)
{
creditLimit
=
limit
;
break
;
}
}
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_credit_max
,
creditLimit
));
return
false
;
}
if
(
count
>=
Constants
.
CARD_MAX_COUNT
)
{
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_card_max
,
3
));
return
false
;
}
}
...
...
mobile/src/main/res/values-es/strings.xml
View file @
5f5e03cb
...
...
@@ -383,6 +383,7 @@
<string
name=
"pwd_warning"
>
¡Ingresa tu contraseña!
</string>
<string
name=
"like_deck_thumb"
>
Dar like al deck
</string>
<string
name=
"pre_view"
>
Vista previa
</string>
<string
name=
"tip_credit_max"
>
Excede el límite de %d
</string>
</resources>
mobile/src/main/res/values-jp/strings.xml
View file @
5f5e03cb
...
...
@@ -384,4 +384,5 @@
<string
name=
"pwd_warning"
>
パスワードを入力してください!
</string>
<string
name=
"like_deck_thumb"
>
デッキに「いいね」をつける
</string>
<string
name=
"pre_view"
>
プレビュー
</string>
<string
name=
"tip_credit_max"
>
" %dの上限を超えています"
</string>
</resources>
mobile/src/main/res/values-ko/strings.xml
View file @
5f5e03cb
...
...
@@ -79,6 +79,7 @@
<string
name=
"settings_game_immersive_mode"
>
비 16:9 해상도 최적화
</string>
<string
name=
"settings_game_opengl"
>
OpenGL
</string>
<string
name=
"settings_game_avatar"
>
게임 아바타
</string>
<string
name=
"tip_credit_max"
>
%d 상한선 초과
</string>
<string
name=
"settings_author"
translatable=
"false"
>
菜菜、暗星\n浙ICP备2023031884号-2A
</string>
<string
name=
"restart_app"
>
앱을 다시 시작하십시오!
</string>
...
...
mobile/src/main/res/values-pt/strings.xml
View file @
5f5e03cb
...
...
@@ -374,5 +374,6 @@
<string
name=
"like_deck_thumb"
>
Curtir o deck
</string>
<string
name=
"pre_view"
>
Prévia
</string>
<string
name=
"label_set_No_Setcode"
>
#Sem Card Set incluso
</string>
<string
name=
"tip_credit_max"
>
Excede o limite de %d
</string>
</resources>
mobile/src/main/res/values-zh/strings.xml
View file @
5f5e03cb
...
...
@@ -170,6 +170,7 @@
<string
name=
"add_card_tip_ok"
>
添加卡片成功
</string>
<string
name=
"add_card_tip_fail"
>
添加卡片失败
</string>
<string
name=
"tip_card_max"
formatted=
"false"
>
卡片最大数量:%d
</string>
<string
name=
"tip_credit_max"
formatted=
"false"
>
超过%d上限
</string>
<string
name=
"file_exist"
>
文件已经存在
</string>
<string
name=
"share_deck"
>
分享卡组
</string>
<string
name=
"code_share"
>
卡组码分享
</string>
...
...
mobile/src/main/res/values/strings.xml
View file @
5f5e03cb
...
...
@@ -180,7 +180,7 @@
<string
name=
"add_card_tip_ok"
>
add card ok
</string>
<string
name=
"add_card_tip_fail"
>
add card fail
</string>
<string
name=
"tip_card_max"
formatted=
"false"
>
card max count:%d
</string>
<string
name=
"tip_credit_max"
formatted=
"false"
>
Exceeds %d limit
</string>
<string
name=
"file_exist"
>
file is exist
</string>
<string
name=
"share_deck"
>
Share Deck
</string>
<string
name=
"no_share_app"
>
no find share app
</string>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment