Фолбэк на кэш при недоступности PocketBase (Pricing/FAQ)
Pricing: при полном отказе всех запросов пробует localStorage-кэш последнего успешного ответа вместо пустого состояния, пишет туда же при успехе. Faq: отличает "в кэше правда пусто" от "не смогли загрузить" — раньше оба случая показывали один и тот же текст "0 protocols found", что вводило в заблуждение при обычном сетевом сбое. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,11 +59,13 @@
|
||||
"billedOnce": "Bir martalik to'lov:",
|
||||
"period1m": "1 oy",
|
||||
"period6m": "6 oy",
|
||||
"period1y": "1 yil"
|
||||
"period1y": "1 yil",
|
||||
"offlineNotice": "Oxirgi saqlangan narxlar ko'rsatilmoqda — hozir serverga ulanib bo'lmayapti."
|
||||
},
|
||||
"faq": {
|
||||
"title": "Tizim So'rovlari (Savollar)",
|
||||
"empty": "Yozuvlar topilmadi."
|
||||
"empty": "Yozuvlar topilmadi.",
|
||||
"loadError": "Yuklab bo'lmadi — sahifani yangilashga urinib ko'ring."
|
||||
},
|
||||
"blog": {
|
||||
"badge": "Ma'lumotlar Jurnali",
|
||||
|
||||
Reference in New Issue
Block a user