clawaid 1.1.20 โ 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/index.html +5 -2
package/package.json
CHANGED
package/web/index.html
CHANGED
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
feedbackYes: isZh ? '๐ ่งฃๅณไบ' : '๐ Yes',
|
|
605
605
|
feedbackNo: isZh ? '๐ ๆฒก่งฃๅณ' : '๐ No',
|
|
606
606
|
thanksYes: isZh ? 'ๅคชๅฅฝไบ๏ผๅพ้ซๅ
ดๅธฎๅฐไฝ ' : 'Great! Glad it helped.',
|
|
607
|
-
thanksNo: isZh ? '
|
|
607
|
+
thanksNo: isZh ? 'ๆฑๆญๆฒก่งฃๅณ<br><span style="font-size:14px;margin-top:8px;display:inline-block;">WeChat: <b>oliver56666</b> ยท <a href="https://github.com/jjj5666/clawaid/issues" target="_blank">GitHub Issues</a></span>' : 'Sorry about that<br><span style="font-size:14px;margin-top:8px;display:inline-block;">WeChat: <b>oliver56666</b> ยท <a href="https://github.com/jjj5666/clawaid/issues" target="_blank">GitHub Issues</a></span>',
|
|
608
608
|
contact: isZh ? 'ๆ้ฎ้ข๏ผ' : 'Questions?',
|
|
609
609
|
allowQ: isZh ? '่ฟๅฐไฟฎๆนไฝ ็็ณป็ป๏ผๅ
่ฎธๆง่กๅ๏ผ' : 'This will modify your system. Allow?',
|
|
610
610
|
allow: isZh ? 'โ ๅ
่ฎธ' : 'โ Allow',
|
|
@@ -1190,10 +1190,13 @@
|
|
|
1190
1190
|
// โโโ Paywall โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
1191
1191
|
function showPaywall(data) {
|
|
1192
1192
|
var STRIPE_URL = 'https://buy.stripe.com/8x26oJ6WrdNnd9T4hI0oM01';
|
|
1193
|
-
var priceStr = data.price || '$1.99';
|
|
1194
1193
|
var credits = data.credits || 5;
|
|
1194
|
+
// Chinese users often use proxies (for OpenClaw API access), so CF-IPCountry
|
|
1195
|
+
// may incorrectly report US/JP/etc. Use frontend language detection as override.
|
|
1195
1196
|
var payMethod = data.payMethod || (data.isChinese ? 'xunhupay' : 'stripe');
|
|
1197
|
+
if (isZh && payMethod !== 'xunhupay') payMethod = 'xunhupay';
|
|
1196
1198
|
var isCN = payMethod === 'xunhupay';
|
|
1199
|
+
var priceStr = isCN ? 'ยฅ9.9' : (data.price || '$1.99');
|
|
1197
1200
|
|
|
1198
1201
|
var buyBtnHtml;
|
|
1199
1202
|
if (isCN) {
|