Skip to content

Commit

Permalink
Clean up strings
Browse files Browse the repository at this point in the history
  • Loading branch information
toluo-stripe committed Nov 25, 2024
1 parent 57ed680 commit fe007af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions link/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
<string name="stripe_verification_not_email">Not %s?</string>
<!-- Label for a button that re-sends the a login code when tapped -->
<string name="stripe_verification_resend">Resend code</string>
<!-- Title for a bank account payment method -->
<string name="stripe_wallet_bank">Bank</string>
<!-- Mandate text displayed when paying via Link instant debit. -->
<string name="stripe_wallet_bank_account_terms"><![CDATA[By continuing, you agree to authorize payments pursuant to these <terms>terms</terms>.]]></string>
<!-- Label for a section displaying payment details. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import com.stripe.android.link.theme.linkShapes
import com.stripe.android.model.ConsumerPaymentDetails
import com.stripe.android.model.ConsumerPaymentDetails.Card
import com.stripe.android.R as StripeR
import com.stripe.android.ui.core.R as StripeUiCoreR

@Composable
internal fun PaymentDetailsListItem(
Expand Down Expand Up @@ -226,7 +227,7 @@ private fun RowScope.BankAccountInfo(
)
Column(horizontalAlignment = Alignment.Start) {
Text(
text = bankAccount.bankName ?: stringResource(R.string.stripe_wallet_bank),
text = bankAccount.bankName ?: stringResource(StripeUiCoreR.string.stripe_payment_method_bank),
color = MaterialTheme.colors.onPrimary,
overflow = TextOverflow.Ellipsis,
maxLines = 1,
Expand Down
2 changes: 2 additions & 0 deletions payments-ui-core/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
<string name="stripe_p24_bank">Przelewy24 Bank</string>
<!-- Label of a button that initiates payment when tapped -->
<string name="stripe_pay_button_amount">Pay %s</string>
<!-- Title for a bank account payment method -->
<string name="stripe_payment_method_bank">Bank</string>
<!-- Label of a button displayed below a card entry form that saves the card details -->
<string name="stripe_paymentsheet_add_card">Add card</string>
<!-- Title shown above a view allowing the customer to save a card. -->
Expand Down

0 comments on commit fe007af

Please sign in to comment.