diff --git a/client/src/components/Collections/CollectionCreatorModal.vue b/client/src/components/Collections/CollectionCreatorModal.vue index 278e25f3d706..334f6586e0da 100644 --- a/client/src/components/Collections/CollectionCreatorModal.vue +++ b/client/src/components/Collections/CollectionCreatorModal.vue @@ -260,9 +260,6 @@ function resetModal() { {{ historyItemsError }} - - {{ localize("No items available to create a collection.") }} - @@ -289,7 +286,7 @@ function resetModal() {
-
+
- {{ localize("No datasets were selected") }} - {{ localize("At least one element is needed for the collection. You may need to") }} - - {{ localize("cancel") }} - - {{ localize("and reselect new elements.") }} - - -
- -
-
-
- - {{ - localize( - "No elements in your history are valid for this list. You may need to switch to a different history." - ) - }} - - {{ localize("The following extensions are required for this list: ") }} -
    -
  • - {{ extension }} -
  • -
-
-
- {{ localize("The following selections could not be included due to problems:") }}
  • {{ problem }}
- {{ localize("At least one element is needed for the collection. You may need to") }} - - {{ localize("cancel") }} - - {{ localize("and reselect new elements.") }}
+
-
- -
+
+ + {{ + localize("Collections cannot have duplicated names. The following list names are duplicated: ") + }} +
    +
  1. {{ name }}
  2. +
+ {{ localize("Please fix these duplicates and try again.") }} +
-
-
- - {{ localize("The following selections could not be included due to problems:") }} -
    -
  • - {{ problem }} -
  • -
-
-
- -
- + + + +
diff --git a/client/src/components/Collections/PairCollectionCreator.vue b/client/src/components/Collections/PairCollectionCreator.vue index f7a9ab5f6d5a..38ee98f530c9 100644 --- a/client/src/components/Collections/PairCollectionCreator.vue +++ b/client/src/components/Collections/PairCollectionCreator.vue @@ -345,149 +345,133 @@ function _naiveStartingAndEndingLCS(s1: string, s2: string) {
-
+
- {{ localize("No datasets were selected.") }} - {{ localize("Exactly two elements needed for the collection. You may need to") }} - - {{ localize("cancel") }} - - {{ localize("and reselect new elements.") }} - - -
- -
-
-
- - {{ - localize( - "No elements in your history are valid for this pair. You may need to switch to a different history." - ) - }} - - {{ localize("The following extensions are required for this pair: ") }} -
    -
  • - {{ extension }} -
  • -
-
-
- {{ localize("The following selections could not be included due to problems:") }}
  • {{ problem }}
- {{ localize("Exactly two elements needed for the collection. You may need to") }} - - {{ localize("cancel") }} - - {{ localize("and reselect new elements.") }}
- -
- -
-
-
- - {{ localize("The following selections could not be included due to problems:") }} -
    -
  • - {{ problem }} -
  • -
-
-
-
- - {{ localize("Exactly two elements are needed for the pair.") }} - - - {{ localize("Cancel") }} - - {{ localize("and reselect new elements.") }} - - - -
- -
-
- - - +
diff --git a/client/src/components/Collections/PairedListCollectionCreator.vue b/client/src/components/Collections/PairedListCollectionCreator.vue index d6e0f385aecb..86e4914cb193 100644 --- a/client/src/components/Collections/PairedListCollectionCreator.vue +++ b/client/src/components/Collections/PairedListCollectionCreator.vue @@ -64,7 +64,7 @@ const emit = defineEmits<{ const noElementsHeader = props.fromSelection ? localize("No elements selected") : localize("No elements available"); const allInvalidElementsPartTwo = props.fromSelection ? localize("and reselect new elements.") - : localize("and change your current history or add valid datasets for this collection."); + : localize("and change your current history or upload valid datasets for this collection."); // Flags const state = ref<"build" | "error" | "duplicates">("build"); @@ -817,261 +817,245 @@ function _naiveStartingAndEndingLCS(s1: string, s2: string) {
-
+
- {{ noElementsHeader }} - {{ ALL_INVALID_ELEMENTS_PART_ONE }} - - {{ CANCEL_TEXT }} - - {{ allInvalidElementsPartTwo }} + {{ INVALID_HEADER }} +
    +
  • + {{ problem }} +
  • +
-
- -
-
- +
+ {{ localize( - "No elements in your history are valid for this collection. You may need to switch to a different history." + "Could not automatically create any pairs from the given dataset names. You may want to choose or enter different filters and try auto-pairing again." ) }} - - {{ localize("The following extensions are required for this collection: ") }} -
    -
  • - {{ extension }} -
  • -
+ + + {{ CANCEL_TEXT }} + + {{ allInvalidElementsPartTwo }}
- - {{ INVALID_HEADER }} +
+
+ + {{ + localize("Collections cannot have duplicated names. The following list names are duplicated: ") + }}
    -
  • - {{ problem }} -
  • +
  • {{ name }}
- {{ ALL_INVALID_ELEMENTS_PART_ONE }} - - {{ CANCEL_TEXT }} - - {{ allInvalidElementsPartTwo }} + {{ localize("Please fix these duplicates and try again.") }}
-
- -
-
-
- - {{ INVALID_HEADER }} -
    -
  • - {{ problem }} -
  • -
-
-
- - {{ ALL_INVALID_ELEMENTS_PART_ONE }} - - {{ CANCEL_TEXT }} - - {{ allInvalidElementsPartTwo }} - -
- -
-
-
-
- - {{ INVALID_HEADER }} -
    -
  • - {{ problem }} -
  • -
-
-
-
- + + +
diff --git a/client/src/components/Collections/common/CollectionCreator.vue b/client/src/components/Collections/common/CollectionCreator.vue index c080744dbe3d..7e2401d0bd7b 100644 --- a/client/src/components/Collections/common/CollectionCreator.vue +++ b/client/src/components/Collections/common/CollectionCreator.vue @@ -1,7 +1,7 @@