Skip to content

Commit adcf070

Browse files
author
Saket Hatwar
committed
lint
1 parent 422d7e6 commit adcf070

File tree

6 files changed

+24
-14
lines changed

6 files changed

+24
-14
lines changed

locale/hi/LC_MESSAGES/loris.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ msgstr "साइट"
136136
msgid "Module"
137137
msgstr "मॉड्यूल"
138138

139+
msgid "Instrument"
140+
msgstr "उपकरण"
141+
139142
msgid "Project"
140143
msgstr "परियोजना"
141144

locale/loris.pot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ msgstr ""
142142
msgid "Module"
143143
msgstr ""
144144

145+
msgid "Instrument"
146+
msgstr ""
147+
145148
msgid "Project"
146149
msgstr ""
147150

modules/behavioural_qc/jsx/behaviouralQCIndex.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ import hiStrings from '../locale/hi/LC_MESSAGES/behavioural_qc.json';
2121
* @version 1.0.0
2222
*/
2323
const BehaviouralQC = (props) => {
24-
const {t} = props;
24+
const {t} = props;
2525
const tabList = [
26-
{id: 'tabIncompleteForms', label: t('Incomplete Forms', {ns: 'behavioural_qc'})},
27-
{id: 'tabDataConflicts', label: t('Data Conflicts', {ns: 'behavioural_qc'})},
28-
{id: 'tabBehaviouralFeedback', label: t('Behavioural Feedback', {ns: 'behavioural_qc'})},
26+
{id: 'tabIncompleteForms', label: t('Incomplete Forms',
27+
{ns: 'behavioural_qc'})},
28+
{id: 'tabDataConflicts', label: t('Data Conflicts',
29+
{ns: 'behavioural_qc'})},
30+
{id: 'tabBehaviouralFeedback', label: t('Behavioural Feedback',
31+
{ns: 'behavioural_qc'})},
2932
];
3033

3134
/**

modules/behavioural_qc/jsx/tabs_content/behaviouralFeedback.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
33
import Loader from 'jsx/Loader';
44
import FilterableDataTable from 'jsx/FilterableDataTable';
5-
import {withTranslation} from 'react-i18next';
5+
import {withTranslation} from 'react-i18next';
66

77
/**
88
* Behavioural Feedback Component.
@@ -158,7 +158,7 @@ class BehaviouralFeedback extends Component {
158158
* @return {JSX} the feedback form to render.
159159
*/
160160
render() {
161-
const {t} = this.props;
161+
const {t} = this.props;
162162
// Waiting for async data to load.
163163
if (!this.state.isLoaded) {
164164
return <Loader/>;
@@ -282,7 +282,8 @@ BehaviouralFeedback.propTypes = {
282282
display: PropTypes.bool,
283283
data: PropTypes.object,
284284
baseURL: PropTypes.string.isRequired,
285-
t: PropTypes.func,
285+
t: PropTypes.func,
286286
};
287287

288-
export default withTranslation(['behavioural_qc', 'loris'])(BehaviouralFeedback);
288+
export default withTranslation(
289+
['behavioural_qc', 'loris'])(BehaviouralFeedback);

modules/behavioural_qc/jsx/tabs_content/dataConflicts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
33
import Loader from 'jsx/Loader';
44
import FilterableDataTable from 'jsx/FilterableDataTable';
5-
import {withTranslation} from 'react-i18next';
5+
import {withTranslation} from 'react-i18next';
66

77
/**
88
* Data Conflicts Component.
@@ -151,7 +151,7 @@ class DataConflicts extends Component {
151151
* @return {JSX} the data conflicts form to render.
152152
*/
153153
render() {
154-
const { t } = this.props;
154+
const {t} = this.props;
155155
// Waiting for async data to load.
156156
if (!this.state.isLoaded) {
157157
return <Loader/>;
@@ -268,7 +268,7 @@ DataConflicts.propTypes = {
268268
display: PropTypes.bool,
269269
data: PropTypes.object,
270270
baseURL: PropTypes.string.isRequired,
271-
t: PropTypes.func,
271+
t: PropTypes.func,
272272
};
273273

274274
export default withTranslation(['behavioural_qc', 'loris'])(DataConflicts);

modules/behavioural_qc/jsx/tabs_content/incompleteForms.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, {Component} from 'react';
22
import PropTypes from 'prop-types';
33
import Loader from 'jsx/Loader';
44
import FilterableDataTable from 'jsx/FilterableDataTable';
5-
import {withTranslation} from 'react-i18next';
5+
import {withTranslation} from 'react-i18next';
66

77
/**
88
* Incomplete Forms Component.
@@ -151,7 +151,7 @@ class IncompleteForms extends Component {
151151
* @return {JSX} the incomplete form to render.
152152
*/
153153
render() {
154-
const {t} = this.props;
154+
const {t} = this.props;
155155
// Waiting for async data to load.
156156
if (!this.state.isLoaded) {
157157
return <Loader/>;
@@ -279,7 +279,7 @@ IncompleteForms.propTypes = {
279279
display: PropTypes.bool,
280280
data: PropTypes.object,
281281
baseURL: PropTypes.string.isRequired,
282-
t: PropTypes.func,
282+
t: PropTypes.func,
283283
};
284284

285285
export default withTranslation(['behavioural_qc', 'loris'])(IncompleteForms);

0 commit comments

Comments
 (0)