From 4bfca43e9c4f6a45a844c226436b01cd012f7f00 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Wed, 5 May 2021 11:26:34 -0400 Subject: [PATCH] News: Move welcome author definition so it doesn't get tagged in the wrong bundle --- .../java/src/net/i2p/router/news/NewsManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/routerconsole/java/src/net/i2p/router/news/NewsManager.java b/apps/routerconsole/java/src/net/i2p/router/news/NewsManager.java index 49fb70b3fe..92d8d2b99d 100644 --- a/apps/routerconsole/java/src/net/i2p/router/news/NewsManager.java +++ b/apps/routerconsole/java/src/net/i2p/router/news/NewsManager.java @@ -49,6 +49,7 @@ public class NewsManager implements ClientApp { public static final String APP_NAME = "news"; private static final String BUNDLE_NAME = "net.i2p.router.news.messages"; + private static final String WELCOME_AUTHOR = "I2P Development Team"; /** * @param args ignored @@ -211,7 +212,7 @@ public class NewsManager implements ClientApp { //rv.get(0).updated = RFC3339Date.parse3339Date("2015-01-01"); 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); + rv.get(0).authorName = Translate.getString(WELCOME_AUTHOR, _context, BUNDLE_NAME); } else { if (_log.shouldWarn()) _log.warn("failed to load initial news"); -- GitLab