Should be "Add a URL redirect from this page to another location". Sorry for the lack of patch.

/**
  * Implements hook_page_build().
  *
  * Adds an action on 404 pages to create a redirect.
  */
 function redirect_page_build(&$page) {
   if (redirect_is_current_page_404() && user_access('administer redirects')) {
     $actions['add'] = array(
       'title' => t('Add an URL redirect from this page to another location'),
       'href' => 'admin/config/search/redirect/add',
       'query' => array('source' => current_path()) + drupal_get_destination(),
     );
     $page['content']['system_main']['actions'] = array(
       '#theme' => 'links',
       '#links' => $actions,
       '#attributes' => array('class' => array('action-links')),
       '#weight' => -100,
     );
   }
 }

Comments

dave reid’s picture

Status: Needs review » Fixed

I went with 'Add URL redirect from this page...' since core uses 'Add URL alias' on its url alias table.
http://drupalcode.org/project/redirect.git/commit/9eea5c7

robloach’s picture

Issue tags: +Dave Reid rules

Dave Reid kills sharks with his bare hands.

robloach’s picture

Issue tags: +Grammar Nazi

Also, I fail at spelling.

Status: Fixed » Closed (fixed)
Issue tags: -Dave Reid rules, -Grammar Nazi

Automatically closed -- issue fixed for 2 weeks with no activity.