update.module line 220-222 strings are not available for translation.

I'm not sure how to provide a patch for such an issue...

Comments

dww’s picture

Title: update.module line 220-222 strings are not available for translation. » update.module line 220-222 strings do not appear to be available for translation (but they are)
Category: bug » support
Status: Active » Closed (works as designed)

Antoine Lafontaine is talking about these lines:

  // Customize the titles of the action links depending on where they appear.   
  $items['admin/reports/updates/install']['title'] = 'Install new module or theme';
  $items['admin/modules/install']['title'] = 'Install new module';
  $items['admin/appearance/install']['title'] = 'Install new theme';

These are all part of hook_menu(), and changing the 'title' attribute of various menu item definitions. The menu system is supposed to handle translation of menu titles, and do the right things. I suppose it's possible that the way these items are defined is confusing some tool that's parsing code for translatable string templates, but if so, it's a bug in the parser, not a bug in this code.

Cheers,
-Derek