On Fri, Apr 13, 2007 at 02:09:16PM +0000, [EMAIL PROTECTED] wrote:
> Author: nextgens
> Date: 2007-04-13 14:09:16 +0000 (Fri, 13 Apr 2007)
> New Revision: 12626
> 
> Modified:
>    trunk/freenet/src/freenet/l10n/L10n.java
> Log:
> Doh
> 
> Modified: trunk/freenet/src/freenet/l10n/L10n.java
> ===================================================================
> --- trunk/freenet/src/freenet/l10n/L10n.java  2007-04-13 14:06:20 UTC (rev 
> 12625)
> +++ trunk/freenet/src/freenet/l10n/L10n.java  2007-04-13 14:09:16 UTC (rev 
> 12626)
> @@ -96,9 +96,9 @@
>       public static HTMLNode getHTMLNode(String key) {
>               String value = getString(key, true);
>               if(value != null)
> -                     return new HTMLNode("#", value);
> +                     return new HTMLNode("#", getDefaultString(value));

Eh? Surely ,value was right if value != null?

>               else
> -                     return new HTMLNode("#", value).addChild("span", "id", 
> "translate_it").addChild("a", "href", "/?translate=" + key).addChild("small", 
> " (translate it in your native language!)");
> +                     return new HTMLNode("#", 
> getDefaultString(value)).addChild("span", "id", "translate_it").addChild("a", 
> "href", "/?translate=" + key).addChild("small", " (translate it in your 
> native language!)");
>       }
>       
>       public static String getDefaultString(String key) {

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to