- 🇺🇸United States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended → as of 5 January 2025. If the issue verifiably applies → to later versions, please reopen with details and update the version.
I discover that the string "Card number" in checkout doesn't use the t() function to localize it.
I propose to pass every string in checkout through the t() function, like this
$form['credit_card']['number'] = array(
'#type' => 'item',
'#markup' => '<label for="card-element">'.t('Card number').'</label><div data-stripe="number" id="card-element"></div>',
);
Closed: outdated
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended → as of 5 January 2025. If the issue verifiably applies → to later versions, please reopen with details and update the version.