refactor: separate user agreement and privacy policy links (#777)

This commit is contained in:
ayangweb
2025-07-19 10:24:29 +08:00
committed by GitHub
parent 2b48cdf84a
commit 5e536e1444
3 changed files with 29 additions and 11 deletions

View File

@@ -210,6 +210,21 @@ const ServiceAuth = memo(
/> />
)} )}
<div className="flex items-center gap-2">
{/* EULA Link */}
<button
className="text-xs text-[#0096FB] dark:text-blue-400 block"
onClick={() =>
OpenURLWithBrowser(currentService?.provider?.eula)
}
>
{t("cloud.eula")}
</button>
<span className="text-xs text-[#0096FB] dark:text-blue-400 block">
|
</span>
{/* Privacy Policy Link */} {/* Privacy Policy Link */}
<button <button
className="text-xs text-[#0096FB] dark:text-blue-400 block" className="text-xs text-[#0096FB] dark:text-blue-400 block"
@@ -220,6 +235,7 @@ const ServiceAuth = memo(
{t("cloud.privacyPolicy")} {t("cloud.privacyPolicy")}
</button> </button>
</div> </div>
</div>
)} )}
</div> </div>
); );

View File

@@ -459,7 +459,8 @@
"login": "Login", "login": "Login",
"cancel": "Cancel", "cancel": "Cancel",
"copyUrl": "Copy URL", "copyUrl": "Copy URL",
"privacyPolicy": "EULA | Privacy Policy", "eula": "EULA",
"privacyPolicy": "Privacy Policy",
"connect": { "connect": {
"back": "Back", "back": "Back",
"title": "Connecting to Your Coco-Server", "title": "Connecting to Your Coco-Server",

View File

@@ -459,7 +459,8 @@
"login": "登录", "login": "登录",
"cancel": "取消", "cancel": "取消",
"copyUrl": "复制链接", "copyUrl": "复制链接",
"privacyPolicy": "用户协议 | 隐私政策", "eula": "用户协议",
"privacyPolicy": "隐私政策",
"connect": { "connect": {
"back": "返回", "back": "返回",
"title": "连接到您的 Coco-Server", "title": "连接到您的 Coco-Server",