Added i18n to Windchart for loading text

This commit is contained in:
Kai Börnert committed 2016-11-23 09:15:03 +01:00
1 parent b0d6ea0ff1
commit 36a93b7c26
4 files changed
+4 -1

No files matched your search

@@ -1183,6 +1183,7 @@ public interface StringMessages extends com.sap.sse.gwt.client.StringMessages,
String raceIsInLiveTimePanelMode();
String backToLiveTimePanelMode();
String windChart();
String windChartLoading();
String mediaNoVideosCaption();
String mediaShowVideoCaption();
String mediaShowVideoTooltip(String title);
@@ -1155,6 +1155,7 @@ leaderboardGroupNotContainedInEvent=The leaderboard group {0} is not contained i
raceIsInLiveTimePanelMode=Race is Live
backToLiveTimePanelMode=Back to Live
windChart=Wind Chart
windChartLoading="Loading wind data..."
mediaNoVideosCaption=No Videos
mediaShowVideoCaption=Show Video
mediaShowVideoTooltip=Click to show video: {0}
@@ -1147,6 +1147,7 @@ leaderboardGroupNotContainedInEvent=Die Wettfahrtgruppe {0} gehört nicht zur Ve
raceIsInLiveTimePanelMode=Rennen ist live
backToLiveTimePanelMode=Zurück zu live
windChart=Winddiagramm
windChartLoading="Winddaten werden geladen..."
mediaNoVideosCaption=Keine Videos
mediaShowVideoCaption=Video ein
mediaShowVideoTooltip=Video abspielen: {0}
@@ -471,7 +471,7 @@ public class WindChart extends AbstractRaceChart<WindChartSettings> implements R
setWidget(chart);
// if not playing or empty show loading message
if (timer.getPlayState() != PlayStates.Playing || timeOfLatestRequestInMillis == null) {
showLoading("Loading wind data...");
showLoading(stringMessages.windChartLoading());
}
GetWindInfoAction getWindInfoAction = new GetWindInfoAction(sailingService, selectedRaceIdentifier,
from, to, settings.getResolutionInMilliseconds(), null, /* onlyUpToNewestEvent==true because we don't want