Skip to content
Merged
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
4 changes: 3 additions & 1 deletion components/receive-payment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ export const ReceivePayment: FC<{
variant={"outline"}
onClick={() =>
copy(lnInvoice, {
customMessage: "LN invoice successfully copied to clipboard",
customMessage: t(
"payments:detail.messages.ln-invoice-copied-to-clipboard",
),
})
}
>
Expand Down
2 changes: 1 addition & 1 deletion lib/i18n/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export const I18N_NAMESPACES = [
"settings",
"accounts",
"categories",
"clients",
"contacts",
"devices",
"items",
"menus",
"invoices",
"payments",
"tables",
"transactions",
"reservations",
"landing",
"navigation",
Expand Down
3 changes: 2 additions & 1 deletion locales/cs/payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const locale = {
"payment-successfully-paid": "Platba byla úspěšně zaplacena",
"share-qr-description": "Sdílejte tento QR kód ve své bankovní aplikaci",
"no-cash-register-account-configured": "Pro tuto platbu není nakonfigurován pokladní účet.",
"cash-payment-enabled-no-cash-register-account": "Hotovostní platba je povolena, ale není nakonfigurován pokladní účet."
"cash-payment-enabled-no-cash-register-account": "Hotovostní platba je povolena, ale není nakonfigurován pokladní účet.",
"ln-invoice-copied-to-clipboard": "LN faktura byla úspěšně zkopírována do schránky"
},
"tabs": {
"web-payment": "Webová platba",
Expand Down
45 changes: 0 additions & 45 deletions locales/en/clients.ts

This file was deleted.

3 changes: 2 additions & 1 deletion locales/en/payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const locale = {
"payment-successfully-paid": "The payment is successfully paid",
"share-qr-description": "Share this QR code in your banking app",
"no-cash-register-account-configured": "No cash register account is configured for this payment.",
"cash-payment-enabled-no-cash-register-account": "Cash payment is enabled, but no cash register account is configured."
"cash-payment-enabled-no-cash-register-account": "Cash payment is enabled, but no cash register account is configured.",
"ln-invoice-copied-to-clipboard": "LN invoice successfully copied to clipboard"
},
"tabs": {
"web-payment": "Web payment",
Expand Down
Loading