Просмотр исходного кода

隐私政策英文翻译修改

lvjincheng 3 лет назад
Родитель
Сommit
7b0f9715b1

+ 11 - 11
Assets/BowArrow/Scenes/Login.unity

@@ -2408,7 +2408,7 @@ MonoBehaviour:
     m_HorizontalOverflow: 1
     m_VerticalOverflow: 1
     m_LineSpacing: 1
-  m_Text: User Agreement and Privacy Agreement
+  m_Text: User Agreement and Privacy Policy
 --- !u!222 &228125597
 CanvasRenderer:
   m_ObjectHideFlags: 0
@@ -3840,7 +3840,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 36, y: 0}
+  m_AnchoredPosition: {x: 35.69658, y: 0}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &355551584
@@ -6207,7 +6207,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 119, y: 0}
+  m_AnchoredPosition: {x: 114.960335, y: 0}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &750604318
@@ -11209,7 +11209,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 256, y: 0}
+  m_AnchoredPosition: {x: 245.61229, y: 0}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1549087752
@@ -11545,16 +11545,16 @@ MonoBehaviour:
     m_VerticalOverflow: 0
     m_LineSpacing: 1
   m_Text: 'Please be sure to carefully read and fully understand the terms of the
-    "user agreement" and "privacy agreement", including but not limited to: in order
+    "user agreement" and "privacy policy", including but not limited to: in order
     to better provide services to you, we need to collect your device identification,
     operation log and other information for analysis and optimization of application
     performance.
 
     You can read the <a href=a>User Agreement</a> and <a href=b>Privacy
-    Agreement</a> .
+    Policy</a> .
 
-    Learn more. If you agree, please click the button below
-    to start accepting our service.'
+    Learn more. If you agree, please click the button below to
+    start accepting our service.'
 --- !u!222 &1612063350
 CanvasRenderer:
   m_ObjectHideFlags: 0
@@ -11747,7 +11747,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 386, y: 0}
+  m_AnchoredPosition: {x: 369.84134, y: 0}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1628073323
@@ -13902,7 +13902,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 116, y: 0}
+  m_AnchoredPosition: {x: 114.22905, y: 0}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1847328316
@@ -14388,7 +14388,7 @@ RectTransform:
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
   m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 321, y: 0}
+  m_AnchoredPosition: {x: 307.7268, y: 0}
   m_SizeDelta: {x: 0, y: 0}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!114 &1900702359

+ 1 - 1
Assets/BowArrow/Scripts/Components/TextAutoLanguage.cs

@@ -458,7 +458,7 @@ class LanguageEnglish : LanguageDefault {
     public new string text318 = "Novice Guidance";
     public new string text301 = "About Us";
     public new string text316 = "User Agreement";
-    public new string text317 = "Privacy Agreement";
+    public new string text317 = "Privacy Policy";
     public new string text300 = "Quit Login";
     public new string text400 = "Quit Game";
     //设备校准页面

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

@@ -108,7 +108,7 @@
     "game_challenge_settle_back": "Exit",
     "game_challenge_settle_next-level": "Next Level",
     "agreement_user": "User Agreement",
-    "agreement_privacy": "Privacy Agreement",
+    "agreement_privacy": "Privacy Policy",
     "agreement_read_and_agree": "I have read and agreed to the",
     "agreement_and": "and",
     "tip_about-us": "About us - Smart bow app !",

+ 6 - 1
Assets/BowArrow/Scripts/Manager/LoginMgr/AgreementView.cs

@@ -52,7 +52,7 @@ public class AgreementView : MonoBehaviour, MenuBackInterface
         }
     }
     IEnumerator GetPrivacyAgreement() {
-        string url = CommonConfig.businessServerURI + "/app/getPrivacyAgreement" + GetLanguageParam();
+        string url = CommonConfig.businessServerURI + "/app" + GetLanguageDir() + "/privacy-policy";
         using (UnityWebRequest request = UnityWebRequest.Get(url)) {
             yield return request.SendWebRequest();
             if (request.result == UnityWebRequest.Result.Success) {
@@ -65,4 +65,9 @@ public class AgreementView : MonoBehaviour, MenuBackInterface
         if (TextAutoLanguage2.GetLanguage() != LanguageEnum.Chinese) return "?language=en";
         return "";
     }
+
+    string GetLanguageDir() {
+        if (TextAutoLanguage2.GetLanguage() != LanguageEnum.Chinese) return "/en";
+        return "/cn";
+    }
 }