app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

commit 4ced50b21d95b345fa923d0871516f30ad2b9519
parent 57662d9fdb8ae4a5e31d1526bc79b7db3daeef55
Author: triesap <tyson@radroots.org>
Date:   Mon, 20 Apr 2026 19:36:15 +0000

marketplace: reconcile buyer copy coverage

- remove the dead buyer orders placeholder key and locale string after the real orders surface landed
- tighten english buyer-orders copy assertions around status and detail labels
- keep the mounted app localized-copy surface aligned with the current marketplace workflow
- preserve the canonical mounted-app validation lane for the buyer-marketplace closeout

Diffstat:
Mcrates/shared/i18n/src/keys.rs | 1-
Mcrates/shared/i18n/src/lib.rs | 24++++++++++++++++++++++++
Mi18n/locales/en/messages.json | 1-
3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/crates/shared/i18n/src/keys.rs b/crates/shared/i18n/src/keys.rs @@ -109,7 +109,6 @@ define_app_text_keys! { PersonalBrowsePlaceholderBody => "personal.browse.placeholder.body", PersonalSearchPlaceholderBody => "personal.search.placeholder.body", PersonalCartPlaceholderBody => "personal.cart.placeholder.body", - PersonalOrdersPlaceholderBody => "personal.orders.placeholder.body", PersonalOrdersSurfaceBody => "personal.orders.surface.body", PersonalOrdersEmptyTitle => "personal.orders.empty.title", PersonalOrdersEmptyBody => "personal.orders.empty.body", diff --git a/crates/shared/i18n/src/lib.rs b/crates/shared/i18n/src/lib.rs @@ -240,11 +240,35 @@ mod tests { "Order history" ); assert_eq!(app_text(AppTextKey::PersonalOrdersStatusPlaced), "Placed"); + assert_eq!( + app_text(AppTextKey::PersonalOrdersStatusScheduled), + "Scheduled" + ); assert_eq!(app_text(AppTextKey::PersonalOrdersStatusReady), "Ready"); assert_eq!( + app_text(AppTextKey::PersonalOrdersStatusCompleted), + "Completed" + ); + assert_eq!( + app_text(AppTextKey::PersonalOrdersStatusRefunded), + "Refunded" + ); + assert_eq!( app_text(AppTextKey::PersonalOrdersDetailTitle), "Order detail" ); + assert_eq!( + app_text(AppTextKey::PersonalOrdersDetailEmptyBody), + "Select an order to review the details." + ); + assert_eq!( + app_text(AppTextKey::PersonalOrdersDetailFulfillmentLabel), + "Fulfillment" + ); + assert_eq!( + app_text(AppTextKey::PersonalOrdersDetailNoteLabel), + "Order note" + ); } #[test] diff --git a/i18n/locales/en/messages.json b/i18n/locales/en/messages.json @@ -88,7 +88,6 @@ "personal.browse.placeholder.body": "Products from local farms will appear here when they are available.", "personal.search.placeholder.body": "Search will use the same marketplace listings and stay focused on products, farms, and pickup options.", "personal.cart.placeholder.body": "Add items from one farm to start an order.", - "personal.orders.placeholder.body": "Placed orders will appear here on this device.", "personal.orders.surface.body": "Review orders placed on this device.", "personal.orders.empty.title": "No orders yet", "personal.orders.empty.body": "Orders you place on this device will appear here.",