basklee-svelte 0.9.13 → 0.9.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basklee-svelte",
3
- "version": "0.9.13",
3
+ "version": "0.9.14",
4
4
  "description": "SvelteKit 2 storefront for your Basklee marketplace: setup CLI, server API gateway, typed store and ready-made catalog, cart, checkout and account components in English, Russian and Spanish, plus an Android app build. Powered by Basklee: https://basklee.com",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -361,7 +361,7 @@
361
361
  }
362
362
 
363
363
  function orderTitle(order: IOrder) {
364
- return `${labels.value.order} № ${order.id}`;
364
+ return labels.value.orderNumber.replace('{id}', String(order.id));
365
365
  }
366
366
 
367
367
  async function confirm(order: IOrder) {
@@ -2,6 +2,7 @@ const en = {
2
2
  title: 'My orders',
3
3
  allOrders: 'All orders',
4
4
  order: 'Order',
5
+ orderNumber: 'Order #{id}',
5
6
  placed: 'Placed',
6
7
  empty: 'No orders in this group',
7
8
  emptyHint: 'Check the other tabs or browse the catalog.',
@@ -146,6 +147,7 @@ const ru: typeof en = {
146
147
  title: 'Мои заказы',
147
148
  allOrders: 'Все заказы',
148
149
  order: 'Заказ',
150
+ orderNumber: 'Заказ № {id}',
149
151
  placed: 'Оформлен',
150
152
  empty: 'В этой группе нет заказов',
151
153
  emptyHint: 'Проверьте другие вкладки или перейдите в каталог.',
@@ -288,6 +290,7 @@ const es: typeof en = {
288
290
  title: 'Mis pedidos',
289
291
  allOrders: 'Todos los pedidos',
290
292
  order: 'Pedido',
293
+ orderNumber: 'Pedido n.º {id}',
291
294
  placed: 'Realizado',
292
295
  empty: 'No hay pedidos en este grupo',
293
296
  emptyHint: 'Revisa las otras pestañas o explora el catálogo.',
@@ -295,8 +298,8 @@ const es: typeof en = {
295
298
  loading: 'Cargando pedidos',
296
299
  tabs: 'Grupos de pedidos',
297
300
  active: 'Activos',
298
- canceled: 'Cancelado',
299
- finished: 'Completado',
301
+ canceled: 'Cancelados',
302
+ finished: 'Completados',
300
303
  refund: 'Devoluciones',
301
304
  details: 'Detalles',
302
305
  status: 'Estado',
@@ -102,8 +102,8 @@ const en = {
102
102
  const ru: typeof en = {
103
103
  title: 'Поддержка',
104
104
  new: 'Новое обращение',
105
- newAction: 'Создать',
106
- newHint: 'Создать обращение',
105
+ newAction: 'Новое',
106
+ newHint: 'Новое обращение',
107
107
  ticket: 'Обращение',
108
108
  open: 'Открытые',
109
109
  closed: 'Закрытые',