lvjincheng 3 years ago
parent
commit
28e8f730bd

+ 2 - 0
Assets/BowArrow/Scripts/Components/TextAutoLanguage2/Resources/TextAutoLanguage2/cn.json

@@ -73,6 +73,8 @@
     "game_crosshair_outbound_1": "瞄准方向已超出视野范围,请将弓往左移动!",
     "game_crosshair_outbound_2": "瞄准方向已超出视野范围,请将弓往下移动!",
     "game_crosshair_outbound_3": "瞄准方向已超出视野范围,请将弓往上移动!",
+    "agreement_user": "用户协议",
+    "agreement_privacy": "隐私政策",
     "tip_about-us": "关于我们-智能弓箭App!",
     "tip_friend-receive-request": "收到好友添加请求,可到好友界面查看!",
     "tip_pk_gametype_1": "静止靶PK",

+ 2 - 0
Assets/BowArrow/Scripts/Components/TextAutoLanguage2/Resources/TextAutoLanguage2/en.json

@@ -73,6 +73,8 @@
     "game_crosshair_outbound_1": "Aim out bound, please move the bow to the left!",
     "game_crosshair_outbound_2": "Aim out bound, please move the bow to the down!",
     "game_crosshair_outbound_3": "Aim out bound, please move the bow to the up!",
+    "agreement_user": "User Agreement",
+    "agreement_privacy": "Privacy Agreement",
     "tip_about-us": "About us - Smart bow app !",
     "tip_friend-receive-request": "Has friend requet, can check at friend view!",
     "tip_pk_gametype_1": "Fixed Target PK",

+ 2 - 2
Assets/BowArrow/Scripts/Manager/LoginView/AgreementView.cs

@@ -7,12 +7,12 @@ using UnityEngine.Networking;
 public class AgreementView : MonoBehaviour
 {
     public void EnterUserAgreement() {
-        GetTitleText().text = "用户协议";
+        GetTitleText().text = TextAutoLanguage2.GetTextByKey("agreement_user");
         StartCoroutine(GetUserAgreement());
     }
 
     public void EnterPrivacyAgreement() {
-        GetTitleText().text = "隐私政策";
+        GetTitleText().text = TextAutoLanguage2.GetTextByKey("agreement_privacy");
         StartCoroutine(GetPrivacyAgreement());
     }