Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
1470e3e5
Commit
1470e3e5
authored
Jul 07, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update string
parent
f100660b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
script/garble/string_decrypt.py
+1
-3
src/main/res/values/strings.xml
+1
-1
No files found.
script/garble/string_decrypt.py
View file @
1470e3e5
...
@@ -17,9 +17,7 @@ def decrypt(path):
...
@@ -17,9 +17,7 @@ def decrypt(path):
with
open
(
path
,
"w"
)
as
f_w
:
with
open
(
path
,
"w"
)
as
f_w
:
for
line
in
lines
:
for
line
in
lines
:
if
"<string"
in
line
and
"</string>
\n
"
in
line
and
"<!"
not
in
line
:
if
"<string"
in
line
and
"</string>
\n
"
in
line
and
"<!"
not
in
line
:
if
"*keep*"
in
line
:
if
"*keep*"
not
in
line
:
line
=
line
.
replace
(
"*keep*"
,
""
)
else
:
line
=
line
.
replace
(
"</string>
\n
"
,
""
)
line
=
line
.
replace
(
"</string>
\n
"
,
""
)
str_name
=
line
.
split
(
">"
)[
0
]
+
">"
str_name
=
line
.
split
(
">"
)[
0
]
+
">"
str_value
=
line
.
split
(
">"
)[
1
]
str_value
=
line
.
split
(
">"
)[
1
]
...
...
src/main/res/values/strings.xml
View file @
1470e3e5
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<string
name=
"text_completed"
>
Lengkap
</string>
<string
name=
"text_completed"
>
Lengkap
</string>
<string
name=
"text_certification2"
>
Bukti
</string>
<string
name=
"text_certification2"
>
Bukti
</string>
<string
name=
"text_me"
>
Saya
</string>
<string
name=
"text_me"
>
Saya
</string>
<string
name=
"text_can_not_login"
>
*keep*Tidak bisa masuk? Klik disini
</string
>
<string
name=
"text_can_not_login"
>
Tidak bisa masuk? Klik disini
</string>
<!--*keep*--
>
<string
name=
"loan_duration"
>
Durasi Pinjaman
</string>
<string
name=
"loan_duration"
>
Durasi Pinjaman
</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