From cef1962a80a777b52bb84ba00b983546d8cbc8d5 Mon Sep 17 00:00:00 2001 From: Gibran Chevalley Date: Wed, 4 Dec 2024 14:41:02 +0100 Subject: [PATCH] fix: Add missing contentDescription for onboarding next button --- Core2/src/main/res/values-de/strings.xml | 1 + Core2/src/main/res/values-es/strings.xml | 1 + Core2/src/main/res/values-fr/strings.xml | 1 + Core2/src/main/res/values-it/strings.xml | 1 + Core2/src/main/res/values/strings.xml | 1 + .../screen/onboarding/components/AnimatedOnboardingButton.kt | 5 +++-- app/src/main/res/values-de/strings.xml | 3 +-- app/src/main/res/values-es/strings.xml | 3 +-- app/src/main/res/values-fr/strings.xml | 1 - app/src/main/res/values-it/strings.xml | 3 +-- app/src/main/res/values/strings.xml | 1 - 11 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Core2/src/main/res/values-de/strings.xml b/Core2/src/main/res/values-de/strings.xml index a83c5c580..8c481e45f 100644 --- a/Core2/src/main/res/values-de/strings.xml +++ b/Core2/src/main/res/values-de/strings.xml @@ -17,5 +17,6 @@ --> Abbrechen + Weiter Wiederholen diff --git a/Core2/src/main/res/values-es/strings.xml b/Core2/src/main/res/values-es/strings.xml index 5f3b53b10..1c261f62a 100644 --- a/Core2/src/main/res/values-es/strings.xml +++ b/Core2/src/main/res/values-es/strings.xml @@ -17,5 +17,6 @@ --> Cancelar + Siguiente Reintentar diff --git a/Core2/src/main/res/values-fr/strings.xml b/Core2/src/main/res/values-fr/strings.xml index 664a675ce..a73a99d1b 100644 --- a/Core2/src/main/res/values-fr/strings.xml +++ b/Core2/src/main/res/values-fr/strings.xml @@ -17,5 +17,6 @@ --> Annuler + Suivant Réessayer diff --git a/Core2/src/main/res/values-it/strings.xml b/Core2/src/main/res/values-it/strings.xml index 347979af5..813090e89 100644 --- a/Core2/src/main/res/values-it/strings.xml +++ b/Core2/src/main/res/values-it/strings.xml @@ -17,5 +17,6 @@ --> Annulla + Avanti Riprova diff --git a/Core2/src/main/res/values/strings.xml b/Core2/src/main/res/values/strings.xml index fd61e2666..0c2093f4b 100644 --- a/Core2/src/main/res/values/strings.xml +++ b/Core2/src/main/res/values/strings.xml @@ -17,5 +17,6 @@ --> Cancel + Next Retry diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/components/AnimatedOnboardingButton.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/components/AnimatedOnboardingButton.kt index 61fd12280..73530e558 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/components/AnimatedOnboardingButton.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/onboarding/components/AnimatedOnboardingButton.kt @@ -37,6 +37,7 @@ import com.infomaniak.swisstransfer.ui.theme.Dimens import com.infomaniak.swisstransfer.ui.theme.Margin import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme import com.infomaniak.swisstransfer.ui.utils.PreviewLightAndDark +import com.infomaniak.core2.R as RCore2 private const val BUTTON_ANIM_DURATION = 300 private const val BUTTON_ANIM_DELAY = BUTTON_ANIM_DURATION / 2 @@ -83,12 +84,12 @@ fun AnimatedOnboardingButton(isExpanded: () -> Boolean, onClick: () -> Unit) { Icon( modifier = Modifier.alpha(arrowVisibility), imageVector = AppImages.AppIcons.ArrowRight, - contentDescription = null + contentDescription = stringResource(RCore2.string.buttonNext), ) Text( modifier = Modifier.alpha(textVisibility), text = stringResource(id = R.string.buttonStart), - style = SwissTransferTheme.typography.bodyMedium + style = SwissTransferTheme.typography.bodyMedium, ) } } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 04a97abca..0be7e4042 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -23,7 +23,6 @@ Download Auswahl herunterladen Beenden - Weiter zu Teilen Starten Zurück @@ -32,7 +31,7 @@ Datei entfernen Passwort anzeigen Neuer Transfer - Heruntergeladene Übertragung : %d/%d + Heruntergeladene Übertragung: %d/%d Das Passwort muss zwischen 6 und 25 Zeichen lang sein Verfällt in %d Tagen diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index bf7d26368..5ef16f55c 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -23,7 +23,6 @@ Descargar Descargar la selección Acabado - Siguiente Compartir Inicio Volver @@ -32,7 +31,7 @@ Eliminar archivo Mostrar contraseña Nueva transferencia - Transferencia descargada : %d/%d + Transferencia descargada: %d/%d La contraseña debe tener entre 6 y 25 caracteres Caduca en %d días diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index f857a20ac..6a62bca52 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -23,7 +23,6 @@ Télécharger Télécharger la sélection Terminer - Suivant Partager Démarrer Retour diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 39e8efebf..ac8479780 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -23,7 +23,6 @@ Scaricare Scarica la selezione Finisci - Avanti Condividi Inizio Indietro @@ -32,7 +31,7 @@ Rimuovi il file Mostra password Nuovo trasferimento - Trasferimento scaricato : %d/%d + Trasferimento scaricato: %d/%d La password deve essere compresa tra 6 e 24 caratteri Scade tra %d giorni diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6e8687a99..f31cfd8ea 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -27,7 +27,6 @@ Download Download selection Finish - Next Share Start Back