Skip to content

Commit

Permalink
ABW-2346 - String copies imported from Crowdin.
Browse files Browse the repository at this point in the history
  • Loading branch information
raf-rdx committed Oct 27, 2023
1 parent 27f7398 commit 3f73c49
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ sealed class DappRequestFailure(msg: String? = null) : Exception(msg.orEmpty())
TransactionApprovalFailure.ConvertManifest -> R.string.error_transactionFailure_manifest
is TransactionApprovalFailure.FailedToPollTXStatus -> R.string.error_transactionFailure_pollStatus
is TransactionApprovalFailure.TransactionCommitted.Failure -> R.string.transaction_status_failed_text
is TransactionApprovalFailure.TransactionRejected.Permanently -> R.string.transaction_status_rejected_text // TODO Crowdin
is TransactionApprovalFailure.TransactionRejected.Temporary -> R.string.transaction_status_error_text // TODO Crowdin
is TransactionApprovalFailure.TransactionRejected.Permanently -> R.string.transaction_status_rejected_text
is TransactionApprovalFailure.TransactionRejected.Temporary -> R.string.transaction_status_error_text
GetEpoch -> R.string.error_transactionFailure_epoch
is TransactionApprovalFailure.InvalidTXDuplicate -> R.string.error_transactionFailure_duplicate
TransactionApprovalFailure.PrepareNotarizedTransaction -> R.string.error_transactionFailure_prepare
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ private fun AccountSecurityContent(
},
subtitle =
if (accountSecurityAndSettingsItem is AccountSecurityAndSettingsItem.DepositGuarantees) {
// TODO Add Crowdin
"Set your default guaranteed minimum for estimated deposits"
stringResource(id = R.string.settings_depositGuarantees_subtitle)
} else {
null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fun TransactionStatusDialog(
),
orientation = Orientation.Vertical,

)
)
.offset {
IntOffset(
x = 0,
Expand Down Expand Up @@ -149,13 +149,13 @@ fun TransactionStatusDialog(
) {
val title = when (state.walletErrorType) {
WalletErrorType.SubmittedTransactionHasFailedTransactionStatus -> {
"Transaction Failed" // TODO Crowdin
stringResource(id = R.string.transaction_status_failed_title)
}
WalletErrorType.SubmittedTransactionHasPermanentlyRejectedTransactionStatus -> {
"Transaction Rejected" // TODO Crowdin
stringResource(id = R.string.transaction_status_rejected_title)
}
WalletErrorType.SubmittedTransactionHasTemporarilyRejectedTransactionStatus -> {
"Transaction Error" // TODO Crowdin
stringResource(id = R.string.transaction_status_error_title)
}
else -> {
stringResource(id = R.string.common_somethingWentWrong)
Expand Down Expand Up @@ -235,7 +235,7 @@ private fun SuccessContent(
contentDescription = null
)
Text(
text = "Transaction Success", // stringResource(id = R.string.transaction_status_success_title),
text = stringResource(id = R.string.transaction_status_success_title),
style = RadixTheme.typography.title,
color = RadixTheme.colors.gray1
)
Expand All @@ -253,7 +253,7 @@ private fun SuccessContent(
horizontalArrangement = Arrangement.Center
) {
Text(
text = "Transaction ID: ",
text = stringResource(id = R.string.transaction_status_transaction_id_text),
style = RadixTheme.typography.body1Regular,
color = RadixTheme.colors.gray1
)
Expand Down

0 comments on commit 3f73c49

Please sign in to comment.