@vicacha-devs/medusa-plugin-barcode 0.0.0-stage → 0.1.0
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/.medusa/server/src/admin/index.cjs +3960 -0
- package/.medusa/server/src/admin/index.js +3938 -0
- package/.medusa/server/src/api/admin/barcodes/[barcode]/route.js +43 -0
- package/.medusa/server/src/api/admin/barcodes/batch/route.js +9 -0
- package/.medusa/server/src/api/admin/barcodes/bulk-generate/route.js +9 -0
- package/.medusa/server/src/api/admin/barcodes/cache/route.js +25 -0
- package/.medusa/server/src/api/admin/barcodes/count-sessions/[id]/apply/route.js +13 -0
- package/.medusa/server/src/api/admin/barcodes/count-sessions/[id]/scan/route.js +13 -0
- package/.medusa/server/src/api/admin/barcodes/count-sessions/route.js +27 -0
- package/.medusa/server/src/api/admin/barcodes/create-from-barcode/route.js +9 -0
- package/.medusa/server/src/api/admin/barcodes/lookup/route.js +12 -0
- package/.medusa/server/src/api/admin/barcodes/print/route.js +11 -0
- package/.medusa/server/src/api/admin/barcodes/route.js +27 -0
- package/.medusa/server/src/api/admin/barcodes/scan/route.js +23 -0
- package/.medusa/server/src/api/admin/barcodes/tags/[id]/route.js +28 -0
- package/.medusa/server/src/api/admin/barcodes/tags/route.js +25 -0
- package/.medusa/server/src/api/admin/barcodes/templates/route.js +40 -0
- package/.medusa/server/src/api/admin/plugin/route.js +4 -0
- package/.medusa/server/src/api/admin/variants/barcode/[code]/route.js +28 -0
- package/.medusa/server/src/api/middlewares.js +73 -0
- package/.medusa/server/src/api/store/barcodes/[code]/route.js +28 -0
- package/.medusa/server/src/api/store/barcodes/[code]/verify/route.js +20 -0
- package/.medusa/server/src/api/store/plugin/route.js +4 -0
- package/.medusa/server/src/api/store/variants/barcode/[code]/route.js +28 -0
- package/.medusa/server/src/api/validators.js +173 -0
- package/.medusa/server/src/hooks/index.js +202 -0
- package/.medusa/server/src/index.js +5 -0
- package/.medusa/server/src/jobs/purge-expired-barcode-cache.js +10 -0
- package/.medusa/server/src/modules/barcode/index.js +16 -0
- package/.medusa/server/src/modules/barcode/migrations/Migration20260522000000.js +165 -0
- package/.medusa/server/src/modules/barcode/models/index.js +162 -0
- package/.medusa/server/src/modules/barcode/operations/context.js +2 -0
- package/.medusa/server/src/modules/barcode/operations/data-service.js +10 -0
- package/.medusa/server/src/modules/barcode/operations/generation.js +33 -0
- package/.medusa/server/src/modules/barcode/operations/index.js +9 -0
- package/.medusa/server/src/modules/barcode/operations/labels.js +57 -0
- package/.medusa/server/src/modules/barcode/operations/lookup.js +135 -0
- package/.medusa/server/src/modules/barcode/operations/maintenance.js +37 -0
- package/.medusa/server/src/modules/barcode/operations/stock-count.js +129 -0
- package/.medusa/server/src/modules/barcode/operations/tags.js +298 -0
- package/.medusa/server/src/modules/barcode/providers/index.js +721 -0
- package/.medusa/server/src/modules/barcode/service.js +161 -0
- package/.medusa/server/src/modules/barcode/types.js +21 -0
- package/.medusa/server/src/modules/barcode/utils/barcode-parser.js +399 -0
- package/.medusa/server/src/modules/barcode/utils/label-printer.js +533 -0
- package/.medusa/server/src/modules/barcode/utils/normalize-product.js +443 -0
- package/.medusa/server/src/modules/barcode/utils/security.js +114 -0
- package/.medusa/server/src/modules/barcode/utils/svg-renderer.js +492 -0
- package/.medusa/server/src/rbac.js +130 -0
- package/.medusa/server/src/sdk/index.js +164 -0
- package/.medusa/server/src/subscribers/product-created.js +34 -0
- package/.medusa/server/src/types/index.js +2 -0
- package/.medusa/server/src/ui/index.js +138 -0
- package/.medusa/server/src/workflows/apply-inventory-count.js +68 -0
- package/.medusa/server/src/workflows/batch-barcode-import.js +153 -0
- package/.medusa/server/src/workflows/bulk-generate-variant-barcodes.js +143 -0
- package/.medusa/server/src/workflows/generate-barcode-tag.js +44 -0
- package/.medusa/server/src/workflows/helpers.js +15 -0
- package/.medusa/server/src/workflows/index.js +7 -0
- package/.medusa/server/src/workflows/lookup-and-create-product.js +215 -0
- package/.medusa/server/src/workflows/scan-inventory-count.js +15 -0
- package/LICENSE +21 -0
- package/README.md +844 -2
- package/package.json +134 -3
- package/src/__tests__/barcode.spec.ts +836 -0
- package/src/__tests__/medusa-shim.mjs +331 -0
- package/src/__tests__/register-ts-resolver.mjs +135 -0
- package/src/admin/README.md +134 -0
- package/src/admin/components/barcode-studio-header.tsx +73 -0
- package/src/admin/components/batch-import-section.tsx +99 -0
- package/src/admin/components/dynamic-qr-tag-drawer-form.tsx +230 -0
- package/src/admin/components/dynamic-qr-tag-form.tsx +129 -0
- package/src/admin/components/dynamic-qr-tags-table.tsx +136 -0
- package/src/admin/components/gtin-lookup-section.tsx +155 -0
- package/src/admin/components/index.tsx +14 -0
- package/src/admin/components/label-designer-section.tsx +151 -0
- package/src/admin/components/label-output-section.tsx +63 -0
- package/src/admin/components/overview-cards.tsx +98 -0
- package/src/admin/components/product-barcode-card.tsx +127 -0
- package/src/admin/components/providers-cache-table.tsx +61 -0
- package/src/admin/components/providers-overview-section.tsx +49 -0
- package/src/admin/components/rbac-guard.tsx +153 -0
- package/src/admin/components/stock-take-scanner-section.tsx +116 -0
- package/src/admin/components/stock-take-sessions-section.tsx +109 -0
- package/src/admin/hooks/use-barcode-studio.ts +466 -0
- package/src/admin/hooks/use-product-barcodes.ts +139 -0
- package/src/admin/i18n/README.md +130 -0
- package/src/admin/i18n/index.ts +36 -0
- package/src/admin/i18n/json/ar.json +157 -0
- package/src/admin/i18n/json/de.json +157 -0
- package/src/admin/i18n/json/en.json +157 -0
- package/src/admin/i18n/json/es.json +157 -0
- package/src/admin/i18n/json/fr.json +157 -0
- package/src/admin/i18n/json/it.json +157 -0
- package/src/admin/i18n/json/nl.json +157 -0
- package/src/admin/i18n/json/pl.json +157 -0
- package/src/admin/i18n/json/pt.json +157 -0
- package/src/admin/i18n/json/tr.json +157 -0
- package/src/admin/routes/barcodes/lookup/page.tsx +75 -0
- package/src/admin/routes/barcodes/page.tsx +212 -0
- package/src/admin/routes/barcodes/print/page.tsx +67 -0
- package/src/admin/routes/barcodes/providers/page.tsx +66 -0
- package/src/admin/routes/barcodes/stock-take/page.tsx +74 -0
- package/src/admin/routes/barcodes/tags/@create/page.tsx +56 -0
- package/src/admin/routes/barcodes/tags/page.tsx +72 -0
- package/src/admin/tsconfig.json +20 -0
- package/src/admin/vite-env.d.ts +1 -0
- package/src/admin/widgets/product-barcode-widget.tsx +43 -0
- package/src/api/README.md +117 -0
- package/src/api/admin/barcodes/[barcode]/route.ts +64 -0
- package/src/api/admin/barcodes/batch/route.ts +12 -0
- package/src/api/admin/barcodes/bulk-generate/route.ts +12 -0
- package/src/api/admin/barcodes/cache/route.ts +35 -0
- package/src/api/admin/barcodes/count-sessions/[id]/apply/route.ts +17 -0
- package/src/api/admin/barcodes/count-sessions/[id]/scan/route.ts +17 -0
- package/src/api/admin/barcodes/count-sessions/route.ts +43 -0
- package/src/api/admin/barcodes/create-from-barcode/route.ts +16 -0
- package/src/api/admin/barcodes/lookup/route.ts +19 -0
- package/src/api/admin/barcodes/print/route.ts +18 -0
- package/src/api/admin/barcodes/route.ts +36 -0
- package/src/api/admin/barcodes/scan/route.ts +32 -0
- package/src/api/admin/barcodes/tags/[id]/route.ts +41 -0
- package/src/api/admin/barcodes/tags/route.ts +36 -0
- package/src/api/admin/barcodes/templates/route.ts +51 -0
- package/src/api/admin/plugin/route.ts +5 -0
- package/src/api/admin/variants/barcode/[code]/route.ts +36 -0
- package/src/api/middlewares.ts +91 -0
- package/src/api/store/barcodes/[code]/route.ts +43 -0
- package/src/api/store/barcodes/[code]/verify/route.ts +35 -0
- package/src/api/store/plugin/route.ts +5 -0
- package/src/api/store/variants/barcode/[code]/route.ts +36 -0
- package/src/api/validators.ts +217 -0
- package/src/hooks/index.ts +270 -0
- package/src/index.ts +4 -0
- package/src/jobs/README.md +54 -0
- package/src/jobs/purge-expired-barcode-cache.ts +18 -0
- package/src/links/README.md +44 -0
- package/src/modules/README.md +85 -0
- package/src/modules/barcode/index.ts +18 -0
- package/src/modules/barcode/migrations/Migration20260522000000.ts +225 -0
- package/src/modules/barcode/models/index.ts +168 -0
- package/src/modules/barcode/operations/context.ts +14 -0
- package/src/modules/barcode/operations/data-service.ts +10 -0
- package/src/modules/barcode/operations/generation.ts +57 -0
- package/src/modules/barcode/operations/index.ts +8 -0
- package/src/modules/barcode/operations/labels.ts +90 -0
- package/src/modules/barcode/operations/lookup.ts +202 -0
- package/src/modules/barcode/operations/maintenance.ts +53 -0
- package/src/modules/barcode/operations/stock-count.ts +217 -0
- package/src/modules/barcode/operations/tags.ts +425 -0
- package/src/modules/barcode/providers/index.ts +958 -0
- package/src/modules/barcode/service.ts +243 -0
- package/src/modules/barcode/types.ts +297 -0
- package/src/modules/barcode/utils/barcode-parser.ts +453 -0
- package/src/modules/barcode/utils/label-printer.ts +641 -0
- package/src/modules/barcode/utils/normalize-product.ts +524 -0
- package/src/modules/barcode/utils/security.ts +136 -0
- package/src/modules/barcode/utils/svg-renderer.ts +574 -0
- package/src/providers/README.md +105 -0
- package/src/rbac.ts +144 -0
- package/src/sdk/index.ts +253 -0
- package/src/subscribers/README.md +73 -0
- package/src/subscribers/product-created.ts +45 -0
- package/src/types/index.ts +1 -0
- package/src/types/medusa-ui.d.ts +118 -0
- package/src/ui/index.tsx +311 -0
- package/src/workflows/README.md +56 -0
- package/src/workflows/apply-inventory-count.ts +115 -0
- package/src/workflows/batch-barcode-import.ts +218 -0
- package/src/workflows/bulk-generate-variant-barcodes.ts +214 -0
- package/src/workflows/generate-barcode-tag.ts +85 -0
- package/src/workflows/helpers.ts +21 -0
- package/src/workflows/index.ts +6 -0
- package/src/workflows/lookup-and-create-product.ts +298 -0
- package/src/workflows/scan-inventory-count.ts +45 -0
- package/tsconfig.json +40 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "Studio Kodów Kreskowych i Etykiet"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "Studio Kodów Kreskowych, QR, Etykiet Termicznych i Inwentaryzacji",
|
|
7
|
+
"providersBadge": "GS1 + 10 Aktywnych Dostawców",
|
|
8
|
+
"lastHidScan": "Ostatni Skan HID: {{code}}",
|
|
9
|
+
"subtitle": "Zunifikowane wzbogacanie produktów GTIN/ISBN, generowanie kodów 1D/2D i QR HMAC, druk etykiet termicznych/A4 (HTML + Zebra ZPL II) oraz sesje inwentaryzacji magazynowej.",
|
|
10
|
+
"languageLabel": "Język",
|
|
11
|
+
"bulkGenerateButton": "Przypisz Brakujące Kody EAN-13 Wariantom",
|
|
12
|
+
"refreshButton": "Odśwież Studio",
|
|
13
|
+
"linkedProductsStat": "Powiązane Produkty GTIN",
|
|
14
|
+
"dynamicTagsStat": "Dynamiczne Tagi Kodów / QR",
|
|
15
|
+
"totalScansStat": "Łączna Liczba Skanów Tagów",
|
|
16
|
+
"cachedLookupsStat": "Zapytania w Cache (Trafienia)",
|
|
17
|
+
"activeProvidersStat": "Aktywni Dostawcy",
|
|
18
|
+
"dismiss": "Zamknij"
|
|
19
|
+
},
|
|
20
|
+
"tabs": {
|
|
21
|
+
"lookup": "1. Wyszukiwanie GTIN i Import Wsadowy ({{count}})",
|
|
22
|
+
"tags": "2. Dynamiczne Tagi 1D/2D i QR HMAC ({{count}})",
|
|
23
|
+
"print": "3. Centrum Druku Termicznego i Arkuszy A4",
|
|
24
|
+
"stockTake": "4. Inwentaryzacja Magazynowa ({{count}})",
|
|
25
|
+
"providers": "5. Dostawcy i Pamięć Podręczna ({{count}})"
|
|
26
|
+
},
|
|
27
|
+
"lookupTab": {
|
|
28
|
+
"lookupTitle": "1. Zeskanuj lub Wprowadź GTIN / EAN-13 / UPC-A / ISBN-13",
|
|
29
|
+
"lookupSubtitle": "Odpytuje OpenFoodFacts, OpenBeautyFacts, OpenPetFoodFacts, OpenProductsFacts, GoogleBooks, OpenLibrary, Brocade, UPCitemdb, EAN-Search oraz BarcodeLookup.",
|
|
30
|
+
"barcodePlaceholder": "np. 3017620422003 lub 9780140328721",
|
|
31
|
+
"strategyFirstHit": "Pierwsze Trafienie (Najszybsze)",
|
|
32
|
+
"strategyDeepMerge": "Pełne Scalanie (Wszyscy Dostawcy)",
|
|
33
|
+
"lookupOnlyButton": "Pobierz Tylko Metadane",
|
|
34
|
+
"lookupAndCreateButton": "Wyszukaj i Utwórz Produkt Medusa ({{status}})",
|
|
35
|
+
"normalizedFallback": "Znormalizowany: {{barcode}}",
|
|
36
|
+
"matchedVia": "Dopasowano przez {{provider}}",
|
|
37
|
+
"notFound": "Nie Znaleziono",
|
|
38
|
+
"resultDetails": "Symbologia: {{symbology}} | Poprawna Cyfra Kontrolna GS1: {{valid}} | Marka: {{brand}}",
|
|
39
|
+
"yes": "Tak",
|
|
40
|
+
"no": "Nie",
|
|
41
|
+
"na": "Brak",
|
|
42
|
+
"batchTitle": "Wsadowy Importer Katalogu GTIN / ISBN",
|
|
43
|
+
"batchSubtitle": "Wklej do 100 kodów kreskowych (po jednym w wierszu lub oddzielone przecinkami), aby automatycznie wyszukać i utworzyć produkty + warianty Medusa w jednej transakcji.",
|
|
44
|
+
"batchRunButton": "Uruchom Import Wsadowy",
|
|
45
|
+
"recentlyLinkedTitle": "Ostatnio Powiązane Produkty z Kodem Kreskowym ({{count}})",
|
|
46
|
+
"noLinkedProducts": "Brak powiązanych produktów z kodem kreskowym."
|
|
47
|
+
},
|
|
48
|
+
"tagsTab": {
|
|
49
|
+
"createTitle": "Utwórz Kod 1D / Dynamiczny QR 2D / Tag Antypodróbkowy",
|
|
50
|
+
"targetIdPlaceholder": "Docelowe ID Produktu / Wariantu",
|
|
51
|
+
"labelPlaceholder": "Etykieta Taga",
|
|
52
|
+
"symbologyQr": "Kod QR (2D)",
|
|
53
|
+
"symbologyDatamatrix": "GS1 DataMatrix (2D)",
|
|
54
|
+
"symbologyEan13": "EAN-13 (1D GS1)",
|
|
55
|
+
"symbologyUpca": "UPC-A (1D)",
|
|
56
|
+
"symbologyCode128": "Code 128B / GS1-128",
|
|
57
|
+
"symbologyCode39": "Code 39",
|
|
58
|
+
"actionView": "Otwórz Stronę Produktu",
|
|
59
|
+
"actionAddToCart": "Natychmiastowe Dodanie do Koszyka",
|
|
60
|
+
"actionVerify": "Pieczęć HMAC Antypodróbkowa",
|
|
61
|
+
"actionDigitalLink": "URI GS1 Digital Link",
|
|
62
|
+
"gs1GtinPlaceholder": "GS1 GTIN (01)",
|
|
63
|
+
"batchLotPlaceholder": "Partia / Lot (10)",
|
|
64
|
+
"serialNumberPlaceholder": "Numer Seryjny (21)",
|
|
65
|
+
"generateButton": "Generuj Podpisany Tag Kodu / QR",
|
|
66
|
+
"listTitle": "Wygenerowane Tagi Kodów Kreskowych i QR ({{count}})",
|
|
67
|
+
"tagMeta": "Cel: {{target}} | Skany: {{scans}}",
|
|
68
|
+
"hmacLabel": "HMAC: {{signature}}...",
|
|
69
|
+
"deleteButton": "Usuń"
|
|
70
|
+
},
|
|
71
|
+
"printTab": {
|
|
72
|
+
"designerTitle": "Kreator Etykiet Cenowych/Kodów na Rolki Termiczne i Arkusze A4",
|
|
73
|
+
"productTitlePlaceholder": "Tytuł Produktu",
|
|
74
|
+
"variantTitlePlaceholder": "Tytuł Wariantu",
|
|
75
|
+
"barcodePlaceholder": "Kod Kreskowy (EAN-13 / Code128)",
|
|
76
|
+
"skuPlaceholder": "SKU",
|
|
77
|
+
"salePricePlaceholder": "Cena Sprzedaży",
|
|
78
|
+
"compareAtPricePlaceholder": "Cena Porównawcza / Katalogowa",
|
|
79
|
+
"currencyPlaceholder": "Waluta (USD, EUR, GBP)",
|
|
80
|
+
"quantityPlaceholder": "Liczba Etykiet",
|
|
81
|
+
"renderButton": "Generuj Arkusz Druku (HTML+SVG) i Zebra ZPL II",
|
|
82
|
+
"outputTitle": "Wynik Druku i Surowy Kod Zebra ZPL II",
|
|
83
|
+
"labelsReadyBadge": "Gotowe Etykiety: {{count}} ({{name}})",
|
|
84
|
+
"zplHeading": "Polecenia Termiczne Zebra ZPL II (^XA ... ^XZ):",
|
|
85
|
+
"htmlHeading": "Gotowy do Druku Kod Źródłowy HTML+SVG:",
|
|
86
|
+
"emptyState": "Skonfiguruj szablon etykiety i kliknij „Generuj Arkusz Druku”, aby wyświetlić podgląd kodu HTML+SVG oraz poleceń Zebra ZPL II."
|
|
87
|
+
},
|
|
88
|
+
"stockTakeTab": {
|
|
89
|
+
"createTitle": "Utwórz lub Skanuj do Sesji Inwentaryzacyjnej",
|
|
90
|
+
"sessionNamePlaceholder": "Nazwa Sesji",
|
|
91
|
+
"locationIdPlaceholder": "ID Lokalizacji Magazynowej",
|
|
92
|
+
"startSessionButton": "Rozpocznij Nową Sesję Inwentaryzacyjną",
|
|
93
|
+
"scannerTitle": "Szybki Licznik Skanów Kodów Kreskowych",
|
|
94
|
+
"scannedBarcodePlaceholder": "Zeskanowany Kod Kreskowy",
|
|
95
|
+
"itemTitlePlaceholder": "Tytuł Pozycji",
|
|
96
|
+
"scanPlusOneButton": "Skanuj +1",
|
|
97
|
+
"adjustMinusOneButton": "Koryguj -1",
|
|
98
|
+
"sessionsTitle": "Sesje Inwentaryzacyjne i Rozliczanie Różnic ({{count}})",
|
|
99
|
+
"sessionSummary": "Oczekiwano: {{expected}} | Zliczono: {{counted}} | Różnica: {{variance}}",
|
|
100
|
+
"completeApplyButton": "Zakończ i Zastosuj w Magazynie",
|
|
101
|
+
"completedBadge": "Zakończono",
|
|
102
|
+
"expectedShort": "Oczek.: {{expected}}",
|
|
103
|
+
"countedShort": "Zliczono:",
|
|
104
|
+
"varianceShort": "(Różn.: {{variance}})"
|
|
105
|
+
},
|
|
106
|
+
"providersTab": {
|
|
107
|
+
"providersTitle": "Zarejestrowani Dostawcy Wyszukiwania GTIN / ISBN",
|
|
108
|
+
"cacheTitle": "Pamięć Podręczna Zapytań o Kody Kreskowe ({{count}})",
|
|
109
|
+
"purgeExpiredButton": "Wyczyść Wygasłe",
|
|
110
|
+
"clearAllButton": "Wyczyść Cały Cache",
|
|
111
|
+
"hitsBadge": "Trafienia: {{count}}"
|
|
112
|
+
},
|
|
113
|
+
"widget": {
|
|
114
|
+
"title": "Kody Kreskowe, Dynamiczny QR i Etykiety Termiczne",
|
|
115
|
+
"defaultProductTitle": "Produkt",
|
|
116
|
+
"subtitle": "{{productTitle}} — aktywne tagi: {{tagsCount}}, powiązane rekordy GTIN: {{barcodesCount}}",
|
|
117
|
+
"generateButton": "Generuj GS1 EAN-13 i QR",
|
|
118
|
+
"printButton": "Drukuj Etykietę Cenową/Kod",
|
|
119
|
+
"codeLabel": "Kod:",
|
|
120
|
+
"actionLabel": "Akcja:",
|
|
121
|
+
"scansLabel": "Skany:",
|
|
122
|
+
"zplOutputLabel": "Wyjście Zebra ZPL II ({{name}}):"
|
|
123
|
+
},
|
|
124
|
+
"messages": {
|
|
125
|
+
"loadStudioError": "Nie udało się załadować Studia Kodów Kreskowych",
|
|
126
|
+
"hidScanDetected": "Skaner HID wykrył kod kreskowy: {{barcode}}",
|
|
127
|
+
"lookupFound": "Znaleziono „{{name}}” przez {{provider}}",
|
|
128
|
+
"lookupNotFound": "Brak dopasowania u dostawców dla {{barcode}}",
|
|
129
|
+
"lookupError": "Wyszukiwanie nie powiodło się",
|
|
130
|
+
"productCreated": "Utworzono produkt Medusa ({{productId}}) z kodu kreskowego {{barcode}}",
|
|
131
|
+
"productCreateError": "Tworzenie produktu nie powiodło się",
|
|
132
|
+
"batchImportFinished": "Import wsadowy zakończony: zaimportowano {{imported}}, nie znaleziono {{notFound}}.",
|
|
133
|
+
"batchImportError": "Import wsadowy nie powiódł się",
|
|
134
|
+
"bulkGenerated": "Wygenerowano {{count}} wewnętrznych kodów kreskowych wariantów GS1 EAN-13.",
|
|
135
|
+
"bulkGenerateError": "Masowe generowanie kodów kreskowych nie powiodło się",
|
|
136
|
+
"tagCreated": "Utworzono BarcodeTag {{code}}",
|
|
137
|
+
"tagCreateError": "Nie udało się utworzyć taga",
|
|
138
|
+
"tagDeleted": "Usunięto tag kodu kreskowego",
|
|
139
|
+
"tagDeleteError": "Nie udało się usunąć taga",
|
|
140
|
+
"labelsRendered": "Wygenerowano {{count}} etykiet(y) dla {{name}} (HTML + ZPL II gotowe)",
|
|
141
|
+
"labelsRenderError": "Nie udało się wygenerować etykiet",
|
|
142
|
+
"defaultCatalogItemTitle": "Pozycja Katalogowa",
|
|
143
|
+
"sessionCreated": "Utworzono sesję inwentaryzacyjną „{{name}}”",
|
|
144
|
+
"sessionCreateError": "Nie udało się utworzyć sesji inwentaryzacyjnej",
|
|
145
|
+
"scanRecorded": "Zarejestrowano skan ({{delta}}) dla {{barcode}}",
|
|
146
|
+
"scanError": "Skanowanie nie powiodło się",
|
|
147
|
+
"sessionApplied": "Zakończono sesję inwentaryzacyjną i zastosowano różnice magazynowe",
|
|
148
|
+
"sessionApplyError": "Nie udało się zastosować sesji inwentaryzacyjnej",
|
|
149
|
+
"cachePurged": "Wyczyszczono {{count}} wpis(ów) pamięci podręcznej kodów kreskowych",
|
|
150
|
+
"cachePurgeError": "Czyszczenie pamięci podręcznej nie powiodło się",
|
|
151
|
+
"widgetBarcodeGenerated": "Wygenerowano kod kreskowy GS1 EAN-13 ({{code}}) dla „{{title}}”.",
|
|
152
|
+
"widgetBarcodeError": "Nie udało się wygenerować kodu kreskowego",
|
|
153
|
+
"defaultProductLabelTitle": "Etykieta Produktu",
|
|
154
|
+
"widgetLabelPrepared": "Przygotowano etykietę termiczną 50×25mm oraz ZPL II dla {{code}}.",
|
|
155
|
+
"widgetLabelError": "Nie udało się wygenerować etykiety produktu"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "Estúdio de Códigos de Barras e Etiquetas"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "Estúdio de Códigos de Barras, QR, Etiquetas Térmicas e Inventário",
|
|
7
|
+
"providersBadge": "GS1 + 10 Provedores Ativos",
|
|
8
|
+
"lastHidScan": "Última Leitura HID: {{code}}",
|
|
9
|
+
"subtitle": "Enriquecimento unificado de produtos GTIN/ISBN, geração de códigos 1D/2D e QR HMAC, impressão de etiquetas térmicas/A4 (HTML + Zebra ZPL II) e sessões de contagem de estoque.",
|
|
10
|
+
"languageLabel": "Idioma",
|
|
11
|
+
"bulkGenerateButton": "Atribuir EAN-13 Faltantes às Variantes",
|
|
12
|
+
"refreshButton": "Atualizar Estúdio",
|
|
13
|
+
"linkedProductsStat": "Produtos GTIN Vinculados",
|
|
14
|
+
"dynamicTagsStat": "Tags Dinâmicas de Código/QR",
|
|
15
|
+
"totalScansStat": "Total de Leituras de Tags",
|
|
16
|
+
"cachedLookupsStat": "Consultas em Cache (Hits)",
|
|
17
|
+
"activeProvidersStat": "Provedores Ativos",
|
|
18
|
+
"dismiss": "Fechar"
|
|
19
|
+
},
|
|
20
|
+
"tabs": {
|
|
21
|
+
"lookup": "1. Consulta GTIN e Importador em Lote ({{count}})",
|
|
22
|
+
"tags": "2. Tags Dinâmicas 1D/2D e QR HMAC ({{count}})",
|
|
23
|
+
"print": "3. Central de Impressão Térmica e Folhas A4",
|
|
24
|
+
"stockTake": "4. Contagem de Estoque ({{count}})",
|
|
25
|
+
"providers": "5. Provedores e Cache ({{count}})"
|
|
26
|
+
},
|
|
27
|
+
"lookupTab": {
|
|
28
|
+
"lookupTitle": "1. Ler ou Digitar GTIN / EAN-13 / UPC-A / ISBN-13",
|
|
29
|
+
"lookupSubtitle": "Consulta OpenFoodFacts, OpenBeautyFacts, OpenPetFoodFacts, OpenProductsFacts, GoogleBooks, OpenLibrary, Brocade, UPCitemdb, EAN-Search e BarcodeLookup.",
|
|
30
|
+
"barcodePlaceholder": "ex. 3017620422003 ou 9780140328721",
|
|
31
|
+
"strategyFirstHit": "Primeiro Resultado (Mais Rápido)",
|
|
32
|
+
"strategyDeepMerge": "Fusão Completa (Todos os Provedores)",
|
|
33
|
+
"lookupOnlyButton": "Consultar Apenas Metadados",
|
|
34
|
+
"lookupAndCreateButton": "Consultar e Criar Produto Medusa ({{status}})",
|
|
35
|
+
"normalizedFallback": "Normalizado: {{barcode}}",
|
|
36
|
+
"matchedVia": "Encontrado via {{provider}}",
|
|
37
|
+
"notFound": "Não Encontrado",
|
|
38
|
+
"resultDetails": "Simbologia: {{symbology}} | Dígito Verificador GS1 Válido: {{valid}} | Marca: {{brand}}",
|
|
39
|
+
"yes": "Sim",
|
|
40
|
+
"no": "Não",
|
|
41
|
+
"na": "N/D",
|
|
42
|
+
"batchTitle": "Importador de Catálogo GTIN / ISBN em Lote",
|
|
43
|
+
"batchSubtitle": "Cole até 100 códigos de barras (um por linha ou separados por vírgula) para consultar e criar automaticamente produtos + variantes Medusa em uma transação.",
|
|
44
|
+
"batchRunButton": "Executar Importação em Lote",
|
|
45
|
+
"recentlyLinkedTitle": "Produtos Vinculados Recentemente por Código de Barras ({{count}})",
|
|
46
|
+
"noLinkedProducts": "Nenhum produto vinculado por código de barras ainda."
|
|
47
|
+
},
|
|
48
|
+
"tagsTab": {
|
|
49
|
+
"createTitle": "Criar Código 1D / QR Dinâmico 2D / Tag Antifalsificação",
|
|
50
|
+
"targetIdPlaceholder": "ID do Produto / Variante Alvo",
|
|
51
|
+
"labelPlaceholder": "Rótulo da Tag",
|
|
52
|
+
"symbologyQr": "Código QR (2D)",
|
|
53
|
+
"symbologyDatamatrix": "GS1 DataMatrix (2D)",
|
|
54
|
+
"symbologyEan13": "EAN-13 (1D GS1)",
|
|
55
|
+
"symbologyUpca": "UPC-A (1D)",
|
|
56
|
+
"symbologyCode128": "Code 128B / GS1-128",
|
|
57
|
+
"symbologyCode39": "Code 39",
|
|
58
|
+
"actionView": "Abrir Página do Produto",
|
|
59
|
+
"actionAddToCart": "Adicionar ao Carrinho Instantaneamente",
|
|
60
|
+
"actionVerify": "Selo HMAC Antifalsificação",
|
|
61
|
+
"actionDigitalLink": "URI GS1 Digital Link",
|
|
62
|
+
"gs1GtinPlaceholder": "GS1 GTIN (01)",
|
|
63
|
+
"batchLotPlaceholder": "Lote (10)",
|
|
64
|
+
"serialNumberPlaceholder": "Número de Série (21)",
|
|
65
|
+
"generateButton": "Gerar Tag de Código / QR Assinada",
|
|
66
|
+
"listTitle": "Tags de Código de Barras e QR Geradas ({{count}})",
|
|
67
|
+
"tagMeta": "Alvo: {{target}} | Leituras: {{scans}}",
|
|
68
|
+
"hmacLabel": "HMAC: {{signature}}...",
|
|
69
|
+
"deleteButton": "Excluir"
|
|
70
|
+
},
|
|
71
|
+
"printTab": {
|
|
72
|
+
"designerTitle": "Designer de Etiquetas de Preço/Código para Rolo Térmico e Folha A4",
|
|
73
|
+
"productTitlePlaceholder": "Título do Produto",
|
|
74
|
+
"variantTitlePlaceholder": "Título da Variante",
|
|
75
|
+
"barcodePlaceholder": "Código de Barras (EAN-13 / Code128)",
|
|
76
|
+
"skuPlaceholder": "SKU",
|
|
77
|
+
"salePricePlaceholder": "Preço de Venda",
|
|
78
|
+
"compareAtPricePlaceholder": "Preço Comparativo / Tabelado",
|
|
79
|
+
"currencyPlaceholder": "Moeda (USD, EUR, GBP)",
|
|
80
|
+
"quantityPlaceholder": "Quantidade de Etiquetas",
|
|
81
|
+
"renderButton": "Gerar Folha de Impressão (HTML+SVG) e Zebra ZPL II",
|
|
82
|
+
"outputTitle": "Saída de Impressão e Zebra ZPL II Bruto",
|
|
83
|
+
"labelsReadyBadge": "{{count}} Etiqueta(s) Pronta(s) ({{name}})",
|
|
84
|
+
"zplHeading": "Comandos Térmicos Zebra ZPL II (^XA ... ^XZ):",
|
|
85
|
+
"htmlHeading": "Código-Fonte HTML+SVG Pronto para Impressão:",
|
|
86
|
+
"emptyState": "Configure seu modelo de etiqueta e clique em \"Gerar Folha de Impressão\" para visualizar o HTML+SVG e os comandos Zebra ZPL II."
|
|
87
|
+
},
|
|
88
|
+
"stockTakeTab": {
|
|
89
|
+
"createTitle": "Criar ou Ler em Sessão de Contagem de Estoque",
|
|
90
|
+
"sessionNamePlaceholder": "Nome da Sessão",
|
|
91
|
+
"locationIdPlaceholder": "ID do Local de Estoque",
|
|
92
|
+
"startSessionButton": "Iniciar Nova Sessão de Contagem",
|
|
93
|
+
"scannerTitle": "Contador Rápido por Leitura de Código de Barras",
|
|
94
|
+
"scannedBarcodePlaceholder": "Código de Barras Lido",
|
|
95
|
+
"itemTitlePlaceholder": "Título do Item",
|
|
96
|
+
"scanPlusOneButton": "Ler +1",
|
|
97
|
+
"adjustMinusOneButton": "Ajustar -1",
|
|
98
|
+
"sessionsTitle": "Sessões de Contagem e Conciliação de Divergências ({{count}})",
|
|
99
|
+
"sessionSummary": "Esperado: {{expected}} | Contado: {{counted}} | Divergência: {{variance}}",
|
|
100
|
+
"completeApplyButton": "Concluir e Aplicar ao Estoque",
|
|
101
|
+
"completedBadge": "Concluído",
|
|
102
|
+
"expectedShort": "Esp: {{expected}}",
|
|
103
|
+
"countedShort": "Contado:",
|
|
104
|
+
"varianceShort": "(Div: {{variance}})"
|
|
105
|
+
},
|
|
106
|
+
"providersTab": {
|
|
107
|
+
"providersTitle": "Provedores Registrados de Consulta GTIN / ISBN",
|
|
108
|
+
"cacheTitle": "Cache de Consultas de Códigos de Barras ({{count}})",
|
|
109
|
+
"purgeExpiredButton": "Limpar Expirados",
|
|
110
|
+
"clearAllButton": "Limpar Todo o Cache",
|
|
111
|
+
"hitsBadge": "Hits: {{count}}"
|
|
112
|
+
},
|
|
113
|
+
"widget": {
|
|
114
|
+
"title": "Códigos de Barras, QR Dinâmico e Etiquetas Térmicas",
|
|
115
|
+
"defaultProductTitle": "Produto",
|
|
116
|
+
"subtitle": "{{productTitle}} — {{tagsCount}} tag(s) ativa(s), {{barcodesCount}} registro(s) GTIN vinculado(s)",
|
|
117
|
+
"generateButton": "Gerar GS1 EAN-13 e QR",
|
|
118
|
+
"printButton": "Imprimir Etiqueta de Preço/Código",
|
|
119
|
+
"codeLabel": "Código:",
|
|
120
|
+
"actionLabel": "Ação:",
|
|
121
|
+
"scansLabel": "Leituras:",
|
|
122
|
+
"zplOutputLabel": "Saída Zebra ZPL II ({{name}}):"
|
|
123
|
+
},
|
|
124
|
+
"messages": {
|
|
125
|
+
"loadStudioError": "Falha ao carregar o Estúdio de Códigos de Barras",
|
|
126
|
+
"hidScanDetected": "Leitor HID detectou o código de barras: {{barcode}}",
|
|
127
|
+
"lookupFound": "\"{{name}}\" encontrado via {{provider}}",
|
|
128
|
+
"lookupNotFound": "Nenhuma correspondência encontrada para {{barcode}}",
|
|
129
|
+
"lookupError": "Falha na consulta",
|
|
130
|
+
"productCreated": "Produto Medusa criado ({{productId}}) a partir do código {{barcode}}",
|
|
131
|
+
"productCreateError": "Falha na criação do produto",
|
|
132
|
+
"batchImportFinished": "Importação em lote concluída: {{imported}} importados, {{notFound}} não encontrados.",
|
|
133
|
+
"batchImportError": "Falha na importação em lote",
|
|
134
|
+
"bulkGenerated": "{{count}} códigos de barras de variante GS1 EAN-13 internos gerados.",
|
|
135
|
+
"bulkGenerateError": "Falha na geração em massa de códigos de barras",
|
|
136
|
+
"tagCreated": "BarcodeTag {{code}} criada",
|
|
137
|
+
"tagCreateError": "Falha ao criar a tag",
|
|
138
|
+
"tagDeleted": "Tag de código de barras excluída",
|
|
139
|
+
"tagDeleteError": "Falha ao excluir a tag",
|
|
140
|
+
"labelsRendered": "{{count}} etiqueta(s) gerada(s) para {{name}} (HTML + ZPL II prontos)",
|
|
141
|
+
"labelsRenderError": "Falha ao gerar etiquetas",
|
|
142
|
+
"defaultCatalogItemTitle": "Item do Catálogo",
|
|
143
|
+
"sessionCreated": "Sessão de contagem de estoque \"{{name}}\" criada",
|
|
144
|
+
"sessionCreateError": "Falha ao criar sessão de contagem",
|
|
145
|
+
"scanRecorded": "Leitura registrada ({{delta}}) para {{barcode}}",
|
|
146
|
+
"scanError": "Falha na leitura",
|
|
147
|
+
"sessionApplied": "Sessão de contagem concluída e divergências aplicadas ao estoque",
|
|
148
|
+
"sessionApplyError": "Falha ao aplicar sessão de contagem",
|
|
149
|
+
"cachePurged": "{{count}} entrada(s) de cache de código de barras removida(s)",
|
|
150
|
+
"cachePurgeError": "Falha ao limpar o cache",
|
|
151
|
+
"widgetBarcodeGenerated": "Código de barras GS1 EAN-13 ({{code}}) gerado para \"{{title}}\".",
|
|
152
|
+
"widgetBarcodeError": "Falha ao gerar código de barras",
|
|
153
|
+
"defaultProductLabelTitle": "Etiqueta do Produto",
|
|
154
|
+
"widgetLabelPrepared": "Etiqueta térmica 50×25mm e ZPL II preparados para {{code}}.",
|
|
155
|
+
"widgetLabelError": "Falha ao gerar etiqueta do produto"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "Barkod ve Etiket Stüdyosu"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "Barkod, QR, Termal Etiket ve Envanter Stüdyosu",
|
|
7
|
+
"providersBadge": "GS1 + 10 Sağlayıcı Aktif",
|
|
8
|
+
"lastHidScan": "Son HID Taraması: {{code}}",
|
|
9
|
+
"subtitle": "Birleşik GTIN/ISBN ürün zenginleştirme, 1D/2D barkod ve HMAC QR üretimi, termal/A4 fiyat etiketi yazdırma (HTML + Zebra ZPL II) ve depo sayım oturumları.",
|
|
10
|
+
"languageLabel": "Dil",
|
|
11
|
+
"bulkGenerateButton": "Eksik Varyant EAN-13 Kodlarını Otomatik Ata",
|
|
12
|
+
"refreshButton": "Stüdyoyu Yenile",
|
|
13
|
+
"linkedProductsStat": "Bağlı GTIN Ürünleri",
|
|
14
|
+
"dynamicTagsStat": "Dinamik Barkod/QR Etiketleri",
|
|
15
|
+
"totalScansStat": "Toplam Etiket Taraması",
|
|
16
|
+
"cachedLookupsStat": "Önbellek Sorguları (İsabet)",
|
|
17
|
+
"activeProvidersStat": "Aktif Sağlayıcılar",
|
|
18
|
+
"dismiss": "Kapat"
|
|
19
|
+
},
|
|
20
|
+
"tabs": {
|
|
21
|
+
"lookup": "1. GTIN Sorgulama ve Toplu İçe Aktarma ({{count}})",
|
|
22
|
+
"tags": "2. Dinamik 1D/2D ve HMAC QR Etiketleri ({{count}})",
|
|
23
|
+
"print": "3. Termal ve A4 Etiket Baskı Merkezi",
|
|
24
|
+
"stockTake": "4. Depo Stok Sayımı ({{count}})",
|
|
25
|
+
"providers": "5. Sağlayıcılar ve Önbellek ({{count}})"
|
|
26
|
+
},
|
|
27
|
+
"lookupTab": {
|
|
28
|
+
"lookupTitle": "1. GTIN / EAN-13 / UPC-A / ISBN-13 Tarayın veya Girin",
|
|
29
|
+
"lookupSubtitle": "OpenFoodFacts, OpenBeautyFacts, OpenPetFoodFacts, OpenProductsFacts, GoogleBooks, OpenLibrary, Brocade, UPCitemdb, EAN-Search ve BarcodeLookup kaynaklarını sorgular.",
|
|
30
|
+
"barcodePlaceholder": "örn. 3017620422003 veya 9780140328721",
|
|
31
|
+
"strategyFirstHit": "İlk Eşleşme (En Hızlı)",
|
|
32
|
+
"strategyDeepMerge": "Derin Birleştirme (Tüm Sağlayıcılar)",
|
|
33
|
+
"lookupOnlyButton": "Yalnızca Meta Verileri Sorgula",
|
|
34
|
+
"lookupAndCreateButton": "Sorgula ve Medusa Ürünü Oluştur ({{status}})",
|
|
35
|
+
"normalizedFallback": "Normalize Edildi: {{barcode}}",
|
|
36
|
+
"matchedVia": "{{provider}} üzerinden eşleşti",
|
|
37
|
+
"notFound": "Bulunamadı",
|
|
38
|
+
"resultDetails": "Semboloji: {{symbology}} | Geçerli GS1 Kontrol Basamağı: {{valid}} | Marka: {{brand}}",
|
|
39
|
+
"yes": "Evet",
|
|
40
|
+
"no": "Hayır",
|
|
41
|
+
"na": "Yok",
|
|
42
|
+
"batchTitle": "Toplu GTIN / ISBN Katalog İçe Aktarıcı",
|
|
43
|
+
"batchSubtitle": "Medusa ürünlerini ve varyantlarını tek bir işlemde otomatik sorgulayıp oluşturmak için en fazla 100 barkod (her satıra bir tane veya virgülle ayrılmış) yapıştırın.",
|
|
44
|
+
"batchRunButton": "Toplu İçe Aktarma İş Akışını Çalıştır",
|
|
45
|
+
"recentlyLinkedTitle": "Son Bağlanan Barkodlu Ürünler ({{count}})",
|
|
46
|
+
"noLinkedProducts": "Henüz barkodlu ürün bağlanmadı."
|
|
47
|
+
},
|
|
48
|
+
"tagsTab": {
|
|
49
|
+
"createTitle": "1D Barkod / 2D Dinamik QR / Sahtecilik Önleyici Etiket Oluştur",
|
|
50
|
+
"targetIdPlaceholder": "Hedef Ürün / Varyant ID",
|
|
51
|
+
"labelPlaceholder": "Etiket Adı",
|
|
52
|
+
"symbologyQr": "QR Kod (2D)",
|
|
53
|
+
"symbologyDatamatrix": "GS1 DataMatrix (2D)",
|
|
54
|
+
"symbologyEan13": "EAN-13 (1D GS1)",
|
|
55
|
+
"symbologyUpca": "UPC-A (1D)",
|
|
56
|
+
"symbologyCode128": "Code 128B / GS1-128",
|
|
57
|
+
"symbologyCode39": "Code 39",
|
|
58
|
+
"actionView": "Ürün Sayfasını Aç",
|
|
59
|
+
"actionAddToCart": "Anında Sepete Ekle",
|
|
60
|
+
"actionVerify": "Sahtecilik Önleyici HMAC Mührü",
|
|
61
|
+
"actionDigitalLink": "GS1 Digital Link URI",
|
|
62
|
+
"gs1GtinPlaceholder": "GS1 GTIN (01)",
|
|
63
|
+
"batchLotPlaceholder": "Parti / Lot (10)",
|
|
64
|
+
"serialNumberPlaceholder": "Seri Numarası (21)",
|
|
65
|
+
"generateButton": "İmzalı Barkod / QR Etiketi Oluştur",
|
|
66
|
+
"listTitle": "Oluşturulan Barkod ve QR Etiketleri ({{count}})",
|
|
67
|
+
"tagMeta": "Hedef: {{target}} | Tarama: {{scans}}",
|
|
68
|
+
"hmacLabel": "HMAC: {{signature}}...",
|
|
69
|
+
"deleteButton": "Sil"
|
|
70
|
+
},
|
|
71
|
+
"printTab": {
|
|
72
|
+
"designerTitle": "Termal Rulo ve A4 Sayfa Fiyat/Barkod Etiketi Tasarımcısı",
|
|
73
|
+
"productTitlePlaceholder": "Ürün Başlığı",
|
|
74
|
+
"variantTitlePlaceholder": "Varyant Başlığı",
|
|
75
|
+
"barcodePlaceholder": "Barkod (EAN-13 / Code128)",
|
|
76
|
+
"skuPlaceholder": "SKU",
|
|
77
|
+
"salePricePlaceholder": "Satış Fiyatı",
|
|
78
|
+
"compareAtPricePlaceholder": "Karşılaştırma / Liste Fiyatı",
|
|
79
|
+
"currencyPlaceholder": "Para Birimi (USD, EUR, GBP)",
|
|
80
|
+
"quantityPlaceholder": "Etiket Adedi",
|
|
81
|
+
"renderButton": "Baskı Sayfası (HTML+SVG) ve Zebra ZPL II Oluştur",
|
|
82
|
+
"outputTitle": "Baskı Çıktısı ve Ham Zebra ZPL II",
|
|
83
|
+
"labelsReadyBadge": "{{count}} Etiket Hazır ({{name}})",
|
|
84
|
+
"zplHeading": "Zebra ZPL II Termal Komutları (^XA ... ^XZ):",
|
|
85
|
+
"htmlHeading": "Baskıya Hazır HTML+SVG Belge Kaynağı:",
|
|
86
|
+
"emptyState": "Etiket şablonunuzu yapılandırın ve baskıya hazır HTML+SVG ile Zebra ZPL II komutlarını önizlemek için \"Baskı Sayfası Oluştur\" düğmesine tıklayın."
|
|
87
|
+
},
|
|
88
|
+
"stockTakeTab": {
|
|
89
|
+
"createTitle": "Stok Sayım Oturumu Oluştur veya Oturuma Tara",
|
|
90
|
+
"sessionNamePlaceholder": "Oturum Adı",
|
|
91
|
+
"locationIdPlaceholder": "Stok Konum ID",
|
|
92
|
+
"startSessionButton": "Yeni Stok Sayım Oturumu Başlat",
|
|
93
|
+
"scannerTitle": "Hızlı Barkod Tarama Sayacı",
|
|
94
|
+
"scannedBarcodePlaceholder": "Taranan Barkod",
|
|
95
|
+
"itemTitlePlaceholder": "Ürün Adı",
|
|
96
|
+
"scanPlusOneButton": "+1 Sayım Tara",
|
|
97
|
+
"adjustMinusOneButton": "-1 Sayım Düzelt",
|
|
98
|
+
"sessionsTitle": "Stok Sayım Oturumları ve Fark Mutabakatı ({{count}})",
|
|
99
|
+
"sessionSummary": "Beklenen: {{expected}} | Sayılan: {{counted}} | Fark: {{variance}}",
|
|
100
|
+
"completeApplyButton": "Tamamla ve Envantere Uygula",
|
|
101
|
+
"completedBadge": "Tamamlandı",
|
|
102
|
+
"expectedShort": "Bekl: {{expected}}",
|
|
103
|
+
"countedShort": "Sayılan:",
|
|
104
|
+
"varianceShort": "(Fark: {{variance}})"
|
|
105
|
+
},
|
|
106
|
+
"providersTab": {
|
|
107
|
+
"providersTitle": "Kayıtlı GTIN / ISBN Sorgulama Sağlayıcıları",
|
|
108
|
+
"cacheTitle": "Barkod Sorgulama Önbelleği ({{count}})",
|
|
109
|
+
"purgeExpiredButton": "Süresi Dolanları Temizle",
|
|
110
|
+
"clearAllButton": "Tüm Önbelleği Temizle",
|
|
111
|
+
"hitsBadge": "İsabet: {{count}}"
|
|
112
|
+
},
|
|
113
|
+
"widget": {
|
|
114
|
+
"title": "Barkodlar, Dinamik QR ve Termal Etiketler",
|
|
115
|
+
"defaultProductTitle": "Ürün",
|
|
116
|
+
"subtitle": "{{productTitle}} — {{tagsCount}} aktif etiket, {{barcodesCount}} bağlı GTIN kaydı",
|
|
117
|
+
"generateButton": "GS1 EAN-13 ve QR Oluştur",
|
|
118
|
+
"printButton": "Fiyat/Barkod Etiketi Yazdır",
|
|
119
|
+
"codeLabel": "Kod:",
|
|
120
|
+
"actionLabel": "İşlem:",
|
|
121
|
+
"scansLabel": "Taramalar:",
|
|
122
|
+
"zplOutputLabel": "Zebra ZPL II Çıktısı ({{name}}):"
|
|
123
|
+
},
|
|
124
|
+
"messages": {
|
|
125
|
+
"loadStudioError": "Barkod Stüdyosu yüklenemedi",
|
|
126
|
+
"hidScanDetected": "HID Tarayıcı barkod algıladı: {{barcode}}",
|
|
127
|
+
"lookupFound": "{{provider}} üzerinden \"{{name}}\" bulundu",
|
|
128
|
+
"lookupNotFound": "{{barcode}} için sağlayıcı eşleşmesi bulunamadı",
|
|
129
|
+
"lookupError": "Sorgulama başarısız oldu",
|
|
130
|
+
"productCreated": "{{barcode}} barkodundan Medusa ürünü ({{productId}}) oluşturuldu",
|
|
131
|
+
"productCreateError": "Ürün oluşturma başarısız oldu",
|
|
132
|
+
"batchImportFinished": "Toplu içe aktarma tamamlandı: {{imported}} içe aktarıldı, {{notFound}} bulunamadı.",
|
|
133
|
+
"batchImportError": "Toplu içe aktarma başarısız oldu",
|
|
134
|
+
"bulkGenerated": "{{count}} adet GS1 mağaza içi EAN-13 varyant barkodu oluşturuldu.",
|
|
135
|
+
"bulkGenerateError": "Toplu barkod oluşturma başarısız oldu",
|
|
136
|
+
"tagCreated": "BarcodeTag {{code}} oluşturuldu",
|
|
137
|
+
"tagCreateError": "Etiket oluşturulamadı",
|
|
138
|
+
"tagDeleted": "Barkod etiketi silindi",
|
|
139
|
+
"tagDeleteError": "Etiket silinemedi",
|
|
140
|
+
"labelsRendered": "{{name}} için {{count}} etiket oluşturuldu (HTML + ZPL II hazır)",
|
|
141
|
+
"labelsRenderError": "Etiketler oluşturulamadı",
|
|
142
|
+
"defaultCatalogItemTitle": "Katalog Ürünü",
|
|
143
|
+
"sessionCreated": "\"{{name}}\" stok sayım oturumu oluşturuldu",
|
|
144
|
+
"sessionCreateError": "Sayım oturumu oluşturulamadı",
|
|
145
|
+
"scanRecorded": "{{barcode}} için tarama ({{delta}}) kaydedildi",
|
|
146
|
+
"scanError": "Tarama başarısız oldu",
|
|
147
|
+
"sessionApplied": "Stok sayım oturumu tamamlandı ve envanter farkları uygulandı",
|
|
148
|
+
"sessionApplyError": "Sayım oturumu uygulanamadı",
|
|
149
|
+
"cachePurged": "{{count}} önbelleğe alınmış barkod kaydı temizlendi",
|
|
150
|
+
"cachePurgeError": "Önbellek temizleme başarısız oldu",
|
|
151
|
+
"widgetBarcodeGenerated": "\"{{title}}\" için GS1 EAN-13 barkodu ({{code}}) oluşturuldu.",
|
|
152
|
+
"widgetBarcodeError": "Barkod oluşturulamadı",
|
|
153
|
+
"defaultProductLabelTitle": "Ürün Etiketi",
|
|
154
|
+
"widgetLabelPrepared": "{{code}} için 50×25mm termal etiket ve ZPL II hazırlandı.",
|
|
155
|
+
"widgetLabelError": "Ürün etiketi oluşturulamadı"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { defineRouteConfig } from "@medusajs/admin-sdk"
|
|
2
|
+
import { CORE_LAYOUT_IDS } from "@medusajs/admin-shared"
|
|
3
|
+
import { LayoutComposer } from "@medusajs/dashboard/components"
|
|
4
|
+
import { MagnifyingGlass } from "@medusajs/icons"
|
|
5
|
+
import { Toaster } from "@medusajs/ui"
|
|
6
|
+
import { useTranslation } from "react-i18next"
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
GtinLookupBatchSection,
|
|
10
|
+
GtinLookupLookupSection,
|
|
11
|
+
} from "../../../components"
|
|
12
|
+
import { useBarcodeStudio } from "../../../hooks/use-barcode-studio"
|
|
13
|
+
import { RbacGuard } from "../../../components/rbac-guard"
|
|
14
|
+
|
|
15
|
+
const BarcodeLookupPage = () => {
|
|
16
|
+
const studio = useBarcodeStudio()
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<>
|
|
20
|
+
<Toaster />
|
|
21
|
+
<LayoutComposer
|
|
22
|
+
widgetsZonePrefix="barcodes.lookup.details"
|
|
23
|
+
preferredLayoutId={CORE_LAYOUT_IDS.TWO_COLUMN}
|
|
24
|
+
sections={{
|
|
25
|
+
main: (
|
|
26
|
+
<LayoutComposer.Entry id="BarcodeLookupMainSection">
|
|
27
|
+
<GtinLookupLookupSection
|
|
28
|
+
form={studio.lookupForm}
|
|
29
|
+
onFormChange={studio.setLookupForm}
|
|
30
|
+
lookupResult={studio.lookupResult}
|
|
31
|
+
onLookup={() => void studio.handleLookupBarcode()}
|
|
32
|
+
onCreateProduct={() =>
|
|
33
|
+
void studio.handleCreateProductFromBarcode()
|
|
34
|
+
}
|
|
35
|
+
/>
|
|
36
|
+
</LayoutComposer.Entry>
|
|
37
|
+
),
|
|
38
|
+
side: (
|
|
39
|
+
<LayoutComposer.Entry id="BarcodeLookupBatchSection">
|
|
40
|
+
<GtinLookupBatchSection
|
|
41
|
+
form={studio.lookupForm}
|
|
42
|
+
onFormChange={studio.setLookupForm}
|
|
43
|
+
barcodes={studio.barcodes}
|
|
44
|
+
onBatchImport={() => void studio.handleBatchImport()}
|
|
45
|
+
/>
|
|
46
|
+
</LayoutComposer.Entry>
|
|
47
|
+
),
|
|
48
|
+
}}
|
|
49
|
+
/>
|
|
50
|
+
</>
|
|
51
|
+
)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const Breadcrumb = () => {
|
|
55
|
+
const { t } = useTranslation()
|
|
56
|
+
return t("lookupTab.lookupTitle")
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export const config = defineRouteConfig({
|
|
60
|
+
label: "lookupTab.lookupTitle",
|
|
61
|
+
translationNs: "barcodes",
|
|
62
|
+
icon: MagnifyingGlass,
|
|
63
|
+
})
|
|
64
|
+
|
|
65
|
+
export const handle = {
|
|
66
|
+
breadcrumb: () => <Breadcrumb />,
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const GuardedBarcodeLookupPage = () => (
|
|
70
|
+
<RbacGuard permission="barcodes.read">
|
|
71
|
+
<BarcodeLookupPage />
|
|
72
|
+
</RbacGuard>
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
export default GuardedBarcodeLookupPage
|