Re: [translate-pootle] Pootle MultiTab

2008-06-16 Thread Miklos Vajna
On Thu, Jun 12, 2008 at 09:00:49AM +0200, Samuel Murray (Groenkloof) [EMAIL 
PROTECTED] wrote:
 I wonder if it would be possible to program Pootle in such a way that 
 instead of loading the next page when a translator clicks Submit, 

i think so. using ajax it would be possible to pre-fetch the next page
while you are translating the current one, just like for example a
web-based photo album would pre-fetch the next image.

though it won't be trivial, so i can't say i'll came up with such a
patch.


pgp26RVj2gLqV.pgp
Description: PGP signature
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle MultiTab

2008-06-12 Thread Samuel Murray (Groenkloof)
Miklos Vajna wrote:

  Samuel wrote:

  http://leuce.com/tempfile/pootle_multitab_test.zip

  If you can do a diff, that would be appreciated, so that we could see
  what did you achieved.

A diff presupposes that I had changed something :-).  This utility (if 
you can call it that) is simply a single HTML page that opens multiple 
pages from Pootle simultaneously when the user clicks a link.

It is a quickfix to the problem that translators have to wait for the 
Pootle server to serve the next translatable item.  In an offline tool, 
there would be no waiting, so ideally there should be no waiting in 
Pootle either.

Of course, this can solved within Pootle itself by making it possible to 
submit more than item at a time (say, 10 at a time), but that is 
unlikely to be implemented soon.

I wonder if it would be possible to program Pootle in such a way that 
instead of loading the next page when a translator clicks Submit, 
Pootle loads a blank page in the browser that closes the browser window 
after a second or two.

Samuel

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle MultiTab

2008-06-12 Thread Clytie Siddall


On 11/06/2008, at 10:27 AM, Miklos Vajna wrote:

On Tue, Jun 10, 2008 at 03:09:30PM +0200, Samuel Murray  
(Groenkloof) [EMAIL PROTECTED] wrote:

new strings to load.  Let me know what you think.  This is a personal
hack, not affiliated to any organisation.

http://leuce.com/tempfile/pootle_multitab_test.zip


if you can do a diff, that would be appreciated, so that we could see
what did you achieved.


This opens multiple tabs in your browser, all showing strings needing  
translation in the chosen file?


That would be useful. I do this manually with different files,  
deliberately opening three or four different files on different tabs,  
then switching between them while waiting for pages to load. However,  
it doesn't work for a single file, because you get the same next  
string shown on more than one page.


from Clytie

Vietnamese Free Software Translation Team
http://vnoss.net/dokuwiki/doku.php?id=projects:l10n





PGP.sig
Description: This is a digitally signed message part
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle MultiTab

2008-06-12 Thread Samuel Murray (Groenkloof)
Clytie Siddall wrote:

 This opens multiple tabs in your browser, all showing strings needing 
 translation in the chosen file?

 ...However, it 
 doesn't work for a single file, because you get the same next string 
 shown on more than one page.

Quite right.  This is why pMultiTab opens ten pages, and the user must 
close all ten pages before opening the next ten pages.  It is easy to 
close pages using a keyboard shortcut such as Ctrl+W.

Unfortunately I can't let pMultiTab close the pages itself because I 
have no way of knowing how slow the user's internet access is and how 
long the page must wait before closing itself.

Samuel


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


[translate-pootle] Pootle MultiTab

2008-06-10 Thread Samuel Murray (Groenkloof)
G'day everyone

In my personal capacity I created an ugly hack to translate stuff faster 
in Pootle.  It opens multiple tabs simultaneously, so you don't wait for 
new strings to load.  Let me know what you think.  This is a personal 
hack, not affiliated to any organisation.

http://leuce.com/tempfile/pootle_multitab_test.zip

I'm not sure yet if this method will stuff things up for the poor sys 
admin (resulting in weird logs, etc).

Samuel

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle