Skip to content

Commit

Permalink
change wording of extension to format in collection creator
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Jan 22, 2025
1 parent d9fe6cd commit ba71756
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Collections/ListCollectionCreator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function _isElementInvalid(element: HistoryItemSummary): string | null {
element.extension &&
!datatypesMapper.value?.isSubTypeOfAny(element.extension, props.extensions!)
) {
return localize(`has an invalid extension: ${element.extension}`);
return localize(`has an invalid format: ${element.extension}`);
}
return null;
}
Expand Down Expand Up @@ -572,7 +572,7 @@ function renameElement(element: any, name: string) {
)
}}
<div v-if="extensions?.length">
{{ localize("The following extensions are required for this list: ") }}
{{ localize("The following format(s) are required for this list: ") }}
<ul>
<li v-for="extension in extensions" :key="extension">
{{ extension }}
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/Collections/PairCollectionCreator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function _isElementInvalid(element: HistoryItemSummary) {
element.extension &&
!datatypesMapper.value?.isSubTypeOfAny(element.extension, props.extensions!)
) {
return localize(`has an invalid extension: ${element.extension}`);
return localize(`has an invalid format: ${element.extension}`);
}
return null;
}
Expand Down Expand Up @@ -468,7 +468,7 @@ function _naiveStartingAndEndingLCS(s1: string, s2: string) {
)
}}
<div v-if="extensions?.length">
{{ localize("The following extensions are required for this pair: ") }}
{{ localize("The following formats are required for this pair: ") }}
<ul>
<li v-for="extension in extensions" :key="extension">
{{ extension }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function _isElementInvalid(element: HistoryItemSummary) {
element.extension &&
!datatypesMapper.value?.isSubTypeOfAny(element.extension, props.extensions!)
) {
return localize(`has an invalid extension: ${element.extension}`);
return localize(`has an invalid format: ${element.extension}`);
}
return null;
}
Expand Down Expand Up @@ -1036,7 +1036,7 @@ function _naiveStartingAndEndingLCS(s1: string, s2: string) {
)
}}
<span v-if="extensions?.length">
{{ localize("The following extensions are required for this collection: ") }}
{{ localize("The following format(s) are required for this collection: ") }}
<ul>
<li v-for="extension in extensions" :key="extension">
{{ extension }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ watch(
<BAlert v-if="extensions?.length" class="w-100 py-0" variant="secondary" show>
<HelpText
uri="galaxy.collections.collectionBuilder.requiredUploadExtensions"
:text="localize('Required extensions: ')" />
:text="localize('Required format(s): ')" />
<strong>{{ orList(extensions) }}</strong>
</BAlert>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defineProps<Props>();
<BAlert v-if="extensions?.length" class="w-100 py-0" variant="secondary" show>
<HelpText
uri="galaxy.collections.collectionBuilder.filteredExtensions"
:text="localize('Filtered extensions: ')" />
:text="localize('Filtered format(s): ')" />
<strong>{{ orList(extensions) }}</strong>
</BAlert>
</div>
Expand Down
12 changes: 6 additions & 6 deletions client/src/components/Help/terms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ galaxy:
Toggling this on means that the original history items that will become a part of the collection
will be hidden from the history panel (they will still be searchable via the 'visible: false' filter).
filteredExtensions: |
The history is filtered for the extensions that are required for this collection. You might see some
items with other extensions since those can still be valid inputs via implicit conversion.
The history is filtered for the formats that are required for this collection. You might see some
items with other formats since those can still be valid inputs via implicit conversion.
requiredUploadExtensions: |
The extensions that are required for this collection. The files you upload will be assumed to have
these extensions. In the case of more than one extension, you can select a specific extension for
each individual file above. If there is only one extension, Galaxy will attempt to set that as the
extension for each file.
The formats that are required for this collection. The files you upload will be assumed to have
these formats. In the case of more than one format, you can select a specific format for
each individual file above. If there is only one format, Galaxy will attempt to set that as the
format for each file.
whyHomogenousCollections: |
Dataset collections are designed to streamline the analysis of large numbers of datasets by grouping
them together into a single, manageable entity. Unlike generic folders on your computer, which can hold
Expand Down

0 comments on commit ba71756

Please sign in to comment.