Skip to content

Commit

Permalink
Fix string keys usages
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiupuhalschi-rdx committed Dec 20, 2024
1 parent da42602 commit aabaeef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ private fun GlossaryItem.resolveTextFromGlossaryItem() = when (this) {
GlossaryItem.gateways -> stringResource(R.string.infoLink_glossary_gateways)
GlossaryItem.preauthorizations -> stringResource(id = R.string.infoLink_glossary_preauthorizations)
GlossaryItem.possibledappcalls -> stringResource(id = R.string.infoLink_glossary_possibledappcalls)
GlossaryItem.securityshield -> "" // TODO crowdin
GlossaryItem.buildsecurityshields -> "" // TODO crowdin
GlossaryItem.securityshield -> stringResource(id = R.string.infoLink_glossary_securityshields)
GlossaryItem.buildsecurityshields -> stringResource(id = R.string.infoLink_glossary_buildingshield)
GlossaryItem.nohardwaredevice -> "" // TODO crowdin
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ private fun SecurityShieldOnboardingContent(
) {
when (currentPage) {
SecurityShieldOnboardingViewModel.State.Page.Introduction -> InfoButton(
text = stringResource(id = R.string.infoLink_title_securityshield),
text = stringResource(id = R.string.infoLink_title_securityshields),
onClick = { onInfoClick(GlossaryItem.securityshield) }
)
SecurityShieldOnboardingViewModel.State.Page.AddFactors -> InfoButton(
text = stringResource(id = R.string.infoLink_title_buildsecurityshields),
text = stringResource(id = R.string.infoLink_title_buildingshield),
onClick = { onInfoClick(GlossaryItem.buildsecurityshields) }
)
SecurityShieldOnboardingViewModel.State.Page.ApplyShield -> {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private fun PrepareFactorsContent(

InfoButton(
modifier = Modifier.padding(horizontal = RadixTheme.dimensions.paddingXXXXLarge),
text = stringResource(id = R.string.infoLink_title_buildsecurityshields),
text = stringResource(id = R.string.infoLink_title_buildingshield),
onClick = { onInfoClick(GlossaryItem.nohardwaredevice) }
)
}
Expand Down

0 comments on commit aabaeef

Please sign in to comment.