diff --git a/build-resources/icon.icns b/build-resources/icon.icns
index b4363f67..240f4e99 100644
Binary files a/build-resources/icon.icns and b/build-resources/icon.icns differ
diff --git a/build-resources/icon.png b/build-resources/icon.png
index da2315bb..fed8dafc 100644
Binary files a/build-resources/icon.png and b/build-resources/icon.png differ
diff --git a/package.json b/package.json
index c97b06c3..077e2dc3 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"main": "public/electron.js",
"repository": "https://github.com/webcatalog/translatium",
"author": {
- "name": "WebCatalog Ltd",
+ "name": "Quang Lam",
"email": "contact@webcatalog.app"
},
"license": "MPL-2.0",
diff --git a/src/components/pages/home/index.js b/src/components/pages/home/index.js
index d0d7c830..9bc04117 100644
--- a/src/components/pages/home/index.js
+++ b/src/components/pages/home/index.js
@@ -62,7 +62,7 @@ import { ROUTE_LANGUAGE_LIST } from '../../../constants/routes';
import Dictionary from './dictionary';
import History from './history';
-import RatingCard from './rating-card';
+import MigrationCard from './migration-card';
const styles = (theme) => ({
container: {
@@ -327,7 +327,7 @@ class Home extends React.Component {
-
+
{output.outputDict && output.source === 'translate.googleapis.com' && }
diff --git a/src/components/pages/home/migration-card.js b/src/components/pages/home/migration-card.js
new file mode 100644
index 00000000..f2a3931c
--- /dev/null
+++ b/src/components/pages/home/migration-card.js
@@ -0,0 +1,69 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+import React from 'react';
+import PropTypes from 'prop-types';
+import classNames from 'classnames';
+
+import Button from '@material-ui/core/Button';
+import Card from '@material-ui/core/Card';
+import CardContent from '@material-ui/core/CardContent';
+import CardActions from '@material-ui/core/CardActions';
+import Typography from '@material-ui/core/Typography';
+
+import connectComponent from '../../../helpers/connect-component';
+
+import {
+ requestOpenInBrowser,
+} from '../../../senders';
+
+const styles = (theme) => ({
+ card: {
+ borderTop: theme.palette.type === 'dark' ? 'none' : '1px solid rgba(0, 0, 0, 0.12)',
+ borderBottom: theme.palette.type === 'dark' ? 'none' : '1px solid rgba(0, 0, 0, 0.12)',
+ },
+ migrationCard: {
+ marginTop: theme.spacing(2),
+ },
+ migrationCardActions: {
+ justifyContent: 'center',
+ },
+});
+
+const MigrationCard = ({
+ classes,
+}) => (
+
+
+
+ Because of a few reasons, we have to republish Translatium under a new app listing.
+ To continue receiving updates, please reinstall the app from our new listing.
+
+
+
+
+
+
+);
+
+MigrationCard.propTypes = {
+ classes: PropTypes.object.isRequired,
+};
+
+export default connectComponent(
+ MigrationCard,
+ null,
+ null,
+ styles,
+);
diff --git a/src/components/pages/home/rating-card.js b/src/components/pages/home/rating-card.js
index f5c3dd81..99f6265b 100644
--- a/src/components/pages/home/rating-card.js
+++ b/src/components/pages/home/rating-card.js
@@ -57,7 +57,7 @@ const RatingCard = ({
onClick={() => {
requestSetPreference('ratingCardLastClicked', Date.now());
requestSetPreference('ratingCardDidRate', true);
- requestOpenInBrowser('macappstore://apps.apple.com/app/id1176624652?action=write-review');
+ requestOpenInBrowser('macappstore://apps.apple.com/app/id1547052291?action=write-review');
}}
>
{getLocale('rateMacAppStore')}
diff --git a/src/components/pages/preferences/index.js b/src/components/pages/preferences/index.js
index 6cf45cdc..99d75250 100644
--- a/src/components/pages/preferences/index.js
+++ b/src/components/pages/preferences/index.js
@@ -428,7 +428,7 @@ const Preferences = (props) => {
<>
- requestOpenInBrowser('macappstore://apps.apple.com/app/id1176624652?action=write-review')} />
+ requestOpenInBrowser('macappstore://apps.apple.com/app/id1547052291?action=write-review')} />
>
)}