refactor: i18n HistoryStrings
This commit is contained in:
@@ -141,117 +141,117 @@ val EnHomeStrings = AppStrings(
|
||||
sendVmUnsupportedType = { tag -> "Unsupported type: $tag" },
|
||||
sendVmPaymentFailedRescan = "Payment failed — could not re-fetch address",
|
||||
|
||||
// ── HistoryScreen ─────────────────────────────────────────────────────────
|
||||
historyTitle = "Activity",
|
||||
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 ───────────────────────────────────────────────────
|
||||
statusSuccess = "Success", // e.g. "Success"
|
||||
statusPending = "Pending", // e.g. "Pending"
|
||||
statusFailed = "Failed", // e.g. "Failed"
|
||||
statusUnknown = "Unknown", // e.g. "Unknown"
|
||||
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",
|
||||
paymentRowFailed = "Failed",
|
||||
// // ── HistoryScreen ─────────────────────────────────────────────────────────
|
||||
// historyTitle = "Activity",
|
||||
// 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 ───────────────────────────────────────────────────
|
||||
// statusSuccess = "Success", // e.g. "Success"
|
||||
// statusPending = "Pending", // e.g. "Pending"
|
||||
// statusFailed = "Failed", // e.g. "Failed"
|
||||
// statusUnknown = "Unknown", // e.g. "Unknown"
|
||||
// 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",
|
||||
// paymentRowFailed = "Failed",
|
||||
|
||||
onboarding = OnboardingStrings(
|
||||
back = "Back",
|
||||
@@ -359,6 +359,120 @@ val EnHomeStrings = AppStrings(
|
||||
receiveVmWithdrawFailed = "Withdraw failed",
|
||||
),
|
||||
|
||||
history = HistoryStrings(
|
||||
// ── HistoryScreen ─────────────────────────────────────────────────────────
|
||||
historyTitle = "Activity",
|
||||
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 ───────────────────────────────────────────────────
|
||||
statusSuccess = "Success", // e.g. "Success"
|
||||
statusPending = "Pending", // e.g. "Pending"
|
||||
statusFailed = "Failed", // e.g. "Failed"
|
||||
statusUnknown = "Unknown", // e.g. "Unknown"
|
||||
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",
|
||||
paymentRowFailed = "Failed",
|
||||
),
|
||||
|
||||
nwc = NwcStrings(
|
||||
back = "Back",
|
||||
next = "Next",
|
||||
|
||||
Reference in New Issue
Block a user