Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: renaming twitter to x, removing facebook

Ilian Sapundshiev7c11cc6b5e86
diff --git a/assets/links.ts b/assets/links.ts
index 0bceb4652..62a04f4fe 100644
--- a/assets/links.ts
+++ b/assets/links.ts
@@ -54,7 +54,6 @@ const Links = {
'https://addons.mozilla.org/en-US/firefox/addon/tagspaces/',
webClipper: 'https://www.tagspaces.org/products/webclipper/' + urlParams,
twitter: 'https://twitter.com/tagspaces',
- facebook: 'https://www.facebook.com/tagspacesapp',
emailContact: 'mailto:[email protected]?subject=App',
cancelSubscription:
'mailto:[email protected]?subject=Cancel%20subscription&body=Please%20enter%20here%20you%20order%20ID%20or%20the%20email%20with%20which%20the%20purchase%20was%20made.', // 'https://fastspring.com/consumer-support-form/?ulCase.Primary_Category__c=Cancel%20/%20Refund&Case.Category__c=Cancel%20Subscription'
diff --git a/src/main/electron-menus.ts b/src/main/electron-menus.ts
index 08fabb710..2b87b3cf2 100644
--- a/src/main/electron-menus.ts
+++ b/src/main/electron-menus.ts
@@ -222,7 +222,7 @@ export default function buildDesktopMenu(props: any, i18n) {
},
},
{
- label: '&' + i18n.t('followOnTwitter'),
+ label: '&' + i18n.t('followOnX'),
click: () => {
shell.openExternal(Links.links.twitter);
},
diff --git a/src/renderer/components/HelpFeedbackPanel.tsx b/src/renderer/components/HelpFeedbackPanel.tsx
index e7bbaf9e8..68cc70ba8 100644
--- a/src/renderer/components/HelpFeedbackPanel.tsx
+++ b/src/renderer/components/HelpFeedbackPanel.tsx
@@ -33,7 +33,7 @@ import CancelSubscriptionIcon from '@mui/icons-material/EventBusy';
import IssueIcon from '@mui/icons-material/BugReport';
import TranslationIcon from '@mui/icons-material/Translate';
import NewFeatureIcon from '@mui/icons-material/Gesture';
-import TwitterIcon from '@mui/icons-material/Twitter';
+import XIcon from '@mui/icons-material/X';
import ForumIcon from '@mui/icons-material/Forum';
import ProTeaserIcon from '@mui/icons-material/FlightTakeoff';
import { KeyShortcutsIcon, HelpIcon } from '-/components/CommonIcons';
@@ -220,10 +220,10 @@ function HelpFeedbackPanel(props: Props) {
)}
<ListItem onClick={() => openURLExternally(Links.links.twitter, true)}>
<ListItemIcon>
- <TwitterIcon />
+ <XIcon />
</ListItemIcon>
<Typography style={{ color: theme.palette.text.primary }}>
- {t('core:followOnTwitter')}
+ {t('core:followOnX')}
</Typography>
</ListItem>
<Divider />
diff --git a/src/renderer/components/WelcomePanel.tsx b/src/renderer/components/WelcomePanel.tsx
index 6ef7b84fe..db54540ff 100644
--- a/src/renderer/components/WelcomePanel.tsx
+++ b/src/renderer/components/WelcomePanel.tsx
@@ -32,7 +32,7 @@ import EmailIcon from '@mui/icons-material/Email';
import IssueIcon from '@mui/icons-material/BugReport';
import TranslationIcon from '@mui/icons-material/Translate';
import NewFeatureIcon from '@mui/icons-material/Gesture';
-import TwitterIcon from '@mui/icons-material/Twitter';
+import XIcon from '@mui/icons-material/X';
import WelcomeBackground from '-/assets/images/background.png';
import WelcomeLogo from '-/assets/images/welcome-logo.png';
import {
@@ -64,12 +64,11 @@ const classes = {
const Root = styled('div')(({ theme }) => ({
[`& .${classes.listItem}`]: {
color: theme.palette.text.primary,
- textTransform: 'uppercase',
- marginTop: 10,
+ marginTop: 5,
+ fontSize: '1rem',
},
[`& .${classes.recentTitle}`]: {
color: theme.palette.text.primary,
- textTransform: 'uppercase',
textAlign: 'center',
},
[`& .${classes.noRecentItems}`]: {
@@ -333,10 +332,10 @@ function WelcomePanel() {
</ListItem>
<ListItem onClick={() => openURLExternally(Links.links.twitter, true)}>
<ListItemIcon>
- <TwitterIcon />
+ <XIcon />
</ListItemIcon>
<ListItemText
- primary={t('core:followOnTwitter')}
+ primary={t('core:followOnX')}
className={classes.listItem}
/>
</ListItem>
diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.json
index d401e5897..eb305c7ca 100644
--- a/src/renderer/locales/en/core.json
+++ b/src/renderer/locales/en/core.json
@@ -199,8 +199,7 @@
"suggestNewFeatures": "Suggest a feature",
"reportIssues": "Report a problem",
"forums": "Forums",
- "followOnTwitter": "Follow us on Twitter",
- "likeUsOnFacebook": "Contact us on Facebook",
+ "followOnX": "Follow us on X",
"searchPlaceholder": "Search current location",
"tagSearchOR": "At least one tag",
"tagSearchORTitle": "Entry should contain at least one of the tags (OR search)",