I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Verified Commit bf6dcbce authored by zzz's avatar zzz
Browse files

Console: Add author for initial news

parent 28ea0e90
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ import net.i2p.data.DataHelper; ...@@ -20,6 +20,7 @@ import net.i2p.data.DataHelper;
import net.i2p.util.FileUtil; import net.i2p.util.FileUtil;
import net.i2p.util.Log; import net.i2p.util.Log;
import net.i2p.util.SystemVersion; import net.i2p.util.SystemVersion;
import net.i2p.util.Translate;
import net.i2p.util.TranslateReader; import net.i2p.util.TranslateReader;
import org.cybergarage.xml.Node; import org.cybergarage.xml.Node;
...@@ -209,6 +210,8 @@ public class NewsManager implements ClientApp { ...@@ -209,6 +210,8 @@ public class NewsManager implements ClientApp {
if (!rv.isEmpty()) { if (!rv.isEmpty()) {
//rv.get(0).updated = RFC3339Date.parse3339Date("2015-01-01"); //rv.get(0).updated = RFC3339Date.parse3339Date("2015-01-01");
rv.get(0).updated = _context.clock().now(); rv.get(0).updated = _context.clock().now();
// Tagged in initialNews.xml inside a comment
rv.get(0).authorName = Translate.getString("I2P Development Team", _context, BUNDLE_NAME);
} else { } else {
if (_log.shouldWarn()) if (_log.shouldWarn())
_log.warn("failed to load initial news"); _log.warn("failed to load initial news");
......
...@@ -19,4 +19,5 @@ _("Once you have a \"shared clients\" destination listed on the left, please {0} ...@@ -19,4 +19,5 @@ _("Once you have a \"shared clients\" destination listed on the left, please {0}
<p> <p>
_("Point your IRC client to {0}localhost:6668{1} and say hi to us on {2}#i2p{3}.", "<b>", "</b>", "<a href=\"irc://127.0.0.1:6668/i2p\">", "</a>") _("Point your IRC client to {0}localhost:6668{1} and say hi to us on {2}#i2p{3}.", "<b>", "</b>", "<a href=\"irc://127.0.0.1:6668/i2p\">", "</a>")
</p> </p>
<!-- tagged for NewsManager _("I2P Development Team") -->
</div> </div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment