basklee-nuxt 0.9.4 → 0.9.5
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/README.md +4 -0
- package/package.json +2 -2
- package/templates/app/components/basklee/account/StorefrontLogout.README.md +2 -0
- package/templates/app/components/basklee/orders/OrderDetails.README.md +2 -0
- package/templates/app/components/basklee/orders/OrderDetails.vue +5 -0
- package/templates/app/components/basklee/storefront/StorefrontFooter.README.md +6 -0
- package/templates/app/components/basklee/storefront/StorefrontFooter.vue +21 -4
- package/templates/app/components/basklee/stores/StorefrontStores.README.md +2 -0
- package/templates/app/components/basklee/stores/StorefrontStores.vue +2 -1
- package/templates/app/composables/useBaskleeCart.ts +356 -2
- package/templates/app/layouts/default.vue +2 -1
- package/templates/app/pages/browse.vue +2 -2
- package/templates/app/utils/basklee/activityLabels.ts +15 -0
- package/templates/app/utils/basklee/browseLabels.ts +12 -0
- package/templates/app/utils/basklee/cartLabels.ts +124 -0
- package/templates/app/utils/basklee/cartMemory.ts +614 -0
- package/templates/app/utils/basklee/contactLabels.ts +12 -0
- package/templates/app/utils/basklee/directoryLabels.ts +3 -0
- package/templates/app/utils/basklee/featureLabels.ts +12 -0
- package/templates/app/utils/basklee/footerLabels.ts +3 -0
- package/templates/app/utils/basklee/photoDetail.ts +59 -0
- package/templates/app/utils/basklee/productActions.ts +8 -0
- package/templates/app/utils/basklee/profile.ts +52 -0
- package/templates/app/utils/basklee/profileLabels.ts +15 -0
- package/templates/app/utils/basklee/reviewLabels.ts +6 -0
- package/templates/app/utils/basklee/sellerDirectory.ts +112 -0
- package/templates/app/utils/basklee/sessionLabels.ts +6 -6
- package/templates/app/utils/basklee/storeDirectory.ts +26 -0
- package/templates/app/utils/basklee/subscriptionLabels.ts +3 -0
- package/templates/app/utils/basklee/tabLocation.ts +37 -0
- package/templates/app/utils/basklee/ticketDraft.ts +56 -0
|
@@ -19,6 +19,10 @@ export function browseLabels(locale: string) {
|
|
|
19
19
|
clear: 'Сбросить',
|
|
20
20
|
emptyTitle: 'Ничего не найдено',
|
|
21
21
|
emptyHint: 'Попробуйте изменить запрос или сбросить фильтры.',
|
|
22
|
+
emptyHintPlain: 'Проверьте написание или попробуйте слово покороче.',
|
|
23
|
+
emptyCategoryPlain: 'В этой категории пока нет товаров. Загляните в другие разделы каталога.',
|
|
24
|
+
editSearch: 'Изменить запрос',
|
|
25
|
+
browseCatalog: 'Открыть каталог',
|
|
22
26
|
emptyCategoryHint:
|
|
23
27
|
'В этой категории пока нет подходящих товаров. Попробуйте убрать фильтры или выбрать другую категорию.',
|
|
24
28
|
startTitle: 'Что вы ищете?',
|
|
@@ -67,6 +71,10 @@ export function browseLabels(locale: string) {
|
|
|
67
71
|
clear: 'Borrar',
|
|
68
72
|
emptyTitle: 'No se han encontrado productos',
|
|
69
73
|
emptyHint: 'Prueba otra búsqueda o borra los filtros.',
|
|
74
|
+
emptyHintPlain: 'Revisa la ortografía o prueba con una palabra más corta.',
|
|
75
|
+
emptyCategoryPlain: 'Aún no hay productos en esta categoría. Mira las demás secciones del catálogo.',
|
|
76
|
+
editSearch: 'Cambiar la búsqueda',
|
|
77
|
+
browseCatalog: 'Ver el catálogo',
|
|
70
78
|
emptyCategoryHint:
|
|
71
79
|
'Todavía no hay productos que coincidan en esta categoría. Prueba a quitar filtros o elige otra categoría.',
|
|
72
80
|
startTitle: '¿Qué estás buscando?',
|
|
@@ -115,6 +123,10 @@ export function browseLabels(locale: string) {
|
|
|
115
123
|
clear: 'Clear',
|
|
116
124
|
emptyTitle: 'No products found',
|
|
117
125
|
emptyHint: 'Try another search or clear the filters.',
|
|
126
|
+
emptyHintPlain: 'Check the spelling or try a shorter word.',
|
|
127
|
+
emptyCategoryPlain: 'There are no products in this category yet. Look through the rest of the catalogue.',
|
|
128
|
+
editSearch: 'Change the search',
|
|
129
|
+
browseCatalog: 'Browse the catalogue',
|
|
118
130
|
emptyCategoryHint:
|
|
119
131
|
'No matching products in this category yet. Try removing filters or choosing another category.',
|
|
120
132
|
startTitle: 'What are you looking for?',
|
|
@@ -44,6 +44,8 @@ const en = {
|
|
|
44
44
|
pickupAction: 'Choose',
|
|
45
45
|
noPoints: 'No pickup points were returned.',
|
|
46
46
|
pointSearch: 'Find a pickup point by address',
|
|
47
|
+
// For a list that also searches by postcode and by the point's own code.
|
|
48
|
+
pointSearchAny: 'Find a pickup point by address, postcode or code',
|
|
47
49
|
courier: 'Confirm delivery to the selected address',
|
|
48
50
|
courierAction: 'Confirm',
|
|
49
51
|
pickupType: 'Pickup point',
|
|
@@ -59,6 +61,7 @@ const en = {
|
|
|
59
61
|
deliveryDiscount: 'Delivery discount',
|
|
60
62
|
total: 'Total',
|
|
61
63
|
promo: 'Promo code',
|
|
64
|
+
promoOptional: 'optional',
|
|
62
65
|
apply: 'Apply',
|
|
63
66
|
removePromo: 'Remove',
|
|
64
67
|
removePromoHint: 'Remove promo code',
|
|
@@ -123,6 +126,45 @@ const en = {
|
|
|
123
126
|
refreshRequired: 'Refresh your cart before continuing.',
|
|
124
127
|
orderUncertain:
|
|
125
128
|
'Could not confirm the order. Check your order history before trying again.',
|
|
129
|
+
restoredKept: 'Your delivery choice and extras were kept.',
|
|
130
|
+
restoredLost:
|
|
131
|
+
'Some of your choices could not be kept. Choose them again below.',
|
|
132
|
+
requoteChanged:
|
|
133
|
+
'The cart was recalculated just before the order. Check what changed and place the order again.',
|
|
134
|
+
requoteSame:
|
|
135
|
+
'The cart was recalculated just before the order. Your delivery choice was kept; check the total and place the order again.',
|
|
136
|
+
lostAddress: 'the delivery address changed',
|
|
137
|
+
lostUnavailable: 'no longer available',
|
|
138
|
+
lostRefused: 'could not be confirmed',
|
|
139
|
+
lostFile: 'attach the file again',
|
|
140
|
+
changeDeliveryPrice: 'Delivery, {name}: was {before}, now {after}',
|
|
141
|
+
changeDeliveryDate: 'Expected delivery, {name}: was {before}, now {after}',
|
|
142
|
+
changeTotal: 'Total: was {before}, now {after}',
|
|
143
|
+
removedLine: '{name} was removed from the cart.',
|
|
144
|
+
restoredLine: '{name} is back in the cart.',
|
|
145
|
+
undo: 'Undo',
|
|
146
|
+
receiptTitle: 'Thank you for your order',
|
|
147
|
+
receiptToPay: 'To pay',
|
|
148
|
+
receiptOnReceipt: 'To pay on receipt',
|
|
149
|
+
receiptFromWallet: 'Paid from your wallet',
|
|
150
|
+
receiptExpected: 'Expected',
|
|
151
|
+
currentDelivery: 'Current',
|
|
152
|
+
pendingDelivery: 'Not confirmed yet',
|
|
153
|
+
quoteLater: 'The price is calculated when you choose it',
|
|
154
|
+
quoteLast: 'Last quote: {price}',
|
|
155
|
+
deliveryPending: 'Choose delivery',
|
|
156
|
+
deliveryAtCheckout: 'Calculated at checkout',
|
|
157
|
+
totalWithoutDelivery: 'Total without delivery',
|
|
158
|
+
extras: 'Including extras',
|
|
159
|
+
noPointsMatch: 'No pickup point matches «{query}».',
|
|
160
|
+
clearSearch: 'Clear the search',
|
|
161
|
+
pointsFound: 'Pickup points found: {count}',
|
|
162
|
+
pointsShown: 'Shown: {shown} of {count}',
|
|
163
|
+
morePoints: 'Show more',
|
|
164
|
+
walletBalance: 'In your wallet: {amount}',
|
|
165
|
+
walletShort: 'Not enough for this order: {amount} more is needed.',
|
|
166
|
+
walletTopUp: 'Top up the wallet',
|
|
167
|
+
changePayment: 'Choose another payment method',
|
|
126
168
|
};
|
|
127
169
|
|
|
128
170
|
const ru: typeof en = {
|
|
@@ -171,6 +213,7 @@ const ru: typeof en = {
|
|
|
171
213
|
pickupAction: 'Выбрать',
|
|
172
214
|
noPoints: 'Пункты выдачи не найдены.',
|
|
173
215
|
pointSearch: 'Найти пункт выдачи по адресу',
|
|
216
|
+
pointSearchAny: 'Найти пункт выдачи по адресу, индексу или коду',
|
|
174
217
|
courier: 'Подтвердить доставку по выбранному адресу',
|
|
175
218
|
courierAction: 'Подтвердить',
|
|
176
219
|
pickupType: 'Пункт выдачи',
|
|
@@ -186,6 +229,7 @@ const ru: typeof en = {
|
|
|
186
229
|
deliveryDiscount: 'Скидка на доставку',
|
|
187
230
|
total: 'Итого',
|
|
188
231
|
promo: 'Промокод',
|
|
232
|
+
promoOptional: 'необязательно',
|
|
189
233
|
apply: 'Применить',
|
|
190
234
|
removePromo: 'Удалить',
|
|
191
235
|
removePromoHint: 'Удалить промокод',
|
|
@@ -248,6 +292,45 @@ const ru: typeof en = {
|
|
|
248
292
|
refreshRequired: 'Обновите корзину, чтобы продолжить.',
|
|
249
293
|
orderUncertain:
|
|
250
294
|
'Не удалось подтвердить создание заказа. Перед повторной попыткой проверьте историю заказов.',
|
|
295
|
+
restoredKept: 'Выбранная доставка и дополнения сохранены.',
|
|
296
|
+
restoredLost:
|
|
297
|
+
'Часть выбранного сохранить не удалось. Выберите это снова ниже.',
|
|
298
|
+
requoteChanged:
|
|
299
|
+
'Корзина была пересчитана перед оформлением. Проверьте, что изменилось, и оформите заказ ещё раз.',
|
|
300
|
+
requoteSame:
|
|
301
|
+
'Корзина была пересчитана перед оформлением. Выбранная доставка сохранена; проверьте итог и оформите заказ ещё раз.',
|
|
302
|
+
lostAddress: 'изменился адрес доставки',
|
|
303
|
+
lostUnavailable: 'больше недоступно',
|
|
304
|
+
lostRefused: 'не удалось подтвердить',
|
|
305
|
+
lostFile: 'прикрепите файл заново',
|
|
306
|
+
changeDeliveryPrice: 'Доставка, {name}: было {before}, стало {after}',
|
|
307
|
+
changeDeliveryDate: 'Срок доставки, {name}: было {before}, стало {after}',
|
|
308
|
+
changeTotal: 'Итого: было {before}, стало {after}',
|
|
309
|
+
removedLine: '«{name}» — товар удалён из корзины.',
|
|
310
|
+
restoredLine: '«{name}» — товар снова в корзине.',
|
|
311
|
+
undo: 'Вернуть',
|
|
312
|
+
receiptTitle: 'Спасибо за заказ',
|
|
313
|
+
receiptToPay: 'К оплате',
|
|
314
|
+
receiptOnReceipt: 'К оплате при получении',
|
|
315
|
+
receiptFromWallet: 'Оплачено из кошелька',
|
|
316
|
+
receiptExpected: 'Ожидается',
|
|
317
|
+
currentDelivery: 'Сейчас',
|
|
318
|
+
pendingDelivery: 'Ещё не подтверждено',
|
|
319
|
+
quoteLater: 'Стоимость рассчитывается после выбора',
|
|
320
|
+
quoteLast: 'Последний расчёт: {price}',
|
|
321
|
+
deliveryPending: 'Выберите доставку',
|
|
322
|
+
deliveryAtCheckout: 'Рассчитывается при оформлении',
|
|
323
|
+
totalWithoutDelivery: 'Итого без доставки',
|
|
324
|
+
extras: 'В том числе дополнения',
|
|
325
|
+
noPointsMatch: 'По запросу «{query}» пунктов выдачи нет.',
|
|
326
|
+
clearSearch: 'Сбросить поиск',
|
|
327
|
+
pointsFound: 'Найдено пунктов выдачи: {count}',
|
|
328
|
+
pointsShown: 'Показано: {shown} из {count}',
|
|
329
|
+
morePoints: 'Показать ещё',
|
|
330
|
+
walletBalance: 'В кошельке: {amount}',
|
|
331
|
+
walletShort: 'Для этого заказа не хватает {amount}.',
|
|
332
|
+
walletTopUp: 'Пополнить кошелёк',
|
|
333
|
+
changePayment: 'Выбрать другой способ оплаты',
|
|
251
334
|
};
|
|
252
335
|
|
|
253
336
|
const es: typeof en = {
|
|
@@ -296,6 +379,7 @@ const es: typeof en = {
|
|
|
296
379
|
pickupAction: 'Elegir',
|
|
297
380
|
noPoints: 'No se ha recibido ningún punto de recogida.',
|
|
298
381
|
pointSearch: 'Busca un punto de recogida por dirección',
|
|
382
|
+
pointSearchAny: 'Busca un punto de recogida por dirección, código postal o código',
|
|
299
383
|
courier: 'Confirmar el envío a la dirección seleccionada',
|
|
300
384
|
courierAction: 'Confirmar',
|
|
301
385
|
pickupType: 'Punto de recogida',
|
|
@@ -311,6 +395,7 @@ const es: typeof en = {
|
|
|
311
395
|
deliveryDiscount: 'Descuento en el envío',
|
|
312
396
|
total: 'Total',
|
|
313
397
|
promo: 'Código promocional',
|
|
398
|
+
promoOptional: 'opcional',
|
|
314
399
|
apply: 'Aplicar',
|
|
315
400
|
removePromo: 'Quitar',
|
|
316
401
|
removePromoHint: 'Quitar el código promocional',
|
|
@@ -375,6 +460,45 @@ const es: typeof en = {
|
|
|
375
460
|
refreshRequired: 'Actualiza tu carrito antes de continuar.',
|
|
376
461
|
orderUncertain:
|
|
377
462
|
'No se ha podido confirmar el pedido. Revisa tu historial de pedidos antes de volver a intentarlo.',
|
|
463
|
+
restoredKept: 'Se han conservado el envío elegido y los extras.',
|
|
464
|
+
restoredLost:
|
|
465
|
+
'No se ha podido conservar parte de lo elegido. Elígelo de nuevo más abajo.',
|
|
466
|
+
requoteChanged:
|
|
467
|
+
'El carrito se ha recalculado justo antes del pedido. Revisa lo que ha cambiado y haz el pedido de nuevo.',
|
|
468
|
+
requoteSame:
|
|
469
|
+
'El carrito se ha recalculado justo antes del pedido. Se ha conservado el envío elegido; revisa el total y haz el pedido de nuevo.',
|
|
470
|
+
lostAddress: 'ha cambiado la dirección de entrega',
|
|
471
|
+
lostUnavailable: 'ya no está disponible',
|
|
472
|
+
lostRefused: 'no se ha podido confirmar',
|
|
473
|
+
lostFile: 'adjunta el archivo de nuevo',
|
|
474
|
+
changeDeliveryPrice: 'Envío, {name}: antes {before}, ahora {after}',
|
|
475
|
+
changeDeliveryDate: 'Entrega prevista, {name}: antes {before}, ahora {after}',
|
|
476
|
+
changeTotal: 'Total: antes {before}, ahora {after}',
|
|
477
|
+
removedLine: '{name} se ha quitado del carrito.',
|
|
478
|
+
restoredLine: '{name} vuelve a estar en el carrito.',
|
|
479
|
+
undo: 'Deshacer',
|
|
480
|
+
receiptTitle: 'Gracias por tu pedido',
|
|
481
|
+
receiptToPay: 'A pagar',
|
|
482
|
+
receiptOnReceipt: 'A pagar al recibir',
|
|
483
|
+
receiptFromWallet: 'Pagado con tu monedero',
|
|
484
|
+
receiptExpected: 'Entrega prevista',
|
|
485
|
+
currentDelivery: 'Actual',
|
|
486
|
+
pendingDelivery: 'Sin confirmar todavía',
|
|
487
|
+
quoteLater: 'El precio se calcula al elegirlo',
|
|
488
|
+
quoteLast: 'Último cálculo: {price}',
|
|
489
|
+
deliveryPending: 'Elige el envío',
|
|
490
|
+
deliveryAtCheckout: 'Se calcula al tramitar el pedido',
|
|
491
|
+
totalWithoutDelivery: 'Total sin envío',
|
|
492
|
+
extras: 'Incluye extras',
|
|
493
|
+
noPointsMatch: 'Ningún punto de recogida coincide con «{query}».',
|
|
494
|
+
clearSearch: 'Borrar la búsqueda',
|
|
495
|
+
pointsFound: 'Puntos de recogida encontrados: {count}',
|
|
496
|
+
pointsShown: 'Mostrados: {shown} de {count}',
|
|
497
|
+
morePoints: 'Mostrar más',
|
|
498
|
+
walletBalance: 'En tu monedero: {amount}',
|
|
499
|
+
walletShort: 'No alcanza para este pedido: faltan {amount}.',
|
|
500
|
+
walletTopUp: 'Recargar el monedero',
|
|
501
|
+
changePayment: 'Elegir otra forma de pago',
|
|
378
502
|
};
|
|
379
503
|
|
|
380
504
|
/**
|