In file clone.module can we change near line 48 of function clone_menu() (using 7.x-1.0-beta1)

from
'title' => 'Clone content',
to
t('title' => 'Clone content'),

This allows us to change the action link label from "Clone content"
to anything we want using module http://drupal.org/project/stringoverrides

Comments

wonder95’s picture

StatusFileSize
new971 bytes

Sure, feel free to submit a patch like this (attached).

As a side note, I'm not sure what's deleting the space in clone_admin_paths(), because I didn't do it (this is the second patch for clone.module where that's been picked up).

wonder95’s picture

StatusFileSize
new728 bytes

Re-rolled patch is attached that only fixes clone_menu() (I had to turn off an IDE setting. D'oh!).

pwolanin’s picture

Status: Needs review » Closed (works as designed)

no, it's already passed through t() by the menu system.