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

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

News: Move welcome author definition so it doesn't get tagged in the wrong bundle

parent f77677f1
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,7 @@ public class NewsManager implements ClientApp { ...@@ -49,6 +49,7 @@ public class NewsManager implements ClientApp {
public static final String APP_NAME = "news"; public static final String APP_NAME = "news";
private static final String BUNDLE_NAME = "net.i2p.router.news.messages"; private static final String BUNDLE_NAME = "net.i2p.router.news.messages";
private static final String WELCOME_AUTHOR = "I2P Development Team";
/** /**
* @param args ignored * @param args ignored
...@@ -211,7 +212,7 @@ public class NewsManager implements ClientApp { ...@@ -211,7 +212,7 @@ public class NewsManager implements ClientApp {
//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 // 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 { } else {
if (_log.shouldWarn()) if (_log.shouldWarn())
_log.warn("failed to load initial news"); _log.warn("failed to load initial news");
......
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