Skip to content

Commit

Permalink
fix: event reporting wording in preferences (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham committed May 24, 2024
1 parent 1a05be2 commit 70e3bc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions assets/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
"DetailsForYourNew": "Details for your new wallet network",
"DesktopNotifications": "Desktop notifications",
"Privacy": "Privacy",
"SendEventReports": "Send event reports",
"SendEventReportsDescription": "Enable to help measure app impact and client diversity shown at https://impact.nicenode.xyz",
"SendErrorReports": "Send error reports",
"SendErrorReportsDescription": "Enabled by default in alpha releases to fix bugs and improve the app.",
"PreReleaseUpdates": "Pre-release Updates",
Expand Down
8 changes: 4 additions & 4 deletions src/renderer/Presentational/Preferences/Preferences.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,8 @@ const Preferences = ({
sectionTitle: '',
items: [
{
label: t('SendErrorReports'),
description: `${t('SendErrorReportsDescription')} (${
import.meta.env.MP_PROJECT_ENV
})`,
label: t('SendEventReports'),
description: `${t('SendEventReportsDescription')}`,
value: (
<Toggle
onText={t('Enabled')}
Expand All @@ -241,6 +239,7 @@ const Preferences = ({
}}
/>
),
learnMoreLink: 'https://impact.nicenode.xyz',
},
],
},
Expand Down Expand Up @@ -278,6 +277,7 @@ const Preferences = ({
</div>
<div className={versionContainer}>
{t('YouAreRunningNiceNode')} {version} {import.meta.env.NICENODE_ENV}
{import.meta.env.MP_PROJECT_ENV}
</div>
</div>
);
Expand Down

0 comments on commit 70e3bc3

Please sign in to comment.