mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 10:09:42 +00:00
added more placeholder strings for users of StringListEditorComposite
This commit is contained in:
1 parent
85c1509e5f
commit
2b5db37c70
6 files changed
+25
-5
No files matched your search
+4
-4
@@ -130,22 +130,22 @@ public abstract class EventDialog extends DataEntryDialogWithBootstrap<EventDTO>
|
||||
};
|
||||
courseAreaNameList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(), /* suggestValues */
|
||||
SuggestedCourseAreaNames.suggestedCourseAreaNames, 50));
|
||||
SuggestedCourseAreaNames.suggestedCourseAreaNames, stringMessages.enterCourseAreaName(), 50));
|
||||
courseAreaNameList.addValueChangeHandler(valueChangeHandler);
|
||||
final List<String> imageSuggestionURLs = Arrays.asList(new String[] { "http://", "https://", "http://www.", "https://www" });
|
||||
imageURLList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(),
|
||||
/* suggestValues */ imageSuggestionURLs, 80));
|
||||
/* suggestValues */ imageSuggestionURLs, stringMessages.enterImageURL(), 80));
|
||||
imageURLList.addValueChangeHandler(valueChangeHandler);
|
||||
List<String> videoURLSuggestions = new ArrayList<>(imageSuggestionURLs);
|
||||
videoURLSuggestions.add("http://www.youtube.com/watch?v=");
|
||||
videoURLList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(),
|
||||
/* suggestValues */ videoURLSuggestions, 80));
|
||||
/* suggestValues */ videoURLSuggestions, stringMessages.enterVideoURL(), 80));
|
||||
videoURLList.addValueChangeHandler(valueChangeHandler);
|
||||
sponsorImageURLList = new StringListInlineEditorComposite(Collections.<String> emptyList(),
|
||||
new StringListInlineEditorComposite.ExpandedUi(stringMessages, resources.removeIcon(),
|
||||
/* suggestValues */ imageSuggestionURLs, 80));
|
||||
/* suggestValues */ imageSuggestionURLs, stringMessages.enterSponsorImageURL(), 80));
|
||||
sponsorImageURLList.addValueChangeHandler(valueChangeHandler);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -249,7 +249,7 @@ public class SeriesEditDialog extends DataEntryDialog<SeriesDescriptor> {
|
||||
private final Label addRacesHintLabel;
|
||||
|
||||
public RaceNamesEditorUi(RegattaDTO regatta, StringMessages stringMessages, ImageResource removeImage, String seriesName) {
|
||||
super(stringMessages, removeImage, /* suggest values */ Collections.<String>emptyList(), 40);
|
||||
super(stringMessages, removeImage, /* suggest values */ Collections.<String>emptyList(), stringMessages.enterRaceName(), 40);
|
||||
|
||||
this.seriesName = seriesName;
|
||||
this.regatta = regatta;
|
||||
|
||||
+5
@@ -1097,4 +1097,9 @@ public interface StringMessages extends com.sap.sse.gwt.client.StringMessages {
|
||||
String mappingDetails();
|
||||
String deviceMappingQrCodeExplanation();
|
||||
String qrCode();
|
||||
String enterCourseAreaName();
|
||||
String enterImageURL();
|
||||
String enterVideoURL();
|
||||
String enterSponsorImageURL();
|
||||
String enterRaceName();
|
||||
}
|
||||
+5
@@ -1079,3 +1079,8 @@ advanced=Advanced
|
||||
mappingDetails=Mapping Details
|
||||
deviceMappingQrCodeExplanation=If you are using the Tracking App, you can add the device mapping also by selecting a competitor/mark, setting the from and to times, and then scanning this QRCode.
|
||||
qrCode=QRCode
|
||||
enterCourseAreaName=Enter course area name...
|
||||
enterImageURL=Enter image URL...
|
||||
enterVideoURL=Enter video URL...
|
||||
enterSponsorImageURL=Enter sponsor image URL...
|
||||
enterRaceName=Enter race name...
|
||||
+5
@@ -1074,3 +1074,8 @@ advanced=Erweitert
|
||||
mappingDetails=Zuordnungsdetails
|
||||
deviceMappingQrCodeExplanation=Wenn die Tracking App verwendet wird, kann die Zuordnung auch wie folgt geschehen: Wettbewerber/Tonne auswaehlen, von und bis Zeiten setzen und dann den QRCode abscannen.
|
||||
qrCode=QRCode
|
||||
enterCourseAreaName=Regattabahn-Namen eingeben...
|
||||
enterImageURL=Bild-URL eingeben...
|
||||
enterVideoURL=Video-URL eingeben...
|
||||
enterSponsorImageURL=Sponsorbild-URL eingeben...
|
||||
enterRaceName=Wettfahrtnamen eingeben...
|
||||
+5
@@ -1024,3 +1024,8 @@ showAll=Show all
|
||||
raceVisibilityColumn=Visibility
|
||||
enterCarryValueFor=Enter carried points for competitor {0}
|
||||
advanced=Advanced
|
||||
enterCourseAreaName=Enter course area name...
|
||||
enterImageURL=Enter image URL...
|
||||
enterVideoURL=Enter video URL...
|
||||
enterSponsorImageURL=Enter sponsor image URL...
|
||||
enterRaceName=Enter race name...
|
||||
Reference in new issue
Block a user