On Do, 2008-08-21 at 11:01 +0200, Julen wrote:
> On Mon, Aug 18, 2008 at 9:54 AM, Dwayne Bailey <[EMAIL PROTECTED]> wrote:
> > On Fri, 2008-08-15 at 12:54 +0200, F Wolff wrote:
> >> --- templates/translatepage.html        (revision 8053)
> >> +++ templates/translatepage.html        (working copy)
> >> @@ -282,8 +282,11 @@
> >>        <input name="doassign" type="submit" 
> >> value="${assigns.submit_text}"/>
> >>      </form>
> >>
> >> -    <div class="side" py:if="defined('checking_text')" 
> >> py:content="checking_text">
> >> -      checking has-suggestion, etc
> >> +    <div class="side" py:if="defined('checking_text')">
> >> +       <a 
> >> href="http://translate.sourceforge.net/wiki/toolkit/pofilter_tests"; 
> >> target="_new" py:content="checking_text">
> >> +        checking has-suggestion, etc
> >> +       </a>
> >
> > Can we make this use http://.....#chedckname as that will take the
> > translator directly to the correct check.  Not essential but a useful
> > change.
> 
> Yes, it's very useful but we can have different tests running at the
> same time, can't we? Since we are formatting a localized string
> ("checking %s") it doesn't seem to be possible to achieve that in a
> straightforward manner. If we put the url in the python script the
> tags are not interpreted so we don't get links anymore.
> 
> Julen.

The anchors on that page is sorted alphabetically, so we could just go
to the first one, sorted according to English sorting rules. We just
need to pass that information to the template to construct the correct
URL. The only common case where multiple checks are reviewed is part of
"quick translate" - we could simply not make the link clickable in this
case. Either of these alternatives is OK for now, I think.

But let's get it in as it is now - I would like to build a testing
version in the next few hours.

Friedel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to