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
4505c049
Commit
4505c049
authored
Aug 20, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ko strings.conf
parent
372c1ebd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
mobile/assets_ko/data/conf/strings.conf
mobile/assets_ko/data/conf/strings.conf
+4
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/MyCard.java
...e/src/main/java/cn/garymb/ygomobile/ui/mycard/MyCard.java
+8
-10
No files found.
mobile/assets_ko/data/conf/strings.conf
View file @
4505c049
...
@@ -989,3 +989,6 @@
...
@@ -989,3 +989,6 @@
!
setname
0
x12f
비포스
!
setname
0
x12f
비포스
!
setname
0
x130
파계
!
setname
0
x130
파계
!
setname
0
x1130
파계신
!
setname
0
x1130
파계신
!
setname
0
x132
참기
!
setname
0
x133
드래곤메이드
!
setname
0
x134
제너레이드
\ No newline at end of file
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/MyCard.java
View file @
4505c049
...
@@ -20,10 +20,8 @@ import java.io.File;
...
@@ -20,10 +20,8 @@ import java.io.File;
import
java.io.FileInputStream
;
import
java.io.FileInputStream
;
import
java.io.FileOutputStream
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.lang.reflect.Array
;
import
java.nio.charset.Charset
;
import
java.nio.charset.Charset
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
import
cn.garymb.ygodata.YGOGameOptions
;
import
cn.garymb.ygodata.YGOGameOptions
;
...
@@ -277,19 +275,19 @@ public class MyCard {
...
@@ -277,19 +275,19 @@ public class MyCard {
public
String
readdir
(
String
path
)
{
public
String
readdir
(
String
path
)
{
File
file
=
new
File
(
settings
.
getResourcePath
(),
path
);
File
file
=
new
File
(
settings
.
getResourcePath
(),
path
);
String
[]
result
=
file
.
list
();
String
[]
result
=
file
.
list
();
List
<
DeckFile
>
deckFileList
=
new
ArrayList
<>();
List
<
DeckFile
>
deckFileList
=
new
ArrayList
<>();
for
(
File
file1
:
file
.
listFiles
())
{
for
(
File
file1
:
file
.
listFiles
())
{
if
(
file1
.
isDirectory
()){
if
(
file1
.
isDirectory
())
{
deckFileList
.
addAll
(
DeckUtil
.
getDeckList
(
file1
.
getAbsolutePath
()));
deckFileList
.
addAll
(
DeckUtil
.
getDeckList
(
file1
.
getAbsolutePath
()));
}
else
{
}
else
{
// if (file.getName().endsWith(".ydk"))
// if (file.getName().endsWith(".ydk"))
deckFileList
.
add
(
new
DeckFile
(
file1
.
getAbsolutePath
()));
deckFileList
.
add
(
new
DeckFile
(
file1
.
getAbsolutePath
()));
}
}
}
}
int
deckPathLenght
=
file
.
getAbsolutePath
().
length
();
int
deckPathLenght
=
file
.
getAbsolutePath
().
length
();
List
<
String
>
deckList
=
new
ArrayList
<>();
List
<
String
>
deckList
=
new
ArrayList
<>();
for
(
DeckFile
deckFile
:
deckFileList
)
{
for
(
DeckFile
deckFile
:
deckFileList
)
{
deckList
.
add
(
deckFile
.
getPath
().
substring
(
deckPathLenght
+
1
));
deckList
.
add
(
deckFile
.
getPath
().
substring
(
deckPathLenght
+
1
));
}
}
return
new
JSONArray
(
deckList
).
toString
();
return
new
JSONArray
(
deckList
).
toString
();
}
}
...
...
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