Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: event reporting wording in preferences #583

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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