Attached is a patch to allow the translation of the "[ close all ]" link by overriding the default value of closerTemplate and surrounding the link text by Drupal.t()

Comments

dqd’s picture

Issue summary: View changes
Status: Needs review » Needs work
nicemessages-translate_close_link.patch:7: trailing whitespace.
      jQuery.jGrowl.defaults.closerTemplate = '<div>'+ Drupal.t('[ close all ]') +'</div>';
Checking patch Users/semiaddict/Desktop/b/nicemessages.js...
error: Users/semiaddict/Desktop/b/nicemessages.js: No such file or directory
dqd’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
dqd’s picture

Priority: Normal » Minor
Status: Needs work » Needs review
StatusFileSize
new709 bytes
dqd’s picture

Status: Needs review » Reviewed & tested by the community

  • Commit d1778a6 on 7.x-1.x by Digidog:
    Issue #1918942 by semiaddict, Digidog: Allow the translation of the...
dqd’s picture

Status: Reviewed & tested by the community » Fixed
dqd’s picture

Status: Fixed » Closed (fixed)

  • Commit d1778a6 on 7.x-1.x, 7.x-2.x by Digidog:
    Issue #1918942 by semiaddict, Digidog: Allow the translation of the...