From 0750fb19c8efd568340a8bddc52864f6ff21592f Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Fri, 26 Jan 2024 09:49:13 +0100 Subject: [PATCH] fix(admin-ui): Improved support for modifying OrderLine custom fields Relates to #2641 --- packages/admin-ui/i18n-coverage.json | 46 +++++++++---------- .../custom-field-control.component.ts | 7 +-- ...ata-table-custom-field-column.component.ts | 4 ++ .../modification-detail.component.html | 3 ++ .../modification-detail.component.ts | 17 +++++-- .../order-editor/order-editor.component.html | 35 ++++++++++---- .../order-editor/order-editor.component.ts | 6 ++- .../simple-item-list.component.html | 4 +- .../simple-item-list.component.ts | 2 +- .../src/lib/static/i18n-messages/ar.json | 2 +- .../src/lib/static/i18n-messages/cs.json | 2 +- .../src/lib/static/i18n-messages/de.json | 2 +- .../src/lib/static/i18n-messages/en.json | 2 +- .../src/lib/static/i18n-messages/es.json | 2 +- .../src/lib/static/i18n-messages/fa.json | 2 +- .../src/lib/static/i18n-messages/fr.json | 2 +- .../src/lib/static/i18n-messages/he.json | 2 +- .../src/lib/static/i18n-messages/hr.json | 2 +- .../src/lib/static/i18n-messages/it.json | 2 +- .../src/lib/static/i18n-messages/nb.json | 2 +- .../src/lib/static/i18n-messages/ne.json | 2 +- .../src/lib/static/i18n-messages/pl.json | 2 +- .../src/lib/static/i18n-messages/pt_BR.json | 4 +- .../src/lib/static/i18n-messages/pt_PT.json | 2 +- .../src/lib/static/i18n-messages/ru.json | 2 +- .../src/lib/static/i18n-messages/uk.json | 4 +- .../src/lib/static/i18n-messages/zh_Hans.json | 2 +- .../src/lib/static/i18n-messages/zh_Hant.json | 2 +- 28 files changed, 100 insertions(+), 66 deletions(-) diff --git a/packages/admin-ui/i18n-coverage.json b/packages/admin-ui/i18n-coverage.json index add37db029..83d91bdb90 100644 --- a/packages/admin-ui/i18n-coverage.json +++ b/packages/admin-ui/i18n-coverage.json @@ -1,20 +1,20 @@ { - "generatedOn": "2024-01-19T11:46:08.674Z", - "lastCommit": "fc1f6490bddbc225b4824007088596372fb9958f", + "generatedOn": "2024-01-26T08:34:41.984Z", + "lastCommit": "2314ff6a392488179cd3e3c553a445bd0fd8202d", "translationStatus": { "ar": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "cs": { "tokenCount": 769, - "translatedCount": 578, + "translatedCount": 579, "percentage": 75 }, "de": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "en": { @@ -24,77 +24,77 @@ }, "es": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "fa": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "fr": { "tokenCount": 769, - "translatedCount": 764, + "translatedCount": 765, "percentage": 99 }, "he": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "hr": { "tokenCount": 769, - "translatedCount": 765, - "percentage": 99 + "translatedCount": 766, + "percentage": 100 }, "it": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "nb": { "tokenCount": 769, - "translatedCount": 763, + "translatedCount": 764, "percentage": 99 }, "ne": { "tokenCount": 769, - "translatedCount": 755, + "translatedCount": 756, "percentage": 98 }, "pl": { "tokenCount": 769, - "translatedCount": 408, + "translatedCount": 409, "percentage": 53 }, "pt_BR": { "tokenCount": 769, - "translatedCount": 765, - "percentage": 99 + "translatedCount": 766, + "percentage": 100 }, "pt_PT": { "tokenCount": 769, - "translatedCount": 613, + "translatedCount": 614, "percentage": 80 }, "ru": { "tokenCount": 769, - "translatedCount": 766, + "translatedCount": 767, "percentage": 100 }, "uk": { "tokenCount": 769, - "translatedCount": 601, - "percentage": 78 + "translatedCount": 767, + "percentage": 100 }, "zh_Hans": { "tokenCount": 769, - "translatedCount": 548, + "translatedCount": 549, "percentage": 71 }, "zh_Hant": { "tokenCount": 769, - "translatedCount": 395, + "translatedCount": 396, "percentage": 51 } } diff --git a/packages/admin-ui/src/lib/core/src/shared/components/custom-field-control/custom-field-control.component.ts b/packages/admin-ui/src/lib/core/src/shared/components/custom-field-control/custom-field-control.component.ts index 465d755d8e..b536a02ef2 100644 --- a/packages/admin-ui/src/lib/core/src/shared/components/custom-field-control/custom-field-control.component.ts +++ b/packages/admin-ui/src/lib/core/src/shared/components/custom-field-control/custom-field-control.component.ts @@ -1,4 +1,4 @@ -import { Component, ComponentFactory, Input, OnInit, ViewChild, ViewContainerRef } from '@angular/core'; +import { Component, Input, OnInit } from '@angular/core'; import { UntypedFormGroup } from '@angular/forms'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; @@ -8,7 +8,6 @@ import { CustomFieldConfig, CustomFieldsFragment, LanguageCode } from '../../../ import { DataService } from '../../../data/providers/data.service'; import { CustomFieldComponentService, - CustomFieldControl, CustomFieldEntityName, } from '../../../providers/custom-field-component/custom-field-component.service'; @@ -29,10 +28,6 @@ export class CustomFieldControlComponent implements OnInit { @Input() showLabel = true; @Input() readonly = false; hasCustomControl = false; - @ViewChild('customComponentPlaceholder', { read: ViewContainerRef }) - private customComponentPlaceholder: ViewContainerRef; - - private customComponentFactory: ComponentFactory | undefined; uiLanguage$: Observable; constructor( diff --git a/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.ts b/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.ts index 66af8e1510..e4db9894f6 100644 --- a/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.ts +++ b/packages/admin-ui/src/lib/core/src/shared/components/data-table-2/data-table-custom-field-column.component.ts @@ -4,8 +4,11 @@ import { map } from 'rxjs/operators'; import { CustomFieldConfig, LanguageCode } from '../../../common/generated-types'; import { DataService } from '../../../data/providers/data.service'; import { DataTableSortCollection } from '../../../providers/data-table/data-table-sort-collection'; +import { CustomFieldLabelPipe } from '../../pipes/custom-field-label.pipe'; import { DataTable2ColumnComponent } from './data-table-column.component'; +const labelPipe = new CustomFieldLabelPipe(); + @Component({ selector: 'vdr-dt2-custom-field-column', templateUrl: './data-table-custom-field-column.component.html', @@ -35,6 +38,7 @@ export class DataTableCustomFieldColumnComponent extends DataTable2ColumnComp this.hiddenByDefault = true; this.sort = this.sorts?.get(this.customField.name); this.id = this.customField.name; + this.heading = labelPipe.transform(this.customField, null); super.ngOnInit(); } } diff --git a/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.html b/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.html index 0232671a2f..26e7959b4f 100644 --- a/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.html +++ b/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.html @@ -12,3 +12,6 @@ + + + diff --git a/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.ts b/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.ts index 1240aeac1c..0d59fd8d64 100644 --- a/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.ts +++ b/packages/admin-ui/src/lib/order/src/components/modification-detail/modification-detail.component.ts @@ -12,11 +12,13 @@ export class ModificationDetailComponent implements OnChanges { @Input() modification: OrderDetailFragment['modifications'][number]; private addedItems = new Map(); private removedItems = new Map(); + private modifiedItems = new Set(); ngOnChanges(): void { - const { added, removed } = this.getModifiedLines(); + const { added, removed, modified } = this.getModifiedLines(); this.addedItems = added; this.removedItems = removed; + this.modifiedItems = modified; } getSurcharge(id: string) { @@ -37,20 +39,29 @@ export class ModificationDetailComponent implements OnChanges { })); } + getModifiedItems() { + return [...this.modifiedItems].map(line => ({ + name: line.productVariant.name, + })); + } + private getModifiedLines() { const added = new Map(); const removed = new Map(); + const modified = new Set(); for (const modificationLine of this.modification.lines || []) { const line = this.order.lines.find(l => l.id === modificationLine.orderLineId); if (!line) { continue; } - if (modificationLine.quantity < 0) { + if (modificationLine.quantity === 0) { + modified.add(line); + } else if (modificationLine.quantity < 0) { removed.set(line, -modificationLine.quantity); } else { added.set(line, modificationLine.quantity); } } - return { added, removed }; + return { added, removed, modified }; } } diff --git a/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.html b/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.html index b1ac9eac52..b9706793d9 100644 --- a/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.html +++ b/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.html @@ -191,6 +191,21 @@ > + + + + + @@ -215,15 +230,17 @@ - - - +
+ + + +
diff --git a/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.ts b/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.ts index 833826a950..7c54642d93 100644 --- a/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.ts +++ b/packages/admin-ui/src/lib/order/src/components/order-editor/order-editor.component.ts @@ -28,7 +28,7 @@ import { import { assertNever, notNullOrUndefined } from '@vendure/common/lib/shared-utils'; import { simpleDeepClone } from '@vendure/common/lib/simple-deep-clone'; import { EMPTY, Observable, of } from 'rxjs'; -import { mapTo, shareReplay, switchMap, take, takeUntil } from 'rxjs/operators'; +import { map, mapTo, shareReplay, switchMap, take, takeUntil } from 'rxjs/operators'; import { AddedLine, ModifyOrderData, @@ -54,6 +54,7 @@ export class OrderEditorComponent { availableCountries$: Observable; addressCustomFields: CustomFieldConfig[]; + uiLanguage$: Observable; detailForm = new UntypedFormGroup({}); couponCodesControl = new FormControl([]); orderLineCustomFieldsFormArray: UntypedFormArray; @@ -183,6 +184,9 @@ export class OrderEditorComponent .single$.subscribe(({ order }) => { this.previousState = order?.history.items[0].data.from; }); + this.uiLanguage$ = this.dataService.client + .uiState() + .stream$.pipe(map(({ uiState }) => uiState.language)); } ngOnDestroy(): void { diff --git a/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.html b/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.html index c80328539a..afac114078 100644 --- a/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.html +++ b/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.html @@ -1,8 +1,8 @@
  • -
    {{ item.quantity }}
    - +
    {{ item.quantity }}
    + {{ item.name }}
diff --git a/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.ts b/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.ts index 5a07ba1728..36b63852b5 100644 --- a/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.ts +++ b/packages/admin-ui/src/lib/order/src/components/simple-item-list/simple-item-list.component.ts @@ -7,5 +7,5 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class SimpleItemListComponent { - @Input() items: Array<{ name: string; quantity: number }>; + @Input() items: Array<{ name: string; quantity?: number }>; } diff --git a/packages/admin-ui/src/lib/static/i18n-messages/ar.json b/packages/admin-ui/src/lib/static/i18n-messages/ar.json index 574dc16a94..8d0b043f8f 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/ar.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/ar.json @@ -601,6 +601,7 @@ "modification-summary": "ملخص التعديلات", "modification-updating-billing-address": "تحديث عنوان الفواتير", "modification-updating-shipping-address": "تحديث عنوان الشحن", + "modified-items": "العناصر المعدلة", "modify-order": "تعديل الترتيب", "modify-order-price-difference": "فرق السعر", "net-price": "السعر الصافي", @@ -625,7 +626,6 @@ "payment-metadata": "بيانات تعريف الدفع", "payment-method": "طريقة الدفع او السداد", "payment-state": "وضع الأداء", - "payment-to-refund": "الدفع لاسترداد", "payments": "المدفوعات", "placed-at": "وضعت في", "preview-changes": "تغييرات المعاينة", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/cs.json b/packages/admin-ui/src/lib/static/i18n-messages/cs.json index d595a5e9df..38514e4cfc 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/cs.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/cs.json @@ -601,6 +601,7 @@ "modification-summary": "Souhrn úprav", "modification-updating-billing-address": "Upravování fakturační adresy", "modification-updating-shipping-address": "Upravování dodací adresy", + "modified-items": "Upravené položky", "modify-order": "Upravit objednávku", "modify-order-price-difference": "Cenový rozdíl", "net-price": "Čistá cena", @@ -625,7 +626,6 @@ "payment-metadata": "Data platby", "payment-method": "Platební metoda", "payment-state": "Stav", - "payment-to-refund": "Platba k refundaci", "payments": "", "placed-at": "Datum objednávky", "preview-changes": "Náhled změn", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/de.json b/packages/admin-ui/src/lib/static/i18n-messages/de.json index fe859b8e7d..5fb9df8f08 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/de.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/de.json @@ -601,6 +601,7 @@ "modification-summary": "Zusammenfassung der Änderungen", "modification-updating-billing-address": "Rechnungsadresse aktualisieren", "modification-updating-shipping-address": "Versandadresse aktualisieren", + "modified-items": "Geänderte Artikel", "modify-order": "Bestellung ändern", "modify-order-price-difference": "Preisunterschied", "net-price": "Nettopreis", @@ -625,7 +626,6 @@ "payment-metadata": "Metadaten zur Bezahlung", "payment-method": "Zahlungsart", "payment-state": "Status", - "payment-to-refund": "Zu erstattende Zahlung", "payments": "Zahlungen", "placed-at": "Aufgegeben um", "preview-changes": "Änderungsvorschau", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/en.json b/packages/admin-ui/src/lib/static/i18n-messages/en.json index 31fa6c406e..b450acdcd9 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/en.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/en.json @@ -601,6 +601,7 @@ "modification-summary": "Summary of modifications", "modification-updating-billing-address": "Updating billing address", "modification-updating-shipping-address": "Updating shipping address", + "modified-items": "Modified items", "modify-order": "Modify order", "modify-order-price-difference": "Price difference", "net-price": "Net price", @@ -625,7 +626,6 @@ "payment-metadata": "Payment metadata", "payment-method": "Payment method", "payment-state": "State", - "payment-to-refund": "Payment to refund", "payments": "Payments", "placed-at": "Placed at", "preview-changes": "Preview changes", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/es.json b/packages/admin-ui/src/lib/static/i18n-messages/es.json index 1ce36c37fe..c542f43960 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/es.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/es.json @@ -601,6 +601,7 @@ "modification-summary": "Resumen de modificaciones", "modification-updating-billing-address": "Actualizando dirección de facturación", "modification-updating-shipping-address": "Actualizando dirección de envío", + "modified-items": "Artículos modificados", "modify-order": "Modificar pedido", "modify-order-price-difference": "Diferencia de precio", "net-price": "Precio neto", @@ -625,7 +626,6 @@ "payment-metadata": "Metadatos de pago", "payment-method": "Método de pago", "payment-state": "Estado", - "payment-to-refund": "Pago por reembolso", "payments": "Pagos", "placed-at": "Realizado en", "preview-changes": "Previsualizar cambios", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/fa.json b/packages/admin-ui/src/lib/static/i18n-messages/fa.json index ffadce89d4..a1cd9a7881 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/fa.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/fa.json @@ -601,6 +601,7 @@ "modification-summary": "خلاصه تغییرات", "modification-updating-billing-address": "بروزرسانی آدرس صورتحساب", "modification-updating-shipping-address": "بروزرسانی آدرس حمل و نقل", + "modified-items": "موارد تغییر یافته", "modify-order": "تغییر سفارش", "modify-order-price-difference": "تفاوت قیمتی", "net-price": "قیمت کل", @@ -625,7 +626,6 @@ "payment-metadata": "اطلاعات تکمیلی پرداخت", "payment-method": "روش پرداخت", "payment-state": "وضعیت پرداخت", - "payment-to-refund": "تبدیل پرداخت به بازگشت وجه / استرداد", "payments": "پرداخت ها", "placed-at": "انجام شده در", "preview-changes": "پیش نمایش تغییرات", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/fr.json b/packages/admin-ui/src/lib/static/i18n-messages/fr.json index fed6465db0..1646f41f6d 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/fr.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/fr.json @@ -601,6 +601,7 @@ "modification-summary": "Résumé des modifications", "modification-updating-billing-address": "Mise à jour de l'adresse de facturation", "modification-updating-shipping-address": "Mise à jour de l'adresse de livraison", + "modified-items": "Articles modifiés", "modify-order": "Modifier la commande", "modify-order-price-difference": "Différence de prix", "net-price": "Prix net", @@ -625,7 +626,6 @@ "payment-metadata": "Métadonnées de paiement", "payment-method": "Mode de paiement", "payment-state": "Etat", - "payment-to-refund": "Montant à rembourser", "payments": "Paiements", "placed-at": "Placé à", "preview-changes": "Aperçu des modifications", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/he.json b/packages/admin-ui/src/lib/static/i18n-messages/he.json index aa73fb02dd..cf84bebcef 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/he.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/he.json @@ -601,6 +601,7 @@ "modification-summary": "סיכום השינויים", "modification-updating-billing-address": "מעדכן כתובת לחיוב", "modification-updating-shipping-address": "מעדכן כתובת למשלוח", + "modified-items": "פריטים ששונו", "modify-order": "שנה הזמנה", "modify-order-price-difference": "הפרש מחיר", "net-price": "מחיר נטו", @@ -625,7 +626,6 @@ "payment-metadata": "מטה נתונים של התשלום", "payment-method": "שיטת תשלום", "payment-state": "מצב", - "payment-to-refund": "תשלום להחזר", "payments": "תשלומים", "placed-at": "נעשתה בתאריך", "preview-changes": "הצג שינויים", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/hr.json b/packages/admin-ui/src/lib/static/i18n-messages/hr.json index a430c4f981..dea76b1c4e 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/hr.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/hr.json @@ -601,6 +601,7 @@ "modification-summary": "Sažetak izmjena", "modification-updating-billing-address": "Ažuriranje adrese za naplatu", "modification-updating-shipping-address": "Ažuriranje adrese za dostavu", + "modified-items": "Izmijenjene stavke", "modify-order": "Izmijeni narudžbu", "modify-order-price-difference": "Razlika u cijeni", "net-price": "Neto cijena", @@ -625,7 +626,6 @@ "payment-metadata": "Metapodaci plaćanja", "payment-method": "Metoda plaćanja", "payment-state": "Stanje plaćanja", - "payment-to-refund": "Plaćanje za povrat", "payments": "Plaćanja", "placed-at": "Naručeno u", "preview-changes": "Pregled promjena", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/it.json b/packages/admin-ui/src/lib/static/i18n-messages/it.json index 777fe589e2..0be5058450 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/it.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/it.json @@ -601,6 +601,7 @@ "modification-summary": "Riepilogo delle modifiche", "modification-updating-billing-address": "Aggiornando l'indirizzo di fatturazione", "modification-updating-shipping-address": "Aggiornando l'indirizzo di spedizione", + "modified-items": "Articoli modificati", "modify-order": "Modifica ordine", "modify-order-price-difference": "Differenza di prezzo", "net-price": "Prezzo netto", @@ -625,7 +626,6 @@ "payment-metadata": "Metadati pagamento", "payment-method": "Metodo di pagamento", "payment-state": "Stato", - "payment-to-refund": "Pagamento da rimborsare", "payments": "Pagamenti", "placed-at": "Effettuato a", "preview-changes": "Anteprima modifiche", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/nb.json b/packages/admin-ui/src/lib/static/i18n-messages/nb.json index d25b03a21c..6c4895ab5c 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/nb.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/nb.json @@ -601,6 +601,7 @@ "modification-summary": "Sammendrag av endringer", "modification-updating-billing-address": "Oppdaterer faktureringsadresse", "modification-updating-shipping-address": "Oppdaterer leveringsadresse", + "modified-items": "Endrede varer", "modify-order": "Endre ordre", "modify-order-price-difference": "Prisforskjell", "net-price": "Nettopris", @@ -625,7 +626,6 @@ "payment-metadata": "Betaling metadata", "payment-method": "Betalingsmetode", "payment-state": "Status", - "payment-to-refund": "Betaling å refundere", "payments": "Betalinger", "placed-at": "Plassert den", "preview-changes": "Forhåndsvis endringer", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/ne.json b/packages/admin-ui/src/lib/static/i18n-messages/ne.json index c779c39501..76b81e1945 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/ne.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/ne.json @@ -601,6 +601,7 @@ "modification-summary": "संशोधनको संक्षेप", "modification-updating-billing-address": "बिलिङ ठेगाना अपडेट गरिएको छ", "modification-updating-shipping-address": "पारिश्रमिक ठेगाना अपडेट गरिएको छ", + "modified-items": "परिवर्तित वस्तुहरू", "modify-order": "ओर्दर संशोधन गर्नुहोस्", "modify-order-price-difference": "मूल्य अन्तर", "net-price": "नेट मूल्य", @@ -625,7 +626,6 @@ "payment-metadata": "भुक्तानी मेटाडाटा", "payment-method": "भुक्तानी तरिका", "payment-state": "स्थिति", - "payment-to-refund": "वापसी गर्नका लागि भुक्तानी", "payments": "भुक्तानीहरू", "placed-at": "मा राखिएको", "preview-changes": "पूर्वावलोकन परिवर्तनहरू", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/pl.json b/packages/admin-ui/src/lib/static/i18n-messages/pl.json index 0b88ac1aef..2433bbfd17 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/pl.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/pl.json @@ -601,6 +601,7 @@ "modification-summary": "", "modification-updating-billing-address": "", "modification-updating-shipping-address": "", + "modified-items": "Zmodyfikowane przedmioty", "modify-order": "", "modify-order-price-difference": "", "net-price": "Cena netto", @@ -625,7 +626,6 @@ "payment-metadata": "Metadane płatności", "payment-method": "Metoda płatności", "payment-state": "Status", - "payment-to-refund": "Płatność do zwrotu", "payments": "", "placed-at": "", "preview-changes": "", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json b/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json index e21bd518c3..1b00153a02 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/pt_BR.json @@ -601,6 +601,7 @@ "modification-summary": "Resumo de modificações", "modification-updating-billing-address": "Atualizando endereço de fatura", "modification-updating-shipping-address": "Atualizando endereço de envio", + "modified-items": "Itens modificados", "modify-order": "Modificar pedido", "modify-order-price-difference": "Preço diference", "net-price": "Preço líquido", @@ -625,7 +626,6 @@ "payment-metadata": "Dados do pagamento", "payment-method": "Método de pagamento", "payment-state": "Estado", - "payment-to-refund": "Pagamento para reembolso", "payments": "Pagamentos", "placed-at": "Posicionado em", "preview-changes": "Revisar mudanças", @@ -800,4 +800,4 @@ "job-state-pending": "Pendente", "job-state-running": "Em execução" } -} +} \ No newline at end of file diff --git a/packages/admin-ui/src/lib/static/i18n-messages/pt_PT.json b/packages/admin-ui/src/lib/static/i18n-messages/pt_PT.json index 1097afd5c5..4d722b83fd 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/pt_PT.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/pt_PT.json @@ -601,6 +601,7 @@ "modification-summary": "Resumo de modificações", "modification-updating-billing-address": "A actualizar morada de faturação", "modification-updating-shipping-address": "A actualizar morada de entrega", + "modified-items": "Itens modificados", "modify-order": "Modificar pedido", "modify-order-price-difference": "Diferença de preço", "net-price": "Preço líquido", @@ -625,7 +626,6 @@ "payment-metadata": "Dados do pagamento", "payment-method": "Método de pagamento", "payment-state": "Estado", - "payment-to-refund": "Pagamento para reembolso", "payments": "", "placed-at": "Adicionada em", "preview-changes": "Revisar mudanças", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/ru.json b/packages/admin-ui/src/lib/static/i18n-messages/ru.json index 02b0d464f5..3e46025f7d 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/ru.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/ru.json @@ -601,6 +601,7 @@ "modification-summary": "Сводка модификаций", "modification-updating-billing-address": "Обновление платежного адреса", "modification-updating-shipping-address": "Обновление адреса доставки", + "modified-items": "Измененные товары", "modify-order": "Изменить порядок", "modify-order-price-difference": "Разница в цене", "net-price": "Цена нетто", @@ -625,7 +626,6 @@ "payment-metadata": "Метаданные платежа", "payment-method": "Способ оплаты", "payment-state": "Состояние", - "payment-to-refund": "Платеж к возврату", "payments": "Платежи", "placed-at": "Размещено в", "preview-changes": "Предпросмотр изменений", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/uk.json b/packages/admin-ui/src/lib/static/i18n-messages/uk.json index 79247d9ca1..f413c0ae63 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/uk.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/uk.json @@ -601,6 +601,7 @@ "modification-summary": "Зведення модифікацій", "modification-updating-billing-address": "Оновлення платіжної адреси", "modification-updating-shipping-address": "Оновлення адреси доставки", + "modified-items": "Змінені товари", "modify-order": "Змінити порядок", "modify-order-price-difference": "Різниця в ціні", "net-price": "Ціна нетто", @@ -625,7 +626,6 @@ "payment-metadata": "Метадані платежу", "payment-method": "Спосіб оплати", "payment-state": "Стан", - "payment-to-refund": "Платіж до повернення", "payments": "Платежі", "placed-at": "Розміщено в", "preview-changes": "Попередній перегляд змін", @@ -800,4 +800,4 @@ "job-state-pending": "В очікуванні", "job-state-running": "Виконується" } -} +} \ No newline at end of file diff --git a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json index 7e931a8fe6..00a6db0014 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hans.json @@ -601,6 +601,7 @@ "modification-summary": "", "modification-updating-billing-address": "", "modification-updating-shipping-address": "", + "modified-items": "修改过的商品", "modify-order": "", "modify-order-price-difference": "", "net-price": "净价", @@ -625,7 +626,6 @@ "payment-metadata": "付款元数据", "payment-method": "付款方式", "payment-state": "付款状态", - "payment-to-refund": "退款订单付款信息", "payments": "", "placed-at": "", "preview-changes": "", diff --git a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json index 5a265748e3..0dbe359adb 100644 --- a/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json +++ b/packages/admin-ui/src/lib/static/i18n-messages/zh_Hant.json @@ -601,6 +601,7 @@ "modification-summary": "", "modification-updating-billing-address": "", "modification-updating-shipping-address": "", + "modified-items": "修改過的商品", "modify-order": "", "modify-order-price-difference": "", "net-price": "淨價", @@ -625,7 +626,6 @@ "payment-metadata": "付款元數據", "payment-method": "付款方式", "payment-state": "付款狀態", - "payment-to-refund": "退款訂單付款信息", "payments": "", "placed-at": "", "preview-changes": "",