Skip to content

Commit

Permalink
fix(job-form): fix parameter header
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jan 13, 2021
1 parent f8b1e75 commit d664d65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2020-07-22T08:26:40.694Z\n"
"PO-Revision-Date: 2020-07-22T08:26:40.694Z\n"
"POT-Creation-Date: 2021-01-13T13:57:54.508Z\n"
"PO-Revision-Date: 2021-01-13T13:57:54.508Z\n"

msgid "Checking permissions"
msgstr ""
Expand Down Expand Up @@ -41,6 +41,9 @@ msgstr ""
msgid "No options available"
msgstr ""

msgid "Parameters"
msgstr ""

msgid "Save"
msgstr ""

Expand Down
3 changes: 2 additions & 1 deletion src/components/FormFields/ParameterFields.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react'
import i18n from '@dhis2/d2-i18n'
import { PropTypes } from '@dhis2/prop-types'
import { ReactFinalForm, InputFieldFF, SwitchFieldFF, Box } from '@dhis2/ui'
import { useDataQuery } from '@dhis2/app-runtime'
Expand Down Expand Up @@ -114,7 +115,7 @@ const ParameterFields = ({ jobType }) => {
return (
<React.Fragment>
<header>
<h4 className={styles.headerTitle}>Monitoring parameters</h4>
<h4 className={styles.headerTitle}>{i18n.t('Parameters')}</h4>
</header>
{parameterComponents}
</React.Fragment>
Expand Down

0 comments on commit d664d65

Please sign in to comment.