fix: handle unlimited traffic package selection and button text

- Fix falsy check: selectedTrafficPackage !== null instead of truthy
  (gb=0 for unlimited was evaluated as false, hiding the buy button)
- Show "Buy Unlimited" instead of "Buy 0 GB" for unlimited packages
- Add buyUnlimited translation key to all 4 locales
This commit is contained in:
Fringg
2026-02-11 18:20:21 +03:00
parent 2964236cdc
commit 1d6ec70116
5 changed files with 7 additions and 1 deletions

View File

@@ -328,6 +328,7 @@
"trafficUnavailable": "您的套餐不支持购买流量",
"unlimited": "无限制",
"buyTrafficGb": "购买 {{gb}} GB",
"buyUnlimited": "购买无限流量",
"manageServers": "服务器管理",
"manageServersTitle": "服务器管理"
},