refactor: i18n ReceiveStrings
This commit is contained in:
@@ -56,63 +56,6 @@ val EnHomeStrings = AppStrings(
|
||||
enterValidAmount = "Enter a valid amount",
|
||||
satsUnit = { sats -> "$sats sats" },
|
||||
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
receive = "Receive",
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
receiveError = "Error",
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
lightningAddressQrCode = "Lightning address QR code",
|
||||
lightningAddressLabel = "Lightning Address",
|
||||
shareLightningAddress = "Share Lightning Address",
|
||||
lightningInvoiceQrCode = "Lightning invoice QR code",
|
||||
invoiceLabel = "Invoice",
|
||||
shareInvoice = "Share Invoice",
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
amountInSats = "Amount (sats)",
|
||||
satsRange = { min, max -> "$min – $max sats" },
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
memoOptional = "Memo (optional)",
|
||||
memoPlaceholder = "What's this for?",
|
||||
creatingInvoice = "Creating invoice…",
|
||||
createInvoice = "Create Invoice",
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
waiting = "Waiting…",
|
||||
invoiceExpired = "Invoice expired",
|
||||
newInvoice = "New Invoice",
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
withdrawFrom = "Withdraw from",
|
||||
minimumSats = { min -> "Minimum is $min sats" },
|
||||
maximumSats = { max -> "Maximum is $max sats" },
|
||||
withdrawButton = "Withdraw",
|
||||
withdrawButtonAmount = { amount -> "Withdraw $amount sats" },
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "Payment Received!",
|
||||
|
||||
// ── 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",
|
||||
openInApp = "Open in app",
|
||||
noAppFound = "No compatible app found",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "Failed to create invoice",
|
||||
receiveVmWithdrawRejected = "Withdraw service rejected the invoice",
|
||||
receiveVmWithdrawFailed = "Withdraw failed",
|
||||
|
||||
// ── SendScreen — general ──────────────────────────────────────────────────
|
||||
send = "Send",
|
||||
paste = "Paste",
|
||||
@@ -327,6 +270,7 @@ val EnHomeStrings = AppStrings(
|
||||
hideAdminKey = "Hide",
|
||||
showAdminKey = "Show",
|
||||
fieldsRequired = "All fields are required.",
|
||||
invalidKeyFormat = "Invalid key format",
|
||||
connect = "Connect",
|
||||
notificationsTitle = "Stay in the loop",
|
||||
notificationsSubtitle = "Get notified instantly when you receive a payment.",
|
||||
@@ -356,6 +300,65 @@ val EnHomeStrings = AppStrings(
|
||||
cancel = "Cancel"
|
||||
),
|
||||
|
||||
receive = ReceiveStrings(
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
receive = "Receive",
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
receiveError = "Error",
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
lightningAddressQrCode = "Lightning address QR code",
|
||||
lightningAddressLabel = "Lightning Address",
|
||||
shareLightningAddress = "Share Lightning Address",
|
||||
lightningInvoiceQrCode = "Lightning invoice QR code",
|
||||
invoiceLabel = "Invoice",
|
||||
shareInvoice = "Share Invoice",
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
amountInSats = "Amount (sats)",
|
||||
satsRange = { min, max -> "$min – $max sats" },
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
memoOptional = "Memo (optional)",
|
||||
memoPlaceholder = "What's this for?",
|
||||
creatingInvoice = "Creating invoice…",
|
||||
createInvoice = "Create Invoice",
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
waiting = "Waiting…",
|
||||
invoiceExpired = "Invoice expired",
|
||||
newInvoice = "New Invoice",
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
withdrawFrom = "Withdraw from",
|
||||
minimumSats = { min -> "Minimum is $min sats" },
|
||||
maximumSats = { max -> "Maximum is $max sats" },
|
||||
withdrawButton = "Withdraw",
|
||||
withdrawButtonAmount = { amount -> "Withdraw $amount sats" },
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "Payment Received!",
|
||||
|
||||
// ── 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",
|
||||
openInApp = "Open in app",
|
||||
noAppFound = "No compatible app found",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "Failed to create invoice",
|
||||
receiveVmWithdrawRejected = "Withdraw service rejected the invoice",
|
||||
receiveVmWithdrawFailed = "Withdraw failed",
|
||||
),
|
||||
|
||||
nwc = NwcStrings(
|
||||
back = "Back",
|
||||
next = "Next",
|
||||
|
||||
@@ -56,63 +56,6 @@ val EsHomeStrings = AppStrings(
|
||||
enterValidAmount = "Introduce una cantidad válida",
|
||||
satsUnit = { sats -> "$sats sats" },
|
||||
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
receive = "Recibir",
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
receiveError = "Error",
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
lightningAddressQrCode = "Código QR de dirección Lightning",
|
||||
lightningAddressLabel = "Dirección Lightning",
|
||||
shareLightningAddress = "Compartir dirección Lightning",
|
||||
lightningInvoiceQrCode = "Código QR de factura Lightning",
|
||||
invoiceLabel = "Factura",
|
||||
shareInvoice = "Compartir factura",
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
amountInSats = "Cantidad (sats)",
|
||||
satsRange = { min, max -> "$min – $max sats" },
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
memoOptional = "Nota (opcional)",
|
||||
memoPlaceholder = "¿Para qué es esto?",
|
||||
creatingInvoice = "Creando factura…",
|
||||
createInvoice = "Crear factura",
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
waiting = "Esperando…",
|
||||
invoiceExpired = "Factura expirada",
|
||||
newInvoice = "Nueva factura",
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
withdrawFrom = "Retirar de",
|
||||
minimumSats = { min -> "Mínimo es $min sats" },
|
||||
maximumSats = { max -> "Máximo es $max sats" },
|
||||
withdrawButton = "Retirar",
|
||||
withdrawButtonAmount = { amount -> "Retirar $amount sats" },
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "¡Pago recibido!",
|
||||
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
amountDisplaySats = { amount -> "$amount ${if (amount == 1L) "sat" else "sats"}" },
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
brightnessReduce = "Reducir brillo",
|
||||
brightnessBoost = "Aumentar brillo",
|
||||
qrShare = "Compartir",
|
||||
qrCopy = "Copiar",
|
||||
qrNfcStop = "Detener NFC",
|
||||
qrNfcStart = "Compartir por NFC",
|
||||
openInApp = "Abrir en app",
|
||||
noAppFound = "No hay aplicación compatible",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "No se pudo crear la factura",
|
||||
receiveVmWithdrawRejected = "El servicio de retiro rechazó la factura",
|
||||
receiveVmWithdrawFailed = "Error al retirar",
|
||||
|
||||
// ── SendScreen — general ──────────────────────────────────────────────────
|
||||
send = "Enviar",
|
||||
paste = "Pegar",
|
||||
@@ -328,6 +271,7 @@ val EsHomeStrings = AppStrings(
|
||||
hideAdminKey = "Ocultar",
|
||||
showAdminKey = "Mostrar",
|
||||
fieldsRequired = "Todos los campos son obligatorios.",
|
||||
invalidKeyFormat = "Formato de clave no válido",
|
||||
connect = "Conectar",
|
||||
notificationsTitle = "Mantente al día",
|
||||
notificationsSubtitle = "Recibe notificaciones al instante cuando recibas un pago.",
|
||||
@@ -357,6 +301,65 @@ val EsHomeStrings = AppStrings(
|
||||
cancel = "Cancelar"
|
||||
),
|
||||
|
||||
receive = ReceiveStrings(
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
receive = "Recibir",
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
receiveError = "Error",
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
lightningAddressQrCode = "Código QR de dirección Lightning",
|
||||
lightningAddressLabel = "Dirección Lightning",
|
||||
shareLightningAddress = "Compartir dirección Lightning",
|
||||
lightningInvoiceQrCode = "Código QR de factura Lightning",
|
||||
invoiceLabel = "Factura",
|
||||
shareInvoice = "Compartir factura",
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
amountInSats = "Cantidad (sats)",
|
||||
satsRange = { min, max -> "$min – $max sats" },
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
memoOptional = "Nota (opcional)",
|
||||
memoPlaceholder = "¿Para qué es esto?",
|
||||
creatingInvoice = "Creando factura…",
|
||||
createInvoice = "Crear factura",
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
waiting = "Esperando…",
|
||||
invoiceExpired = "Factura expirada",
|
||||
newInvoice = "Nueva factura",
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
withdrawFrom = "Retirar de",
|
||||
minimumSats = { min -> "Mínimo es $min sats" },
|
||||
maximumSats = { max -> "Máximo es $max sats" },
|
||||
withdrawButton = "Retirar",
|
||||
withdrawButtonAmount = { amount -> "Retirar $amount sats" },
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "¡Pago recibido!",
|
||||
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
amountDisplaySats = { amount -> "$amount ${if (amount == 1L) "sat" else "sats"}" },
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
brightnessReduce = "Reducir brillo",
|
||||
brightnessBoost = "Aumentar brillo",
|
||||
qrShare = "Compartir",
|
||||
qrCopy = "Copiar",
|
||||
qrNfcStop = "Detener NFC",
|
||||
qrNfcStart = "Compartir por NFC",
|
||||
openInApp = "Abrir en app",
|
||||
noAppFound = "No hay aplicación compatible",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "No se pudo crear la factura",
|
||||
receiveVmWithdrawRejected = "El servicio de retiro rechazó la factura",
|
||||
receiveVmWithdrawFailed = "Error al retirar",
|
||||
),
|
||||
|
||||
nwc = NwcStrings(
|
||||
// ── Shared ────────────────────────────────────────────────────────────────
|
||||
back = "Atrás",
|
||||
|
||||
@@ -55,63 +55,6 @@ val EuStrings = AppStrings(
|
||||
enterValidAmount = "Sartu zenbateko baliogarri bat",
|
||||
satsUnit = { sats -> "$sats sat" },
|
||||
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
receive = "Jaso",
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
receiveError = "Errorea",
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
lightningAddressQrCode = "Lightning helbidearen QR kodea",
|
||||
lightningAddressLabel = "Lightning helbidea",
|
||||
shareLightningAddress = "Partekatu Lightning helbidea",
|
||||
lightningInvoiceQrCode = "Lightning fakturaren QR kodea",
|
||||
invoiceLabel = "Faktura",
|
||||
shareInvoice = "Partekatu faktura",
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
amountInSats = "Zenbatekoa (sat)",
|
||||
satsRange = { min, max -> "$min – $max sat" },
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
memoOptional = "Oharra (aukerakoa)",
|
||||
memoPlaceholder = "Zertarako da hau?",
|
||||
creatingInvoice = "Faktura sortzen…",
|
||||
createInvoice = "Sortu faktura",
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
waiting = "Zain…",
|
||||
invoiceExpired = "Faktura iraungita",
|
||||
newInvoice = "Faktura berria",
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
withdrawFrom = "Atera hemendik:",
|
||||
minimumSats = { min -> "Gutxienekoa $min sat da" },
|
||||
maximumSats = { max -> "Gehienekoa $max sat da" },
|
||||
withdrawButton = "Atera",
|
||||
withdrawButtonAmount = { amount -> "Atera $amount sat" },
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "Ordainketa jasota!",
|
||||
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
amountDisplaySats = { amount -> "$amount sat" },
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
brightnessReduce = "Murriztu distira",
|
||||
brightnessBoost = "Handitu distira",
|
||||
qrShare = "Partekatu",
|
||||
qrCopy = "Kopiatu",
|
||||
qrNfcStop = "Gelditu NFC partekatzea",
|
||||
qrNfcStart = "Partekatu NFC bidez",
|
||||
openInApp = "Ireki aplikazioan",
|
||||
noAppFound = "Ez da aurkitu aplikazio bateragarririk",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "Ezin izan da faktura sortu",
|
||||
receiveVmWithdrawRejected = "Ateratzeko zerbitzuak faktura baztertu du",
|
||||
receiveVmWithdrawFailed = "Ateratzeak huts egin du",
|
||||
|
||||
// ── SendScreen — general ──────────────────────────────────────────────────
|
||||
send = "Bidali",
|
||||
paste = "Itsatsi",
|
||||
@@ -327,6 +270,7 @@ val EuStrings = AppStrings(
|
||||
hideAdminKey = "Ezkutatu",
|
||||
showAdminKey = "Erakutsi",
|
||||
fieldsRequired = "Eremu guztiak beharrezkoak dira.",
|
||||
invalidKeyFormat = "Gako formatu baliogabea",
|
||||
connect = "Konektatu",
|
||||
notificationsTitle = "Egon eguneratuta",
|
||||
notificationsSubtitle = "Jaso jakinarazpenak berehala transakzio bat jasotzen duzunean.",
|
||||
@@ -355,6 +299,65 @@ val EuStrings = AppStrings(
|
||||
schedule = "Programatu",
|
||||
cancel = "Utzi"
|
||||
),
|
||||
|
||||
receive = ReceiveStrings(
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
receive = "Jaso",
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
receiveError = "Errorea",
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
lightningAddressQrCode = "Lightning helbidearen QR kodea",
|
||||
lightningAddressLabel = "Lightning helbidea",
|
||||
shareLightningAddress = "Partekatu Lightning helbidea",
|
||||
lightningInvoiceQrCode = "Lightning fakturaren QR kodea",
|
||||
invoiceLabel = "Faktura",
|
||||
shareInvoice = "Partekatu faktura",
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
amountInSats = "Zenbatekoa (sat)",
|
||||
satsRange = { min, max -> "$min – $max sat" },
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
memoOptional = "Oharra (aukerakoa)",
|
||||
memoPlaceholder = "Zertarako da hau?",
|
||||
creatingInvoice = "Faktura sortzen…",
|
||||
createInvoice = "Sortu faktura",
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
waiting = "Zain…",
|
||||
invoiceExpired = "Faktura iraungita",
|
||||
newInvoice = "Faktura berria",
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
withdrawFrom = "Atera hemendik:",
|
||||
minimumSats = { min -> "Gutxienekoa $min sat da" },
|
||||
maximumSats = { max -> "Gehienekoa $max sat da" },
|
||||
withdrawButton = "Atera",
|
||||
withdrawButtonAmount = { amount -> "Atera $amount sat" },
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
paymentReceived = "Ordainketa jasota!",
|
||||
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
amountDisplaySats = { amount -> "$amount sat" },
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
brightnessReduce = "Murriztu distira",
|
||||
brightnessBoost = "Handitu distira",
|
||||
qrShare = "Partekatu",
|
||||
qrCopy = "Kopiatu",
|
||||
qrNfcStop = "Gelditu NFC partekatzea",
|
||||
qrNfcStart = "Partekatu NFC bidez",
|
||||
openInApp = "Ireki aplikazioan",
|
||||
noAppFound = "Ez da aurkitu aplikazio bateragarririk",
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
receiveVmFailedToCreateInvoice = "Ezin izan da faktura sortu",
|
||||
receiveVmWithdrawRejected = "Ateratzeko zerbitzuak faktura baztertu du",
|
||||
receiveVmWithdrawFailed = "Ateratzeak huts egin du",
|
||||
),
|
||||
nwc = NwcStrings(
|
||||
// ── Shared ────────────────────────────────────────────────────────────────
|
||||
back = "Atzera",
|
||||
|
||||
@@ -64,63 +64,6 @@ data class AppStrings(
|
||||
val enterValidAmount : String,
|
||||
val satsUnit : (sats: Long) -> String,
|
||||
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
val receive : String,
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
val receiveError : String,
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
val lightningAddressQrCode : String,
|
||||
val lightningAddressLabel : String,
|
||||
val shareLightningAddress : String,
|
||||
val lightningInvoiceQrCode : String,
|
||||
val invoiceLabel : String,
|
||||
val shareInvoice : String,
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
val amountInSats : String, // text field label
|
||||
val satsRange : (min: Long, max: Long) -> String,
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
val memoOptional : String,
|
||||
val memoPlaceholder : String,
|
||||
val creatingInvoice : String,
|
||||
val createInvoice : String,
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
val waiting : String,
|
||||
val invoiceExpired : String,
|
||||
val newInvoice : String,
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
val withdrawFrom : String,
|
||||
val minimumSats : (min: Long) -> String,
|
||||
val maximumSats : (max: Long) -> String,
|
||||
val withdrawButton : String, // no fixed amount
|
||||
val withdrawButtonAmount : (amountSats: Long) -> String, // fixed amount
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
val paymentReceived : String,
|
||||
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
val amountDisplaySats : (amount: Long) -> String,
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
val brightnessReduce : String,
|
||||
val brightnessBoost : String,
|
||||
val qrShare : String,
|
||||
val qrCopy : String,
|
||||
val qrNfcStop : String,
|
||||
val qrNfcStart : String,
|
||||
val openInApp : String,
|
||||
val noAppFound : String,
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
val receiveVmFailedToCreateInvoice : String,
|
||||
val receiveVmWithdrawRejected : String,
|
||||
val receiveVmWithdrawFailed : String,
|
||||
|
||||
// ── SendScreen — general ──────────────────────────────────────────────────
|
||||
val send : String,
|
||||
val paste : String,
|
||||
@@ -307,6 +250,7 @@ data class AppStrings(
|
||||
val paymentRowFailed : String,
|
||||
|
||||
val onboarding: OnboardingStrings,
|
||||
val receive: ReceiveStrings,
|
||||
val nwc: NwcStrings
|
||||
)
|
||||
|
||||
@@ -325,6 +269,7 @@ data class OnboardingStrings(
|
||||
val hideAdminKey: String,
|
||||
val connect: String,
|
||||
val fieldsRequired: String,
|
||||
val invalidKeyFormat: String,
|
||||
val back: String,
|
||||
val next: String,
|
||||
val done: String,
|
||||
@@ -356,6 +301,65 @@ data class OnboardingStrings(
|
||||
val cancel: String
|
||||
)
|
||||
|
||||
data class ReceiveStrings(
|
||||
// ── ReceiveScreen — general ───────────────────────────────────────────────
|
||||
val receive : String,
|
||||
|
||||
// ── ReceiveScreen — error ─────────────────────────────────────────────────
|
||||
val receiveError : String,
|
||||
|
||||
// ── ReceiveScreen — QR / share ────────────────────────────────────────────
|
||||
val lightningAddressQrCode : String,
|
||||
val lightningAddressLabel : String,
|
||||
val shareLightningAddress : String,
|
||||
val lightningInvoiceQrCode : String,
|
||||
val invoiceLabel : String,
|
||||
val shareInvoice : String,
|
||||
|
||||
// ── ReceiveScreen — amount step ───────────────────────────────────────────
|
||||
val amountInSats : String, // text field label
|
||||
val satsRange : (min: Long, max: Long) -> String,
|
||||
|
||||
// ── ReceiveScreen — memo step ─────────────────────────────────────────────
|
||||
val memoOptional : String,
|
||||
val memoPlaceholder : String,
|
||||
val creatingInvoice : String,
|
||||
val createInvoice : String,
|
||||
|
||||
// ── ReceiveScreen — invoice ready ─────────────────────────────────────────
|
||||
val waiting : String,
|
||||
val invoiceExpired : String,
|
||||
val newInvoice : String,
|
||||
|
||||
// ── ReceiveScreen — lnurl withdraw ────────────────────────────────────────
|
||||
val withdrawFrom : String,
|
||||
val minimumSats : (min: Long) -> String,
|
||||
val maximumSats : (max: Long) -> String,
|
||||
val withdrawButton : String, // no fixed amount
|
||||
val withdrawButtonAmount : (amountSats: Long) -> String, // fixed amount
|
||||
|
||||
// ── ReceiveScreen — success ───────────────────────────────────────────────
|
||||
val paymentReceived : String,
|
||||
|
||||
// ── AmountDisplay ─────────────────────────────────────────────────────────
|
||||
val amountDisplaySats : (amount: Long) -> String,
|
||||
|
||||
// ── BrightnessToggleButton & QrDisplayCard ────────────────────────────────
|
||||
val brightnessReduce : String,
|
||||
val brightnessBoost : String,
|
||||
val qrShare : String,
|
||||
val qrCopy : String,
|
||||
val qrNfcStop : String,
|
||||
val qrNfcStart : String,
|
||||
val openInApp : String,
|
||||
val noAppFound : String,
|
||||
|
||||
// ── ReceiveViewModel ──────────────────────────────────────────────────────
|
||||
val receiveVmFailedToCreateInvoice : String,
|
||||
val receiveVmWithdrawRejected : String,
|
||||
val receiveVmWithdrawFailed : String,
|
||||
)
|
||||
|
||||
data class NwcStrings(
|
||||
|
||||
// ── Shared / navigation ───────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user