diff --git a/frontend/src/Components/Page/Header/PageHeader.css b/frontend/src/Components/Page/Header/PageHeader.css
index b94bd64b8..d0f437da5 100644
--- a/frontend/src/Components/Page/Header/PageHeader.css
+++ b/frontend/src/Components/Page/Header/PageHeader.css
@@ -37,6 +37,22 @@
flex-grow: 1;
}
+.translation {
+ composes: link from '~Components/Link/Link.css';
+
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 35px;
+ color: #fff;
+ text-align: center;
+ line-height: 60px;
+
+&:hover {
+ color: #1d563d;
+ }
+}
+
.donate {
composes: link from '~Components/Link/Link.css';
@@ -59,7 +75,8 @@
display: flex;
}
- .donate {
+ .donate,
+ .translation {
display: none;
}
}
diff --git a/frontend/src/Components/Page/Header/PageHeader.css.d.ts b/frontend/src/Components/Page/Header/PageHeader.css.d.ts
index 7a982dda7..61f5a99e1 100644
--- a/frontend/src/Components/Page/Header/PageHeader.css.d.ts
+++ b/frontend/src/Components/Page/Header/PageHeader.css.d.ts
@@ -8,6 +8,7 @@ interface CssExports {
'logoLink': string;
'right': string;
'sidebarToggleContainer': string;
+ 'translation': string;
}
export const cssExports: CssExports;
export default cssExports;
diff --git a/frontend/src/Components/Page/Header/PageHeader.js b/frontend/src/Components/Page/Header/PageHeader.js
index 740c9cb2b..d381b7692 100644
--- a/frontend/src/Components/Page/Header/PageHeader.js
+++ b/frontend/src/Components/Page/Header/PageHeader.js
@@ -4,6 +4,7 @@ import keyboardShortcuts, { shortcuts } from 'Components/keyboardShortcuts';
import IconButton from 'Components/Link/IconButton';
import Link from 'Components/Link/Link';
import { icons } from 'Helpers/Props';
+import translate from 'Utilities/String/translate';
import ArtistSearchInputConnector from './ArtistSearchInputConnector';
import KeyboardShortcutsModal from './KeyboardShortcutsModal';
import PageHeaderActionsMenuConnector from './PageHeaderActionsMenuConnector';
@@ -81,6 +82,13 @@ class PageHeader extends Component {
to="https://lidarr.audio/donate"
size={14}
/>
+
diff --git a/frontend/src/Helpers/Props/icons.js b/frontend/src/Helpers/Props/icons.js
index e6f737bec..29fa87780 100644
--- a/frontend/src/Helpers/Props/icons.js
+++ b/frontend/src/Helpers/Props/icons.js
@@ -64,6 +64,7 @@ import {
faHistory as fasHistory,
faHome as fasHome,
faInfoCircle as fasInfoCircle,
+ faLanguage as fasLanguage,
faLaptop as fasLaptop,
faLevelUpAlt as fasLevelUpAlt,
faListCheck as fasListCheck,
@@ -211,6 +212,7 @@ export const TABLE = fasTable;
export const TAGS = fasTags;
export const TBA = fasQuestionCircle;
export const TEST = fasVial;
+export const TRANSLATE = fasLanguage;
export const UNGROUP = farObjectUngroup;
export const UNKNOWN = fasQuestion;
export const UNMONITORED = farBookmark;
diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json
index 4312d8ab9..35d8d0af8 100644
--- a/src/NzbDrone.Core/Localization/Core/en.json
+++ b/src/NzbDrone.Core/Localization/Core/en.json
@@ -911,6 +911,7 @@
"Style": "Style",
"SuccessMyWorkIsDoneNoFilesToRename": "Success! My work is done, no files to rename.",
"SuccessMyWorkIsDoneNoFilesToRetag": "Success! My work is done, no files to retag.",
+ "SuggestTranslationChange": "Suggest translation change",
"SupportsRssvalueRSSIsNotSupportedWithThisIndexer": "RSS is not supported with this indexer",
"SupportsSearchvalueSearchIsNotSupportedWithThisIndexer": "Search is not supported with this indexer",
"SupportsSearchvalueWillBeUsedWhenAutomaticSearchesArePerformedViaTheUIOrByLidarr": "Will be used when automatic searches are performed via the UI or by Lidarr",