Change funding bar text.

This commit is contained in:
Fosco Marotto 2021-01-16 15:23:33 -05:00
parent e44e83a857
commit addfa1f8e0
2 changed files with 6 additions and 6 deletions

View File

@ -65,7 +65,7 @@ class ProgressPanel extends React.PureComponent {
const messages = defineMessages({
progressTitle: { id: 'progress_title', defaultMessage: '{value}% covered this month' },
operationsTitle: { id: 'operations_title', defaultMessage: "Gab's Operational Expenses" },
operationsTitle: { id: 'operations_title', defaultMessage: "Help keep Gab online" },
operationsSubtitle: { id: 'operations_subtitle', defaultMessage: "We're 100% funded by you." },
donationTitle: { id: 'make_donation', defaultMessage: 'Make a Donation' },
})
@ -88,4 +88,4 @@ ProgressPanel.propTypes = {
onFetchExpenses: PropTypes.func.isRequired,
}
export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ProgressPanel))
export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ProgressPanel))

View File

@ -13,7 +13,7 @@ import Button from '../button'
import Text from '../text'
class ProgressInjection extends React.PureComponent {
componentDidMount() {
const { isFetched, isXS } = this.props
if (!isFetched && isXS) {
@ -31,7 +31,7 @@ class ProgressInjection extends React.PureComponent {
} = this.props
if ((value === 0 && isFetched) || !isXS) return <div />
return (
<TimelineInjectionLayout
title={intl.formatMessage(messages.operationsTitle)}
@ -56,7 +56,7 @@ class ProgressInjection extends React.PureComponent {
const messages = defineMessages({
progressTitle: { id: 'progress_title', defaultMessage: '{value}% covered this month' },
operationsTitle: { id: 'operations_title', defaultMessage: "Gab's Operational Expenses" },
operationsTitle: { id: 'operations_title', defaultMessage: "Help keep Gab online" },
operationsSubtitle: { id: 'operations_subtitle', defaultMessage: "We're 100% funded by you." },
donationTitle: { id: 'make_donation', defaultMessage: 'Make a Donation' },
})
@ -80,4 +80,4 @@ ProgressInjection.propTypes = {
onFetchExpenses: PropTypes.func.isRequired,
}
export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ProgressInjection))
export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ProgressInjection))