@seasonkoh/webaz 0.1.6 → 0.1.8
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/dist/layer1-agent/L1-1-mcp-server/server.js +298 -11
- package/dist/layer3-trust/L3-1-dispute-engine/dispute-engine.js +101 -41
- package/dist/pwa/public/app.js +3062 -0
- package/dist/pwa/public/i18n.js +580 -0
- package/dist/pwa/public/index.html +18 -0
- package/dist/pwa/public/manifest.json +13 -0
- package/dist/pwa/public/style.css +262 -0
- package/dist/pwa/public/sw.js +24 -0
- package/dist/pwa/server.js +1842 -11
- package/package.json +4 -2
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
// WebAZ i18n — Chinese (default) / English
|
|
2
|
+
// Usage: t('中文') → returns English when lang='en', or Chinese as-is
|
|
3
|
+
|
|
4
|
+
window._lang = localStorage.getItem('webaz_lang') || 'zh'
|
|
5
|
+
|
|
6
|
+
const _EN = {
|
|
7
|
+
// ── General ──────────────────────────────────────────────────
|
|
8
|
+
'加载中...': 'Loading...',
|
|
9
|
+
'← 返回': '← Back',
|
|
10
|
+
'返回': 'Back',
|
|
11
|
+
'取消': 'Cancel',
|
|
12
|
+
'确认': 'Confirm',
|
|
13
|
+
'登录': 'Login',
|
|
14
|
+
'注册': 'Register',
|
|
15
|
+
'退出登录': 'Sign out',
|
|
16
|
+
'处理中...': 'Processing...',
|
|
17
|
+
'操作成功!': 'Success!',
|
|
18
|
+
'商品不存在': 'Product not found',
|
|
19
|
+
|
|
20
|
+
// ── Navigation tabs ──────────────────────────────────────────
|
|
21
|
+
'商店': 'Shop',
|
|
22
|
+
'订单': 'Orders',
|
|
23
|
+
'后台': 'Dashboard',
|
|
24
|
+
'通知': 'Notifications',
|
|
25
|
+
'钱包': 'Wallet',
|
|
26
|
+
'配送任务': 'Deliveries',
|
|
27
|
+
'历史记录': 'History',
|
|
28
|
+
'记录': 'History',
|
|
29
|
+
'卖家': 'Seller',
|
|
30
|
+
'仲裁台': 'Arbitration',
|
|
31
|
+
|
|
32
|
+
// ── Login / Register ─────────────────────────────────────────
|
|
33
|
+
'去中心化商业协议 · AI Agent 原生': 'Decentralized commerce protocol · AI Agent native',
|
|
34
|
+
'我已有账号': 'I have an account',
|
|
35
|
+
'注册新账号': 'Register new account',
|
|
36
|
+
'粘贴你的 api_key': 'Paste your api_key',
|
|
37
|
+
'名称 / 店铺名': 'Name / Shop name',
|
|
38
|
+
'例:陈小明 / 竹韵手工坊': 'E.g.: Alice / Bamboo Studio',
|
|
39
|
+
'角色': 'Role',
|
|
40
|
+
'买家 — 浏览购物': 'Buyer — Browse & shop',
|
|
41
|
+
'卖家 — 上架商品': 'Seller — List products',
|
|
42
|
+
'物流 — 揽收投递': 'Logistics — Pickup & delivery',
|
|
43
|
+
'仲裁员 — 处理争议': 'Arbitrator — Resolve disputes',
|
|
44
|
+
'请粘贴 api_key': 'Please paste your api_key',
|
|
45
|
+
'无效的 api_key,请重新输入': 'Invalid api_key, please try again',
|
|
46
|
+
'请填写名称': 'Please enter your name',
|
|
47
|
+
'注册成功!': 'Registration successful!',
|
|
48
|
+
'你的 api_key(请妥善保存,这是你的登录凭证):': 'Your api_key (save it — this is your login credential):',
|
|
49
|
+
|
|
50
|
+
// ── Shop ─────────────────────────────────────────────────────
|
|
51
|
+
'发现好物': 'Discover',
|
|
52
|
+
'搜索商品...': 'Search products...',
|
|
53
|
+
'搜': 'Go',
|
|
54
|
+
'暂无商品': 'No products yet',
|
|
55
|
+
'⚡ Skill 市场': 'Skill Market',
|
|
56
|
+
|
|
57
|
+
// ── Product detail / Buy ─────────────────────────────────────
|
|
58
|
+
'价格': 'Price',
|
|
59
|
+
'库存': 'Stock',
|
|
60
|
+
'件': 'pcs',
|
|
61
|
+
'卖家': 'Seller',
|
|
62
|
+
'收货地址': 'Shipping address',
|
|
63
|
+
'省市区 详细地址': 'Province / City / District, detailed address',
|
|
64
|
+
'备注(可选)': 'Notes (optional)',
|
|
65
|
+
'给卖家的留言': 'Message to seller',
|
|
66
|
+
'立即下单': 'Place Order',
|
|
67
|
+
'只有买家账号可以下单': 'Only buyer accounts can place orders',
|
|
68
|
+
'请填写收货地址': 'Please enter shipping address',
|
|
69
|
+
'下单成功!': 'Order placed!',
|
|
70
|
+
'已托管,等待卖家接单': 'Escrowed, waiting for seller to accept',
|
|
71
|
+
|
|
72
|
+
// ── Orders list ──────────────────────────────────────────────
|
|
73
|
+
'我的订单': 'My Orders',
|
|
74
|
+
'暂无订单': 'No orders yet',
|
|
75
|
+
'我买的': 'Purchased',
|
|
76
|
+
'我卖的': 'Sold',
|
|
77
|
+
|
|
78
|
+
// ── Order detail ─────────────────────────────────────────────
|
|
79
|
+
'商品': 'Product',
|
|
80
|
+
'金额': 'Amount',
|
|
81
|
+
'下单时间': 'Order time',
|
|
82
|
+
'已超时!协议将自动判责': 'Overdue! Auto liability determination will occur',
|
|
83
|
+
'截止时间:': 'Deadline:',
|
|
84
|
+
'完整状态历史': 'Full status history',
|
|
85
|
+
'暂无记录': 'No records',
|
|
86
|
+
'物流跟踪': 'Tracking',
|
|
87
|
+
'买家:': 'Buyer:',
|
|
88
|
+
'卖家:': 'Seller:',
|
|
89
|
+
|
|
90
|
+
// ── Status badges ────────────────────────────────────────────
|
|
91
|
+
'待付款': 'Awaiting payment',
|
|
92
|
+
'待接单': 'Awaiting acceptance',
|
|
93
|
+
'待发货': 'Awaiting shipment',
|
|
94
|
+
'已发货': 'Shipped',
|
|
95
|
+
'已揽收': 'Picked up',
|
|
96
|
+
'运输中': 'In transit',
|
|
97
|
+
'待确认': 'Awaiting confirmation',
|
|
98
|
+
'已确认': 'Confirmed',
|
|
99
|
+
'已完成': 'Completed',
|
|
100
|
+
'争议中': 'In dispute',
|
|
101
|
+
'已取消': 'Cancelled',
|
|
102
|
+
'卖家违约': 'Seller breach',
|
|
103
|
+
'买家违约': 'Buyer breach',
|
|
104
|
+
'物流违约': 'Logistics breach',
|
|
105
|
+
|
|
106
|
+
// ── Order actions ────────────────────────────────────────────
|
|
107
|
+
'接单': 'Accept',
|
|
108
|
+
'确认发货': 'Confirm shipment',
|
|
109
|
+
'✅ 确认揽收': '✅ Confirm pickup',
|
|
110
|
+
'🚛 开始运输': '🚛 Start transit',
|
|
111
|
+
'📬 确认投递': '📬 Confirm delivery',
|
|
112
|
+
'确认收货': 'Confirm receipt',
|
|
113
|
+
'发起争议': 'Open dispute',
|
|
114
|
+
'我的操作': 'Actions',
|
|
115
|
+
'选择物流公司': 'Select logistics company',
|
|
116
|
+
'— 请选择物流公司 —': '— Select logistics company —',
|
|
117
|
+
'暂无已注册的物流公司,请先让物流方注册账号': 'No registered logistics providers. Please register a logistics account first.',
|
|
118
|
+
'证据说明': 'Evidence description',
|
|
119
|
+
'快递单号': 'Tracking number',
|
|
120
|
+
'如:SF1234567890': 'E.g.: 1Z999AA10123456784',
|
|
121
|
+
'投递凭证': 'Delivery proof',
|
|
122
|
+
'门牌照片描述 / 收件人姓名 / 签收时间': 'Door photo desc / Recipient name / Signature time',
|
|
123
|
+
'争议理由': 'Dispute reason',
|
|
124
|
+
'描述问题(货不对版/货损/未收到等)': 'Describe issue (wrong item / damaged / not received, etc.)',
|
|
125
|
+
'请选择物流公司': 'Please select a logistics company',
|
|
126
|
+
'请填写快递单号': 'Please enter tracking number',
|
|
127
|
+
'请填写凭证内容': 'Please enter proof content',
|
|
128
|
+
'已交付物流公司:': 'Handed to logistics:',
|
|
129
|
+
'快递单号待物流揽收后回传': 'Tracking number will be provided after logistics pickup',
|
|
130
|
+
|
|
131
|
+
// ── Disputes ─────────────────────────────────────────────────
|
|
132
|
+
'争议详情': 'Dispute details',
|
|
133
|
+
'⚖️ 争议详情': 'Dispute details',
|
|
134
|
+
'发起方': 'Initiator',
|
|
135
|
+
'被诉方': 'Defendant',
|
|
136
|
+
'争议原因': 'Reason',
|
|
137
|
+
'被告截止': 'Response deadline',
|
|
138
|
+
'原告证据': 'Plaintiff evidence',
|
|
139
|
+
'原告': 'Plaintiff',
|
|
140
|
+
'被告回应': 'Defendant response',
|
|
141
|
+
'被告': 'Defendant',
|
|
142
|
+
'查看完整争议页': 'View full dispute',
|
|
143
|
+
'争议 #': 'Dispute #',
|
|
144
|
+
'关联订单': 'Order',
|
|
145
|
+
'查看订单 →': 'View order →',
|
|
146
|
+
'等待被告回应': 'Awaiting response',
|
|
147
|
+
'仲裁审查中': 'Under review',
|
|
148
|
+
'已裁定': 'Ruling issued',
|
|
149
|
+
'已撤销': 'Dismissed',
|
|
150
|
+
'🔵 全额退款给买家': '🔵 Full refund to buyer',
|
|
151
|
+
'🟢 资金释放给卖家': '🟢 Release funds to seller',
|
|
152
|
+
'🟡 部分退款': '🟡 Partial refund',
|
|
153
|
+
'⚖️ 责任分配裁定': '⚖️ Liability allocation',
|
|
154
|
+
'退款金额:': 'Refund:',
|
|
155
|
+
'责任分配:': 'Liability:',
|
|
156
|
+
'承担': 'bears',
|
|
157
|
+
'争议仲裁台': 'Arbitration',
|
|
158
|
+
'⚖️ 争议仲裁台': '⚖️ Arbitration',
|
|
159
|
+
'此功能仅限仲裁员使用。': 'This feature is for arbitrators only.',
|
|
160
|
+
'你的角色:': 'Your role:',
|
|
161
|
+
'暂无开放争议': 'No open disputes',
|
|
162
|
+
'共': 'Total',
|
|
163
|
+
'个待处理争议。点击进入查看详情并裁定。': 'pending disputes. Click to view and rule.',
|
|
164
|
+
'原告:': 'Plaintiff:',
|
|
165
|
+
'被告:': 'Defendant:',
|
|
166
|
+
|
|
167
|
+
// ── Evidence ─────────────────────────────────────────────────
|
|
168
|
+
'文字说明': 'Text',
|
|
169
|
+
'图片': 'Image',
|
|
170
|
+
'视频': 'Video',
|
|
171
|
+
'单据/文件': 'Document',
|
|
172
|
+
'链上数据(不可篡改)': 'On-chain data',
|
|
173
|
+
'待提交': 'Pending',
|
|
174
|
+
'已提交': 'Submitted',
|
|
175
|
+
'已过期': 'Expired',
|
|
176
|
+
'其他参与方证据': 'Party evidence',
|
|
177
|
+
'参与方': 'Party',
|
|
178
|
+
'📤 主动提交我的证据': '📤 Submit my evidence',
|
|
179
|
+
'提交证据': 'Submit evidence',
|
|
180
|
+
'提交所需证据': 'Submit required evidence',
|
|
181
|
+
'— 选择证据类型 —': '— Select type —',
|
|
182
|
+
'(可选)文件哈希 / 链上 TX / IPFS CID': '(Optional) File hash / On-chain TX / IPFS CID',
|
|
183
|
+
'(可选)文件哈希 / IPFS CID / 链上 TX ID': '(Optional) File hash / IPFS CID / TX ID',
|
|
184
|
+
'详细描述你掌握的证据(如揽收记录、配送轨迹、签收凭证等)': 'Describe your evidence (pickup records, delivery tracking, signature, etc.)',
|
|
185
|
+
'详细描述内容(如图片描述、文字陈述、链上 TX hash 等)': 'Detailed description (image, statement, TX hash, etc.)',
|
|
186
|
+
'已发送证据请求!': 'Evidence request sent!',
|
|
187
|
+
|
|
188
|
+
// ── Arbitrator ruling ────────────────────────────────────────
|
|
189
|
+
'裁定方式': 'Ruling type',
|
|
190
|
+
'🔵 全额退款买家(买家胜诉,卖家承担)': '🔵 Full refund to buyer (buyer wins)',
|
|
191
|
+
'🟢 资金释放给卖家(卖家胜诉)': '🟢 Release to seller (seller wins)',
|
|
192
|
+
'🟡 部分退款(折中,需填金额)': '🟡 Partial refund (enter amount)',
|
|
193
|
+
'⚖️ 责任分配(指定各方赔付额)': '⚖️ Liability split (specify amounts)',
|
|
194
|
+
'填写退款金额': 'Enter refund amount',
|
|
195
|
+
'责任方赔付分配': 'Liability allocation',
|
|
196
|
+
'订单总额:': 'Order total:',
|
|
197
|
+
'赔付金额': 'Amount',
|
|
198
|
+
'保险兜底': 'Insurance cap',
|
|
199
|
+
'上限': 'Cap',
|
|
200
|
+
'合计退款:': 'Total refund:',
|
|
201
|
+
'裁定理由 *': 'Ruling reason *',
|
|
202
|
+
'请详细说明裁定依据(将记录在案)': 'Explain the basis for your ruling (will be recorded)',
|
|
203
|
+
'确认裁定': 'Issue ruling',
|
|
204
|
+
'裁定中...': 'Processing...',
|
|
205
|
+
'请选择裁定方式': 'Please select ruling type',
|
|
206
|
+
'请填写裁定理由': 'Please enter ruling reason',
|
|
207
|
+
'部分退款需填写退款金额': 'Please enter refund amount',
|
|
208
|
+
'请至少选择一个责任方并填写金额': 'Please select at least one liable party',
|
|
209
|
+
'裁定已执行!': 'Ruling executed!',
|
|
210
|
+
'💰 仲裁费:': 'Arbitration fee:',
|
|
211
|
+
'缴纳仲裁费': 'pays fee',
|
|
212
|
+
'请填写': 'Please enter ',
|
|
213
|
+
'的赔付金额': "'s compensation amount",
|
|
214
|
+
|
|
215
|
+
// ── Defendant response ───────────────────────────────────────
|
|
216
|
+
'请描述你的反驳理由、证据(如物流记录、商品照片说明等)': 'Describe your defense (logistics records, product photos, etc.)',
|
|
217
|
+
'提交反驳证据': 'Submit defense',
|
|
218
|
+
|
|
219
|
+
// ── Evidence requests (arbitrator) ───────────────────────────
|
|
220
|
+
'📋 请求补充证据': '📋 Request evidence',
|
|
221
|
+
'向指定当事方请求证据': 'Request evidence from party',
|
|
222
|
+
'当事方': 'Party',
|
|
223
|
+
'— 选择当事方 —': '— Select party —',
|
|
224
|
+
'所需证据类型(可多选)': 'Evidence types needed',
|
|
225
|
+
'说明(告诉对方需要提供什么)': 'Description (what to provide)',
|
|
226
|
+
'例:请提供商品发出时的快递单照片': 'E.g.: Please provide tracking receipt photo when item was sent',
|
|
227
|
+
'截止时间': 'Deadline',
|
|
228
|
+
'24 小时': '24 hours',
|
|
229
|
+
'48 小时': '48 hours',
|
|
230
|
+
'72 小时': '72 hours',
|
|
231
|
+
'发送请求': 'Send request',
|
|
232
|
+
|
|
233
|
+
// ── Logistics ────────────────────────────────────────────────
|
|
234
|
+
'物流仪表盘': 'Logistics Dashboard',
|
|
235
|
+
'🚚 物流仪表盘': '🚚 Logistics Dashboard',
|
|
236
|
+
'此功能仅限物流角色使用。': 'This feature is for logistics users only.',
|
|
237
|
+
'个订单正在配送': 'orders in delivery',
|
|
238
|
+
'我的配送任务': 'My deliveries',
|
|
239
|
+
'可接订单(未认领)': 'Available orders',
|
|
240
|
+
'揽收后即自动认领为你的配送任务': 'Automatically claimed as your delivery after pickup',
|
|
241
|
+
'暂无进行中订单': 'No active deliveries',
|
|
242
|
+
'暂无待揽收订单': 'No pending pickups',
|
|
243
|
+
'快递单号 *': 'Tracking number *',
|
|
244
|
+
'投递凭证 *': 'Delivery proof *',
|
|
245
|
+
'请填写投递凭证': 'Please enter delivery proof',
|
|
246
|
+
|
|
247
|
+
// ── Seller ───────────────────────────────────────────────────
|
|
248
|
+
'卖家后台': 'Seller Dashboard',
|
|
249
|
+
'此功能仅限卖家使用。': 'This feature is for sellers only.',
|
|
250
|
+
'个订单需要处理': 'orders need attention',
|
|
251
|
+
'待处理订单': 'Pending orders',
|
|
252
|
+
'我的商品': 'My products',
|
|
253
|
+
'+ 上架': '+ List',
|
|
254
|
+
'还没有商品': 'No products yet',
|
|
255
|
+
'在售': 'Active',
|
|
256
|
+
'已下架': 'Delisted',
|
|
257
|
+
'上架新商品': 'List new product',
|
|
258
|
+
'商品名称': 'Product name',
|
|
259
|
+
'例:手工竹编收纳篮': 'E.g.: Handwoven bamboo basket',
|
|
260
|
+
'商品描述': 'Description',
|
|
261
|
+
'材质、尺寸、特点...': 'Material, size, features...',
|
|
262
|
+
'价格(WAZ)': 'Price (WAZ)',
|
|
263
|
+
'库存数量': 'Stock',
|
|
264
|
+
'分类(可选)': 'Category (optional)',
|
|
265
|
+
'不分类': 'No category',
|
|
266
|
+
'茶具': 'Tea ware',
|
|
267
|
+
'家居': 'Home',
|
|
268
|
+
'食品': 'Food',
|
|
269
|
+
'服装': 'Clothing',
|
|
270
|
+
'手工': 'Handcraft',
|
|
271
|
+
'电子': 'Electronics',
|
|
272
|
+
'上架': 'List',
|
|
273
|
+
'请填写商品名、描述、价格': 'Please fill in name, description, and price',
|
|
274
|
+
'上架成功!质押': 'Listed! Stake of',
|
|
275
|
+
'已锁定': 'locked',
|
|
276
|
+
|
|
277
|
+
// ── Skills ───────────────────────────────────────────────────
|
|
278
|
+
'⚡ 我的 Skill': '⚡ My Skills',
|
|
279
|
+
'Skill 市场': 'Skill Market',
|
|
280
|
+
'还没有 Skill': 'No Skills yet',
|
|
281
|
+
'+ 发布新 Skill': '+ Publish Skill',
|
|
282
|
+
'发布 Skill': 'Publish Skill',
|
|
283
|
+
'Skill 类型': 'Skill type',
|
|
284
|
+
'🔄 目录同步 — 商品接入 WebAZ 搜索': '🔄 Catalog sync — List products in WebAZ search',
|
|
285
|
+
'⚡ 自动接单 — 买家下单立即接受': '⚡ Auto-accept — Instantly accept buyer orders',
|
|
286
|
+
'🤝 价格协商 — 允许 Agent 议价': '🤝 Price negotiation — Allow Agent to negotiate',
|
|
287
|
+
'🛡️ 质量承诺 — 额外质押保证': '🛡️ Quality guarantee — Extra stake as assurance',
|
|
288
|
+
'🚀 极速发货 — 承诺 24h 发货': '🚀 Instant shipping — Promise 24h dispatch',
|
|
289
|
+
'Skill 名称': 'Skill name',
|
|
290
|
+
'例:竹韵手工坊自动接单': 'E.g.: My Store auto-accept',
|
|
291
|
+
'描述': 'Description',
|
|
292
|
+
'简要说明这个 Skill 能给买家带来什么好处': 'Briefly describe the benefit to buyers',
|
|
293
|
+
'请填写名称和描述': 'Please fill in name and description',
|
|
294
|
+
'✅ Skill 已发布!买家可以在 Skill 市场订阅': '✅ Skill published! Buyers can subscribe in the Skill Market',
|
|
295
|
+
'目录同步': 'Catalog sync',
|
|
296
|
+
'自动接单': 'Auto-accept',
|
|
297
|
+
'价格协商': 'Price negotiation',
|
|
298
|
+
'质量承诺': 'Quality guarantee',
|
|
299
|
+
'极速发货': 'Instant shipping',
|
|
300
|
+
'已订阅': 'Subscribed',
|
|
301
|
+
'+ 订阅': '+ Subscribe',
|
|
302
|
+
'订阅成功!你将优先看到此卖家商品': 'Subscribed! You\'ll see this seller\'s products first',
|
|
303
|
+
'订阅卖家发布的 Skill,即可享受自动接单、优先推荐、价格协商等特权。': 'Subscribe to Seller Skills for auto-accept, priority listings, price negotiation and more.',
|
|
304
|
+
'后即可订阅 Skill': 'to subscribe to Skills',
|
|
305
|
+
'还没有 Skill,卖家可以去后台发布': 'No Skills yet. Sellers can publish from the dashboard.',
|
|
306
|
+
|
|
307
|
+
// ── Wallet ───────────────────────────────────────────────────
|
|
308
|
+
'我的钱包': 'Wallet',
|
|
309
|
+
'可用余额': 'Available',
|
|
310
|
+
'质押中': 'Staked',
|
|
311
|
+
'托管中': 'In escrow',
|
|
312
|
+
'历史累计收益': 'Total earnings',
|
|
313
|
+
'声誉积分': 'Reputation',
|
|
314
|
+
'分': 'pts',
|
|
315
|
+
'最高等级 🏆': 'Max level 🏆',
|
|
316
|
+
'成交次数': 'Transactions',
|
|
317
|
+
'争议胜/败': 'Disputes W/L',
|
|
318
|
+
'质押优惠': 'Stake discount',
|
|
319
|
+
'当前': 'Current',
|
|
320
|
+
'暂无(升到可信即可享受 -5%)': 'None (reach Trusted for -5% off)',
|
|
321
|
+
'最近记录': 'Recent history',
|
|
322
|
+
'完成第一笔交易后开始积累声誉': 'Reputation starts after first transaction',
|
|
323
|
+
'充值': 'Deposit',
|
|
324
|
+
'测试网': 'Testnet',
|
|
325
|
+
'向以下地址转入 USDC,系统确认后自动到账。': 'Send USDC to the address below. Balance updates automatically after confirmation.',
|
|
326
|
+
'您的充值地址': 'Your deposit address',
|
|
327
|
+
'复制地址': 'Copy address',
|
|
328
|
+
'已复制': 'Copied',
|
|
329
|
+
'区块链浏览器': 'Block Explorer',
|
|
330
|
+
'Base Sepolia 测试网 USDC 可在 Circle Faucet 免费获取。主网上线后同一地址直接使用。': 'Base Sepolia test USDC is available from Circle Faucet. The same address works on mainnet when launched.',
|
|
331
|
+
'加载中...': 'Loading...',
|
|
332
|
+
'提现': 'Withdraw',
|
|
333
|
+
'收款地址(以太坊 / Base)': 'Recipient address (Ethereum / Base)',
|
|
334
|
+
'提现金额(WAZ)': 'Amount (WAZ)',
|
|
335
|
+
'最低 10 WAZ': 'Min 10 WAZ',
|
|
336
|
+
'申请提现': 'Request Withdrawal',
|
|
337
|
+
'提现申请提交后 24 小时内处理并发送至链上地址。': 'Withdrawal requests are processed within 24 hours.',
|
|
338
|
+
'提交中...': 'Submitting...',
|
|
339
|
+
'测试模式:模拟充值': 'Test mode: mock top-up',
|
|
340
|
+
'开发测试专用,单次最多 1000 WAZ,余额上限 5000 WAZ。': 'Dev/test only. Max 1000 WAZ per top-up, balance cap 5000 WAZ.',
|
|
341
|
+
'💰 充值测试 WAZ': '💰 Top up test WAZ',
|
|
342
|
+
'Phase 0 测试专用,单次最多 1000 WAZ,余额上限 5000 WAZ。': 'Phase 0 testing only. Max 1000 WAZ per top-up, balance cap 5000 WAZ.',
|
|
343
|
+
'WAZ 为协议内模拟货币。Phase 2 将接入真实链上资产。': 'WAZ is simulated protocol currency. Phase 2 will integrate real on-chain assets.',
|
|
344
|
+
'充值中...': 'Topping up...',
|
|
345
|
+
'已充入': 'Topped up',
|
|
346
|
+
'当前余额': 'Balance',
|
|
347
|
+
'新手 🌱': 'Novice 🌱',
|
|
348
|
+
'可信 ⭐': 'Trusted ⭐',
|
|
349
|
+
'优质 🌟': 'Quality 🌟',
|
|
350
|
+
'明星 💫': 'Star 💫',
|
|
351
|
+
'传奇 🔥': 'Legend 🔥',
|
|
352
|
+
'还差': 'Need',
|
|
353
|
+
'距': '',
|
|
354
|
+
|
|
355
|
+
// ── Notifications ────────────────────────────────────────────
|
|
356
|
+
'暂无通知': 'No notifications',
|
|
357
|
+
|
|
358
|
+
// ── Profile ──────────────────────────────────────────────────
|
|
359
|
+
'👤 个人资料 & 设置': '👤 Profile & Settings',
|
|
360
|
+
'昵称': 'Name',
|
|
361
|
+
'(你的唯一身份凭证,请妥善保管)': '(Your unique identity credential, keep it safe)',
|
|
362
|
+
'显示': 'Show',
|
|
363
|
+
'复制': 'Copy',
|
|
364
|
+
'隐藏': 'Hide',
|
|
365
|
+
'钱包余额': 'Balance',
|
|
366
|
+
'角色管理': 'Roles',
|
|
367
|
+
'已有角色': 'Your roles',
|
|
368
|
+
'当前激活': 'Active',
|
|
369
|
+
'● 激活': '● Active',
|
|
370
|
+
'添加新角色': 'Add role',
|
|
371
|
+
'已拥有全部角色': 'All roles unlocked',
|
|
372
|
+
'找回密钥': 'Recover key',
|
|
373
|
+
'如果你遗失了 API Key,可以通过注册名称找回。': 'Lost your API Key? Recover it using your registration name.',
|
|
374
|
+
'输入注册时的名称': 'Enter your registration name',
|
|
375
|
+
'找回': 'Recover',
|
|
376
|
+
'使用此账号': 'Use this account',
|
|
377
|
+
'API Key 已复制到剪贴板': 'API Key copied to clipboard',
|
|
378
|
+
|
|
379
|
+
// ── Role labels ──────────────────────────────────────────────
|
|
380
|
+
'买家': 'Buyer',
|
|
381
|
+
'物流': 'Logistics',
|
|
382
|
+
'仲裁员': 'Arbitrator',
|
|
383
|
+
|
|
384
|
+
// ── Smart Import ─────────────────────────────────────────────
|
|
385
|
+
'导入': 'Import',
|
|
386
|
+
'一键导入商品': 'Import Product',
|
|
387
|
+
'粘贴任意平台商品链接,AI 自动提取信息并给出定价建议': 'Paste any platform link — AI extracts info and suggests pricing',
|
|
388
|
+
'粘贴淘宝 / 京东 / 亚马逊 / Shopify 等链接': 'Paste Taobao / JD / Amazon / Shopify link...',
|
|
389
|
+
'解析': 'Analyze',
|
|
390
|
+
'解析中...': 'Analyzing...',
|
|
391
|
+
'解析完成,确认后上架': 'Review & publish',
|
|
392
|
+
'确认上架': 'Confirm & List',
|
|
393
|
+
'点击切换': 'Click to switch',
|
|
394
|
+
'使用自己的 Anthropic API Key(不限次数)': 'Use your own Anthropic API Key (unlimited)',
|
|
395
|
+
'Key 仅存储在本地,不上传服务器,用完即丢': 'Key is stored locally only, never uploaded, discarded after use',
|
|
396
|
+
'今日剩余免费次数': 'Free imports remaining today',
|
|
397
|
+
'使用自己的 Key,不限次数': 'Using your own Key — unlimited',
|
|
398
|
+
'清除': 'Clear',
|
|
399
|
+
'原价参考': 'Original price ref',
|
|
400
|
+
'改用手动上架': 'Switch to manual listing',
|
|
401
|
+
'提取内容为空,请尝试其他链接或改用手动上架': 'Nothing extracted. Try another link or use manual listing.',
|
|
402
|
+
|
|
403
|
+
// ── Product structured fields ────────────────────────────────
|
|
404
|
+
'规格参数': 'Specs',
|
|
405
|
+
'每行:材质: 陶瓷': 'One per line: Material: Ceramic',
|
|
406
|
+
'每行一个,格式:材质: 陶瓷': 'One per line, e.g. Material: Ceramic',
|
|
407
|
+
'处理时间 (小时)': 'Handling time (hrs)',
|
|
408
|
+
'退货天数': 'Return window (days)',
|
|
409
|
+
'质保天数': 'Warranty (days)',
|
|
410
|
+
'退货条件': 'Return condition',
|
|
411
|
+
'发货地区': 'Ship regions',
|
|
412
|
+
'时效 (天)': 'Transit (days)',
|
|
413
|
+
'易碎品,需特殊包装': 'Fragile — special packaging',
|
|
414
|
+
'例:未拆封 / 任意原因 / 质量问题': 'e.g. Unopened / Any reason / Defect',
|
|
415
|
+
'全国': 'Nationwide',
|
|
416
|
+
'全国 / 华东华南 / 不支持偏远地区': 'Nationwide / East & South / Excl. remote areas',
|
|
417
|
+
'物流 & 售后': 'Logistics & After-sales',
|
|
418
|
+
|
|
419
|
+
// ── External links ───────────────────────────────────────────
|
|
420
|
+
'外部链接': 'External links',
|
|
421
|
+
'买家粘贴这些链接时,智能下单会直接匹配到你的商品': 'When buyers paste these links, Smart Order will directly match your product',
|
|
422
|
+
'粘贴外部链接(需验证)': 'Paste external link (will be verified)',
|
|
423
|
+
'添加': 'Add',
|
|
424
|
+
'暂无外部链接': 'No external links yet',
|
|
425
|
+
'导入时自动保存': 'Auto-saved on import',
|
|
426
|
+
'手动添加': 'Manually added',
|
|
427
|
+
'验证中...': 'Verifying...',
|
|
428
|
+
'验证通过': 'Verified',
|
|
429
|
+
'已保存,未通过验证': 'Saved, verification failed',
|
|
430
|
+
'同款商品': 'Exact match',
|
|
431
|
+
'编辑商品': 'Edit product',
|
|
432
|
+
'编辑': 'Edit',
|
|
433
|
+
'保存修改': 'Save changes',
|
|
434
|
+
'保存中...': 'Saving...',
|
|
435
|
+
'已保存': 'Saved',
|
|
436
|
+
'每行:华东: 2': 'One per line, e.g. East: 2',
|
|
437
|
+
'添加其他平台链接(可选)': 'Add links from other platforms (optional)',
|
|
438
|
+
'每行一个链接,上架后自动验证': 'One link per line, auto-verified after listing',
|
|
439
|
+
'链接冲突,需要验证所有权': 'Link conflict — prove ownership',
|
|
440
|
+
'已添加验证码,立即验证': 'Code added — verify now',
|
|
441
|
+
'验证中,正在检查页面...': 'Verifying, checking page...',
|
|
442
|
+
'导入时附带': 'Included at import',
|
|
443
|
+
|
|
444
|
+
// ── Agent Buy ────────────────────────────────────────────────
|
|
445
|
+
'智能下单': 'Smart Order',
|
|
446
|
+
'粘贴任意平台链接,AI 帮你找更优方案': 'Paste any link — AI finds a better deal',
|
|
447
|
+
'粘贴商品链接,AI 自动搜索 WebAZ 更优方案,可一键下单': 'Paste a link, AI searches WebAZ for a better deal and can order for you',
|
|
448
|
+
'商品链接': 'Product link',
|
|
449
|
+
'粘贴淘宝 / 京东 / 亚马逊等链接': 'Paste Taobao / JD / Amazon link...',
|
|
450
|
+
'找到更优方案后自动下单(否则仅展示比价结果)': 'Auto-order if a better deal is found (otherwise just show comparison)',
|
|
451
|
+
'开始分析': 'Analyze',
|
|
452
|
+
'分析中...': 'Analyzing...',
|
|
453
|
+
'请粘贴商品链接': 'Please paste a product link',
|
|
454
|
+
'自动下单需填写收货地址': 'Shipping address required for auto-order',
|
|
455
|
+
'✅ 推荐 WebAZ 方案': '✅ Recommended: WebAZ deal',
|
|
456
|
+
'🔗 建议继续在原平台购买': '🔗 Suggestion: buy on original platform',
|
|
457
|
+
'😕 暂未找到合适替代': '😕 No suitable alternative found',
|
|
458
|
+
'查看并下单': 'View & order',
|
|
459
|
+
'已自动下单!': 'Auto-ordered!',
|
|
460
|
+
'订单号': 'Order ID',
|
|
461
|
+
'金额': 'Amount',
|
|
462
|
+
'(已从钱包托管)': '(escrowed from wallet)',
|
|
463
|
+
'WebAZ 上的相关商品': 'Related products on WebAZ',
|
|
464
|
+
'原商品': 'Original',
|
|
465
|
+
'智能下单仅限买家使用': 'Smart Order is for buyers only',
|
|
466
|
+
|
|
467
|
+
// ── Verify Tasks ─────────────────────────────────────────────
|
|
468
|
+
'🛡️ 验证任务': '🛡️ Verify Tasks',
|
|
469
|
+
'发起链接认领认证': 'Claim Link Ownership',
|
|
470
|
+
'此链接已被其他商家认领上架': 'This link is already claimed by another seller',
|
|
471
|
+
'如需认领归属,可发起链接认领验证任务,经众包验证通过后链接归属转移到您的商品。': 'You can start a claim verification task. Once verified by the crowd, ownership transfers to your product.',
|
|
472
|
+
'发起认领认证 →': 'Start Claim →',
|
|
473
|
+
'换一个链接': 'Use a different link',
|
|
474
|
+
'此链接已被其他商家认领': 'This link is already claimed by another seller',
|
|
475
|
+
'您需要填写您的商品信息,并在原平台商品页面放入系统生成的验证码,经过众包验证者确认后,链接归属将转移到您的商品。': 'Fill in your product info. Place the system-generated verification code in the original listing. After crowd verification, ownership transfers.',
|
|
476
|
+
'填写您的商品信息': 'Enter your product info',
|
|
477
|
+
'您在此平台销售的商品名': 'Your product name on this platform',
|
|
478
|
+
'提交后系统将生成一个 8 位验证码,您需要将其加入原平台商品标题或描述(如:[XXXXXXXX]),然后等待验证者确认。验证通过后链接归属自动转移。': 'After submitting, a code will be generated. Add it to the original listing\'s title or description. Ownership transfers after verification.',
|
|
479
|
+
'提交认领申请': 'Submit Claim',
|
|
480
|
+
'认领任务已创建': 'Claim Task Created',
|
|
481
|
+
'商品已建立,等待验证完成后链接归属将转移到您的商品': 'Product created — ownership transfers after verification',
|
|
482
|
+
'请将以下验证码放入原平台商品标题或描述': 'Place this code in the original listing\'s title or description',
|
|
483
|
+
'格式示例': 'Example',
|
|
484
|
+
'查看验证任务进度': 'View Verification Progress',
|
|
485
|
+
'仅卖家可发起链接认领': 'Only sellers can initiate link claims',
|
|
486
|
+
'链接冲突 — 需要验证所有权': 'Link conflict — ownership verification required',
|
|
487
|
+
'链接冲突 — 需要认领验证': 'Link conflict — ownership verification required',
|
|
488
|
+
'链接验证任务已创建': 'Link verification task created',
|
|
489
|
+
'此链接已有进行中的任务': 'Existing pending task for this link',
|
|
490
|
+
'导入来源': 'Imported from',
|
|
491
|
+
'认领验证': 'Claim verification',
|
|
492
|
+
'待验证': 'Pending verification',
|
|
493
|
+
'已验证': 'Verified',
|
|
494
|
+
'验证码': 'Verification code',
|
|
495
|
+
'请将验证码放入原平台商品标题或描述 · 截止': 'Add code to the original listing\'s title or description — deadline:',
|
|
496
|
+
'查看任务进度': 'View task progress',
|
|
497
|
+
'粘贴站外链接(需众包验证)': 'Paste external link (crowd verification required)',
|
|
498
|
+
'该来源链接已被其他商家认领。请在原平台商品标题或描述中加入验证码:': 'This source URL is claimed by another seller. Add the verification code to the original listing\'s title or description:',
|
|
499
|
+
'验证通过后链接归属自动更新': 'Link ownership updates automatically after verification',
|
|
500
|
+
'验证任务': 'Verify Tasks',
|
|
501
|
+
'我的验证状态': 'My Verifier Status',
|
|
502
|
+
'验证权': 'Verify Rights',
|
|
503
|
+
'已完成': 'Completed',
|
|
504
|
+
'正确': 'Correct',
|
|
505
|
+
'验证权已暂停至': 'Verify rights suspended until',
|
|
506
|
+
'暂无分配到你的验证任务': 'No verification tasks assigned to you',
|
|
507
|
+
'链接所有权验证': 'Link Ownership Verification',
|
|
508
|
+
'截止': 'Deadline',
|
|
509
|
+
'已过期': 'Expired',
|
|
510
|
+
'奖励': 'Reward',
|
|
511
|
+
'请打开上方链接,在标题或详情中找到放置的': 'Open the link above and find the',
|
|
512
|
+
'8位验证码': '8-character code',
|
|
513
|
+
'(格式如 [XXXXXXXX]),将其完整填入下方。': ' (format: [XXXXXXXX]) in the title or description. Enter it below exactly as shown.',
|
|
514
|
+
'填入内容必须与页面中看到的完全一致,包括括号。': 'Must match exactly, including brackets.',
|
|
515
|
+
'已提交,等待其他验证者完成后结算': 'Submitted — waiting for others to complete',
|
|
516
|
+
'任务已过期': 'Task has expired',
|
|
517
|
+
'填入看到的验证码,如 [AB3KW2QP]': 'Enter the code you see, e.g. [AB3KW2QP]',
|
|
518
|
+
'分配给我的任务': 'Tasks Assigned to Me',
|
|
519
|
+
'帮助平台验证外部链接所有权,获得 WAZ 奖励': 'Help verify external link ownership and earn WAZ',
|
|
520
|
+
'提交中...': 'Submitting...',
|
|
521
|
+
'请填入看到的验证码': 'Please enter the code you see',
|
|
522
|
+
'✓ 已提交,等待结算': '✓ Submitted — awaiting settlement',
|
|
523
|
+
|
|
524
|
+
'已被认领。如需确认归属,上架后在商品编辑页单独发起核验任务。': 'is already claimed. To contest ownership, publish the product first, then start a verification task from the edit page.',
|
|
525
|
+
|
|
526
|
+
// ── Warehouse listing guards ─────────────────────────────────
|
|
527
|
+
'核验中': 'Verifying',
|
|
528
|
+
'链接失效': 'Links Invalid',
|
|
529
|
+
'链接核验中,请等待验证结果': 'Link under verification — wait for result',
|
|
530
|
+
'所有链接已失效,请先添加新链接': 'All links revoked — add a new link first',
|
|
531
|
+
'商品已进入仓库,需完成链接验证后才能上架': 'Product moved to warehouse — complete link verification to list it',
|
|
532
|
+
'去商品编辑页确认已添加 →': 'Go to Edit Page to Confirm →',
|
|
533
|
+
|
|
534
|
+
// ── My claims section ────────────────────────────────────────
|
|
535
|
+
'我发起的认领任务': 'My Claim Tasks',
|
|
536
|
+
'待确认': 'Awaiting Confirmation',
|
|
537
|
+
'验证中': 'Under Review',
|
|
538
|
+
'已通过': 'Approved',
|
|
539
|
+
'未通过': 'Rejected',
|
|
540
|
+
'去确认': 'Confirm Now',
|
|
541
|
+
'验证进度': 'Progress',
|
|
542
|
+
'结算于': 'Settled on',
|
|
543
|
+
|
|
544
|
+
// ── Two-step verify flow ─────────────────────────────────────
|
|
545
|
+
'已添加验证码,提交任务': 'Code Added — Submit Task',
|
|
546
|
+
'请将以上验证码放入原平台商品标题或描述,完成后点击下方按钮提交任务。': 'Add the code above to the original listing\'s title or description, then click below to submit.',
|
|
547
|
+
'任务已提交,等待验证员审核 · 截止': 'Task submitted — awaiting reviewer · deadline:',
|
|
548
|
+
'✓ 已提交,等待审核员确认': '✓ Submitted — awaiting reviewer',
|
|
549
|
+
'此链接已被其他商家通过验证取得归属权,如有异议可再次发起挑战(需支付费用)。': 'Ownership verified by another seller. You may initiate a new challenge (fee required).',
|
|
550
|
+
'主权失效': 'Ownership Revoked',
|
|
551
|
+
|
|
552
|
+
// ── Product status management ────────────────────────────────
|
|
553
|
+
'商品管理': 'Products',
|
|
554
|
+
'在售': 'On Sale',
|
|
555
|
+
'仓库': 'Warehouse',
|
|
556
|
+
'回收箱': 'Recycle Bin',
|
|
557
|
+
'下架': 'Delist',
|
|
558
|
+
'上架': 'List',
|
|
559
|
+
'移入回收箱': 'Move to Bin',
|
|
560
|
+
'恢复到仓库': 'Restore',
|
|
561
|
+
'彻底删除': 'Delete Forever',
|
|
562
|
+
'确认移入回收箱?移入后商品将下架,可随时恢复。': 'Move to recycle bin? The product will be unlisted. You can restore it anytime.',
|
|
563
|
+
'确认下架到仓库?买家将无法购买。': 'Delist to warehouse? Buyers will no longer see this product.',
|
|
564
|
+
'彻底删除后无法恢复,确认删除?': 'This cannot be undone. Delete permanently?',
|
|
565
|
+
|
|
566
|
+
// ── Search ───────────────────────────────────────────────────
|
|
567
|
+
'没有找到"': 'No results for "',
|
|
568
|
+
'个人资料 & 设置': 'Profile & Settings',
|
|
569
|
+
|
|
570
|
+
// ── Logistics / order detail labels ─────────────────────────
|
|
571
|
+
'📦 你有': '📦 You have',
|
|
572
|
+
'📬 你有': '📬 You have',
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
window.t = (zh) => window._lang === 'en' ? (_EN[zh] || zh) : zh
|
|
576
|
+
|
|
577
|
+
window.setLang = (lang) => {
|
|
578
|
+
window._lang = lang
|
|
579
|
+
localStorage.setItem('webaz_lang', lang)
|
|
580
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN" id="html-root">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
6
|
+
<title>WebAZ</title>
|
|
7
|
+
<link rel="stylesheet" href="/style.css">
|
|
8
|
+
<link rel="manifest" href="/manifest.json">
|
|
9
|
+
<meta name="theme-color" content="#4f46e5">
|
|
10
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
11
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<div id="app"></div>
|
|
15
|
+
<script src="/i18n.js"></script>
|
|
16
|
+
<script src="/app.js"></script>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "WebAZ",
|
|
3
|
+
"short_name": "WebAZ",
|
|
4
|
+
"description": "去中心化商业协议",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#ffffff",
|
|
8
|
+
"theme_color": "#4f46e5",
|
|
9
|
+
"icons": [
|
|
10
|
+
{ "src": "icon-192.png", "sizes": "192x192", "type": "image/png" },
|
|
11
|
+
{ "src": "icon-512.png", "sizes": "512x512", "type": "image/png" }
|
|
12
|
+
]
|
|
13
|
+
}
|