diff --git a/CHANGELOG.md b/CHANGELOG.md index b08d20b9..5e0a48d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,10 +11,36 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Implement 'none' option at trade policy organization +## [1.31.9] - 2024-06-20 +### Fixed + +- Adjusts list organization and research screening according to input at autocomplete + +## [1.31.8] - 2024-06-05 + +## [1.31.7] - 2024-05-29 + +## [1.31.6] - 2024-05-28 + +## [1.31.5] - 2024-05-28 +### Fixed + +- Save new address within the Cost Center in the store + +## [1.31.4] - 2024-05-23 + +### Fixed + +Arabic, Bulgarian, Catalan, Czech, Danish, German, Greek, English, Spanish, Finnish, French, Indonesian, Italian, Japanese, Korean, Dutch, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Swedish, Thai and Ukrainian translations. + ## [1.31.3] - 2024-04-22 ### Fixed +- Save add, edit and delete address within the Cost Center in admin + +### Fixed + - Pagination bug on admin organization details collections assignment UI ### Added diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 00000000..5098d3aa --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,11 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: b2b-organizations + annotations: + github.com/project-slug: vtex-apps/b2b-organizations +spec: + system: b2b-suite + type: frontend-ui + lifecycle: maintenance + owner: b-2-b-enabler diff --git a/manifest.json b/manifest.json index 8994f44b..8659e8f2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "b2b-organizations", "vendor": "vtex", - "version": "1.31.3", + "version": "1.31.9", "title": "B2B Organizations", "description": "App to create and manage B2B Organizations and Cost Centers", "mustUpdateAt": "2022-08-28", diff --git a/messages/ar.json b/messages/ar.json index 45c5e152..5732464b 100644 --- a/messages/ar.json +++ b/messages/ar.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "سحب وإسقاط الملف", "admin/b2b-organizations.bulk-import.upload.filesType": "نوع الملف", "admin/b2b-organizations.bulk-import.upload.maxSize": "الحجم الأقصي", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "هل تحتاج إلى مساعدة؟ قم بتنزيل نموذج ملف VTEX أو راجع دليل أفضل الممارسات .", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "غير معروف", "admin/b2b-organizations.bulk-import.upload.upload": "رفع", "admin/b2b-organizations.bulk-import.upload.uploading": "تحميل الملف والتحقق من صحته...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "هل تحتاج للمساعدة؟", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "تحقق من أفضل ممارسات دليل الاستيراد لدينا", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "تحميل XLSX المصحَّح", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "الإذن مطلوب", "admin/b2b-organizations.bulk-import.import.errorMessage": "حدث خطأ ما أثناء الاستيراد. الرجاء المحاولة مرة أخرى.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "اسم المنظمة", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "المستخدم المُشرف", diff --git a/messages/bg.json b/messages/bg.json index 3469fe19..62527ed2 100644 --- a/messages/bg.json +++ b/messages/bg.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Плъзнете и пуснете файл", "admin/b2b-organizations.bulk-import.upload.filesType": "Вид файл", "admin/b2b-organizations.bulk-import.upload.maxSize": "Максимален размер", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Имате нужда от помощ? Изтеглете Шаблон на файл VTEX или вижте нашето ръководство за най-добри практики.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Неизвестно", "admin/b2b-organizations.bulk-import.upload.upload": "Качване", "admin/b2b-organizations.bulk-import.upload.uploading": "Качване и валидиране на файл...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Нуждаете се от помощ?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Разгледайте нашето Ръководство за най-добри практики при импортиране", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Изтегляне на прегледани XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Изисква се разрешение", "admin/b2b-organizations.bulk-import.import.errorMessage": "Нещо се обърка при импортирането. Моля, опитайте отново.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Име на организацията", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Админ потребител", diff --git a/messages/ca.json b/messages/ca.json index 20fab75f..ca2cf4bc 100644 --- a/messages/ca.json +++ b/messages/ca.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Arrossega i deixa anar el fitxer", "admin/b2b-organizations.bulk-import.upload.filesType": "Tipus de fitxer", "admin/b2b-organizations.bulk-import.upload.maxSize": "Mida màxima", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Necessiteu ajuda? Baixeu la plantilla de fitxers VTEX o consulteu la nostra guia de pràctiques recomanades.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Desconegut", "admin/b2b-organizations.bulk-import.upload.upload": "Penja", "admin/b2b-organizations.bulk-import.upload.uploading": "S'està penjant i validant el fitxer...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Necessiteu ajuda?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Consulteu la nostra Guia d'importació de pràctiques recomanades", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Baixa el fitxer XLSX revisat", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Cal permís", "admin/b2b-organizations.bulk-import.import.errorMessage": "Alguna cosa ha anat malament amb la importació. Torneu-ho a provar.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nom de l'organització", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Usuari administrador", diff --git a/messages/cs.json b/messages/cs.json index 2304b29e..4d6feb69 100644 --- a/messages/cs.json +++ b/messages/cs.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Vyberte soubor přetažením", "admin/b2b-organizations.bulk-import.upload.filesType": "Typ souboru", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maximální velikost", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Potřebujete pomoc? Stáhněte si VTEX File Template nebo se podívejte do naší příručky osvědčených postupů.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Neznámé", "admin/b2b-organizations.bulk-import.upload.upload": "Nahrát", "admin/b2b-organizations.bulk-import.upload.uploading": "Nahrávání a ověřování souboru...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Potřebujete pomoc?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Nahlédněte do našeho průvodce osvědčenými postupy při importu", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Stáhnout zkontrolovaný XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Vyžadováno povolení", "admin/b2b-organizations.bulk-import.import.errorMessage": "Při importu se něco pokazilo. Zkuste to prosím znovu.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Název organizace", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Uživatel správce", diff --git a/messages/da.json b/messages/da.json index fce115f3..d86e625b 100644 --- a/messages/da.json +++ b/messages/da.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Træk og slip fil", "admin/b2b-organizations.bulk-import.upload.filesType": "Filtype", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maks. størrelse", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Trænger du hjælp? Last ned VTEX-filterskabelonen eller se vår bedste praksisguide.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Ukendt", "admin/b2b-organizations.bulk-import.upload.upload": "Upload", "admin/b2b-organizations.bulk-import.upload.uploading": "Uploader og validerer fil...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Brug for hjælp?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Se vores importvejledning til bedste praksis", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Download gennemgået XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Tillatelse kreves", "admin/b2b-organizations.bulk-import.import.errorMessage": "Der gik noget galt med importen. Prøv igen.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Organisationens navn", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Admin-bruger", diff --git a/messages/de.json b/messages/de.json index b7c3f2bb..5c6eef5b 100644 --- a/messages/de.json +++ b/messages/de.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Datei ziehen und ablegen", "admin/b2b-organizations.bulk-import.upload.filesType": "Dateityp", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maximale Größe", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Benötigen Sie Hilfe? Laden Sie die VTEX-Dateivorlage herunter oder sehen Sie sich unseren Best-Practice-Guide an.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Unbekannt", "admin/b2b-organizations.bulk-import.upload.upload": "Hochladen", "admin/b2b-organizations.bulk-import.upload.uploading": "Hochladen und Validierung der Datei...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Benötigen Sie Hilfe?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Lesen Sie unseren Best Practices Import Guide", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Überprüftes XLSX herunterladen", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Berechtigung erforderlich", "admin/b2b-organizations.bulk-import.import.errorMessage": "Beim Import ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Name der Organisation", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Admin-Benutzer", diff --git a/messages/el.json b/messages/el.json index fb310ede..dd726481 100644 --- a/messages/el.json +++ b/messages/el.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Σύρετε και αφήστε αρχείο", "admin/b2b-organizations.bulk-import.upload.filesType": "Τύπος αρχείου", "admin/b2b-organizations.bulk-import.upload.maxSize": "Μέγιστο μέγεθος", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Χρειάζεστε βοήθεια; Κατεβάστε το Πρότυπο Αρχείο VTEX ή ανατρέξτε στον οδηγό βέλτιστων πρακτικών μας.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Άγνωστος", "admin/b2b-organizations.bulk-import.upload.upload": "Φόρτωση", "admin/b2b-organizations.bulk-import.upload.uploading": "Φόρτωση και επικύρωση αρχείου...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Χρειάζεστε βοήθεια;", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Ελέγξτε τον Οδηγό εισαγωγής βέλτιστων πρακτικών", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Λήψη αναθεωρημένου XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Απαιτείται άδεια", "admin/b2b-organizations.bulk-import.import.errorMessage": "Κάτι πήγε στραβά με την εισαγωγή. Δοκιμάστε ξανά.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Όνομα οργανισμού", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Χρήστης διαχείρισης", @@ -237,7 +237,7 @@ "admin/b2b-organizations.organization-settings-admin.toast.update-success": "Οι ρυθμίσεις ενημερωθηκαν επιτυχώς", "admin/b2b-organizations.organization-settings.navigation.label": "Ρυθμίσεις", "admin/b2b-organizations.organization-users.column.costCenter": "Κέντρο κόστους", - "admin/b2b-organizations.organization-users.column.email": "Διεύθυνση ηλεκτρονικού ταχυδρομείου-email", + "admin/b2b-organizations.organization-users.column.email": "Email", "admin/b2b-organizations.organization-users.column.role": "Ρόλος", "admin/b2b-organizations.organization-users.emptyState": "Δεν βρέθηκαν χρήστες.", "admin/b2b-organizations.organization-users.toast.add-failure": "Αποτυχία προσθήκης χρήστη. Βλέπε κονσόλα για λεπτομέρειες.", @@ -252,7 +252,7 @@ "admin/b2b-organizations.selected-rows": "Επιλεγμένες σειρές: {qty}", "admin/b2b-organizations.showRows": "Εμφάνιση σειρών", "admin/b2b-organizations.user-details.costCenter": "Κέντρο κόστους", - "admin/b2b-organizations.user-details.email": "Διεύθυνση ηλεκτρονικού ταχυδρομείου-email", + "admin/b2b-organizations.user-details.email": "Email", "admin/b2b-organizations.user-details.name": "Όνομα", "admin/b2b-organizations.user-details.organization": "Οργανισμός", "admin/b2b-organizations.user-details.placeholder-costCenter": "Επιλογή κέντρου κόστους", @@ -330,7 +330,7 @@ "store/b2b-organizations.organization-details.tradeName": "Εμπορική ονομασία", "store/b2b-organizations.organization-details.users": "Χρήστες", "store/b2b-organizations.organization-users.column.costCenter": "Κέντρο κόστους", - "store/b2b-organizations.organization-users.column.email": "Διεύθυνση ηλεκτρονικού ταχυδρομείου-email", + "store/b2b-organizations.organization-users.column.email": "Email", "store/b2b-organizations.organization-users.column.organizationName": "Οργανισμός", "store/b2b-organizations.organization-users.column.role": "Ρόλος", "store/b2b-organizations.organization-users.emptyState": "Δεν βρέθηκαν χρήστες.", @@ -359,7 +359,7 @@ "store/b2b-organizations.request-new-organization.default-cost-center-name.label": "Όνομα κέντρου κόστους", "store/b2b-organizations.request-new-organization.default-cost-center.helpText": "Παρέχετε όνομα και διεύθυνση για το αρχικό κέντρο κόστους του οργανισμού. Πρόσθετα κέντρα κόστους και διευθύνσεις μπορούν να προστεθούν μετά τη δημιουργία του οργανισμού.", "store/b2b-organizations.request-new-organization.default-cost-center.title": "Προεπιλεγμένο κέντρο κόστους", - "store/b2b-organizations.request-new-organization.email.label": "Διεύθυνση ηλεκτρονικού ταχυδρομείου-email", + "store/b2b-organizations.request-new-organization.email.label": "Email", "store/b2b-organizations.request-new-organization.first-name.label": "Όνομα", "store/b2b-organizations.request-new-organization.helpText": "Παρακαλούμε συμπληρώστε την παρακάτω φόρμα για να ζητήσετε τη δημιουργία νέου οργανισμού.", "store/b2b-organizations.request-new-organization.last-name.label": "Επώνυμο", @@ -385,7 +385,7 @@ "store/b2b-organizations.stop-impersonation-error": "Σφάλμα κατά τη διακοπή της προσωποποίησης. Δείτε την κονσόλα για λεπτομέρειες.", "store/b2b-organizations.stop-impersonation": "Διακοπή προσωποποίησης", "store/b2b-organizations.user-details.costCenter": "Κέντρο κόστους", - "store/b2b-organizations.user-details.email": "Διεύθυνση ηλεκτρονικού ταχυδρομείου-email", + "store/b2b-organizations.user-details.email": "Email", "store/b2b-organizations.user-details.name": "Όνομα", "store/b2b-organizations.user-details.organization": "Οργανισμός", "store/b2b-organizations.user-details.placeholder-costCenter": "Επιλογή κέντρου κόστους", diff --git a/messages/en.json b/messages/en.json index 9c0b7b20..517a2d2d 100644 --- a/messages/en.json +++ b/messages/en.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Drag and drop file", "admin/b2b-organizations.bulk-import.upload.filesType": "File type", "admin/b2b-organizations.bulk-import.upload.maxSize": "Max size", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX File Template or see our best practices guide.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Unknown", "admin/b2b-organizations.bulk-import.upload.upload": "Upload", "admin/b2b-organizations.bulk-import.upload.uploading": "Uploading and validating file...", diff --git a/messages/es.json b/messages/es.json index 878d8e98..2e79b8fc 100644 --- a/messages/es.json +++ b/messages/es.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Arrastrar y soltar archivo", "admin/b2b-organizations.bulk-import.upload.filesType": "Tipo de archivo", "admin/b2b-organizations.bulk-import.upload.maxSize": "Tamaño máximo", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "¿Necesitas ayuda? Descarga este archivo de plantilla VTEX o consulta nuestra guía de mejores prácticas.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Desconocido", "admin/b2b-organizations.bulk-import.upload.upload": "Cargar", "admin/b2b-organizations.bulk-import.upload.uploading": "Cargando y validando archivo...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "¿Necesitas ayuda?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Consulta nuestra Guía de mejores prácticas de importación", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Descargar XLSX revisado", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permiso requerido", "admin/b2b-organizations.bulk-import.import.errorMessage": "Se produjo un error al importar. Por favor, vuelve a intentarlo.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nombre de la organización", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Usuario admin", diff --git a/messages/fi.json b/messages/fi.json index 51f16923..6669274e 100644 --- a/messages/fi.json +++ b/messages/fi.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Vedä ja pudota tiedosto", "admin/b2b-organizations.bulk-import.upload.filesType": "Tiedostotyyppi", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maksimikoko", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Tarvitsetko apua? Lataa VTEX-mallitiedosto tai katso parhaiden käytäntöjen oppaamme.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Tuntematon", "admin/b2b-organizations.bulk-import.upload.upload": "Lähetä", "admin/b2b-organizations.bulk-import.upload.uploading": "Lähetetään ja vahvistetaan tiedostoa...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Tarvitsetko apua?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Tutustu parhaiden käytäntöjen tuontioppaaseen", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Lataa tarkistettu XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Käyttöoikeus tarvitaan", "admin/b2b-organizations.bulk-import.import.errorMessage": "Jokin meni pieleen tuonnissa. Yritä uudelleen.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Organisaation nimi", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Järjestelmänvalvojakäyttäjä", diff --git a/messages/fr.json b/messages/fr.json index f3b97819..5b272b9c 100644 --- a/messages/fr.json +++ b/messages/fr.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Glisser et déposer le fichier", "admin/b2b-organizations.bulk-import.upload.filesType": "Type de fichier", "admin/b2b-organizations.bulk-import.upload.maxSize": "Taille maximale", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Besoin d'aide ? Téléchargez le modèle de fichier VTEX ou consultez notre guide de bonnes pratiques.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Inconnu", "admin/b2b-organizations.bulk-import.upload.upload": "Télécharger", "admin/b2b-organizations.bulk-import.upload.uploading": "Téléchargement et validation du fichier...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Besoin d’aide ?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Consultez notre guide d'importation des meilleures pratiques", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Téléchargez le XLSX révisé", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Autorisation requise", "admin/b2b-organizations.bulk-import.import.errorMessage": "Une erreur est survenue avec l'importation. Veuillez réessayer.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nom de l’organisation", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Administrateur", diff --git a/messages/id.json b/messages/id.json index 11d174e0..ac5fa278 100644 --- a/messages/id.json +++ b/messages/id.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Seret dan jatuhkan file", "admin/b2b-organizations.bulk-import.upload.filesType": "Jenis file", "admin/b2b-organizations.bulk-import.upload.maxSize": "Ukuran maks", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Butuh bantuan? Unduh Templat File VTEX atau lihat panduan praktik terbaik.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Tidak diketahui", "admin/b2b-organizations.bulk-import.upload.upload": "Unggah", "admin/b2b-organizations.bulk-import.upload.uploading": "Mengunggah dan memvalidasi file...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Butuh bantuan?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Lihat Panduan Praktik Impor Terbaik kami", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Unduh Ulasan XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Izin diperlukan", "admin/b2b-organizations.bulk-import.import.errorMessage": "Ada yang tidak beres pada impor. Silakan coba lagi.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nama Organisasi", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Pengguna Admin", diff --git a/messages/it.json b/messages/it.json index 99fbc357..b4992f2a 100644 --- a/messages/it.json +++ b/messages/it.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Trascina e rilascia file", "admin/b2b-organizations.bulk-import.upload.filesType": "Tipo di file", "admin/b2b-organizations.bulk-import.upload.maxSize": "Dimensione massima", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Hai bisogno di aiuto? Scarica il modello di file VTEX oppure consulta la nostra guida sulle procedure consigliate.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Sconosciuto", "admin/b2b-organizations.bulk-import.upload.upload": "Carica", "admin/b2b-organizations.bulk-import.upload.uploading": "Caricamento e convalida file in corso...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Hai bisogno di una mano?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Consulta la nostra guida sulle procedure di importazione consigliate", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Scarica il file XLSX revisionato", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Serve la tua autorizzazione", "admin/b2b-organizations.bulk-import.import.errorMessage": "Si è verificato un errore durante l'importazione. Riprova.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nome organizzazione", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Utente admin", diff --git a/messages/ja.json b/messages/ja.json index 4e810e81..e1f99ea5 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "ファイルをドラッグ&ドロップ", "admin/b2b-organizations.bulk-import.upload.filesType": "ファイル形式", "admin/b2b-organizations.bulk-import.upload.maxSize": "最大サイズ", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "お困りですか? VTEX ファイルテンプレート をダウンロードするか、 ベストプラクティスガイドを参照してください。", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "不明", "admin/b2b-organizations.bulk-import.upload.upload": "アップロードする", "admin/b2b-organizations.bulk-import.upload.uploading": "ファイルのアップロードと検証中です", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "ヘルプが必要ですか?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "ベストプラクティスインポートガイドをご覧ください", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "レビュー済みの XLSX をダウンロードする", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "権限が必要です", "admin/b2b-organizations.bulk-import.import.errorMessage": "インポート時にエラーが発生しました。もう一度やり直してください。", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "組織名", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "管理者ユーザー", diff --git a/messages/ko.json b/messages/ko.json index 6bb843fe..c4998353 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "파일 끌어서 놓기", "admin/b2b-organizations.bulk-import.upload.filesType": "파일 유형", "admin/b2b-organizations.bulk-import.upload.maxSize": "최대 크기", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "도움이 필요하세요? VTEX 파일 템플릿 을 다운로드하거나 모범 사례 가이드를 참조하세요.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "알 수 없음", "admin/b2b-organizations.bulk-import.upload.upload": "업로드", "admin/b2b-organizations.bulk-import.upload.uploading": "파일 업로드 및 유효성 검사...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "도움이 필요하신가요?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "모범 사례 가져오기 가이드 확인", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "검토된 XLSX 다운로드", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "권한 필요", "admin/b2b-organizations.bulk-import.import.errorMessage": "가져오기에 문제가 발생했습니다. 다시 시도해 주세요.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "조직명", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "관리 사용자", diff --git a/messages/nl.json b/messages/nl.json index ade96c4b..1e2f9a92 100644 --- a/messages/nl.json +++ b/messages/nl.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Bestand slepen en neerzetten", "admin/b2b-organizations.bulk-import.upload.filesType": "Bestandstype", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maximale grootte", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Hulp nodig? Download het VTEX-bestandssjabloon of bekijk onze gids voor best practices.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Onbekend", "admin/b2b-organizations.bulk-import.upload.upload": "Upload", "admin/b2b-organizations.bulk-import.upload.uploading": "Bestand uploaden en valideren...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Hulp nodig?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Bekijk onze importgids voor beste praktijken", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Herzien XLSX downloaden", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Toestemming vereist", "admin/b2b-organizations.bulk-import.import.errorMessage": "Er is iets misgegaan bij het importeren. Probeer het opnieuw.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Naam organisatie", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Admin gebruiker", diff --git a/messages/no.json b/messages/no.json index ccbabe34..f8dc5816 100644 --- a/messages/no.json +++ b/messages/no.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Dra-og-slipp-fil", "admin/b2b-organizations.bulk-import.upload.filesType": "Filtype", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maks størrelse", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Trenger du hjelp? Last ned VTEX File Template eller se vår beste praksisveiledning.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Ukjent", "admin/b2b-organizations.bulk-import.upload.upload": "Last opp", "admin/b2b-organizations.bulk-import.upload.uploading": "Laster opp og godkjenner fil...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Trenger du hjelp?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Ta en titt på veiledningen vår for de beste importløsningene", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Last ned revidert XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Tilladelse påkrævet", "admin/b2b-organizations.bulk-import.import.errorMessage": "Noe gikk galt med importen, prøv igjen.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Organisasjonsnavn", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Administratorbruker", diff --git a/messages/pl.json b/messages/pl.json index f2f005f2..d37de085 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Przeciągnij i upuść plik", "admin/b2b-organizations.bulk-import.upload.filesType": "Rodzaj pliku", "admin/b2b-organizations.bulk-import.upload.maxSize": "Rozmiar maksymalny", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Potrzebujesz pomocy? Pobierz szablon pliku VTEX lub zapoznaj się z naszym przewodnikiem po najlepszych praktykach.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Nieznany", "admin/b2b-organizations.bulk-import.upload.upload": "Prześlij", "admin/b2b-organizations.bulk-import.upload.uploading": "Przesyłanie i sprawdzanie pliku...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Potrzebujesz pomocy?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Sprawdź nasz Przewodnik po najlepszych praktykach dotyczących importu", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Pobierz sprawdzony plik XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Wymagane uprawnienia", "admin/b2b-organizations.bulk-import.import.errorMessage": "Coś poszło nie tak z importem. Spróbuj ponownie.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nazwa organizacji", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Użytkownik admin", diff --git a/messages/pt.json b/messages/pt.json index c4f4df87..7ef28a5d 100644 --- a/messages/pt.json +++ b/messages/pt.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Arraste e solte o arquivo", "admin/b2b-organizations.bulk-import.upload.filesType": "Tipo de arquivo", "admin/b2b-organizations.bulk-import.upload.maxSize": "Tamanho máximo", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Precisa de ajuda? Faça o download do modelo de arquivo VTEX ou consulte nosso guia de melhores práticas.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Desconhecido", "admin/b2b-organizations.bulk-import.upload.upload": "Enviar", "admin/b2b-organizations.bulk-import.upload.uploading": "Enviando e validando o arquivo...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": " Precisa de ajuda?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Consulte nosso Guia de melhores práticas de importação", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Baixar XLSX revisado", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permissão necessária", "admin/b2b-organizations.bulk-import.import.errorMessage": "Algo deu errado durante a importação. Tente novamente.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Nome da organização", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Usuário Admin", diff --git a/messages/ro.json b/messages/ro.json index d36ae310..d6f3aea9 100644 --- a/messages/ro.json +++ b/messages/ro.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Încarcă fișierul cu ajutorul funcției de drag and drop", "admin/b2b-organizations.bulk-import.upload.filesType": "Tip fișier", "admin/b2b-organizations.bulk-import.upload.maxSize": "Dimensiune maximă", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Ai nevoie de ajutor? Descarcă Template-ul de fișier VTEX sau consultă ghidul nostru de bune practici .", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Necunoscut", "admin/b2b-organizations.bulk-import.upload.upload": "Încarcă", "admin/b2b-organizations.bulk-import.upload.uploading": "Se încarcă și se validează fișierul...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Ai nevoie de ajutor?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Consultă Ghidul nostru de bune practici privind importul", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Descarcă fișierul XLSX revizuit", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Este necesară permisiunea", "admin/b2b-organizations.bulk-import.import.errorMessage": "Ceva nu a mers bine la import. Te rugăm să încerci din nou.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Numele organizației", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Utilizator Administrator", diff --git a/messages/ru.json b/messages/ru.json index 117137ef..04fdeb81 100644 --- a/messages/ru.json +++ b/messages/ru.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Перетяните файл сюда", "admin/b2b-organizations.bulk-import.upload.filesType": "Тип файла", "admin/b2b-organizations.bulk-import.upload.maxSize": "Максимальный размер", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Нужна помощь? Скачайте VTEX File Template или ознакомьтесь с нашим руководством.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Неизвестно", "admin/b2b-organizations.bulk-import.upload.upload": "Загрузить", "admin/b2b-organizations.bulk-import.upload.uploading": "Загрузка и проверка файла...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Нужна помощь?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Ознакомьтесь с нашим руководством по импортированию", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Скачать проверенный XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Требуется разрешение", "admin/b2b-organizations.bulk-import.import.errorMessage": "Сбой импортирования. Повторите попытку.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Название организации", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Администратор", diff --git a/messages/sk.json b/messages/sk.json index d151eb95..f3ea821a 100644 --- a/messages/sk.json +++ b/messages/sk.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Presuňte súbory potiahnutím", "admin/b2b-organizations.bulk-import.upload.filesType": "Typ súboru", "admin/b2b-organizations.bulk-import.upload.maxSize": "Maximálna veľkosť", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Potrebujete pomoc? Stiahnite si šablónu súboru VTEX alebo si pozrite nášho sprievodcu osvedčenými postupmi.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Neznáme", "admin/b2b-organizations.bulk-import.upload.upload": "Nahrať", "admin/b2b-organizations.bulk-import.upload.uploading": "Nahrávanie a overovanie súborov...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Potrebujete pomoc?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Pozrite si nášho sprievodcu osvedčenými postupmi importovania", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Stiahnuť skontrolovaný súbor XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Vyžaduje sa povolenie", "admin/b2b-organizations.bulk-import.import.errorMessage": "Pri importe sa vyskytla chyba. Skúste to znova.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Názov organizácie", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Správca používateľa", diff --git a/messages/sl.json b/messages/sl.json index e210d694..5ad94609 100644 --- a/messages/sl.json +++ b/messages/sl.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Povlecite in spustite datoteko", "admin/b2b-organizations.bulk-import.upload.filesType": "Vrsta datoteke", "admin/b2b-organizations.bulk-import.upload.maxSize": "Največja velikost", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Potrebujete pomoč? Prenesite datoteko predloge VTEX ali si oglejte naš vodnik po najboljših praksah.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Neznano", "admin/b2b-organizations.bulk-import.upload.upload": "Naloži", "admin/b2b-organizations.bulk-import.upload.uploading": "Nalaganje in preverjanje datoteke...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Potrebujete pomoč?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Oglejte si naš Vodnik po najboljših praksah za uvoz", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Prenesite pregledano XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Potrebno je dovoljenje", "admin/b2b-organizations.bulk-import.import.errorMessage": "Pri uvozu je šlo nekaj narobe. Poskusite znova.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Ime organizacije", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Skrbniški uporabnik", diff --git a/messages/sv.json b/messages/sv.json index 13ea0c98..3f1bb946 100644 --- a/messages/sv.json +++ b/messages/sv.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Drag 'n Drop fil", "admin/b2b-organizations.bulk-import.upload.filesType": "Filtyp", "admin/b2b-organizations.bulk-import.upload.maxSize": "Max storlek", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Behöver du hjälp? Ladda ner VTEX-filmallen eller se vår bästa praxis-guide.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Unknown", "admin/b2b-organizations.bulk-import.upload.upload": "Ladda Upp", "admin/b2b-organizations.bulk-import.upload.uploading": "Laddar upp och validerar fil...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Behöver du hjälp?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Kolla in vår Importguide för bästa praxis", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Ladda ner granskad XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Tillstånd krävs", "admin/b2b-organizations.bulk-import.import.errorMessage": "Något gick fel med importen. Försök igen, tack.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Företagsnamn", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Administratör", diff --git a/messages/th.json b/messages/th.json index b1425e23..a0d64130 100644 --- a/messages/th.json +++ b/messages/th.json @@ -2,6 +2,64 @@ "admin/b2b-organizations.autocomplete-searching": "ค้นหาองค์กร", "admin/b2b-organizations.b2b-organizations.navigation.label": "องค์กร B2B และศูนย์ต้นทุน", "admin/b2b-organizations.back": "กลับ", + "admin/b2b-organizations.bulk-import.import.done": "เสร็จสิ้น", + "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "ดาวน์โหลด XLSX ที่ตรวจสอบแล้ว", + "admin/b2b-organizations.bulk-import.import.errorMessage": "มีบางอย่างผิดปกติกับการนำเข้า โปรดลองอีกครั้ง", + "admin/b2b-organizations.bulk-import.import.fileExtensionError": "ขออภัย ไม่รองรับรูปแบบไฟล์ที่เลือก", + "admin/b2b-organizations.bulk-import.import.fileSizeError": "ขออภัย ขนาดไฟล์ใหญ่เกินไป", + "admin/b2b-organizations.bulk-import.import.importDetails": "ดูรายละเอียดการนำเข้า", + "admin/b2b-organizations.bulk-import.import.importError": "มีข้อผิดพลาดการนำเข้า {fileName}", + "admin/b2b-organizations.bulk-import.import.importErrorReportTitle": "องค์กรผู้ซื้อ {count} รายการไม่ถูกนำเข้าเพราะพบข้อผิดพลาด", + "admin/b2b-organizations.bulk-import.import.importErrorTryAgain": "ลองอีกครั้ง", + "admin/b2b-organizations.bulk-import.import.importing": "การนำเข้า", + "admin/b2b-organizations.bulk-import.import.importProgress": "{completed} จาก {total}", + "admin/b2b-organizations.bulk-import.import.importReportErrorTab": "({count}) รายการไม่ถูกนำเข้า", + "admin/b2b-organizations.bulk-import.import.importReportGenericError": "การนำเข้าถูกขัดจังหวะ มีองค์กรผู้ซื้อ {count} รายการที่ไม่ถูกนำเข้า โปรดตรวจสอบไฟล์ของคุณและอัปโหลดอีกครั้ง หากต้องการความช่วยเหลือให้ดูคู่มือการปฏิบัติที่ดีที่สุดของเรา", + "admin/b2b-organizations.bulk-import.import.importReportSuccessTab": "นำเข้าเรียบร้อยแล้ว({count})", + "admin/b2b-organizations.bulk-import.import.importReportTabTitle": "รายงาน", + "admin/b2b-organizations.bulk-import.import.importReportTitle": "รายงานการนำเข้าองค์กรผู้ซื้อ", + "admin/b2b-organizations.bulk-import.import.importSuccess": "นำเข้า {fileName} เรียบร้อยแล้ว", + "admin/b2b-organizations.bulk-import.import.importSuccessReportTitle": "นำเข้าองค์กรผู้ซื้อ {count} รายการเรียบร้อยแล้ว", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "ต้องได้รับอนุญาต", + "admin/b2b-organizations.bulk-import.import.reportInformationDescription": "อัปโหลดไฟล์ {fileName} โดย {userName} เมื่อ {uploadDate}", + "admin/b2b-organizations.bulk-import.import.reportInformationImportFailed": "นำเข้าไม่สำเร็จ", + "admin/b2b-organizations.bulk-import.import.reportInformationImportSuccessFully": "นำเข้าเรียบร้อยแล้ว", + "admin/b2b-organizations.bulk-import.import.reportInformationInitialImport": "ดาวน์โหลดไฟล์ reviewed.xlsx เพื่อแสดงการแจง\nรายละเอียดทั้งหมด ไฟล์นี้จะแสดงสถานะของแต่ละแถว — สีเขียวคือสำเร็จ สีแดงคือไม่สำเร็จ จะมีการแสดงข้อผิดพลาดและรายละเอียดไว้ให้ในคอลัมน์ข้อผิดพลาดสุดท้ายของแต่ละแท็บตามที่สมควร", + "admin/b2b-organizations.bulk-import.import.reportInformationInitialUpload": "ดาวน์โหลดไฟล์ reviewed.xlsx เพื่อจัดการข้อผิดพลาด ไฟล์นี้แสดงสถานะของแต่ละแถว — สีเขียวคือสำเร็จ สีแดงคือไม่สำเร็จ จะมีการแสดงข้อผิดพลาดและรายละเอียดไว้ให้ในคอลัมน์ข้อผิดพลาดสุดท้ายของแต่ละแท็บตามที่สมควร", + "admin/b2b-organizations.bulk-import.import.reportInformationListTotal": "ยอดรวม", + "admin/b2b-organizations.bulk-import.import.reportInformationNextSteps": "ขั้นตอนถัดไปเพื่อจัดการข้อผิดพลาด:", + "admin/b2b-organizations.bulk-import.import.reportInformationStep1": "1. เลือกดูแถวสีแดงในรายงาน", + "admin/b2b-organizations.bulk-import.import.reportInformationStep2": "2. แก้ไขปัญหา", + "admin/b2b-organizations.bulk-import.import.reportInformationStep3Import": "3. อัปโหลดไฟล์ของคุณอีกครั้งโดยใช้เครื่องมือนำเข้าแบบกลุ่ม", + "admin/b2b-organizations.bulk-import.import.reportInformationStep3Upload": "3. อัปโหลดอีกครั้งเฉพาะแถวที่แก้ไขโดยใช้เครื่องมือนำเข้าแบบกลุ่ม", + "admin/b2b-organizations.bulk-import.import.reportInformationStep4": "4. พึงแน่ใจว่าคุณใช้รูปแบบ แม่แบบของไฟล์ VTEX หากต้องการความช่วยเหลือ โปรดดูคู่มือการนำเข้าที่ดีที่สุดของเรา", + "admin/b2b-organizations.bulk-import.import.reportInformationStep4Filename": "แม่แบบของไฟล์ VTEX", + "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "โปรดดูคู่มือการนำเข้าที่ดีที่สุดของเรา", + "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "ต้องการความช่วยเหลือหรือไม่", + "admin/b2b-organizations.bulk-import.import.reportInformationTitle": "นำเข้าแล้ว {fullPercentage}%", + "admin/b2b-organizations.bulk-import.import.reportScreenDescription": "ไฟล์ {fileName}", + "admin/b2b-organizations.bulk-import.import.reportScreenLabel": "รวมข้อผิดพลาด", + "admin/b2b-organizations.bulk-import.import.reportScreenSuccessCount": "องค์กรผู้ซื้อ {successCount} รายการ", + "admin/b2b-organizations.bulk-import.import.reportScreenTitle": "พบข้อผิดพลาด {errorCount} แห่งในไฟล์นี้", + "admin/b2b-organizations.bulk-import.upload.back": "ย้อนกลับ", + "admin/b2b-organizations.bulk-import.upload.close": "ปิด", + "admin/b2b-organizations.bulk-import.upload.dragDrop": "ลากและวางไฟล์", + "admin/b2b-organizations.bulk-import.upload.filesType": "ชนิดไฟล์", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "ต้องการความช่วยเหลือ ใช่หรือไม่ ให้ดาวน์โหลด ไฟล์เทมเพลต VTEX หรือดู แนวทางปฏิบัติที่ดีที่สุดของเรา", + "admin/b2b-organizations.bulk-import.upload.maxSize": "ขนาดสูงสุด", + "admin/b2b-organizations.bulk-import.upload.unknownRowName": "ไม่ทราบ", + "admin/b2b-organizations.bulk-import.upload.upload": "อัปโหลด", + "admin/b2b-organizations.bulk-import.upload.uploadErrorCount": "พบข้อผิดพลาด {count} รายการ", + "admin/b2b-organizations.bulk-import.upload.uploadErrorReport": "รายงานข้อผิดพลาดในไฟล์", + "admin/b2b-organizations.bulk-import.upload.uploadErrorReportMessage": "เราพบข้อผิดพลาด {count} แห่งในไฟล์นี้ โปรดแก้ไขและอัปโหลดไฟล์อีกครั้ง", + "admin/b2b-organizations.bulk-import.upload.uploadFinish": "นำเข้า", + "admin/b2b-organizations.bulk-import.upload.uploadGeneralFailure": "เกิดข้อผิดพลาดไม่คาดคิด", + "admin/b2b-organizations.bulk-import.upload.uploading": "กำลังอัปโหลดและตรวจสอบความถูกต้องของไฟล์...", + "admin/b2b-organizations.bulk-import.upload.uploadMultipleErrors": "พบข้อผิดพลาดในไฟล์", + "admin/b2b-organizations.bulk-import.upload.uploadSuccess": "เสร็จแล้ว! ไฟล์ของคุณพร้อมสำหรับการนำเข้า", + "admin/b2b-organizations.bulk-import.upload.uploadSuccessItems": "องค์กรผู้ซื้อ {count} รายการ", + "admin/b2b-organizations.bulk-import.upload.uploadTitle": "นำเข้าแบบกลุ่มสำหรับข้อมูลองค์กรผู้ซื้อ", + "admin/b2b-organizations.bulk-import.upload.uploadViewReport": "ดูรายงาน", "admin/b2b-organizations.check-it-out": "ตรวจสอบดู", "admin/b2b-organizations.costCenter-details.address.delete": "ลบ", "admin/b2b-organizations.costCenter-details.address.edit": "แก้ไข", @@ -98,130 +156,41 @@ "admin/b2b-organizations.organization-request-admin.customFields.type": "ประเภท", "admin/b2b-organizations.organization-request-admin.customFields.value": "ค่า", "admin/b2b-organizations.organization-request-admin.customFields": "ฟิลด์กำหนดเอง", - "admin/b2b-organizations.bulk-import.upload.back": "ย้อนกลับ", - "admin/b2b-organizations.bulk-import.upload.close": "ปิด", - "admin/b2b-organizations.bulk-import.upload.dragDrop": "ลากและวางไฟล์", - "admin/b2b-organizations.bulk-import.upload.filesType": "ชนิดไฟล์", - "admin/b2b-organizations.bulk-import.upload.maxSize": "ขนาดสูงสุด", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", - "admin/b2b-organizations.bulk-import.upload.unknownRowName": "ไม่ทราบ", - "admin/b2b-organizations.bulk-import.upload.upload": "อัปโหลด", - "admin/b2b-organizations.bulk-import.upload.uploading": "กำลังอัปโหลดและตรวจสอบความถูกต้องของไฟล์...", - "admin/b2b-organizations.bulk-import.upload.uploadErrorCount": "พบข้อผิดพลาด {count} รายการ", - "admin/b2b-organizations.bulk-import.upload.uploadErrorReport": "รายงานข้อผิดพลาดในไฟล์", - "admin/b2b-organizations.bulk-import.upload.uploadErrorReportMessage": "เราพบข้อผิดพลาด {count} แห่งในไฟล์นี้ โปรดแก้ไขและอัปโหลดไฟล์อีกครั้ง", - "admin/b2b-organizations.bulk-import.upload.uploadFinish": "นำเข้า", - "admin/b2b-organizations.bulk-import.upload.uploadGeneralFailure": "เกิดข้อผิดพลาดไม่คาดคิด", - "admin/b2b-organizations.bulk-import.upload.uploadMultipleErrors": "พบข้อผิดพลาดในไฟล์", - "admin/b2b-organizations.bulk-import.upload.uploadSuccess": "เสร็จแล้ว! ไฟล์ของคุณพร้อมสำหรับการนำเข้า", - "admin/b2b-organizations.bulk-import.upload.uploadSuccessItems": "องค์กรผู้ซื้อ {count} รายการ", - "admin/b2b-organizations.bulk-import.upload.uploadTitle": "นำเข้าแบบกลุ่มสำหรับข้อมูลองค์กรผู้ซื้อ", - "admin/b2b-organizations.bulk-import.upload.uploadViewReport": "ดูรายงาน", - "admin/b2b-organizations.bulk-import.import.done": "เสร็จสิ้น", - "admin/b2b-organizations.bulk-import.import.importing": "การนำเข้า", - "admin/b2b-organizations.bulk-import.import.importError": "มีข้อผิดพลาดการนำเข้า {fileName}", - "admin/b2b-organizations.bulk-import.import.importErrorReportTitle": "องค์กรผู้ซื้อ {count} รายการไม่ถูกนำเข้าเพราะพบข้อผิดพลาด", - "admin/b2b-organizations.bulk-import.import.importProgress": "{completed} จาก {total}", - "admin/b2b-organizations.bulk-import.import.importReportErrorTab": "({count}) รายการไม่ถูกนำเข้า", - "admin/b2b-organizations.bulk-import.import.importReportGenericError": "การนำเข้าถูกขัดจังหวะ มีองค์กรผู้ซื้อ {count} รายการที่ไม่ถูกนำเข้า โปรดตรวจสอบไฟล์ของคุณและอัปโหลดอีกครั้ง หากต้องการความช่วยเหลือให้ดูคู่มือการปฏิบัติที่ดีที่สุดของเรา", - "admin/b2b-organizations.bulk-import.import.importReportSuccessTab": "นำเข้าเรียบร้อยแล้ว({count})", - "admin/b2b-organizations.bulk-import.import.importReportTitle": "รายงานการนำเข้าองค์กรผู้ซื้อ", - "admin/b2b-organizations.bulk-import.import.importReportTabTitle": "รายงาน", - "admin/b2b-organizations.bulk-import.import.importSuccess": "นำเข้า {fileName} เรียบร้อยแล้ว", - "admin/b2b-organizations.bulk-import.import.importSuccessReportTitle": "นำเข้าองค์กรผู้ซื้อ {count} รายการเรียบร้อยแล้ว", - "admin/b2b-organizations.bulk-import.import.importDetails": "ดูรายละเอียดการนำเข้า", - "admin/b2b-organizations.bulk-import.import.fileExtensionError": "ขออภัย ไม่รองรับรูปแบบไฟล์ที่เลือก", - "admin/b2b-organizations.bulk-import.import.fileSizeError": "ขออภัย ขนาดไฟล์ใหญ่เกินไป", - "admin/b2b-organizations.bulk-import.import.importErrorTryAgain": "ลองอีกครั้ง", - "admin/b2b-organizations.bulk-import.import.reportInformationTitle": "นำเข้าแล้ว {fullPercentage}%", - "admin/b2b-organizations.bulk-import.import.reportInformationDescription": "อัปโหลดไฟล์ {fileName} โดย {userName} เมื่อ {uploadDate}", - "admin/b2b-organizations.bulk-import.import.reportInformationListTotal": "ยอดรวม", - "admin/b2b-organizations.bulk-import.import.reportInformationImportSuccessFully": "นำเข้าเรียบร้อยแล้ว", - "admin/b2b-organizations.bulk-import.import.reportInformationImportFailed": "นำเข้าไม่สำเร็จ", - "admin/b2b-organizations.bulk-import.import.reportScreenTitle": "พบข้อผิดพลาด {errorCount} แห่งในไฟล์นี้", - "admin/b2b-organizations.bulk-import.import.reportScreenDescription": "ไฟล์ {fileName}", - "admin/b2b-organizations.bulk-import.import.reportScreenLabel": "รวมข้อผิดพลาด", - "admin/b2b-organizations.bulk-import.import.reportScreenSuccessCount": "องค์กรผู้ซื้อ {successCount} รายการ", - "admin/b2b-organizations.bulk-import.import.reportInformationInitialUpload": "ดาวน์โหลดไฟล์ reviewed.xlsx เพื่อจัดการข้อผิดพลาด ไฟล์นี้แสดงสถานะของแต่ละแถว — สีเขียวคือสำเร็จ สีแดงคือไม่สำเร็จ จะมีการแสดงข้อผิดพลาดและรายละเอียดไว้ให้ในคอลัมน์ข้อผิดพลาดสุดท้ายของแต่ละแท็บตามที่สมควร", - "admin/b2b-organizations.bulk-import.import.reportInformationInitialImport": "ดาวน์โหลดไฟล์ reviewed.xlsx เพื่อแสดงการแจง\nรายละเอียดทั้งหมด ไฟล์นี้จะแสดงสถานะของแต่ละแถว — สีเขียวคือสำเร็จ สีแดงคือไม่สำเร็จ จะมีการแสดงข้อผิดพลาดและรายละเอียดไว้ให้ในคอลัมน์ข้อผิดพลาดสุดท้ายของแต่ละแท็บตามที่สมควร", - "admin/b2b-organizations.bulk-import.import.reportInformationNextSteps": "ขั้นตอนถัดไปเพื่อจัดการข้อผิดพลาด:", - "admin/b2b-organizations.bulk-import.import.reportInformationStep1": "1. เลือกดูแถวสีแดงในรายงาน", - "admin/b2b-organizations.bulk-import.import.reportInformationStep2": "2. แก้ไขปัญหา", - "admin/b2b-organizations.bulk-import.import.reportInformationStep3Upload": "3. อัปโหลดอีกครั้งเฉพาะแถวที่แก้ไขโดยใช้เครื่องมือนำเข้าแบบกลุ่ม", - "admin/b2b-organizations.bulk-import.import.reportInformationStep3Import": "3. อัปโหลดไฟล์ของคุณอีกครั้งโดยใช้เครื่องมือนำเข้าแบบกลุ่ม", - "admin/b2b-organizations.bulk-import.import.reportInformationStep4": "4. พึงแน่ใจว่าคุณใช้รูปแบบ แม่แบบของไฟล์ VTEX หากต้องการความช่วยเหลือ โปรดดูคู่มือการนำเข้าที่ดีที่สุดของเรา", - "admin/b2b-organizations.bulk-import.import.reportInformationStep4Filename": "แม่แบบของไฟล์ VTEX", - "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "ต้องการความช่วยเหลือหรือไม่", - "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "โปรดดูคู่มือการนำเข้าที่ดีที่สุดของเรา", - "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "ดาวน์โหลด XLSX ที่ตรวจสอบแล้ว", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", - "admin/b2b-organizations.bulk-import.import.errorMessage": "มีบางอย่างผิดปกติกับการนำเข้า โปรดลองอีกครั้ง", - "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "ชื่อองค์กร", + "admin/b2b-organizations.organization-request-details.add-note.charactersLeft": "{count, plural, =499{อักขระที่เหลือ}=500{ครบขีดจำกัดอักขระที่ 500 แล้ว}other{อักขระที่เหลือ}}", + "admin/b2b-organizations.organization-request-details.add-note.label": "เพิ่มบันทึก", + "admin/b2b-organizations.organization-request-details.b2b-customer-admin": "ผู้ใช้ที่จะเป็น Admin ลูกค้า B2B ขององค์กรนี้", + "admin/b2b-organizations.organization-request-details.button.approve": "อนุมัติ", + "admin/b2b-organizations.organization-request-details.button.decline": "ปฏิเสธ", + "admin/b2b-organizations.organization-request-details.created": "วันที่ขอ", + "admin/b2b-organizations.organization-request-details.default-cost-center.businessDocument": "เอกสารธุรกิจ: {businessDocument}", + "admin/b2b-organizations.organization-request-details.default-cost-center.phoneNumber": "โทร: {phoneNumber}", + "admin/b2b-organizations.organization-request-details.default-cost-center.stateRegistration": "การขึ้นทะเบียนกับรัฐ: {stateRegistration}", + "admin/b2b-organizations.organization-request-details.default-cost-center": "ค่าเริ่มต้นศูนย์ต้นทุน", + "admin/b2b-organizations.organization-request-details.empty-state": "ไม่พบคำขอองค์กร", + "admin/b2b-organizations.organization-request-details.organization-name": "ชื่อองค์กร", + "admin/b2b-organizations.organization-request-details.request-status": "สถานะ", + "admin/b2b-organizations.organization-request-details.title": "คำขอองค์กร", + "admin/b2b-organizations.organization-request-details.toast.created-success": "สร้างองค์กรเรียบร้อยแล้ว", + "admin/b2b-organizations.organization-request-details.toast.update-failure": "อัปเดตไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", + "admin/b2b-organizations.organization-request-details.toast.update-success": "อัปเดตคำขอองค์กรเรียบร้อยแล้ว", + "admin/b2b-organizations.organization-request-details.tradeName.helpText": "ให้ชื่อการค้าขององค์กร หากมี จะใช้ในการเช็คเอาต์ (ไม่บังคับ)", + "admin/b2b-organizations.organization-request-details.tradeName": "ชื่อการค้า", + "admin/b2b-organizations.organization-requests-admin.table.clearFilters.label": "ล้างตัวกรอง", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "ผู้ใช้ Admin", - "admin/b2b-organizations.organization-requests-admin.table.column-status.title": "สถานะ", "admin/b2b-organizations.organization-requests-admin.table.column-created.title": "วันที่ขอ", - "admin/b2b-organizations.organization-requests-admin.title": "คำขอองค์กร", + "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "ชื่อองค์กร", + "admin/b2b-organizations.organization-requests-admin.table.column-status.title": "สถานะ", "admin/b2b-organizations.organization-requests-admin.table.empty-state": "ไม่พบคำขอองค์กร", + "admin/b2b-organizations.organization-requests-admin.table.filters.all": "ทั้งหมด", + "admin/b2b-organizations.organization-requests-admin.table.filters.includes": "รวมถึง", + "admin/b2b-organizations.organization-requests-admin.table.filters.none": "ไม่มี", "admin/b2b-organizations.organization-requests-admin.table.search.placeholder": "ค้นหา", + "admin/b2b-organizations.organization-requests-admin.table.statusFilter.label": "สถานะ", + "admin/b2b-organizations.organization-requests-admin.table.toggleFields.hideAllLabel": "ซ่อนทั้งหมด", "admin/b2b-organizations.organization-requests-admin.table.toggleFields.label": "สลับฟิลด์ข้อมูลที่มองเห็นได้", "admin/b2b-organizations.organization-requests-admin.table.toggleFields.showAllLabel": "แสดงทั้งหมด", - "admin/b2b-organizations.organization-requests-admin.table.toggleFields.hideAllLabel": "ซ่อนทั้งหมด", - "admin/b2b-organizations.organization-requests-admin.table.clearFilters.label": "ล้างตัวกรอง", - "admin/b2b-organizations.organization-requests-admin.table.statusFilter.label": "สถานะ", - "admin/b2b-organizations.organization-requests-admin.table.filters.all": "ทั้งหมด", - "admin/b2b-organizations.organization-requests-admin.table.filters.none": "ไม่มี", - "admin/b2b-organizations.organization-requests-admin.table.filters.includes": "รวมถึง", "admin/b2b-organizations.organization-requests-admin.table.view.label": "ดู", - "admin/b2b-organizations.organization-settings-admin.title": "การตั้งค่า", - "admin/b2b-organizations.organization-settings-select.binding.title": "การผูกข้อมูล", - "admin/b2b-organizations.organization-settings-select.binding.available": "การผูกข้อมูลที่มี", - "admin/b2b-organizations.organization-settings-select.binding.selected": "การผูกข้อมูลที่เลือก", - "admin/b2b-organizations.organization-settings-select.toast.update-success": "อัปเดตการผูกข้อมูลเรียบร้อยแล้ว", - "admin/b2b-organizations.organization-settings-select.toast.update-failure": "อัปเดตการผูกข้อมูลไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", - "admin/b2b-organizations.organization-settings-select.remove-from-binding": "ลบออกจากการผูกข้อมูล", - "admin/b2b-organizations.organization-settings-select.add-to-binding": "เพิ่่มเข้าในการผูกข้อมูล", - "admin/b2b-organizations.organization-settings-autoApprove": "อนุมัติองค์กรใหม่โดยอัตโนมัติ", - "admin/b2b-organizations.organization-settings-showModal": "ใช้ Modal เพื่อสลับบริษัท", - "admin/b2b-organizations.organization-settings-clearCart": "เคลียร์ล้อเข็นเมื่อเปลี่ยนบริษัทหรือเข้าสู่ระบบ", - "admin/b2b-organizations.organizations-admin.table.column-name.title": "ชื่อ", - "admin/b2b-organizations.organizations-admin.table.column-status.title": "สถานะ", - "admin/b2b-organizations.organizations-admin.table.view.label": "ดู", - "admin/b2b-organizations.organizations-admin.add-single": "เพิ่มทีละรายการ", - "admin/b2b-organizations.organizations-admin.add-bulk": "นำเข้าแบบกลุ่ม", - "admin/b2b-organizations.organizations-admin.title": "องค์กร", - "admin/b2b-organizations.organizations-admin.button.refetch": "ดึงข้อมูลใหม่", - "admin/b2b-organizations.organizations-admin.table.empty-state": "ไม่พบองค์กร", - "admin/b2b-organizations.organizations-admin.table.search.placeholder": "ค้นหา", - "admin/b2b-organizations.organizations-admin.table.clearFilters.label": "ล้างตัวกรอง", - "admin/b2b-organizations.organizations-admin.table.statusFilter.label": "สถานะ", - "admin/b2b-organizations.organizations-admin.table.filters.all": "ทั้งหมด", - "admin/b2b-organizations.organizations-admin.table.filters.none": "ไม่มี", - "admin/b2b-organizations.organizations-admin.table.filters.includes": "รวมถึง", - "admin/b2b-organizations.organizations-admin.toast.add-organization-success": "สร้างองค์กรเรียบร้อยแล้ว", - "admin/b2b-organizations.organizations-admin.toast.add-organization-failure": "สร้างองค์กรไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", - "admin/b2b-organizations.organizations-admin.add-organization": "เพิ่มองค์กร", - "admin/b2b-organizations.organizations-admin.add-organization.organization-name": "ชื่อองค์กร", - "admin/b2b-organizations.organizations-admin.add-organization.default-costCenter.helpText": "ให้ค่าเริ่มต้นชื่อและที่อยู่สำหรับศูนย์ต้นทุน สามารถเพิ่มศูนย์ต้นทุนและที่อยู่ได้ในภายหลัง", - "admin/b2b-organizations.organizations-admin.add-organization.default-costCenter-name": "ชื่อศูนย์ต้นทุน", - "admin/b2b-organizations.organization-request-details.toast.created-success": "สร้างองค์กรเรียบร้อยแล้ว", - "admin/b2b-organizations.organization-request-details.toast.update-success": "อัปเดตคำขอองค์กรเรียบร้อยแล้ว", - "admin/b2b-organizations.organization-request-details.toast.update-failure": "อัปเดตไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", - "admin/b2b-organizations.organization-request-details.title": "คำขอองค์กร", - "admin/b2b-organizations.organization-request-details.empty-state": "ไม่พบคำขอองค์กร", - "admin/b2b-organizations.organization-request-details.request-status": "สถานะ", - "admin/b2b-organizations.organization-request-details.created": "วันที่ขอ", - "admin/b2b-organizations.organization-request-details.organization-name": "ชื่อองค์กร", - "admin/b2b-organizations.organization-request-details.tradeName": "ชื่อการค้า", - "admin/b2b-organizations.organization-request-details.tradeName.helpText": "ให้ชื่อการค้าขององค์กร หากมี จะใช้ในการเช็คเอาต์ (ไม่บังคับ)", - "admin/b2b-organizations.organization-request-details.b2b-customer-admin": "ผู้ใช้ที่จะเป็น Admin ลูกค้า B2B ขององค์กรนี้", - "admin/b2b-organizations.organization-request-details.default-cost-center": "ค่าเริ่มต้นศูนย์ต้นทุน", - "admin/b2b-organizations.organization-request-details.default-cost-center.phoneNumber": "โทร: {phoneNumber}", - "admin/b2b-organizations.organization-request-details.default-cost-center.stateRegistration": "การขึ้นทะเบียนกับรัฐ: {stateRegistration}", - "admin/b2b-organizations.organization-request-details.default-cost-center.businessDocument": "เอกสารธุรกิจ: {businessDocument}", - "admin/b2b-organizations.organization-request-details.add-note.label": "เพิ่มบันทึก", - "admin/b2b-organizations.organization-request-details.add-note.charactersLeft": "{count, plural, =499{อักขระที่เหลือ}=500{ครบขีดจำกัดอักขระที่ 500 แล้ว}other{อักขระที่เหลือ}}", - "admin/b2b-organizations.organization-request-details.button.approve": "อนุมัติ", - "admin/b2b-organizations.organization-request-details.button.decline": "ปฏิเสธ", + "admin/b2b-organizations.organization-requests-admin.title": "คำขอองค์กร", "admin/b2b-organizations.organization-requests.navigation.keywords": "b2b, องค์กร, ศูนย์ต้นทุน", "admin/b2b-organizations.organization-requests.navigation.label": "คำขอองค์กร", "admin/b2b-organizations.organization-settings-admin.autoApprove": "อนุมัติองค์กรใหม่อัตโนมัติ", @@ -233,8 +202,19 @@ "admin/b2b-organizations.organization-settings-admin.selectedPaymentsTableTitle": "วิธีการชำระที่เลือก", "admin/b2b-organizations.organization-settings-admin.selectedPriceTablesTitle": "ตารางราคาที่เลือก", "admin/b2b-organizations.organization-settings-admin.stateReadOnly": "ข้อมูลการลงทะเบียนกับรัฐเป็นแบบอ่านอย่างเดียว", + "admin/b2b-organizations.organization-settings-admin.title": "การตั้งค่า", "admin/b2b-organizations.organization-settings-admin.toast.update-failure": "อัปเดตไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", "admin/b2b-organizations.organization-settings-admin.toast.update-success": "อัปเดตการตั้งค่าเรียบร้อยแล้ว", + "admin/b2b-organizations.organization-settings-autoApprove": "อนุมัติองค์กรใหม่โดยอัตโนมัติ", + "admin/b2b-organizations.organization-settings-clearCart": "เคลียร์ล้อเข็นเมื่อเปลี่ยนบริษัทหรือเข้าสู่ระบบ", + "admin/b2b-organizations.organization-settings-select.add-to-binding": "เพิ่่มเข้าในการผูกข้อมูล", + "admin/b2b-organizations.organization-settings-select.binding.available": "การผูกข้อมูลที่มี", + "admin/b2b-organizations.organization-settings-select.binding.selected": "การผูกข้อมูลที่เลือก", + "admin/b2b-organizations.organization-settings-select.binding.title": "การผูกข้อมูล", + "admin/b2b-organizations.organization-settings-select.remove-from-binding": "ลบออกจากการผูกข้อมูล", + "admin/b2b-organizations.organization-settings-select.toast.update-failure": "อัปเดตการผูกข้อมูลไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", + "admin/b2b-organizations.organization-settings-select.toast.update-success": "อัปเดตการผูกข้อมูลเรียบร้อยแล้ว", + "admin/b2b-organizations.organization-settings-showModal": "ใช้ Modal เพื่อสลับบริษัท", "admin/b2b-organizations.organization-settings.navigation.label": "การตั้งค่า", "admin/b2b-organizations.organization-users.column.costCenter": "ศูนย์ต้นทุน", "admin/b2b-organizations.organization-users.column.email": "อีเมล", @@ -248,6 +228,26 @@ "admin/b2b-organizations.organization-users.toast.remove-success": "ลบผู้ใช้ออกจากองค์กรแล้ว", "admin/b2b-organizations.organization-users.toast.update-failure": "ไม่สามารถอัปเดตผู้ใช้ โปรดดูรายละเอียดในคอนโซล", "admin/b2b-organizations.organization-users.toast.update-success": "อัพเดตผู้ใช้เรียบร้อยแล้ว", + "admin/b2b-organizations.organizations-admin.add-bulk": "นำเข้าแบบกลุ่ม", + "admin/b2b-organizations.organizations-admin.add-organization.default-costCenter-name": "ชื่อศูนย์ต้นทุน", + "admin/b2b-organizations.organizations-admin.add-organization.default-costCenter.helpText": "ให้ค่าเริ่มต้นชื่อและที่อยู่สำหรับศูนย์ต้นทุน สามารถเพิ่มศูนย์ต้นทุนและที่อยู่ได้ในภายหลัง", + "admin/b2b-organizations.organizations-admin.add-organization.organization-name": "ชื่อองค์กร", + "admin/b2b-organizations.organizations-admin.add-organization": "เพิ่มองค์กร", + "admin/b2b-organizations.organizations-admin.add-single": "เพิ่มทีละรายการ", + "admin/b2b-organizations.organizations-admin.button.refetch": "ดึงข้อมูลใหม่", + "admin/b2b-organizations.organizations-admin.table.clearFilters.label": "ล้างตัวกรอง", + "admin/b2b-organizations.organizations-admin.table.column-name.title": "ชื่อ", + "admin/b2b-organizations.organizations-admin.table.column-status.title": "สถานะ", + "admin/b2b-organizations.organizations-admin.table.empty-state": "ไม่พบองค์กร", + "admin/b2b-organizations.organizations-admin.table.filters.all": "ทั้งหมด", + "admin/b2b-organizations.organizations-admin.table.filters.includes": "รวมถึง", + "admin/b2b-organizations.organizations-admin.table.filters.none": "ไม่มี", + "admin/b2b-organizations.organizations-admin.table.search.placeholder": "ค้นหา", + "admin/b2b-organizations.organizations-admin.table.statusFilter.label": "สถานะ", + "admin/b2b-organizations.organizations-admin.table.view.label": "ดู", + "admin/b2b-organizations.organizations-admin.title": "องค์กร", + "admin/b2b-organizations.organizations-admin.toast.add-organization-failure": "สร้างองค์กรไม่สำเร็จ โปรดดูรายละเอียดในคอนโซล", + "admin/b2b-organizations.organizations-admin.toast.add-organization-success": "สร้างองค์กรเรียบร้อยแล้ว", "admin/b2b-organizations.organizations.navigation.label": "องค์กร", "admin/b2b-organizations.selected-rows": "แถวที่เลือก: {qty}", "admin/b2b-organizations.showRows": "แสดงแถว", diff --git a/messages/uk.json b/messages/uk.json index b9231c1b..4fbd4cef 100644 --- a/messages/uk.json +++ b/messages/uk.json @@ -103,7 +103,7 @@ "admin/b2b-organizations.bulk-import.upload.dragDrop": "Перетягніть файл сюди", "admin/b2b-organizations.bulk-import.upload.filesType": "Тип файлу", "admin/b2b-organizations.bulk-import.upload.maxSize": "Максимальний розмір", - "admin/b2b-organizations.bulk-import.upload.helpLinks": "Need help? Download the VTEX file template or view our best practices guide.", + "admin/b2b-organizations.bulk-import.upload.helpLinks": "Потрібна допомога? Завантажте VTEX File Template або ознайомтеся з нашим посібником.", "admin/b2b-organizations.bulk-import.upload.unknownRowName": "Невідомо", "admin/b2b-organizations.bulk-import.upload.upload": "Завантажити", "admin/b2b-organizations.bulk-import.upload.uploading": "Завантаження та перевірка файлу...", @@ -154,7 +154,7 @@ "admin/b2b-organizations.bulk-import.import.reportInformationStep4NeedGuidance": "Потрібна допомога?", "admin/b2b-organizations.bulk-import.import.reportInformationStep4ImportGuide": "Ознайомтеся з нашим посібником з імпортування", "admin/b2b-organizations.bulk-import.import.downloadReviewedLink": "Завантажити перевірений XLSX", - "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Permission required", + "admin/b2b-organizations.bulk-import.import.permissionAlertTooltip": "Потрібен дозвіл", "admin/b2b-organizations.bulk-import.import.errorMessage": "Збій імпортування. Повторіть спробу.", "admin/b2b-organizations.organization-requests-admin.table.column-name.title": "Назва організації", "admin/b2b-organizations.organization-requests-admin.table.column-admin.title": "Адміністратор", diff --git a/react/admin/CostCenterDetails.tsx b/react/admin/CostCenterDetails.tsx index e5164c8a..89bc3984 100644 --- a/react/admin/CostCenterDetails.tsx +++ b/react/admin/CostCenterDetails.tsx @@ -305,6 +305,8 @@ const CostCenterDetails: FunctionComponent = () => { (item: any) => item.addressId === uid ) + setLoadingState(true) + let isDuplicatedError = false if (duplicated !== undefined) { @@ -333,6 +335,40 @@ const CostCenterDetails: FunctionComponent = () => { const newAddresses = [...addresses, newAddress] + const variables = { + id: params.id, + input: { + addresses: newAddresses + .sort(item => (item.checked ? -1 : 1)) + .map(item => { + return { + ...item, + checked: undefined, + } + }), + }, + } + + updateCostCenter({ variables }) + .then(() => { + showToast({ + variant: 'positive', + message: formatMessage(messages.toastUpdateSuccess), + }) + refetch() + handleSetAddresses(newAddresses) + setLoadingState(false) + handleCloseModals() + }) + .catch(error => { + console.error(error) + showToast({ + variant: 'critical', + message: formatMessage(messages.toastUpdateFailure), + }) + setLoadingState(false) + }) + setAddresses( newAddresses.map(item => { if (newAddressState.checked) { @@ -342,9 +378,6 @@ const CostCenterDetails: FunctionComponent = () => { return item }) ) - - setAddresses([...addresses, newAddress]) - handleCloseModals() } else { showToast({ variant: 'critical', @@ -386,8 +419,41 @@ const CostCenterDetails: FunctionComponent = () => { addressQuery: editAddressState.addressQuery.value, } - setAddresses(addressArray) - handleCloseModals() + setLoadingState(true) + + const variables = { + id: params.id, + input: { + addresses: addressArray + .sort(item => (item.checked ? -1 : 1)) + .map(item => { + return { + ...item, + checked: undefined, + } + }), + }, + } + + updateCostCenter({ variables }) + .then(() => { + showToast({ + variant: 'positive', + message: formatMessage(messages.toastUpdateSuccess), + }) + refetch() + handleSetAddresses(addressArray) + setLoadingState(false) + handleCloseModals() + }) + .catch(error => { + console.error(error) + showToast({ + variant: 'critical', + message: formatMessage(messages.toastUpdateFailure), + }) + setLoadingState(false) + }) } const handleDeleteAddress = () => { @@ -399,8 +465,40 @@ const CostCenterDetails: FunctionComponent = () => { ) addresses.splice(addressIndex, 1) - setAddresses(addressArray) - handleCloseModals() + + setLoadingState(true) + + const variables = { + id: params.id, + input: { + addresses: addresses.map(item => { + return { + ...item, + checked: undefined, + } + }), + }, + } + + updateCostCenter({ variables }) + .then(() => { + showToast({ + variant: 'positive', + message: formatMessage(messages.toastUpdateSuccess), + }) + refetch() + handleSetAddresses(addressArray) + setLoadingState(false) + handleCloseModals() + }) + .catch(error => { + console.error(error) + showToast({ + variant: 'critical', + message: formatMessage(messages.toastUpdateFailure), + }) + setLoadingState(false) + }) } const handleMarketingTags = (tagValue: string) => { diff --git a/react/components/CostCenterDetails.tsx b/react/components/CostCenterDetails.tsx index b79889a1..10a8b07a 100644 --- a/react/components/CostCenterDetails.tsx +++ b/react/components/CostCenterDetails.tsx @@ -1,5 +1,5 @@ import type { FunctionComponent } from 'react' -import React, { useEffect, useState, useContext } from 'react' +import React, { useEffect, useState, useContext, useCallback } from 'react' import { useQuery, useMutation, useLazyQuery } from 'react-apollo' import { Layout, @@ -137,9 +137,10 @@ const CostCenterDetails: FunctionComponent = ({ const { data: permissionsData } = useQuery(GET_PERMISSIONS, { ssr: false }) - const [updateCostCenter] = useMutation(UPDATE_COST_CENTER) const [deleteCostCenter] = useMutation(DELETE_COST_CENTER) + const [updateCostCenter] = useMutation(UPDATE_COST_CENTER) + const handleSetAddresses = (_addresses: Address[]) => { setAddresses( _addresses.map((item, index) => { @@ -231,9 +232,10 @@ const CostCenterDetails: FunctionComponent = ({ input: { name: costCenterName, addresses: _addresses.map(item => { - delete item.checked - - return item + return { + ...item, + checked: undefined, + } }), paymentTerms, phoneNumber, @@ -303,57 +305,88 @@ const CostCenterDetails: FunctionComponent = ({ setDeleteCostCenterModalState({ isOpen: true }) } - const handleAddNewAddress = (address: AddressFormFields) => { - const uid = setGUID(address) + const handleAddNewAddress = useCallback( + (address: AddressFormFields) => { + const uid = setGUID(address) - const duplicated = data?.getCostCenterByIdStorefront?.addresses?.find( - (item: any) => item.addressId === uid - ) + const duplicated = data?.getCostCenterByIdStorefront?.addresses?.find( + ({ addressId }: { addressId: string }) => addressId === uid + ) - let isDuplicatedError = false + let isDuplicatedError = false - if (duplicated !== undefined) { - isDuplicatedError = duplicated.postalCode === address.postalCode.value - } + if (duplicated !== undefined) { + isDuplicatedError = duplicated.postalCode === address.postalCode.value + } - if (!isDuplicatedError) { - const newAddress = { - addressId: uid, - addressType: address.addressType.value, - city: address.city.value, - complement: address.complement.value, - country: address.country.value, - receiverName: address.receiverName.value, - geoCoordinates: address.geoCoordinates.value, - neighborhood: address.neighborhood.value, - number: address.number.value, - postalCode: address.postalCode.value, - reference: address.reference.value, - state: address.state.value, - street: address.street.value, - addressQuery: address.addressQuery.value, - } as Address - - const newAddresses = [...addresses, newAddress] - - setAddresses( - newAddresses.map(item => { - if (address.checked) { - item.checked = item === newAddress - } + if (!isDuplicatedError) { + const newAddress = { + addressId: uid, + addressType: address.addressType.value, + city: address.city.value, + complement: address.complement.value, + country: address.country.value, + receiverName: address.receiverName.value, + geoCoordinates: address.geoCoordinates.value, + neighborhood: address.neighborhood.value, + number: address.number.value, + postalCode: address.postalCode.value, + reference: address.reference.value, + state: address.state.value, + street: address.street.value, + addressQuery: address.addressQuery.value, + } as Address + + const newAddresses = [...addresses, newAddress] + + const variables = { + id: params.id, + input: { + addresses: newAddresses.map(item => { + return { + ...item, + checked: undefined, + } + }), + }, + } + + setLoadingState(true) - return item + updateCostCenter({ + variables, }) - ) + .then(() => { + toastMessage(messages.toastUpdateSuccess) + refetch() - handleCloseModals() - } else { - showToast({ - variant: 'critical', - message: formatMessage(messages.duplicateAddress), - }) - } - } + setLoadingState(false) + handleCloseModals() + + setAddresses( + newAddresses.map(item => { + if (address.checked) { + item.checked = item === newAddress + } + + return item + }) + ) + }) + .catch(error => { + console.error(error) + toastMessage(messages.toastUpdateFailure) + setLoadingState(false) + }) + } else { + showToast({ + variant: 'critical', + message: formatMessage(messages.duplicateAddress), + }) + } + }, + [addresses] + ) const handleCheckDefault = (address: Address) => { setAddresses( @@ -390,11 +423,40 @@ const CostCenterDetails: FunctionComponent = ({ addressQuery: modifiedAddress.addressQuery.value, } as Address - setAddresses(addressArray) - handleCloseModals() + const variables = { + id: params.id, + input: { + addresses: addressArray.map(item => { + return { + ...item, + checked: undefined, + } + }), + }, + } + + setLoadingState(true) + + updateCostCenter({ + variables, + }) + .then(() => { + toastMessage(messages.toastUpdateSuccess) + refetch() + + setLoadingState(false) + + setAddresses(addressArray) + handleCloseModals() + }) + .catch(error => { + console.error(error) + toastMessage(messages.toastUpdateFailure) + setLoadingState(false) + }) } - const handleDeleteAddress = () => { + const handleDeleteAddress = useCallback(() => { const { addressId } = deleteAddressModalState const addressArray = addresses @@ -403,9 +465,39 @@ const CostCenterDetails: FunctionComponent = ({ ) addresses.splice(addressIndex, 1) - setAddresses(addressArray) - handleCloseModals() - } + + const variables = { + id: params.id, + input: { + addresses: addressArray.map(item => { + return { + ...item, + checked: undefined, + } + }), + }, + } + + setLoadingState(true) + + updateCostCenter({ + variables, + }) + .then(() => { + toastMessage(messages.toastUpdateSuccess) + refetch() + + setLoadingState(false) + + setAddresses(addressArray) + handleCloseModals() + }) + .catch(error => { + console.error(error) + toastMessage(messages.toastUpdateFailure) + setLoadingState(false) + }) + }, [addresses]) const handleTogglePaymentTerm = (id: string) => { let newTerms = paymentTerms diff --git a/react/components/UserWidget.tsx b/react/components/UserWidget.tsx index 354eb482..43fc2ab3 100644 --- a/react/components/UserWidget.tsx +++ b/react/components/UserWidget.tsx @@ -108,10 +108,8 @@ const CustomOrganizationOption = (props: any) => { disabled={value.status !== 'active'} >
- {renderOptionHighlightedText()} - {typeof value !== 'string' && ( -
{value.caption}
- )} + {renderOptionHighlightedText()} + {typeof value !== 'string' &&
{value.caption}
}
) @@ -285,6 +283,25 @@ const UserWidget: VtexFunctionComponent = ({ setOrganizationsState({ ...organizationsState, organizationInput: text, + organizationOptions: + userWidgetData?.getOrganizationsByEmail + ?.filter((organization: any) => { + return organization?.organizationName + ?.toLowerCase() + .includes(text?.toLowerCase()) + }) + .map( + (organization: { + orgId: string + organizationName: string + organizationStatus: string + }) => ({ + value: organization.orgId, + label: organization.organizationName, + status: organization.organizationStatus, + }) + ) + .slice(0, 15) ?? [], }) }, placeholder: `${formatMessage(storeMessages.autocompleteSearching)}...`, @@ -354,17 +371,10 @@ const UserWidget: VtexFunctionComponent = ({ organizationInput: userWidgetData?.getOrganizationByIdStorefront?.name, organizationOptions: userWidgetData?.getOrganizationsByEmail .slice(0, 15) - .map( - (organization: { - orgId: string - organizationName: string - organizationStatus: string - }) => ({ - value: organization.orgId, - label: organization.organizationName, - status: organization.organizationStatus, - }) - ), + .map((organization: { orgId: string; organizationName: string }) => ({ + value: organization.orgId, + label: organization.organizationName, + })), currentRoleName: userWidgetData?.getOrganizationsByEmail?.find( (organizations: any) => organizations.costId === currentCostCenter )?.role?.name, @@ -429,10 +439,17 @@ const UserWidget: VtexFunctionComponent = ({ (organization: { orgId: string }) => organization.orgId === itemSelected.value ) - .map((organization: { costId: string; costCenterName: string }) => ({ - value: organization.costId, - label: organization.costCenterName, - })) as [], + .map( + (organization: { + costId: string + costCenterName: string + organizationStatus: string + }) => ({ + value: organization.costId, + label: organization.costCenterName, + status: organization.organizationStatus, + }) + ) as [], }) }, } @@ -604,14 +621,12 @@ const UserWidget: VtexFunctionComponent = ({
- {(!userWidgetData?.checkImpersonation?.email && - organizationsState.organizationOptions.length > 1 && - showDropdown && ( - - )) || ( + {(!userWidgetData?.checkImpersonation?.email && showDropdown && ( + + )) || ( {`${formatMessage(messages.organization)} ${ userWidgetData?.getOrganizationByIdStorefront?.name @@ -625,14 +640,12 @@ const UserWidget: VtexFunctionComponent = ({
- {(!userWidgetData?.checkImpersonation?.email && - organizationsState.organizationOptions.length > 1 && - showDropdown && ( - - )) || ( + {(!userWidgetData?.checkImpersonation?.email && showDropdown && ( + + )) || ( {`${formatMessage(messages.costCenter)} ${ userWidgetData?.getCostCenterByIdStorefront?.name @@ -640,33 +653,31 @@ const UserWidget: VtexFunctionComponent = ({ )}
- {!userWidgetData?.checkImpersonation?.email && - organizationsState.organizationOptions.length > 1 && - showDropdown && ( -
+ + {errorOrganization && ( +
- {formatMessage(messages.setCurrentOrganization)} - - {errorOrganization && ( -
- -
- )} -
- )} + +
+ )} +
+ )}
diff --git a/react/package.json b/react/package.json index 58e3c8a3..0096576f 100644 --- a/react/package.json +++ b/react/package.json @@ -1,6 +1,6 @@ { "name": "vtex.b2b-organizations", - "version": "1.31.3", + "version": "1.31.9", "license": "UNLICENSED", "scripts": { "test": "vtex-test-tools test --passWithNoTests" @@ -18,20 +18,20 @@ "@vtex/tsconfig": "^0.6.0", "apollo-cache-inmemory": "^1.6.5", "graphql": "^14.6.0", - "vtex.address-form": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.22.4/public/@types/vtex.address-form", + "vtex.address-form": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.23.3/public/@types/vtex.address-form", "vtex.admin-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.admin-graphql@2.40.0/public/@types/vtex.admin-graphql", - "vtex.b2b-organizations": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations@1.27.3/public/@types/vtex.b2b-organizations", - "vtex.b2b-organizations-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations-graphql@0.41.0/public/@types/vtex.b2b-organizations-graphql", - "vtex.catalog-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.catalog-graphql@1.102.3/public/@types/vtex.catalog-graphql", + "vtex.b2b-organizations": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations@1.31.3/public/@types/vtex.b2b-organizations", + "vtex.b2b-organizations-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations-graphql@0.49.4/public/@types/vtex.b2b-organizations-graphql", + "vtex.catalog-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.catalog-graphql@1.103.1/public/@types/vtex.catalog-graphql", "vtex.country-codes": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.country-codes@2.0.1/public/_types/react", "vtex.css-handles": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.css-handles@0.4.4/public/@types/vtex.css-handles", - "vtex.my-account": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account@1.27.0/public/@types/vtex.my-account", + "vtex.my-account": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account@1.27.1/public/@types/vtex.my-account", "vtex.my-account-commons": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account-commons@1.7.1/public/@types/vtex.my-account-commons", - "vtex.product-context": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.0/public/@types/vtex.product-context", + "vtex.product-context": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.1/public/@types/vtex.product-context", "vtex.render-runtime": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.134.2/public/@types/vtex.render-runtime", - "vtex.store": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store@2.132.0/public/@types/vtex.store", - "vtex.store-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.0/public/@types/vtex.store-graphql", - "vtex.storefront-permissions": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.storefront-permissions@1.36.0/public/@types/vtex.storefront-permissions", + "vtex.store": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store@2.135.0/public/@types/vtex.store", + "vtex.store-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.2/public/@types/vtex.store-graphql", + "vtex.storefront-permissions": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.storefront-permissions@1.40.4/public/@types/vtex.storefront-permissions", "vtex.styleguide": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.146.9/public/@types/vtex.styleguide" }, "dependencies": { diff --git a/react/yarn.lock b/react/yarn.lock index bc703fea..ff3f6657 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -6066,25 +6066,25 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -"vtex.address-form@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.22.4/public/@types/vtex.address-form": - version "4.22.4" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.22.4/public/@types/vtex.address-form#aa2423ec31d295c1861a6f08b7216f995f747a98" +"vtex.address-form@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.23.3/public/@types/vtex.address-form": + version "4.23.3" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.address-form@4.23.3/public/@types/vtex.address-form#983d8b8254e65c2d2de6a003b2d086391c7b78b8" "vtex.admin-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.admin-graphql@2.40.0/public/@types/vtex.admin-graphql": version "2.40.0" resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.admin-graphql@2.40.0/public/@types/vtex.admin-graphql#6abd9321f95ac522b200112ee8c556eb3c6936d5" -"vtex.b2b-organizations-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations-graphql@0.41.0/public/@types/vtex.b2b-organizations-graphql": - version "0.41.0" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations-graphql@0.41.0/public/@types/vtex.b2b-organizations-graphql#dbc4b19d561230f991eea3d2502f95fbdcedf6ee" +"vtex.b2b-organizations-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations-graphql@0.49.4/public/@types/vtex.b2b-organizations-graphql": + version "0.49.4" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations-graphql@0.49.4/public/@types/vtex.b2b-organizations-graphql#8705542c4908c69c32492a2faa4515cf048a4334" -"vtex.b2b-organizations@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations@1.27.3/public/@types/vtex.b2b-organizations": - version "1.27.3" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations@1.27.3/public/@types/vtex.b2b-organizations#db21fa79490615bc5428c60037e71db22e19edf1" +"vtex.b2b-organizations@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations@1.31.3/public/@types/vtex.b2b-organizations": + version "1.31.3" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.b2b-organizations@1.31.3/public/@types/vtex.b2b-organizations#0c579cd04477e56236467ff625fc2c717f79dfff" -"vtex.catalog-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.catalog-graphql@1.102.3/public/@types/vtex.catalog-graphql": - version "1.102.3" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.catalog-graphql@1.102.3/public/@types/vtex.catalog-graphql#ce99343170d314d3231612357ef62e3356b50d81" +"vtex.catalog-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.catalog-graphql@1.103.1/public/@types/vtex.catalog-graphql": + version "1.103.1" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.catalog-graphql@1.103.1/public/@types/vtex.catalog-graphql#c1b1caa413a7fc65b029814e67c944541daec337" "vtex.country-codes@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.country-codes@2.0.1/public/_types/react": version "0.0.0" @@ -6098,29 +6098,29 @@ verror@1.10.0: version "1.7.1" resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account-commons@1.7.1/public/@types/vtex.my-account-commons#2ef5346cfcb342a528ac03b7e583d87d1f6b4745" -"vtex.my-account@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account@1.27.0/public/@types/vtex.my-account": - version "1.27.0" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account@1.27.0/public/@types/vtex.my-account#a0d6dc12364422b9e649aa1e4da4b2756453fdfe" +"vtex.my-account@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account@1.27.1/public/@types/vtex.my-account": + version "1.27.1" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.my-account@1.27.1/public/@types/vtex.my-account#bb94dc0514950137df740439a599d3f413624d75" -"vtex.product-context@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.0/public/@types/vtex.product-context": - version "0.10.0" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.0/public/@types/vtex.product-context#c5e2a97b404004681ee12f4fff7e6b62157786cc" +"vtex.product-context@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.1/public/@types/vtex.product-context": + version "0.10.1" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.product-context@0.10.1/public/@types/vtex.product-context#86ceba68085420edcf54749f07e51a257d2e5d94" "vtex.render-runtime@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.134.2/public/@types/vtex.render-runtime": version "8.134.2" resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.134.2/public/@types/vtex.render-runtime#ae69e2b2a471291c6c6b155e17510150fbfc2d0e" -"vtex.store-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.0/public/@types/vtex.store-graphql": - version "2.170.0" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.0/public/@types/vtex.store-graphql#9827a5a84fc90c238e16a1feab451caaf6ba59b2" +"vtex.store-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.2/public/@types/vtex.store-graphql": + version "2.170.2" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.2/public/@types/vtex.store-graphql#18cb23b99445e8027822218812143a6ffed8541e" -"vtex.store@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store@2.132.0/public/@types/vtex.store": - version "2.132.0" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store@2.132.0/public/@types/vtex.store#f230c2340528267fbbed36c365f898184d05c872" +"vtex.store@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store@2.135.0/public/@types/vtex.store": + version "2.135.0" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store@2.135.0/public/@types/vtex.store#00f447a8320298247d3e8e4dd43e40b841f38145" -"vtex.storefront-permissions@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.storefront-permissions@1.36.0/public/@types/vtex.storefront-permissions": - version "1.36.0" - resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.storefront-permissions@1.36.0/public/@types/vtex.storefront-permissions#9b6eca8b176bd2b4a349932a598b6b8691bd6fe9" +"vtex.storefront-permissions@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.storefront-permissions@1.40.4/public/@types/vtex.storefront-permissions": + version "1.40.4" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.storefront-permissions@1.40.4/public/@types/vtex.storefront-permissions#9e6f5ad5186ec29a0a024dae750ca701eefd09e2" "vtex.styleguide@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.styleguide@9.146.9/public/@types/vtex.styleguide": version "9.146.9"