I was trying to make a button to expand all suggestions on a page and came with a simple snippet to Firefox:

javascript:(function() { $('#l10n-community-translate-form .toolbox').each(function(){ var sid = $(this).parent().attr('id').replace('l10n-community-editor-', ''); $('#l10n-community-editor-' + sid + ' .lookup').click(); }); })()

Just add it to your bookmarks and load whenever wanted.

Notes:
1) I still would like this to be a feature button "Expand all suggestions" in the UI. Is it worth writing it?
2) Absolutely NO WARRANTY on a server load for users of this...

Comments

gábor hojtsy’s picture

Actually this is at least in part a duplicate of http://drupal.org/node/196871 (although that one is two suggestions in one issue, but it also has a server side solution for this problem you describe)

gábor hojtsy’s picture

Status: Needs review » Closed (duplicate)

This is handled in the new UI patch which shows all outstanding suggestions on the same UI as translation editing and submission (which IMHO makes a lot of sense). [##563128].