String text;
long refresh;
if (age < 0) {
- text = webInterface.getL10n().getDefaultString("View.Time.InTheFuture");
+ text = webInterface.getL10n().getString("View.Time.InTheFuture");
refresh = TimeUnit.MINUTES.toMillis(5);
} else if (age < TimeUnit.SECONDS.toMillis(20)) {
- text = webInterface.getL10n().getDefaultString("View.Time.AFewSecondsAgo");
+ text = webInterface.getL10n().getString("View.Time.AFewSecondsAgo");
refresh = TimeUnit.SECONDS.toMillis(10);
} else if (age < TimeUnit.SECONDS.toMillis(45)) {
text = webInterface.getL10n().getString("View.Time.HalfAMinuteAgo");