diff --git a/components/sr/RotationSelector.tsx b/components/sr/RotationSelector.tsx index 415bf7539..5494858c7 100644 --- a/components/sr/RotationSelector.tsx +++ b/components/sr/RotationSelector.tsx @@ -88,15 +88,19 @@ const RotationSelector: React.FC = ({ rotationId, setRotationId }) => { isSalmonRun /> - {filteredRotations && ( + {filteredRotations && filteredRotations.length > 0 && ( Rotation )} + {filteredRotations && filteredRotations.length === 0 && ( + + + No rotations matching with this criteria. Please choose different + weapons. + + + )} ); diff --git a/locale/de/messages.json b/locale/de/messages.json index 2206893fe..40d63e366 100644 --- a/locale/de/messages.json +++ b/locale/de/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Stick", "Motion": "Bewegungssteuerung", "View results": "", diff --git a/locale/el/messages.json b/locale/el/messages.json index b36399a7b..7f6173478 100644 --- a/locale/el/messages.json +++ b/locale/el/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Stick", "Motion": "Motion", "View results": "", diff --git a/locale/en/messages.json b/locale/en/messages.json index 9648018d1..17f5db31a 100644 --- a/locale/en/messages.json +++ b/locale/en/messages.json @@ -71,6 +71,8 @@ "Stage": "Stage", "Weapons": "Weapons", "Rotation": "Rotation", + "Select rotation": "Select rotation", + "No rotations matching with this criteria. Please choose different weapons.": "No rotations matching with this criteria. Please choose different weapons.", "Stick": "Stick", "Motion": "Motion", "View results": "View results", diff --git a/locale/es/messages.json b/locale/es/messages.json index 7ef476a8d..bbd01837e 100644 --- a/locale/es/messages.json +++ b/locale/es/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Stick", "Motion": "Giroscopio", "View results": "", diff --git a/locale/fr/messages.json b/locale/fr/messages.json index 68bc44e63..32b725c68 100644 --- a/locale/fr/messages.json +++ b/locale/fr/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Joysticks", "Motion": "Gyroscope", "View results": "", diff --git a/locale/it/messages.json b/locale/it/messages.json index f1499b0ed..f2cc3cf25 100644 --- a/locale/it/messages.json +++ b/locale/it/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Stick", "Motion": "Sensori", "View results": "", diff --git a/locale/ja/messages.json b/locale/ja/messages.json index 6e5f893c5..9044e1f51 100644 --- a/locale/ja/messages.json +++ b/locale/ja/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "", "Motion": "", "View results": "", diff --git a/locale/ko/messages.json b/locale/ko/messages.json index 67aeb283d..7e8f2988f 100644 --- a/locale/ko/messages.json +++ b/locale/ko/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "스틱", "Motion": "모션 / 자이로", "View results": "", diff --git a/locale/nl/messages.json b/locale/nl/messages.json index 6e5f893c5..9044e1f51 100644 --- a/locale/nl/messages.json +++ b/locale/nl/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "", "Motion": "", "View results": "", diff --git a/locale/pt/messages.json b/locale/pt/messages.json index 2d0f776a9..9c4cd8c97 100644 --- a/locale/pt/messages.json +++ b/locale/pt/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Stick", "Motion": "Motion", "View results": "", diff --git a/locale/ru/messages.json b/locale/ru/messages.json index 6e5f893c5..9044e1f51 100644 --- a/locale/ru/messages.json +++ b/locale/ru/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "", "Motion": "", "View results": "", diff --git a/locale/sv/messages.json b/locale/sv/messages.json index d675d664d..312b5f078 100644 --- a/locale/sv/messages.json +++ b/locale/sv/messages.json @@ -71,6 +71,8 @@ "Stage": "", "Weapons": "", "Rotation": "", + "Select rotation": "", + "No rotations matching with this criteria. Please choose different weapons.": "", "Stick": "Stick", "Motion": "Motion", "View results": "Se resultat",