Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 0 additions & 190 deletions packages/dashboard/missing-translations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,193 +23,3 @@ msgid_text|translated_text
```

## Missing Translations:

bg
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
cs
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
de
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
es
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
fa
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
fr
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
he
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
hr
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
it
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
ja
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
nb
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
ne
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
pl
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
pt_BR
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
pt_PT
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
ru
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
sv
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
tr
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
uk
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
zh_Hans
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
zh_Hant
Add at least one item to the order
Draft order status
Only draft orders can be completed
Order draft is ready to be completed
Order draft isn't ready to be completed
Select a customer to continue
Set a shipping address and select a shipping method
---
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ function DraftOrderPage() {
toast.success(t`Order custom fields updated`);
refreshEntity();
},
onError: error => {
toast.error(t`Failed to update order custom fields: ${error.message}`);
},
});

const { data: eligibleShippingMethods } = useQuery({
Expand Down Expand Up @@ -133,6 +136,9 @@ function DraftOrderPage() {
break;
}
},
onError: error => {
toast.error(t`Failed to update order line: ${error.message}`);
},
});

const { mutate: removeDraftOrderLine } = useMutation({
Expand All @@ -149,6 +155,9 @@ function DraftOrderPage() {
break;
}
},
onError: error => {
toast.error(t`Failed to remove order line: ${error.message}`);
},
});

const { mutate: setCustomerForDraftOrder } = useMutation({
Expand All @@ -174,6 +183,9 @@ function DraftOrderPage() {
break;
}
},
onError: error => {
toast.error(t`Failed to set customer for order: ${error.message}`);
},
});

const { mutate: setShippingAddressForDraftOrder } = useMutation({
Expand All @@ -182,6 +194,9 @@ function DraftOrderPage() {
toast.success(t`Shipping address set for order`);
refreshEntity();
},
onError: error => {
toast.error(t`Failed to set shipping address for order: ${error.message}`);
},
});

const { mutate: setBillingAddressForDraftOrder } = useMutation({
Expand All @@ -190,6 +205,9 @@ function DraftOrderPage() {
toast.success(t`Billing address set for order`);
refreshEntity();
},
onError: error => {
toast.error(t`Failed to set billing address for order: ${error.message}`);
},
});

const { mutate: unsetShippingAddressForDraftOrder } = useMutation({
Expand All @@ -198,6 +216,9 @@ function DraftOrderPage() {
toast.success(t`Shipping address unset for order`);
refreshEntity();
},
onError: error => {
toast.error(t`Failed to unset shipping address for order: ${error.message}`);
},
});

const { mutate: unsetBillingAddressForDraftOrder } = useMutation({
Expand All @@ -206,6 +227,9 @@ function DraftOrderPage() {
toast.success(t`Billing address unset for order`);
refreshEntity();
},
onError: error => {
toast.error(t`Failed to unset billing address for order: ${error.message}`);
},
});

const { mutate: setShippingMethodForDraftOrder } = useMutation({
Expand All @@ -222,6 +246,9 @@ function DraftOrderPage() {
break;
}
},
onError: error => {
toast.error(t`Failed to set shipping method for order: ${error.message}`);
},
});

const { mutate: setCouponCodeForDraftOrder } = useMutation({
Expand All @@ -238,6 +265,9 @@ function DraftOrderPage() {
break;
}
},
onError: error => {
toast.error(t`Failed to set coupon code for order: ${error.message}`);
},
});

const { mutate: removeCouponCodeForDraftOrder } = useMutation({
Expand All @@ -246,6 +276,9 @@ function DraftOrderPage() {
toast.success(t`Coupon code removed from order`);
refreshEntity();
},
onError: error => {
toast.error(t`Failed to remove coupon code from order: ${error.message}`);
},
});

const { mutate: completeDraftOrder } = useMutation({
Expand All @@ -265,6 +298,9 @@ function DraftOrderPage() {
break;
}
},
onError: error => {
toast.error(t`Failed to complete draft order: ${error.message}`);
},
});

const { mutate: deleteDraftOrder } = useMutation({
Expand All @@ -277,6 +313,9 @@ function DraftOrderPage() {
toast.error(result.deleteDraftOrder.message);
}
},
onError: error => {
toast.error(t`Failed to delete draft order: ${error.message}`);
},
});

if (!entity) {
Expand Down
Loading