fix: show fallback when tariff has no available periods for renewal

When all periods are removed from a tariff, users saw an empty
purchase form with no way to renew. Now shows a message explaining
the situation and a button to choose a different tariff.
This commit is contained in:
Fringg
2026-03-10 01:27:36 +03:00
parent 4ac3792971
commit ea06ad1d8f
5 changed files with 39 additions and 0 deletions

View File

@@ -297,6 +297,9 @@
"daysBeforeExpiry": "روز قبل از انقضا",
"daysBeforeExpiry_other": "{{count}} روز قبل از انقضا",
"selectPeriod": "انتخاب دوره",
"noPeriodsAvailable": "دوره‌ای برای تمدید موجود نیست",
"noPeriodsAvailableHint": "مدیر تنظیمات این طرح را تغییر داده است. لطفاً طرح دیگری را برای تمدید اشتراک خود انتخاب کنید.",
"chooseDifferentTariff": "انتخاب طرح دیگر",
"selectTraffic": "انتخاب ترافیک",
"selectServers": "انتخاب سرورها",
"selectDevices": "انتخاب دستگاه‌ها",