On Thu, Aug 21, 2008 at 2:33 PM, F Wolff <[EMAIL PROTECTED]> wrote:
>
> For now, let's just address these issues now without breaking the string
> freeze.

This shouldn't break the string freeze.

Julen.
diff --git a/html/images/information.png b/html/images/information.png
new file mode 100644
index 0000000000000000000000000000000000000000..12cd1aef900803abba99b26920337ec01ad5c267
GIT binary patch
literal 778
zcmV+l1NHogP)<h;3K|[EMAIL PROTECTED]
zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!oJmAMR5;6}
zlgn$=R~*GZcTB8gOeQf3nTa-!([EMAIL PROTECTED];ZqApx?m2DMV`5y=hK32Z4
zrF5FEg<6`FhR&iJnZ_{H#59l57&FNv{mtC(z4z-vNPM&#J<Bg&J{&mb7**wcRP*K`
[EMAIL PROTECTED];ru8;m+XMPaeMdZ(eoq#g&nawQ{i|p~;@MMjF<x0bn6=
z3>BVme|mWaqy4$_pJm?y9KM{-*hp?1+Ey3e-CEDooTa!B;e(Q>TSF?bj>5At13y1p
[EMAIL PROTECTED]<[EMAIL PROTECTED]@N~g=sW=
zn!9%NQ4BzW>+5LH)Q)[EMAIL PROTECTED](LD$xXlt$7A5CgE@
zpV-&l%vf;[EMAIL PROTECTED]&=cuwt>!vJ^#(&n|LcZyUzi6Duj$$hJ1s*HD-#;k-w@
zpdrwAuoDG_N2bvb07G$Zk*?Hc)JLtW4yqOnic_$zO7NZ#l>Fm){;fE?b$IbOaX2fe
z0la4g0Dfw2xk7Wi7NapVD8YMPCZu?A1QCK*67dgsvRKBLFtrM>?$%&_lD1882mzdO
zWPdw5KWw6IT`m1b_8=lS5jt8D3=RDa=&jWzR-)[EMAIL PROTECTED])-wpXB>rNBQ>N
zU#K`#1B&v|_AQK;7I~B}OdGiUT9LX>f0xm6<;Le<?v8hEtmnbwS!SP?2`;dqv5sw9
zni(%Gaqov;mNB)bas%IF->P!=vFjPsUQF*wCJ*dO)[EMAIL PROTECTED]|q#K
[EMAIL PROTECTED];[EMAIL PROTECTED]&N!V2mjOHw|*<kAZXlKc;ul3#dPWds((2xc~qF07*qo
IM6N<$f<v}uGXMYp

literal 0
HcmV?d00001

diff --git a/html/pootle.css b/html/pootle.css
index 9e9db81..3a817f7 100644
--- a/html/pootle.css
+++ b/html/pootle.css
@@ -550,6 +550,11 @@ div.info {
 	line-height:150%;
 	padding:2px;
 }
+
+.checkinfo {
+  vertical-align: top;
+}
+
 .account
 {
 }
diff --git a/templates/translatepage.html b/templates/translatepage.html
index 68acc76..ffffc62 100644
--- a/templates/translatepage.html
+++ b/templates/translatepage.html
@@ -283,8 +283,9 @@ from Pootle.templates import pootlepage, navbar
       <input name="action" value="translate" title="${assigns.action_title}"/>
       <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')">
+      <img src="${baseurl}images/information.png" class="checkinfo" alt="" />
+      <a href="http://translate.sourceforge.net/wiki/toolkit/pofilter_tests#${checking_name}"; target="_blank" py:content="checking_text">checking has-suggestion, etc</a>
     </div>
   </div>
   <div py:replace="pootlepage.user_links(links, session, uidir, uilanguage, baseurl, show_assigns())"/>
diff --git a/translatepage.py b/translatepage.py
index 2661ae1..c1283bd 100644
--- a/translatepage.py
+++ b/translatepage.py
@@ -228,6 +228,10 @@ class TranslatePage(pagelayout.PootleNavPage):
         # TODO: put the following parameter in quotes, since it will be foreign in all target languages
         # l10n: the parameter is the name of one of the quality checks, like "fuzzy"
         self.templatevars["checking_text"] = self.localize("checking %s", ", ".join(checknames))
+        checking_name = None
+        if len(checknames) == 1:
+          checking_name = checknames[0].replace("'", "")
+        self.templatevars["checking_name"] = checking_name
 
   def getassignbox(self):
     """gets strings if the user can assign strings"""
-------------------------------------------------------------------------
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