mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 03:13:49 +00:00
Races can be added now with RaceDialog
This commit is contained in:
1 parent
875f14ec4a
commit
5670f1bdfd
4 files changed
+10
-4
No files matched your search
+2
-2
@@ -33,9 +33,9 @@ public class RaceDialog extends DataEntryDialog<Pair<String, Boolean>>{
|
||||
boolean medalRaceNotNull = isMedalRace!=null;
|
||||
|
||||
if(!isNameNotEmpty){
|
||||
errorMessage = "error"; // stringConstants.raceNameEmpty();
|
||||
errorMessage = stringConstants.raceNameEmpty();
|
||||
}else if(!medalRaceNotNull){
|
||||
errorMessage = "error"; //stringConstants.medalRaceIsNull();
|
||||
errorMessage = stringConstants.medalRaceIsNull();
|
||||
}else{
|
||||
return errorMessage = null;
|
||||
}
|
||||
|
||||
+2
@@ -125,4 +125,6 @@ public interface StringConstants extends Constants {
|
||||
String tacks();
|
||||
String jibes();
|
||||
String penaltyCircles();
|
||||
String medalRaceIsNull();
|
||||
String raceNameEmpty();
|
||||
}
|
||||
+3
-1
@@ -119,4 +119,6 @@ stressTest=Stress Test
|
||||
numberOfManeuvers=Maneuvers
|
||||
tacks=Tacks
|
||||
jibes=Jibes
|
||||
penaltyCircles=Penalty Circles
|
||||
penaltyCircles=Penalty Circles
|
||||
medalRaceIsNull=Medalrace value not allowed
|
||||
raceNameEmpty=Racename empty
|
||||
+3
-1
@@ -119,4 +119,6 @@ stressTest=Stresstest
|
||||
numberOfManeuvers=Manöver
|
||||
tacks=Wenden
|
||||
jibes=Halsen
|
||||
penaltyCircles=Strafkringel
|
||||
penaltyCircles=Strafkringel
|
||||
medalRaceIsNull=Medialienwert nicht erlaubt
|
||||
raceNameEmpty=Rennname leer
|
||||
Reference in new issue
Block a user