mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-16 11:16:12 -04:00
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.
10 lines
1.4 KiB
XML
10 lines
1.4 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>
|