Can someone please let me know where I can change the "flag" page title and heading text on the Abuse submission form page (i.e. /abuse/report/node/2)? I've looked in the module file, and localization, but can't seem to find it.

Thanks,
Cary

Comments

jaydub’s picture

The string 'flag' should come from the menu definition below. The string is wrapped in a t() function so it is translatable. I was able to successfully change 'flag' to 'report abuse' in my testing.

    $items[] = array(
      'path' => 'abuse/report', 
      'title' => t('flag'),
      'callback' => 'abuse_report', 
      'type' => MENU_CALLBACK,
      'access' => (user_access(REPORT_ABUSE) || user_access(DIRECT_FLAG)),
    );
jaydub’s picture

Status: Active » Postponed (maintainer needs more info)
tj2653’s picture

Hi jaydub,

Sorry for not updating earlier, but I believe I had figured it out. I *believe* it might have been listed under an "admin/..." URL, and I didn't know at the time that t() strings in Localization would affect anything with the same string. I will try to check if that's indeed the case over the weekend, so we will be able to close this issue.

It's really nice to see you getting this module moving again. Would love to see a new dev release soon, with the various patches.

Thanks

tj2653’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Appears that this was the case, and that everything is fine. Thanks.