-
- {{ errorText }}
-
+
+ {{ localize("Galaxy could not be reached and may be updating. Try again in a few minutes.") }}
+
-
- {{ noElementsHeader }}
- {{ allInvalidElementsPartOne }}
+
+ {{ localize("No datasets were selected") }}
+ {{ localize("At least one element is needed for the collection. You may need to") }}
- {{ cancelText }}
+ {{ localize("cancel") }}
- {{ allInvalidElementsPartTwo }}
-
+ {{ localize("and reselect new elements.") }}
+
+
-
- {{ invalidHeader }}
+
+ {{ localize("The following selections could not be included due to problems:") }}
{{ problem }}
- {{ allInvalidElementsPartOne }}
+ {{ localize("At least one element is needed for the collection. You may need to") }}
- {{ cancelText }}
+ {{ localize("cancel") }}
- {{ allInvalidElementsPartTwo }}
-
+ {{ localize("and reselect new elements.") }}
+
+
-
- {{ invalidHeader }}
+
+ {{ localize("The following selections could not be included due to problems:") }}
{{ problem }}
-
+
+
-
- {{ l("Collections cannot have duplicated names. The following list names are duplicated: ") }}
+
+ {{
+ localize(
+ "Collections cannot have duplicated names. The following list names are duplicated: "
+ )
+ }}
{{ name }}
- {{ l("Please fix these duplicates and try again.") }}
-
+ {{ localize("Please fix these duplicates and try again.") }}
+
-
{{
- l(
+ localize(
[
"Collections of datasets are permanent, ordered lists of datasets that can be passed to tools ",
"and workflows in order to have analyses done on each member of the entire group. This interface allows ",
@@ -78,383 +351,162 @@
)
}}
+
- {{ l("Rename elements in the list by clicking on") }}
+ {{ localize("Rename elements in the list by clicking on") }}
- {{ l("the existing name") }}
+ {{ localize("the existing name") }}
- {{ l(".") }}
+ {{ localize(".") }}
+
- {{ l("Discard elements from the final created list by clicking on the ") }}
+ {{ localize("Discard elements from the final created list by clicking on the ") }}
- {{ l("Discard") }}
+ {{ localize("Discard") }}
- {{ l("button.") }}
+ {{ localize("button.") }}
+
{{
- l(
+ localize(
"Reorder the list by clicking and dragging elements. Select multiple elements by clicking on"
)
}}
- {{ l("them") }}
+ {{ localize("them") }}
{{
- l(
+ localize(
"and you can then move those selected by dragging the entire group. Deselect them by clicking them again or by clicking the"
)
}}
- {{ l("Clear selected") }}
+ {{ localize("Clear selected") }}
- {{ l("link.") }}
+ {{ localize("link.") }}
+
- {{ l("Click ") }}
+ {{ localize("Click ") }}
-
+
- {{ l("to begin again as if you had just opened the interface.") }}
+ {{ localize("to begin again as if you had just opened the interface.") }}
-
- {{ errorText }}
-
+
+ {{ localize("Galaxy could not be reached and may be updating. Try again in a few minutes.") }}
+
-
- {{ noElementsHeader }}
- {{ allInvalidElementsPartOne }}
+
+ {{ localize("No datasets were selected.") }}
+ {{ localize("Exactly two elements needed for the collection. You may need to") }}
- {{ cancelText }}
+ {{ localize("cancel") }}
- {{ allInvalidElementsPartTwo }}
-
+ {{ localize("and reselect new elements.") }}
+
+
-
- {{ invalidHeader }}
+
+ {{ localize("The following selections could not be included due to problems:") }}
-
+
{{ problem }}
- {{ allInvalidElementsPartOne }}
+ {{ localize("Exactly two elements needed for the collection. You may need to") }}
- {{ cancelText }}
+ {{ localize("cancel") }}
- {{ allInvalidElementsPartTwo }}
-
+ {{ localize("and reselect new elements.") }}
+
+
-
-
- {{ invalidHeader }}
+
+
+ {{ localize("The following selections could not be included due to problems:") }}
-
+
{{ problem }}
-
+
-
- {{ exactlyTwoValidElementsPartOne }}
+
+
+ {{ localize("Two (and only two) elements are needed for the pair. You may need to ") }}
- {{ cancelText }}
+ {{ localize("cancel") }}
- {{ exactlyTwoValidElementsPartTwo }}
-
+ {{ localize("and reselect new elements.") }}
+
+
-
-
- {{ invalidHeader }}
+
+
+ {{ localize("The following selections could not be included due to problems:") }}
-
+
{{ problem }}
-
+
-
{{
- l(
+ localize(
[
"Pair collections are permanent collections containing two datasets: one forward and one reverse. ",
"Often these are forward and reverse reads. The pair collections can be passed to tools and workflows in ",
@@ -96,33 +314,42 @@
)
}}
+
- {{ l("Click the ") }}
+ {{ localize("Click the ") }}
- {{ l("Swap") }}
+ {{ localize("Swap") }}
- {{ l("link to make your forward dataset the reverse and the reverse dataset forward") }}
+ {{
+ localize(
+ "link to make your forward dataset the reverse and the reverse dataset forward"
+ )
+ }}
+
- {{ l("Click the ") }}
+ {{ localize("Click the ") }}
- {{ l("Cancel") }}
+ {{ localize("Cancel") }}
- {{ l("button to exit the interface.") }}
+ {{ localize("button to exit the interface.") }}
+
+
- {{ l("Once your collection is complete, enter a ") }}
- {{ l("name") }}
- {{ l("and click ") }}
+ {{ localize("Once your collection is complete, enter a ") }}
+ {{ localize("name") }}
+ {{ localize("and click ") }}
- {{ l("Create list") }}
+ {{ localize("Create list") }}
- {{ l(".") }}
+ {{ localize(".") }}
-
-
diff --git a/client/src/mvc/dataset/states.js b/client/src/mvc/dataset/states.ts
similarity index 95%
rename from client/src/mvc/dataset/states.js
rename to client/src/mvc/dataset/states.ts
index 4e0702c9cdbb..dd5b37d7fb07 100644
--- a/client/src/mvc/dataset/states.js
+++ b/client/src/mvc/dataset/states.ts
@@ -2,7 +2,7 @@
/** Map of possible HDA/collection/job states to their string equivalents.
* A port of galaxy.model.Dataset.states.
*/
-var STATES = {
+const STATES = {
// NOT ready states
/** is uploading and not ready */
UPLOAD: "upload",
@@ -34,6 +34,9 @@ var STATES = {
DEFERRED: "deferred",
/** the tool producing this dataset failed */
ERROR: "error",
+
+ READY_STATES: [] as string[],
+ NOT_READY_STATES: [] as string[],
};
STATES.READY_STATES = [