mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 09:25:10 +03:00
Merge pull request #6989 from nixocio/ui_update_string_cap
Update strings to follow `sentence capitalization` style Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
12a04bf42e
@ -35,6 +35,7 @@ Have questions about this document or anything not covered here? Feel free to re
|
||||
- functions should adopt camelCase
|
||||
- constructors/classes should adopt PascalCase
|
||||
- constants to be exported should adopt UPPERCASE
|
||||
- For strings, we adopt the `sentence capitalization` since it is a (patternfly style guide)[https://www.patternfly.org/v4/design-guidelines/content/grammar-and-terminology#capitalization].
|
||||
|
||||
## Setting up your development environment
|
||||
|
||||
|
@ -64,7 +64,7 @@ function VariablesField({
|
||||
{promptId && (
|
||||
<StyledCheckboxField
|
||||
id="template-ask-variables-on-launch"
|
||||
label={i18n._(t`Prompt On Launch`)}
|
||||
label={i18n._(t`Prompt on launch`)}
|
||||
name="ask_variables_on_launch"
|
||||
/>
|
||||
)}
|
||||
|
@ -45,7 +45,7 @@ function FieldWithPrompt({
|
||||
</div>
|
||||
<StyledCheckboxField
|
||||
id={promptId}
|
||||
label={i18n._(t`Prompt On Launch`)}
|
||||
label={i18n._(t`Prompt on launch`)}
|
||||
name={promptName}
|
||||
/>
|
||||
</FieldHeader>
|
||||
|
@ -143,7 +143,7 @@ function JobTemplateDetail({ i18n, template }) {
|
||||
<Link to={`/inventories/${inventorykind}/${id}/details`}>
|
||||
{summary_fields.inventory.name}
|
||||
</Link>
|
||||
<span> {i18n._(t`(Prompt on Launch)`)}</span>
|
||||
<span> {i18n._(t`(Prompt on launch)`)}</span>
|
||||
</Fragment>
|
||||
) : (
|
||||
<Link to={`/inventories/${inventorykind}/${id}/details`}>
|
||||
|
@ -88,7 +88,7 @@ function WorkflowJobTemplateDetail({ template, i18n }) {
|
||||
<Link to={`/inventories/${inventorykind}/${inventoryId}/details`}>
|
||||
<Label>{summary_fields.inventory.name}</Label>
|
||||
</Link>
|
||||
<span> {i18n._(t`(Prompt on Launch)`)}</span>
|
||||
<span> {i18n._(t`(Prompt on launch)`)}</span>
|
||||
</>
|
||||
) : (
|
||||
<Link to={`/inventories/${inventorykind}/${inventoryId}/details`}>
|
||||
|
Loading…
Reference in New Issue
Block a user