mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(self-hosting): use instance contacts and live product name (#3333)
This commit is contained in:
1 parent
454fefdb92
commit
a5c1362f4a
308 files changed
+16533
-13512
No files matched your search
@@ -3,7 +3,7 @@
|
||||
import {ConfirmModal} from '@app/features/app/components/dialogs/ConfirmModal';
|
||||
import {SettingsSection} from '@app/features/app/components/dialogs/shared/SettingsSection';
|
||||
import {SettingsTabContainer} from '@app/features/app/components/dialogs/shared/SettingsTabLayout';
|
||||
import {PRODUCT_NAME} from '@app/features/app/config/I18nDisplayConstants';
|
||||
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
|
||||
import {MacPermissionsSettingsRow} from '@app/features/permissions/system/components/MacPermissionsSettingsRow';
|
||||
import {
|
||||
getAutostartStatus,
|
||||
@@ -125,7 +125,7 @@ const DesktopSettingsTab: React.FC = observer(() => {
|
||||
ModalCommands.push(
|
||||
modal(() => (
|
||||
<ConfirmModal
|
||||
title={i18n._(RESTART_DESCRIPTOR, {productName: PRODUCT_NAME})}
|
||||
title={i18n._(RESTART_DESCRIPTOR, {productName: RuntimeConfig.productName})}
|
||||
description={
|
||||
<Trans>
|
||||
Tray icon changes only apply after a restart on Linux because the system tray protocol doesn't reliably
|
||||
@@ -153,7 +153,7 @@ const DesktopSettingsTab: React.FC = observer(() => {
|
||||
>
|
||||
{isDesktop() && (
|
||||
<Switch
|
||||
label={i18n._(LAUNCH_PRODUCT_AT_LOGIN_DESCRIPTOR, {productName: PRODUCT_NAME})}
|
||||
label={i18n._(LAUNCH_PRODUCT_AT_LOGIN_DESCRIPTOR, {productName: RuntimeConfig.productName})}
|
||||
value={autostartEnabled}
|
||||
disabled={autostartBusy}
|
||||
onChange={handleAutostartChange}
|
||||
@@ -189,7 +189,7 @@ const DesktopSettingsTab: React.FC = observer(() => {
|
||||
label={isMac ? <Trans>Show menu bar icon</Trans> : <Trans>Show system tray icon</Trans>}
|
||||
description={
|
||||
trayChangePendingRestart && isLinux
|
||||
? i18n._(RESTART_PRODUCT_FOR_TRAY_CHANGE_DESCRIPTOR, {productName: PRODUCT_NAME})
|
||||
? i18n._(RESTART_PRODUCT_FOR_TRAY_CHANGE_DESCRIPTOR, {productName: RuntimeConfig.productName})
|
||||
: undefined
|
||||
}
|
||||
value={desktopWindowBehavior.showTrayIcon}
|
||||
|
||||
Reference in new issue
Block a user