From aa848a0b4ad6e4d366003bf2b24a87e3007680e5 Mon Sep 17 00:00:00 2001 From: Johan Kwarnmark Date: Mon, 1 Feb 2021 17:40:02 +0100 Subject: [PATCH] Fix translation of tool tip --- src/renderer/components/notification-settings.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/notification-settings.tsx b/src/renderer/components/notification-settings.tsx index 095f54ea..7b7e4fc1 100644 --- a/src/renderer/components/notification-settings.tsx +++ b/src/renderer/components/notification-settings.tsx @@ -89,7 +89,7 @@ export default class NotificationSettings extends React.Component<{}, IState> { : undefined } id='screen-selector' - title='position' + title={i18n.t('Position', NOTIFICATION_SETTINGS_NAMESPACE)()} value={this.state.display} onChange={this.selectDisplay.bind(this)} > @@ -101,9 +101,7 @@ export default class NotificationSettings extends React.Component<{}, IState> { style={ this.state.theme === Themes.DARK ? { color: 'white' } : undefined } - > - {i18n.t('Position', NOTIFICATION_SETTINGS_NAMESPACE)()} - + >