export string to constant
This commit is contained in:
parent
f521c052e5
commit
ecd4a2588f
|
@ -58,7 +58,7 @@ export function AbuseReportForm({ show, close, url }: Iprops) {
|
||||||
show={show}
|
show={show}
|
||||||
onHide={close}
|
onHide={close}
|
||||||
attributes={{
|
attributes={{
|
||||||
title: 'abuse report',
|
title: constants.ABUSE_REPORT,
|
||||||
staticBackdrop: true,
|
staticBackdrop: true,
|
||||||
}}>
|
}}>
|
||||||
<div style={{ padding: '5px 20px' }}>
|
<div style={{ padding: '5px 20px' }}>
|
||||||
|
|
|
@ -643,6 +643,7 @@ const englishConstants = {
|
||||||
DISABLE_PUBLIC_SHARING: "'disable public sharing",
|
DISABLE_PUBLIC_SHARING: "'disable public sharing",
|
||||||
DISABLE_PUBLIC_SHARING_MESSAGE:
|
DISABLE_PUBLIC_SHARING_MESSAGE:
|
||||||
'are you sure you want to disable public sharing?',
|
'are you sure you want to disable public sharing?',
|
||||||
|
ABUSE_REPORT: "'abuse report'",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default englishConstants;
|
export default englishConstants;
|
||||||
|
|
Loading…
Reference in a new issue