mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +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.comp.base.ButtonComp;
|
||||||
import io.xpipe.app.core.AppLogs;
|
import io.xpipe.app.core.AppLogs;
|
||||||
|
import io.xpipe.app.editor.EditorState;
|
||||||
import io.xpipe.app.issue.UserReportComp;
|
import io.xpipe.app.issue.UserReportComp;
|
||||||
import io.xpipe.core.util.XPipeInstallation;
|
import io.xpipe.core.util.XPipeInstallation;
|
||||||
import io.xpipe.extension.I18n;
|
import io.xpipe.extension.I18n;
|
||||||
|
@ -26,10 +27,16 @@ public class BrowseDirectoryComp extends SimpleComp {
|
||||||
UserReportComp.show(event.build());
|
UserReportComp.show(event.build());
|
||||||
}),
|
}),
|
||||||
null)
|
null)
|
||||||
|
.addComp(
|
||||||
|
"logFile",
|
||||||
|
new ButtonComp(I18n.observable("openCurrentLogFile"), () -> {
|
||||||
|
EditorState.get().openInEditor(AppLogs.get().getSessionLogsDirectory().resolve("xpipe.log").toString());
|
||||||
|
}),
|
||||||
|
null)
|
||||||
.addComp(
|
.addComp(
|
||||||
"logFiles",
|
"logFiles",
|
||||||
new ButtonComp(I18n.observable("openLogsDirectory"), () -> {
|
new ButtonComp(I18n.observable("openLogsDirectory"), () -> {
|
||||||
OsHelper.browsePath(AppLogs.get().getLogsDirectory());
|
OsHelper.browsePath(AppLogs.get().getSessionLogsDirectory());
|
||||||
}),
|
}),
|
||||||
null)
|
null)
|
||||||
.addComp(
|
.addComp(
|
||||||
|
|
|
@ -126,9 +126,11 @@ privacyPolicy=Privacy Policy
|
||||||
agree=Agree
|
agree=Agree
|
||||||
disagree=Disagree
|
disagree=Disagree
|
||||||
directories=Directories
|
directories=Directories
|
||||||
|
logFile=Log File
|
||||||
logFiles=Log Files
|
logFiles=Log Files
|
||||||
logFilesAttachment=Log Files (Sensitive information removed)
|
logFilesAttachment=Log Files (Sensitive information removed)
|
||||||
issueReporter=Issue Reporter
|
issueReporter=Issue Reporter
|
||||||
|
openCurrentLogFile=Open current log file
|
||||||
openLogsDirectory=Open logs directory
|
openLogsDirectory=Open logs directory
|
||||||
installationFiles=Installation Files
|
installationFiles=Installation Files
|
||||||
openInstallationDirectory=Open installation directory
|
openInstallationDirectory=Open installation directory
|
||||||
|
|
Loading…
Reference in a new issue