fix(block2): clearer market states — 'can't reach servers' (retry) vs 'set your area'

Feedback: the market sometimes looked 'disabled'. Now the offline/empty states
are distinct and honest:
- No working relay (defaults exist, so it's a reachability issue) → 'Can't reach
  the community servers right now' + a Retry.
- Online but no area set → 'Set your area' prompt (you'd otherwise see a bare
  'nothing nearby').
- Area set + nothing found → the existing empty state.

i18n en/es/pt; offline tests updated; analyzer clean.
This commit is contained in:
vjrj 2026-07-10 13:36:01 +02:00
parent 5f87ad2d56
commit cfba85b9d9
9 changed files with 86 additions and 8 deletions

View file

@ -339,6 +339,11 @@
"notSetUp": "Sharing isn't set up yet",
"notSetUpBody": "Turn on sharing to see and give seeds to people near you. It stays rough — your zone, never your exact address.",
"setUp": "Set up sharing",
"cantReach": "Can't reach the community servers right now",
"cantReachBody": "Try again, or check the servers under Advanced setup.",
"retry": "Retry",
"setArea": "Set your area",
"setAreaBody": "Tell the market roughly where you are to see seeds nearby.",
"searching": "Looking around your area…",
"empty": "No seeds shared near you yet",
"near": "Near you",