Author: nextgens
Date: 2007-04-22 17:54:02 +0000 (Sun, 22 Apr 2007)
New Revision: 12871
Modified:
trunk/freenet/src/freenet/clients/http/TranslationToadlet.java
Log:
L10n: increase the size of the input field on the TranslationToadlet
Modified: trunk/freenet/src/freenet/clients/http/TranslationToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/TranslationToadlet.java
2007-04-22 16:19:55 UTC (rev 12870)
+++ trunk/freenet/src/freenet/clients/http/TranslationToadlet.java
2007-04-22 17:54:02 UTC (rev 12871)
@@ -113,11 +113,11 @@
contentRow.addChild("td", "class",
"translation-new").addChild(
"input",
- new String[] { "type", "name", "value"
},
- new String[] { "text", "trans",
L10n.getString(key)
+ new String[] { "type", "name", "size",
"value" },
+ new String[] { "text", "trans", "120",
L10n.getString(key)
});
- contentRow.addChild("input",
+ updateForm.addChild("input",
new String[] { "type", "name", "value"
},
new String[] { "hidden", "key", key
});
@@ -162,10 +162,10 @@
contentRow.addChild("td", "class",
"translation-new").addChild(
"input",
new String[] { "type", "name",
"value" },
- new String[] { "text", "trans",
L10n.getString(key)
+ new String[] { "text", "trans",
L10n.getString(key)
});
- contentRow.addChild("td",
+ legendTable.addChild("td",
new String[] { "type", "name",
"value" },
new String[] { "text", "key",
key
});