Closed (duplicate)
Project:
Localization server
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2008 at 22:45 UTC
Updated:
15 Jan 2010 at 17:15 UTC
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
Comment #1
gábor hojtsyActually 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)
Comment #2
gábor hojtsyThis 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].