diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths')
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/admin/list/index.tsx b/packages/merchant-backoffice-ui/src/paths/admin/list/index.tsx index 8efb5598d..dd1c1e557 100644 --- a/packages/merchant-backoffice-ui/src/paths/admin/list/index.tsx +++ b/packages/merchant-backoffice-ui/src/paths/admin/list/index.tsx @@ -86,7 +86,7 @@ export default function Instances({ await deleteInstance(deleting.id); // pushNotification({ message: 'delete_success', type: 'SUCCESS' }) setNotif({ - message: i18n.str`Instance "${deleting.name}" (ID: ${deleting.id}) has been deleted`, + message: i18n.str`Instance '${deleting.name}' (ID: ${deleting.id}) has been deleted`, type: "SUCCESS", }); } catch (error) { @@ -109,7 +109,7 @@ export default function Instances({ try { await purgeInstance(purging.id); setNotif({ - message: i18n.str`Instance "${purging.name}" (ID: ${purging.id}) has been disabled`, + message: i18n.str`Instance '${purging.name}' (ID: ${purging.id}) has been disabled`, type: "SUCCESS", }); } catch (error) { diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx index 1d049149b..8150f3aec 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/create/CreatePage.tsx @@ -54,7 +54,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode { http_method: !state.http_method ? i18n.str`required` : !validMethod.includes(state.http_method) - ? i18n.str`should be one of "${validMethod.join(", ")}"` + ? i18n.str`should be one of '${validMethod.join(", ")}'` : undefined, url: !state.url ? i18n.str`required` : undefined, }; diff --git a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx index 4e3674dca..0401453db 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/webhooks/update/UpdatePage.tsx @@ -50,7 +50,7 @@ export function UpdatePage({ webhook, onUpdate, onBack }: Props): VNode { http_method: !state.http_method ? i18n.str`required` : !validMethod.includes(state.http_method) - ? i18n.str`should be one of "${validMethod.join(", ")}"` + ? i18n.str`should be one of '${validMethod.join(", ")}'` : undefined, url: !state.url ? i18n.str`required` : undefined, }; |