Commit 9f96b6e2 authored by 王雪伟's avatar 王雪伟

[提交人]:王雪伟

[提交简述] :添加翻译
[实现方案] :
parent 0d555ba6
...@@ -116,6 +116,7 @@ android { ...@@ -116,6 +116,7 @@ android {
zhihu{} zhihu{}
tuia{} tuia{}
source1{} source1{}
google{}
} }
productFlavors.all { productFlavors.all {
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- 用于写入缓存数据到扩展存储卡 --> <!-- <uses-permission android:name="android.permission.READ_PHONE_STATE" /> &lt;!&ndash; 用于写入缓存数据到扩展存储卡 &ndash;&gt;-->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" /> <!-- <uses-permission android:name="android.permission.READ_CONTACTS" />-->
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口--> <!--必要权限,解决安全风险漏洞,发送和注册广播事件需要调用带有传递权限的接口-->
......
...@@ -27,7 +27,7 @@ task clean(type: Delete) { ...@@ -27,7 +27,7 @@ task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }
ext { ext {
targetSdkVersion = 29 targetSdkVersion = 30
minSdkVersion = 17 minSdkVersion = 17
compileSdkVersion = 29 compileSdkVersion = 29
} }
...@@ -87,5 +87,6 @@ dependencies { ...@@ -87,5 +87,6 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation(name: 'alipaySdk-15.6.4-20190611174341', ext: 'aar') implementation(name: 'alipaySdk-15.6.4-20190611174341', ext: 'aar')
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
//implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0' //implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
} }
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.zxhl.cms"> package="com.zxhl.cms">
<application> <application>
<activity android:name=".googlepay.GooglePayActivity"></activity>
<activity android:name=".common.WebActivity"> <activity android:name=".common.WebActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data <data
android:host="web" android:host="web"
android:scheme="magicbox" /> android:scheme="magicbox" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".pay.PayActivity"> <activity android:name=".pay.PayActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data <data
android:host="pay" android:host="pay"
android:scheme="magicbox" /> android:scheme="magicbox" />
</intent-filter> </intent-filter>
</activity> </activity> <!-- 友盟配置 -->
<!-- 友盟配置 -->
<meta-data <meta-data
android:name="UMENG_APPKEY" android:name="UMENG_APPKEY"
android:value="617f57fde014255fcb63fb6f" /> android:value="617f57fde014255fcb63fb6f" />
<meta-data <meta-data
android:name="UMENG_CHANNEL" android:name="UMENG_CHANNEL"
android:value="${UMENG_CHANNEL_VALUE}" /> <!-- QQ配置 --> android:value="${UMENG_CHANNEL_VALUE}" />
</application> </application>
</manifest> </manifest>
\ No newline at end of file
package com.zxhl.cms.googlepay
import android.view.View
import com.zxhl.cms.R
import com.zxhl.cms.common.base.BaseActivity
class GooglePayActivity : BaseActivity() {
override fun onClick(v: View?) {
TODO("Not yet implemented")
}
override fun layoutID(): Int {
return R.layout.activity_google_pay
}
override fun init() {
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".googlepay.GooglePayActivity">
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -80,8 +80,8 @@ ...@@ -80,8 +80,8 @@
<string name="box_detail_open_box_result_btn_one_again">Open</string> <string name="box_detail_open_box_result_btn_one_again">Open</string>
<string name="box_detail_open_box_result_btn_five_again">再来五发</string> <string name="box_detail_open_box_result_btn_five_again">再来五发</string>
<string name="box_detail_open_box_result_btn_receive">立即收下</string> <string name="box_detail_open_box_result_btn_receive">立即收下</string>
<string name="box_detail_open_box_result_re_pumping_desc">抽到商品不满意?点击使用重抽卡</string> <string name="box_detail_open_box_result_re_pumping_desc">Not satisfied with the product, click here to reopen the box</string>
<string name="box_detail_open_box_result_re_pumping_desc2">对抽到商品不满意,使用重抽卡可重新抽取盲盒</string> <string name="box_detail_open_box_result_re_pumping_desc2">Not satisfied with the product, you can use the reopen card to reopen the box for free</string>
<string name="box_detail_open_box_result_re_pumping_desc3">恭喜您获得重抽卡,下次抽盒\n即可使用</string> <string name="box_detail_open_box_result_re_pumping_desc3">恭喜您获得重抽卡,下次抽盒\n即可使用</string>
<string name="box_detail_open_box_result_re_pumping_desc4">使用重抽卡可免费重新开箱</string> <string name="box_detail_open_box_result_re_pumping_desc4">使用重抽卡可免费重新开箱</string>
<string name="box_detail_open_box_result_try_play_desc">该商品为试玩结果,仅供参考</string> <string name="box_detail_open_box_result_try_play_desc">该商品为试玩结果,仅供参考</string>
......
...@@ -585,7 +585,7 @@ class GoodsDetailActivity : BaseActivity(), GoodsDetailContract.View, ...@@ -585,7 +585,7 @@ class GoodsDetailActivity : BaseActivity(), GoodsDetailContract.View,
cardNum, cardNum,
useStatus, useStatus,
descStr, descStr,
"对抽到商品不满意,使用重抽卡可重新抽取盲盒", "Not satisfied with the product, you can use the reopen card to reopen the box for free",
{ {
//left //left
}, { }, {
......
...@@ -701,7 +701,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S ...@@ -701,7 +701,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S
1, 1,
2, 2,
"恭喜您获得重抽卡,下次抽盒\n即可使用", "恭喜您获得重抽卡,下次抽盒\n即可使用",
"对抽到商品不满意,使用重抽卡可重新抽取盲盒", "Not satisfied with the product, you can use the reopen card to reopen the box for free",
{ {
//left //left
}, { }, {
...@@ -797,7 +797,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S ...@@ -797,7 +797,7 @@ class LotteryRuslutActivity : BaseActivity(), LotteryContract.View, AdCallback<S
cardNum, cardNum,
status, status,
descStr, descStr,
"对抽到商品不满意,使用重抽卡可重新抽取盲盒", "Not satisfied with the product, you can use the reopen card to reopen the box for free",
{ {
//left //left
}, { }, {
......
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