Quellcode durchsuchen

:art: 桌面端 `设置` - `账号` 中增加订阅续订入口 Fix https://github.com/siyuan-note/siyuan/issues/5050

Liang Ding vor 3 Jahren
Ursprung
Commit
b131e90ac8

+ 1 - 1
app/appearance/langs/en_US.json

@@ -466,7 +466,7 @@
   "account10": "Annual subscription",
   "account11": "Until the end of the early bird discount",
   "account12": "Life companion",
-  "account13": "Après avoir utilisé le code de parrainage, les remboursements ne seront plus pris en charge. Faut-il utiliser le code d'abonnement ?",
+  "clickMeToRenew": "<a href=\"https://ld246.com/subscribe/siyuan\" target=\"_blank\">Go to Renew</a>",
   "priceAnnual": "$72",
   "year": "year",
   "dataHistory": "Data History",

+ 1 - 1
app/appearance/langs/fr_FR.json

@@ -466,7 +466,7 @@
   "account10": "Abonnement annuel",
   "account11": "Jusqu'à la fin de la réduction pour les early bird",
   "account12": "Compagnon de vie",
-  "account13": "Les remboursements ne seront plus pris en charge après l'utilisation du code d'abonnement. Devriez-vous utiliser le code d'abonnement ?",
+  "clickMeToRenew": "<a href=\"https://ld246.com/subscribe/siyuan\" target=\"_blank\">Aller à renouveler</a>",
   "priceAnnual": "$72",
   "year": "année",
   "dataHistory": "Historique des données",

+ 1 - 1
app/appearance/langs/zh_CHT.json

@@ -466,7 +466,7 @@
   "account10": "年付訂閱",
   "account11": "早鳥優惠活動結束還剩",
   "account12": "相伴一生",
-  "account13": "使用推薦碼後將不再支援退款,是否使用推薦碼?",
+  "clickMeToRenew": "<a href=\"https://ld246.com/subscribe/siyuan\" target=\"_blank\">前往續訂</a>",
   "priceAnnual": "¥148",
   "year": "年",
   "dataHistory": "數據歷史",

+ 1 - 1
app/appearance/langs/zh_CN.json

@@ -466,7 +466,7 @@
   "account10": "年付订阅",
   "account11": "早鸟优惠活动结束还剩",
   "account12": "相伴一生",
-  "account13": "使用推荐码后将不再支持退款,是否使用推荐码?",
+  "clickMeToRenew": "<a href=\"https://ld246.com/subscribe/siyuan\" target=\"_blank\">前往续订</a>",
   "priceAnnual": "¥148",
   "year": "年",
   "dataHistory": "数据历史",

+ 1 - 1
app/src/config/account.ts

@@ -52,7 +52,7 @@ export const account = {
                 subscriptionHTML = `<div class="b3-chip b3-chip--secondary">${Constants.SIYUAN_IMAGE_VIP}${window.siyuan.languages.account12}</div>`;
             } else if (window.siyuan.user.userSiYuanProExpireTime > 0) {
                 subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account10}</div><div class="fn__hr"></div>
-<div class="ft__on-surface ft__smaller">${window.siyuan.languages.account6} ${Math.floor((window.siyuan.user.userSiYuanProExpireTime - new Date().getTime()) / 1000 / 60 / 60 / 24)} ${window.siyuan.languages.day}</div>`;
+<div class="ft__on-surface ft__smaller">${window.siyuan.languages.account6} ${Math.floor((window.siyuan.user.userSiYuanProExpireTime - new Date().getTime()) / 1000 / 60 / 60 / 24)} ${window.siyuan.languages.day} ${window.siyuan.languages.clickMeToRenew}</div>`;
             }
             return `<div class="fn__flex config-account">
 <div class="config-account__center">