From 6db6d2de30b4412853dd866f497effd3f8003078 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Wed, 8 Jan 2025 16:23:33 +0100 Subject: [PATCH] misc: adjust some toast wordings --- ...eteCustomerFinalizeZeroAmountInvoiceDialog.tsx | 2 +- translations/base.json | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/customers/DeleteCustomerFinalizeZeroAmountInvoiceDialog.tsx b/src/components/customers/DeleteCustomerFinalizeZeroAmountInvoiceDialog.tsx index feb0bb361..afd9dceae 100644 --- a/src/components/customers/DeleteCustomerFinalizeZeroAmountInvoiceDialog.tsx +++ b/src/components/customers/DeleteCustomerFinalizeZeroAmountInvoiceDialog.tsx @@ -47,7 +47,7 @@ export const DeleteCustomerFinalizeZeroAmountInvoiceDialog = forwardRef< onCompleted(data) { if (data && data.updateCustomer) { addToast({ - message: translate('text_17255496712882bspi9zp0ii'), + message: translate('text_17255496712882bspi9zp0iy'), severity: 'success', }) } diff --git a/translations/base.json b/translations/base.json index 675c0afbd..80b9f973f 100644 --- a/translations/base.json +++ b/translations/base.json @@ -162,7 +162,7 @@ "text_63ea0f84f400488553caa786": "Delete", "text_63ea0f84f400488553caa65c": "Edit document language", "text_63ea0f84f400488553caa681": "Edit language", - "text_63ea0f84f400488553caa76f": "Document language successfully edited", + "text_63ea0f84f400488553caa76f": "Document language successfully defined", "text_63ea0f84f400488553caa68a": "Delete document language", "text_63ea0f84f400488553caa691": "After deleting this language, {{customerName}}’s draft and finalized invoices will inherit the default document language defined at the organization level. Are you sure you want to delete it?", "text_63ea0f84f400488553caa697": "Delete language", @@ -217,12 +217,12 @@ "text_64639f5e63a5cc0076779d42": "Add a tax rate on {{name}}", "text_64639f5e63a5cc0076779d46": "This tax rate is specific to this customer and will affect all invoices associated with them.", "text_64639f5e63a5cc0076779d57": "Add tax rate", - "text_64639f5e63a5cc0076779de0": "Tax rate successfully added", + "text_64639f5e63a5cc0076779de0": "Tax rate successfully defined", "text_64639f5e63a5cc0076779d37": "Remove {{name}}", "text_64639f5e63a5cc0076779d3b": "By removing this tax rate from the customer, all current & next invoices will not be impacted by this rate anymore. Are you sure?", "text_64639f5e63a5cc0076779d43": "Remove tax rate", "text_64639f5e63a5cc0076779db7": "Taxes are inherited from organization", - "text_64639f5e63a5cc0076779dd9": "Tax rate successfully removed", + "text_64639f5e63a5cc0076779dd9": "Tax rate successfully deleted", "text_6464a12047f2dd00affa924f": "Edit {{name}}?", "text_6464a12047f2dd00affa9250": "Please note that the tax rate has been applied on {{customersCount}} customer. If you make any changes, all draft and upcoming invoices will be affected. Are you certain you want to proceed?|Please note that the tax rate has been applied on {{customersCount}} customers. If you make any changes, all draft and upcoming invoices will be affected. Are you certain you want to proceed?", "text_6464a12047f2dd00affa9252": "Apply editions", @@ -958,7 +958,7 @@ "text_64c7a89b6c67eb6c9889822d": "Add a net payment term", "text_64c7a89b6c67eb6c98898241": "{{days}} day (inherit from organization)|{{days}} days (inherit from organization)", "text_64c7a89b6c67eb6c98898073": "Add net payment term", - "text_64c7a89b6c67eb6c98898350": "Net payment term successfully added", + "text_64c7a89b6c67eb6c98898350": "Net payment term successfully defined", "text_64c7a89b6c67eb6c988980db": "You’re about to delete the net payment term", "text_64c7a89b6c67eb6c988980f9": "After deleting this net payment term, {{customerName}}’s draft and upcoming invoices will automatically adopt the one defined at the organization level. Are you sure to delete it?", "text_64c7a89b6c67eb6c98898133": "Yes, delete", @@ -1416,7 +1416,7 @@ "text_638dff9779fb99299bee90c8": "Cancel", "text_638dff9779fb99299bee90cc": "Add grace period", "text_638dff9779fb99299bee9132": "{{invoiceGracePeriod}} day|{{invoiceGracePeriod}} days", - "text_638dff9779fb99299bee914a": "Grace period successfully created", + "text_638dff9779fb99299bee914a": "Grace period successfully defined", "text_638f4d756d899445f18a49ee": "Draft invoices", "text_638f4d756d899445f18a4a0e": "See all", "text_638f4d756d899445f18a4a10": "Finalize invoice", @@ -2341,8 +2341,9 @@ "text_1725549671287r9tnu5cuoeu": "Empty invoice setting", "text_1725549671287ancbf00edxx": "Finalize empty invoices", "text_1725549671288zkq9sr0y46l": "Skip empty invoices", - "text_1725549671288cyc585wdz35": "Finalize empty invoices successfully deleted", + "text_1725549671288cyc585wdz35": "Empty invoice setting successfully defined", "text_17255496712882bspi9zp0ii": "Empty invoice setting successfully edited", + "text_17255496712882bspi9zp0iy": "Empty invoice setting successfully deleted", "text_1725549671288w2pu90s5rhq": "Edit invoicing rule", "text_1725549671288gcrvgdn7rml": "Invoicing rule", "text_1725549671288txz7z4m4qrf": "You’re about to delete the empty invoice setting rule", @@ -2601,7 +2602,7 @@ "text_17295436903267b0kiid8h8r": "No automatic dunning attempt will be triggered for this customer.", "text_17295436903260tlyb1gp1i7": "Save edits", "text_1729543690326d4dmmcw7n89": "Search and select a dunning campaign", - "text_17295437652543pf2j5lqe67": "Dunning campaign behavior successfully applied", + "text_17295437652543pf2j5lqe67": "Dunning campaign behavior successfully defined", "text_1731078338811aok1u8oopxl": "No dunning campaign available for this customer", "text_173142196943714qsq737sre": "This subscription is not yet active. Current usage is displayed only for active subscriptions.", "text_1731423623190elua4pl3ccr": "This subscription is not yet active. Lifetime usage is displayed only for active subscriptions.",