From addfa1f8e012bcd8a7d566437c7e489d4b58bda3 Mon Sep 17 00:00:00 2001 From: Fosco Marotto Date: Sat, 16 Jan 2021 15:23:33 -0500 Subject: [PATCH] Change funding bar text. --- .../gabsocial/components/panel/progress_panel.js | 4 ++-- .../components/timeline_injections/progress_injection.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/javascript/gabsocial/components/panel/progress_panel.js b/app/javascript/gabsocial/components/panel/progress_panel.js index 3e9062d8..e9986112 100644 --- a/app/javascript/gabsocial/components/panel/progress_panel.js +++ b/app/javascript/gabsocial/components/panel/progress_panel.js @@ -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)) \ No newline at end of file +export default injectIntl(connect(mapStateToProps, mapDispatchToProps)(ProgressPanel)) diff --git a/app/javascript/gabsocial/components/timeline_injections/progress_injection.js b/app/javascript/gabsocial/components/timeline_injections/progress_injection.js index ed63213a..273eca28 100644 --- a/app/javascript/gabsocial/components/timeline_injections/progress_injection.js +++ b/app/javascript/gabsocial/components/timeline_injections/progress_injection.js @@ -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
- + return (