Texts update (#1861)

This commit is contained in:
Milan 2025-04-29 15:06:13 +02:00 committed by GitHub
parent a5b06c41e8
commit ac6c4be8bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 13 deletions

View File

@ -12,26 +12,26 @@
<string name="send_confirmation_back_button">Cancelar</string>
<string name="send_confirmation_sending_title">Enviando…</string>
<string name="send_confirmation_sending_subtitle">Tus tokens están siendo enviados a\n
<string name="send_confirmation_sending_subtitle">Tus monedas están siendo enviados a\n
<xliff:g example="zs12ghrbdjfs24383x5T…" id="index">%1$s</xliff:g>
</string>
<string name="send_confirmation_sending_title_transparent">Protegiendo…</string>
<string name="send_confirmation_sending_subtitle_transparent">Tus tokens están siendo protegidos</string>
<string name="send_confirmation_sending_subtitle_transparent">Tus monedas están siendo protegidos</string>
<string name="send_confirmation_success_title_transparent">¡Protegidos!</string>
<string name="send_confirmation_success_subtitle_transparent">Tus tokens han sido protegidos con éxito</string>
<string name="send_confirmation_success_subtitle_transparent">Tus monedas han sido protegidos con éxito</string>
<string name="send_confirmation_failure_title_transparent">No se pudo proteger</string>
<string name="send_confirmation_failure_subtitle_transparent">Hubo un error al intentar proteger tus tokens. Por favor, inténtalo de nuevo.</string>
<string name="send_confirmation_failure_subtitle_transparent">Hubo un error al intentar proteger tus monedas. Por favor, inténtalo de nuevo.</string>
<string name="send_confirmation_success_title">¡Enviado!</string>
<string name="send_confirmation_success_subtitle">Tus tokens fueron enviados exitosamente a\n
<string name="send_confirmation_success_subtitle">Tus monedas fueron enviados exitosamente a\n
<xliff:g example="zs12ghrbdjfs24383x5T…" id="index">%1$s</xliff:g>
</string>
<string name="send_confirmation_success_view_trx">Ver Transacción</string>
<string name="send_confirmation_success_btn_close">Cerrar</string>
<string name="send_confirmation_failure_title">Error al Enviar</string>
<string name="send_confirmation_failure_subtitle">Hubo un error al intentar enviar los tokens.\n
<string name="send_confirmation_failure_subtitle">Hubo un error al intentar enviar los monedas.\n
Por favor, inténtalo nuevamente.</string>
<string name="send_confirmation_failure_view_trx">Ver Transacción</string>
<string name="send_confirmation_failure_close_button">Cerrar</string>

View File

@ -12,26 +12,26 @@
<string name="send_confirmation_back_button">Cancel</string>
<string name="send_confirmation_sending_title">Sending…</string>
<string name="send_confirmation_sending_subtitle">Your tokens are being sent to\n
<string name="send_confirmation_sending_subtitle">Your coins are being sent to\n
<xliff:g example="zs12ghrbdjfs24383x5T…" id="index">%1$s</xliff:g>
</string>
<string name="send_confirmation_sending_title_transparent">Shielding…</string>
<string name="send_confirmation_sending_subtitle_transparent">Your tokens are getting shielded</string>
<string name="send_confirmation_sending_subtitle_transparent">Your coins are getting shielded</string>
<string name="send_confirmation_success_title_transparent">Shielded!</string>
<string name="send_confirmation_success_subtitle_transparent">Your tokens have been successfully shielded</string>
<string name="send_confirmation_success_subtitle_transparent">Your coins have been successfully shielded</string>
<string name="send_confirmation_failure_title_transparent">Unable to shield</string>
<string name="send_confirmation_failure_subtitle_transparent">There was an error attempting to shield your
tokens. Try it again, please.</string>
coins. Try it again, please.</string>
<string name="send_confirmation_success_title">Sent!</string>
<string name="send_confirmation_success_subtitle">Your tokens were successfully sent to\n
<string name="send_confirmation_success_subtitle">Your coins were successfully sent to\n
<xliff:g example="zs12ghrbdjfs24383x5T…" id="index">%1$s</xliff:g>
</string>
<string name="send_confirmation_success_view_trx">View Transaction</string>
<string name="send_confirmation_success_btn_close">Close</string>
<string name="send_confirmation_failure_title">Send Failed</string>
<string name="send_confirmation_failure_subtitle">There was an error attempting to send tokens.\nTry it again, please.</string>
<string name="send_confirmation_failure_subtitle">There was an error attempting to send coins.\nTry it again, please.</string>
<string name="send_confirmation_failure_view_trx">View Transaction</string>
<string name="send_confirmation_failure_close_button">Close</string>
<string name="send_confirmation_failure_report_button">Report</string>

View File

@ -574,12 +574,18 @@ private fun aboutScreenshots(
ScreenshotTest.takeScreenshot(tag, "About 1")
}
@OptIn(ExperimentalTestApi::class)
private fun seedScreenshots(
resContext: Context,
tag: String,
composeTestRule: ComposeTestRule
) {
composeTestRule.onNode(hasText(resContext.getString(R.string.seed_recovery_header))).also {
composeTestRule
.waitUntilAtLeastOneExists(
hasText(resContext.getString(R.string.seed_recovery_header), ignoreCase = true),
DEFAULT_TIMEOUT_MILLISECONDS
)
composeTestRule.onNode(hasText(resContext.getString(R.string.seed_recovery_header), ignoreCase = true)).also {
it.assertExists()
}