Files
capod/app/src/gplay/res/values-fa/strings.xml
T
darken 02ff7089c0 Refactor GPlay billing error handling and translations
This commit introduces localized error messages for Google Play billing issues and refactors the error handling in `UpgradeRepoGplay`.

- `BillingException` and `BillingResultException` now implement `HasLocalizedError` to provide user-friendly error messages.
- New string translations for billing error labels and descriptions have been added for various languages.
- `UpgradeRepoGplay` now includes an `error` field in its `Info` state to propagate billing errors.
- The `upgradeInfo` flow in `UpgradeRepoGplay` has been updated with a `retryWhen` operator to handle errors more gracefully. If an error occurs but the pro state was recent, it emits a grace period state. Otherwise, it emits the error.
- `OverviewFragmentVM` now observes `upgradeState` and posts any non-pro errors to `errorEvents` for display.
2025-08-30 17:12:36 +02:00

10 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="upgrades_gplay_unavailable_error">سرویس‌های Google Play در دسترس نیستند.</string>
<string name="upgrades_no_purchases_found_check_account">خریدی یافت نشد. آیا از حساب درستی استفاده می‌کنید؟</string>
<string name="upgrades_gplay_billing_error_label">خطای Google Play</string>
<string name="upgrades_gplay_billing_error_description">در Google Play خطایی رخ داد. لطفاً بعداً دوباره تلاش کنید یا تلفن خود را راه‌اندازی مجدد کنید.\n\nخطا: %s</string>
<string name="upgrades_gplay_billing_result_error_label">خطای صورتحساب Google Play</string>
<string name="upgrades_gplay_billing_result_error_description">هنگام درخواست جزئیات خرید شما از Google Play خطایی رخ داد. حافظه نهان Google Play را پاک کنید و تلفن خود را راه‌اندازی مجدد کنید.\n\nخطا %s</string>
</resources>