mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(about): show config directory (#2600)
* feat(about): show config directory * feat(about): run yarn i18n:extract * refactor(about): use existing appdata path method * feat(about): suggested changes * refactor(logs): rename variable to be more consistent * feat: suggested changes
This commit is contained in:

committed by
GitHub

parent
d92f169375
commit
0c7373c7e8
@@ -24,6 +24,7 @@ const messages = defineMessages({
|
||||
gettingsupport: 'Getting Support',
|
||||
githubdiscussions: 'GitHub Discussions',
|
||||
timezone: 'Time Zone',
|
||||
appDataPath: 'Data Directory',
|
||||
supportoverseerr: 'Support Overseerr',
|
||||
helppaycoffee: 'Help Pay for Coffee',
|
||||
documentation: 'Documentation',
|
||||
@@ -143,6 +144,9 @@ const SettingsAbout: React.FC = () => {
|
||||
<List.Item title={intl.formatMessage(messages.totalrequests)}>
|
||||
{intl.formatNumber(data.totalRequests)}
|
||||
</List.Item>
|
||||
<List.Item title={intl.formatMessage(messages.appDataPath)}>
|
||||
<code>{data.appDataPath}</code>
|
||||
</List.Item>
|
||||
{data.tz && (
|
||||
<List.Item title={intl.formatMessage(messages.timezone)}>
|
||||
<code>{data.tz}</code>
|
||||
|
@@ -31,7 +31,7 @@ import Transition from '../../Transition';
|
||||
const messages = defineMessages({
|
||||
logs: 'Logs',
|
||||
logsDescription:
|
||||
'You can also view these logs directly via <code>stdout</code>, or in <code>{configDir}/logs/overseerr.log</code>.',
|
||||
'You can also view these logs directly via <code>stdout</code>, or in <code>{appDataPath}/logs/overseerr.log</code>.',
|
||||
time: 'Timestamp',
|
||||
level: 'Severity',
|
||||
label: 'Label',
|
||||
@@ -235,7 +235,7 @@ const SettingsLogs: React.FC = () => {
|
||||
code: function code(msg) {
|
||||
return <code className="bg-opacity-50">{msg}</code>;
|
||||
},
|
||||
configDir: appData ? appData.appDataPath : '/app/config',
|
||||
appDataPath: appData ? appData.appDataPath : '/app/config',
|
||||
})}
|
||||
</p>
|
||||
<div className="mt-2 flex flex-grow flex-row sm:flex-grow-0 sm:justify-end">
|
||||
|
Reference in New Issue
Block a user