New: Informational text on Custom Formats modal

This commit is contained in:
Stevie Robinson 2024-04-06 08:08:57 +02:00 committed by GitHub
parent 1562d3bae3
commit 238ba85f0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -151,6 +151,11 @@ class EditCustomFormatModalContent extends Component {
</Form> </Form>
<FieldSet legend={translate('Conditions')}> <FieldSet legend={translate('Conditions')}>
<Alert kind={kinds.INFO}>
<div>
{translate('CustomFormatsSettingsTriggerInfo')}
</div>
</Alert>
<div className={styles.customFormats}> <div className={styles.customFormats}>
{ {
specifications.map((tag) => { specifications.map((tag) => {

View File

@ -278,6 +278,7 @@
"CustomFormats": "Custom Formats", "CustomFormats": "Custom Formats",
"CustomFormatsLoadError": "Unable to load Custom Formats", "CustomFormatsLoadError": "Unable to load Custom Formats",
"CustomFormatsSettings": "Custom Formats Settings", "CustomFormatsSettings": "Custom Formats Settings",
"CustomFormatsSettingsTriggerInfo": "A Custom Format will be applied to a release or file when it matches at least one of each of the different condition types chosen.",
"CustomFormatsSettingsSummary": "Custom Formats and Settings", "CustomFormatsSettingsSummary": "Custom Formats and Settings",
"CustomFormatsSpecificationFlag": "Flag", "CustomFormatsSpecificationFlag": "Flag",
"CustomFormatsSpecificationLanguage": "Language", "CustomFormatsSpecificationLanguage": "Language",