feat: localisation with lyricist
This commit is contained in:
@@ -94,7 +94,23 @@ val EnHomeStrings = AppStrings(
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "Payment Received!",
|
||||
|
||||
// ── SendScreen — general ──────────────────────────────────────────────────
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
amountDisplaySats = { amount -> "$amount ${if (amount == 1L) "sat" else "sats"}" },
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
brightnessReduce = "Reduce brightness",
|
||||
brightnessBoost = "Boost brightness",
|
||||
qrShare = "Share",
|
||||
qrCopy = "Copy",
|
||||
qrNfcStop = "Stop NFC sharing",
|
||||
qrNfcStart = "Share via NFC",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "Failed to create invoice",
|
||||
receiveVmWithdrawRejected = "Withdraw service rejected the invoice",
|
||||
receiveVmWithdrawFailed = "Withdraw failed",
|
||||
|
||||
// ── SendScreen — general ──────────────────────────────────────────────────
|
||||
send = "Send",
|
||||
paste = "Paste",
|
||||
continueButton = "Continue",
|
||||
@@ -159,4 +175,124 @@ val EnHomeStrings = AppStrings(
|
||||
routeHintHideDetails = "Hide details ▴",
|
||||
routeHintHopsHeader = "Private route hint hops",
|
||||
routeHintHopFees = { ppm, baseLabel -> "$ppm ppm · $baseLabel base" },
|
||||
|
||||
// ── HistoryScreen ─────────────────────────────────────────────────────────
|
||||
historyTitle = "History",
|
||||
historyClose = "Close",
|
||||
historySearchPayments = "Search payments",
|
||||
historyFilterPayments = "Filter payments",
|
||||
historyRetry = "Retry",
|
||||
historyNoPayments = "No payments yet.",
|
||||
historySearchPlaceholder = "Search transactions",
|
||||
historySearchHelp = "Search help",
|
||||
historySearchPaste = "Paste",
|
||||
historySearchClear = "Clear search",
|
||||
historySearchChip = { tail -> "search: …$tail" },
|
||||
historyClearSearch = "Clear search",
|
||||
filterDirectionOutgoing = "Outgoing",
|
||||
filterDirectionIncoming = "Incoming",
|
||||
filterClearDirection = "Clear direction filter",
|
||||
filterStatusCompleted = "Completed",
|
||||
filterStatusPending = "Pending",
|
||||
filterStatusFailed = "Failed",
|
||||
filterRemoveStatus = "Remove status filter",
|
||||
filterRemoveType = "Remove type filter",
|
||||
filterAmountRange = { min, max -> "$min–$max sats" },
|
||||
filterAmountMin = { min -> "≥ $min sats" },
|
||||
filterAmountMax = { max -> "≤ $max sats" },
|
||||
filterClearAmount = "Clear amount filter",
|
||||
filterDateThisWeek = "This week",
|
||||
filterDateThisMonth = "This month",
|
||||
filterDateThisYear = "This year",
|
||||
filterDateRange = { from, to -> "$from–$to" },
|
||||
filterDateFrom = { from -> "From $from" },
|
||||
filterDateUntil = { until -> "Until $until" },
|
||||
filterClearDate = "Clear date filter",
|
||||
|
||||
// ── FilterBottomSheet ─────────────────────────────────────────────────────
|
||||
filterSheetTitle = "Filter payments",
|
||||
filterSectionDirection = "Direction",
|
||||
filterDirectionAll = "All",
|
||||
filterSectionStatus = "Status",
|
||||
filterSectionType = "Type",
|
||||
filterSectionAmount = "Amount (sats)",
|
||||
filterAmountMin_label = "Min",
|
||||
filterAmountMax_label = "Max",
|
||||
filterAmountSuffix = "sats",
|
||||
filterSectionDate = "Date",
|
||||
filterDateFrom_label = "From",
|
||||
filterDateTo_label = "To",
|
||||
filterDialogOk = "OK",
|
||||
filterDialogCancel = "Cancel",
|
||||
|
||||
// ── SearchInfoSheet ───────────────────────────────────────────────────────
|
||||
searchInfoTitle = "What can I search for?",
|
||||
searchInfoSubtitle = "Type any part of the following to find a payment:",
|
||||
searchInfoMemoTitle = "Memo",
|
||||
searchInfoMemoDesc = "The message or description attached to a payment. " +
|
||||
"For example, \"coffee\" or \"rent March\".",
|
||||
searchInfoInvoiceTitle = "Invoice",
|
||||
searchInfoInvoiceDesc = "The payment request you scanned or pasted to send a payment. " +
|
||||
"It usually starts with \"lnbc…\". " +
|
||||
"You can paste just the first or last few characters.",
|
||||
searchInfoHashTitle = "Hash",
|
||||
searchInfoHashDesc = "A unique code that identifies this payment on the " +
|
||||
"Lightning Network. Useful if someone asks you to " +
|
||||
"confirm a specific transaction.",
|
||||
searchInfoPreimageTitle = "Preimage",
|
||||
searchInfoPreimageDesc = "A secret code that proves a payment was received. " +
|
||||
"Only available after a payment completes successfully.",
|
||||
searchInfoNodeAliasTitle = "Node alias",
|
||||
searchInfoNodeAliasDesc = "The name of the Lightning node you sent a payment to. " +
|
||||
"For example, \"ACINQ\" or \"Wallet of Satoshi\". " +
|
||||
"Aliases are resolved automatically for outgoing payments.",
|
||||
searchInfoNodeIdTitle = "Node ID (pubkey)",
|
||||
searchInfoNodeIdDesc = "The public key of the destination node. " +
|
||||
"A 66-character hex string — you can paste just the first few characters.",
|
||||
searchInfoFooter = "You can paste a full value or search with just a few characters — " +
|
||||
"partial matches work too.",
|
||||
|
||||
// ── PaymentDetailScreen ───────────────────────────────────────────────────
|
||||
detailOutgoingTitle = "Outgoing payment",
|
||||
detailIncomingTitle = "Incoming payment",
|
||||
detailBack = "Back",
|
||||
detailCouldNotLoad = "Could not load full details",
|
||||
detailFeeLabel = { feeSat, fiatPart, ppmPart ->
|
||||
"Fee: $feeSat sats$fiatPart$ppmPart"
|
||||
},
|
||||
detailSectionDetails = "Details",
|
||||
detailRowDate = "Date",
|
||||
detailRowMemo = "Memo",
|
||||
detailRowMemoEmpty = "—",
|
||||
detailRowType = "Type",
|
||||
detailRowComment = "Comment",
|
||||
detailSectionSuccessAction = "Success Action",
|
||||
detailSuccessMessage = "Message",
|
||||
detailSuccessUrl = "URL",
|
||||
detailSuccessDescription = "Description",
|
||||
detailSectionTechnical = "Technical",
|
||||
detailRowPaymentHash = "Hash",
|
||||
detailRowPreimage = "Preimage",
|
||||
detailRowDestination = "Destination",
|
||||
detailCopyNodeId = "Copy node ID",
|
||||
detailRowBolt11 = "BOLT11",
|
||||
|
||||
// ── PaymentRow ────────────────────────────────────────────────────────────
|
||||
paymentRowSentCD = "Sent",
|
||||
paymentRowReceivedCD = "Received",
|
||||
paymentRowNoMemo = "No memo",
|
||||
paymentRowPending = "Pending",
|
||||
|
||||
// ── OnboardingScreen ──────────────────────────────────────────────────────
|
||||
onboardingTitle = "Connect to LNbits",
|
||||
onboardingSubtitle = "Enter your LNbits server URL and API keys.",
|
||||
onboardingServerUrl = "Server URL",
|
||||
onboardingServerUrlHint = "https://bitcointxoko.org",
|
||||
onboardingInvoiceKey = "Invoice Key (read-only)",
|
||||
onboardingAdminKey = "Admin Key (for sending)",
|
||||
onboardingHideAdminKey = "Hide",
|
||||
onboardingShowAdminKey = "Show",
|
||||
onboardingFieldsRequired = "All fields are required.",
|
||||
onboardingConnect = "Connect",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user