Skip to content

Commit

Permalink
Final clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Dec 20, 2023
1 parent 05b144b commit 9ce4609
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
"privacy_policy": "Privacy Policy",
"change_term_links": "Change the terms links that appears at the bottom of the page",
"change_privacy_link": "Change the privacy link that appears at the bottom of the page",
"helpcenter": "Help center",
"helpcenter": "Help Center",
"change_helpcenter_link": "Change the help center link that appears under the profile dropdown",
"change_url": "Change URL",
"enter_link": "Enter link here"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Administration() {

return (
<>
<Row className="mb-4">
<Row>
<h6> { t('admin.site_settings.administration.terms') } </h6>
<p className="text-muted"> { t('admin.site_settings.administration.change_term_links') } </p>
<LinksForm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ export default function Settings() {
value="Public/Protected"
onClick={() => updateDefaultRecordingVisibility.mutate({ value: 'Public/Protected' })}
>
{t('recording.published')}
{t('recording.public_protected')}
</Dropdown.Item>
<Dropdown.Item key="Public" value="Public" onClick={() => updateDefaultRecordingVisibility.mutate({ value: 'Public' })}>
{t('recording.unpublished')}
{t('recording.public')}
</Dropdown.Item>
<Dropdown.Item key="Protected" value="Protected" onClick={() => updateDefaultRecordingVisibility.mutate({ value: 'Protected' })}>
{t('recording.published')}
{t('recording.protected')}
</Dropdown.Item>
<Dropdown.Item key="Published" value="Published" onClick={() => updateDefaultRecordingVisibility.mutate({ value: 'Published' })}>
{t('recording.published')}
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/components/home/NavbarSignedIn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function NavbarSignedIn({ currentUser }) {
{
helpCenter
&& (
<Nav.Link eventKey={2} href={helpCenter}>
<Nav.Link eventKey={2} href={helpCenter} target="_blank">
<QuestionMarkCircleIcon className="hi-s me-3" />
{t('help_center')}
</Nav.Link>
Expand Down Expand Up @@ -113,7 +113,7 @@ export default function NavbarSignedIn({ currentUser }) {
{
helpCenter
&& (
<NavDropdown.Item href={helpCenter}>
<NavDropdown.Item href={helpCenter} target="_blank">
<QuestionMarkCircleIcon className="hi-s me-3" />
{t('help_center')}
</NavDropdown.Item>
Expand Down

0 comments on commit 9ce4609

Please sign in to comment.