Skip to content

Commit 92ed66c

Browse files
committed
fix(aci): use translated strings
1 parent 8a5b4f4 commit 92ed66c

File tree

1 file changed

+7
-5
lines changed
  • static/app/views/detectors/components/forms

1 file changed

+7
-5
lines changed

static/app/views/detectors/components/forms/metric.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function DetectSection() {
164164
</DetectColumn>
165165
</FirstRow>
166166
<MonitorKindField
167-
label="...and monitor for changes in the following way:"
167+
label={t('...and monitor for changes in the following way:')}
168168
flexibleControlStateSize
169169
inline={false}
170170
name="kind"
@@ -186,7 +186,9 @@ function DetectSection() {
186186
<Flex column>
187187
{(!kind || kind === 'threshold') && (
188188
<Flex column>
189-
<MutedText>An issue will be created when query value exceeds:</MutedText>
189+
<MutedText>
190+
{t('An issue will be created when query value exceeds:')}
191+
</MutedText>
190192
<ThresholdField
191193
flexibleControlStateSize
192194
inline={false}
@@ -199,15 +201,15 @@ function DetectSection() {
199201
)}
200202
{kind === 'change' && (
201203
<Flex column>
202-
<MutedText>An issue will be created when query value is:</MutedText>
204+
<MutedText>{t('An issue will be created when query value is:')}</MutedText>
203205
<Flex align="center" gap={space(1)}>
204206
<ChangePercentField
205207
name="config.low_threshold.change"
206208
placeholder="0"
207209
hideLabel
208210
inline
209211
/>
210-
<span>percent</span>
212+
<span>{t('percent')}</span>
211213
<DirectionField
212214
name="config.low_threshold.direction"
213215
hideLabel
@@ -219,7 +221,7 @@ function DetectSection() {
219221
['lower', t('lower')],
220222
]}
221223
/>
222-
<span>than the previous</span>
224+
<span>{t('than the previous')}</span>
223225
<StyledSelectField
224226
name="config.low_threshold.unit"
225227
hideLabel

0 commit comments

Comments
 (0)