I have implemented the uc recurring module on an existing drupal 6 website. After uploading the german language files several items had no translation. I could most of them translate via drupal's translation interface. Except the "cancel" link on the user's subscriptions overview page user/%uid/recurring-fees (see the attached screenshot).
Looking into the uc_recurring.module file I found around line 1022 the code wich creates the row with all the date

    // Add the row to the table for display.
    $rows[] = array(
      'data' => array(
        l($fee->order_id, 'user/'. $uid .'/order/'. $fee->order_id),
        uc_price($fee->fee_amount, $context),
        array('data' => check_plain($fee->regular_interval), 'nowrap' => 'nowrap'),
        format_date($fee->next_charge, 'small'),
        '<span class="recurring-status-'. intval($fee->status) .'">'. $recurring_states[$fee->status] .'</span>',
        $fee->remaining_intervals < 0 ? t('Until cancelled') : $fee->remaining_intervals,
        array('data' => implode(' | ', $ops), 'nowrap' => 'nowrap'),
      ),
    );
  }

The last part array('data' => implode(' | ', $ops) creates the cancel link. Now, I have no clue how to change the "cancel" into the german translation "kündigen". Can anyone help, please?

CommentFileSizeAuthor
uc_recurring_subscription_cancel-link.jpg46.12 KBsaccard
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

apaderno’s picture

Status: Active » Closed (outdated)
Issue tags: -translation

I am closing this issue, since it's for a Drupal version no longer supported.