Skip to content

Commit

Permalink
Capitalize help text for when expressions in the task sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
debsmita1 committed Jun 14, 2021
1 parent 93b33cb commit 2f0da1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"Activate auto complete": "Activate auto complete",
"Remove when expression": "Remove when expression",
"When expressions": "When expressions",
"use this format while referencing the variables in this form: <1>$(</1>": "use this format while referencing the variables in this form: <1>$(</1>",
"Use this format while referencing the variables in this form: <1>$(</1>": "Use this format while referencing the variables in this form: <1>$(</1>",
"No when expressions are associated with this task.": "No when expressions are associated with this task.",
"Add when expression": "Add when expression",
"Select workspace...": "Select workspace...",
Expand Down Expand Up @@ -242,7 +242,7 @@
"When expression": "When expression",
"Input": "Input",
"Operator": "Operator",
"Select Operator": "Select Operator",
"Select operator": "Select operator",
"Values": "Values",
"Metrics": "Metrics",
"PipelineRuns": "PipelineRuns",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const TaskSidebarWhenExpression: React.FC<TaskSidebarWhenExpressionProps> = (pro
<p className="co-help-text">
{field.value?.length > 0 ? (
<Trans ns="pipelines-plugin">
use this format while referencing the variables in this form: <code>$(</code>
Use this format while referencing the variables in this form: <code>$(</code>
</Trans>
) : (
t('pipelines-plugin~No when expressions are associated with this task.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const WhenExpressionForm: React.FC<WhenExpressionFormProps> = ({
name={`${namePrefix}.operator`}
label={t('pipelines-plugin~Operator')}
items={WhenExpressionOperatorType}
title={t('pipelines-plugin~Select Operator')}
title={t('pipelines-plugin~Select operator')}
onChange={(operator: string) => setFieldValue(`${namePrefix}.operator`, operator)}
fullWidth
/>
Expand Down

0 comments on commit 2f0da1f

Please sign in to comment.