You are here

function commerce_checkout_i18n_string_list in Commerce Core 7

Implements hook_i18n_string_list().

File

modules/checkout/commerce_checkout.module, line 207
Enable checkout as a multi-step form with customizable pages and a simple checkout pane API.

Code

function commerce_checkout_i18n_string_list($group) {
  if ($group == 'commerce') {

    // Allow the checkout completion message to be translated.
    $message = variable_get('commerce_checkout_completion_message', commerce_checkout_completion_message_default());
    $strings['commerce']['checkout']['complete']['message'] = $message['value'];
    return $strings;
  }
}