mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Small fixes
This commit is contained in:
parent
4e1c38f27d
commit
becda111b0
2 changed files with 10 additions and 1 deletions
|
@ -2,6 +2,7 @@ package io.xpipe.app.comp.about;
|
|||
|
||||
import io.xpipe.app.comp.base.ButtonComp;
|
||||
import io.xpipe.app.core.AppLogs;
|
||||
import io.xpipe.app.editor.EditorState;
|
||||
import io.xpipe.app.issue.UserReportComp;
|
||||
import io.xpipe.core.util.XPipeInstallation;
|
||||
import io.xpipe.extension.I18n;
|
||||
|
@ -26,10 +27,16 @@ public class BrowseDirectoryComp extends SimpleComp {
|
|||
UserReportComp.show(event.build());
|
||||
}),
|
||||
null)
|
||||
.addComp(
|
||||
"logFile",
|
||||
new ButtonComp(I18n.observable("openCurrentLogFile"), () -> {
|
||||
EditorState.get().openInEditor(AppLogs.get().getSessionLogsDirectory().resolve("xpipe.log").toString());
|
||||
}),
|
||||
null)
|
||||
.addComp(
|
||||
"logFiles",
|
||||
new ButtonComp(I18n.observable("openLogsDirectory"), () -> {
|
||||
OsHelper.browsePath(AppLogs.get().getLogsDirectory());
|
||||
OsHelper.browsePath(AppLogs.get().getSessionLogsDirectory());
|
||||
}),
|
||||
null)
|
||||
.addComp(
|
||||
|
|
|
@ -126,9 +126,11 @@ privacyPolicy=Privacy Policy
|
|||
agree=Agree
|
||||
disagree=Disagree
|
||||
directories=Directories
|
||||
logFile=Log File
|
||||
logFiles=Log Files
|
||||
logFilesAttachment=Log Files (Sensitive information removed)
|
||||
issueReporter=Issue Reporter
|
||||
openCurrentLogFile=Open current log file
|
||||
openLogsDirectory=Open logs directory
|
||||
installationFiles=Installation Files
|
||||
openInstallationDirectory=Open installation directory
|
||||
|
|
Loading…
Reference in a new issue