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
53706bbc
Commit
53706bbc
authored
Dec 27, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toast软件错误退出提示文字
parent
4c0b8b51
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
mobile/src/main/java/cn/garymb/ygomobile/utils/CrashHandler.java
...src/main/java/cn/garymb/ygomobile/utils/CrashHandler.java
+2
-1
mobile/src/main/res/values-ko/strings.xml
mobile/src/main/res/values-ko/strings.xml
+1
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+3
-2
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+1
-0
No files found.
mobile/src/main/java/cn/garymb/ygomobile/utils/CrashHandler.java
View file @
53706bbc
...
...
@@ -21,6 +21,7 @@ import java.util.HashMap;
import
java.util.Map
;
import
cn.garymb.ygomobile.AppsSettings
;
import
cn.garymb.ygomobile.lite.R
;
public
class
CrashHandler
implements
Thread
.
UncaughtExceptionHandler
{
public
static
final
String
TAG
=
"YGOMobile-Exception"
;
...
...
@@ -69,7 +70,7 @@ public class CrashHandler implements Thread.UncaughtExceptionHandler {
@Override
public
void
run
()
{
Looper
.
prepare
();
Toast
.
makeText
(
context
,
"软件错误退出"
,
Toast
.
LENGTH_LONG
).
show
();
Toast
.
makeText
(
context
,
R
.
string
.
crashed
,
Toast
.
LENGTH_LONG
).
show
();
Looper
.
loop
();
}
}.
start
();
...
...
mobile/src/main/res/values-ko/strings.xml
View file @
53706bbc
...
...
@@ -241,4 +241,5 @@
<string
name=
"tutorial"
>
가이드 북 보기
</string>
<string
name=
"about_help"
>
원하는 내용을 클릭합니다.
</string>
<string
name=
"to_open"
>
열기
</string>
<string
name=
"crashed"
>
YGOMobile 추락 한!
</string>
</resources>
mobile/src/main/res/values-zh/strings.xml
View file @
53706bbc
...
...
@@ -78,8 +78,8 @@
<!-- settings -->
<string
name=
"server_name"
>
名称:
</string>
<string
name=
"server_ip"
>
主机信息:
</string>
<string
name=
"server_user"
>
用户
:
</string>
<string
name=
"server_room_name"
>
房间
名
:
</string>
<string
name=
"server_user"
>
昵称
:
</string>
<string
name=
"server_room_name"
>
房间
密码
:
</string>
<string
name=
"server_port"
>
端口:
</string>
<string
name=
"server_room_pwd"
>
密码:
</string>
<string
name=
"server_user_pwd"
>
密码:
</string>
...
...
@@ -240,4 +240,5 @@
<string
name=
"tutorial"
>
查看软件教程
</string>
<string
name=
"about_help"
>
点击您想要了解的内容
</string>
<string
name=
"to_open"
>
去开启
</string>
<string
name=
"crashed"
>
软件错误退出
</string>
</resources>
mobile/src/main/res/values/strings.xml
View file @
53706bbc
...
...
@@ -240,4 +240,5 @@
<string
name=
"tutorial"
>
Soft Tutorial
</string>
<string
name=
"about_help"
>
Click button which you want to know
</string>
<string
name=
"to_open"
>
to Open
</string>
<string
name=
"crashed"
>
YGOMobile Crashed!
</string>
</resources>
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