+
+
+
+
+
+
+
+
+{
+ "en": {
+ "action": {
+ // This text is shown in a dropdown that allows the user to make one or
+ // more selections. {all} has the text "All", and {none} has the text
+ // "None". {all} and {none} will be translated separately based on what is
+ // being selected.
+ "select": "Select {all} / {none}"
+ }
+ }
+}
+
diff --git a/src/components/submission/field-dropdown.vue b/src/components/submission/field-dropdown.vue
index 756e38ee1..28c6b29a8 100644
--- a/src/components/submission/field-dropdown.vue
+++ b/src/components/submission/field-dropdown.vue
@@ -10,190 +10,50 @@ including this file, may be copied, modified, propagated, or distributed
except according to the terms contained in the LICENSE file.
-->
-
+
+
+
+ {{ $t('warning') }}
+
+
+
+
@@ -307,16 +90,19 @@ export default {
"columns": "Columns shown",
"search": "Search columns…"
},
- "disabled": "Cannot select more than 100 columns.",
"action": {
- // This text is shown in a dropdown that allows the user to select which
- // columns to display in a table.
"select": {
- "full": "Select {all} / {none}",
+ /* This text is shown in a dropdown that allows the user to select which columns to display in a table. It will be inserted where {all} is in the following text:
+
+Select {all} / {none} */
"all": "All",
+ /* This text is shown in a dropdown that allows the user to select which columns to display in a table. It will be inserted where {none} is in the following text:
+
+Select {all} / {none} */
"none": "None"
}
- }
+ },
+ "warning": "Selecting too many columns might slow down your computer."
}
}
diff --git a/src/components/submission/filters.vue b/src/components/submission/filters.vue
index dd239a5fe..150f6b026 100644
--- a/src/components/submission/filters.vue
+++ b/src/components/submission/filters.vue
@@ -38,7 +38,7 @@ export default {
},
props: {
submitterId: {
- type: String,
+ type: Array,
required: true
},
submissionDate: {
diff --git a/src/components/submission/filters/review-state.vue b/src/components/submission/filters/review-state.vue
index 2bb3c59e8..e2cc12ebf 100644
--- a/src/components/submission/filters/review-state.vue
+++ b/src/components/submission/filters/review-state.vue
@@ -10,89 +10,85 @@ including this file, may be copied, modified, propagated, or distributed
except according to the terms contained in the LICENSE file.
-->
-
+
+
{
"en": {
- // This text is shown in a dropdown that allows the user to filter to show
- // only Submissions in a particular Review State.
- "anyState": "(Any State)"
- }
-}
-
+ // This is the text of a dropdown that allows the user to select one or more
+ // Review States. {selected} is the number of selected Review States;
+ // {total} is the total number of Review States.
+ "placeholder": "{selected} of {total}",
+ "action": {
+ "select": {
+ /* This text is shown in a dropdown that allows the user to select one or more Review States. It will be inserted where {all} is in the following text:
-
-
-{
- "cs": {
- "anyState": "(Jakýkoli stav)"
- },
- "de": {
- "anyState": "(Beliebiger Status)"
- },
- "es": {
- "anyState": "(Cualquier estado)"
- },
- "fr": {
- "anyState": "(Tous états)"
- },
- "it": {
- "anyState": "(Qualsiasi Stato)"
- },
- "ja": {
- "anyState": "(全ての状態)"
- },
- "sw": {
- "anyState": "(hali lolote)"
+Select {all} / {none} */
+ "all": "All",
+ /* This text is shown in a dropdown that allows the user to select one or more Review States. It will be inserted where {none} is in the following text:
+
+Select {all} / {none} */
+ "none": "None"
+ }
+ }
}
}
diff --git a/src/components/submission/filters/submitter.vue b/src/components/submission/filters/submitter.vue
index 21d167848..ce90bc1f1 100644
--- a/src/components/submission/filters/submitter.vue
+++ b/src/components/submission/filters/submitter.vue
@@ -10,72 +10,114 @@ including this file, may be copied, modified, propagated, or distributed
except according to the terms contained in the LICENSE file.
-->
-
+
+
-
+const placeholder = (counts) => t('placeholder', counts);
+
{
"en": {
"field": {
- // This is the text of a form field that shows the names of users who have
- // submitted data.
- "submitter": "Submitted by"
+ // This is the text of a form field that shows the names of submitters.
+ "submitter": "Submitted by",
+ "search": "Search submitters…"
+ },
+ // This is the text of a dropdown that allows the user to select one or more
+ // "submitters". A submitter can be a user, a team of users, a Public Access
+ // Link, or an automation. {selected} is the number of submitters selected;
+ // {total} is the total number of submitters.
+ "placeholder": "{selected} of {total}",
+ "action": {
+ "select": {
+ /* This is the text of a dropdown that allows the user to select one or more submitters. It will be inserted where {all} is in the following text:
+
+Select {all} / {none} */
+ "all": "All",
+ /* This is the text of a dropdown that allows the user to select one or more submitters. It will be inserted where {none} is in the following text:
+
+Select {all} / {none} */
+ "none": "None"
+ }
},
"unknown": "Unknown submitter"
}
diff --git a/src/components/submission/list.vue b/src/components/submission/list.vue
index 645208dd2..788539ce3 100644
--- a/src/components/submission/list.vue
+++ b/src/components/submission/list.vue
@@ -15,7 +15,7 @@ except according to the terms contained in the LICENSE file.