diff --git a/feature/monster-detail/android/src/main/kotlin/br/alexandregpereira/hunter/detail/ui/MonsterDeleteConfirmation.kt b/feature/monster-detail/android/src/main/kotlin/br/alexandregpereira/hunter/detail/ui/MonsterDeleteConfirmation.kt index ebee26fc..fa57b116 100644 --- a/feature/monster-detail/android/src/main/kotlin/br/alexandregpereira/hunter/detail/ui/MonsterDeleteConfirmation.kt +++ b/feature/monster-detail/android/src/main/kotlin/br/alexandregpereira/hunter/detail/ui/MonsterDeleteConfirmation.kt @@ -21,8 +21,10 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.height import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier +import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp +import br.alexandregpereira.hunter.detail.R import br.alexandregpereira.hunter.ui.compose.AppButton import br.alexandregpereira.hunter.ui.compose.BottomSheet import br.alexandregpereira.hunter.ui.compose.ScreenHeader @@ -46,13 +48,13 @@ fun MonsterDeleteConfirmation( Spacer(modifier = Modifier.height(16.dp)) ScreenHeader( - title = "Are you sure you want to delete this monster?", + title = stringResource(R.string.monster_detail_delete_question), ) Spacer(modifier = Modifier.height(32.dp)) AppButton( - text = "I'm sure", + text = stringResource(R.string.monster_detail_delete_confirmation), onClick = onConfirmed ) } diff --git a/feature/monster-detail/android/src/main/res/values-pt-rBR/strings.xml b/feature/monster-detail/android/src/main/res/values-pt-rBR/strings.xml index aaf9fb65..d4932368 100644 --- a/feature/monster-detail/android/src/main/res/values-pt-rBR/strings.xml +++ b/feature/monster-detail/android/src/main/res/values-pt-rBR/strings.xml @@ -50,4 +50,6 @@ Nome Editar Remover + Tem certeza que deseja excluir esse monstro? + Tenho certeza diff --git a/feature/monster-detail/android/src/main/res/values/strings.xml b/feature/monster-detail/android/src/main/res/values/strings.xml index ecd46514..f40bac69 100644 --- a/feature/monster-detail/android/src/main/res/values/strings.xml +++ b/feature/monster-detail/android/src/main/res/values/strings.xml @@ -51,4 +51,6 @@ Name Edit Delete + Are you sure you want to delete this monster? + I\'m sure \ No newline at end of file diff --git a/feature/settings/android/src/main/java/br/alexandregpereira/hunter/settings/ui/SettingsScreen.kt b/feature/settings/android/src/main/java/br/alexandregpereira/hunter/settings/ui/SettingsScreen.kt index 77200acb..ab2b8be8 100644 --- a/feature/settings/android/src/main/java/br/alexandregpereira/hunter/settings/ui/SettingsScreen.kt +++ b/feature/settings/android/src/main/java/br/alexandregpereira/hunter/settings/ui/SettingsScreen.kt @@ -53,7 +53,7 @@ internal fun SettingsScreen( Column(Modifier.padding(contentPadding)) { SettingsItem( - text = "Advanced Settings", + text = stringResource(R.string.settings_manage_advanced_settings), onClick = viewIntent::onAdvancedSettingsClick ) diff --git a/feature/settings/android/src/main/res/values-pt-rBR/strings.xml b/feature/settings/android/src/main/res/values-pt-rBR/strings.xml index c1de311f..cb343cb4 100644 --- a/feature/settings/android/src/main/res/values-pt-rBR/strings.xml +++ b/feature/settings/android/src/main/res/values-pt-rBR/strings.xml @@ -20,4 +20,5 @@ URL do JSON de Fontes Alternativas Gerenciar Conteúdos de Monstros Sincronizar + Configurações Avançadas diff --git a/feature/settings/android/src/main/res/values/strings.xml b/feature/settings/android/src/main/res/values/strings.xml index f4a9b4e4..e28fe8fe 100644 --- a/feature/settings/android/src/main/res/values/strings.xml +++ b/feature/settings/android/src/main/res/values/strings.xml @@ -21,4 +21,5 @@ Alternative Sources JSON URL Manage Monsters Content Sync + Advanced Settings