This commit is contained in:
arm64v8a
2023-04-09 13:37:14 +09:00
parent d6de7e4aff
commit caca5a59f6
5 changed files with 14 additions and 8 deletions

View File

@@ -40,8 +40,7 @@ func setupCore() {
// core setup
os.Setenv("v2ray.conf.geoloader", "memconservative")
neko_log.SetupLog(50*1024, "./neko.log")
_ = appLog.RegisterHandlerCreator(appLog.LogType_Console, func(lt appLog.LogType,
options appLog.HandlerCreatorOptions) (commonLog.Handler, error) {
_ = appLog.RegisterHandlerCreator(appLog.LogType_Console, func(lt appLog.LogType, options appLog.HandlerCreatorOptions) (commonLog.Handler, error) {
return commonLog.NewLogger(func() commonLog.Writer {
return &v2rayLogWriter{}
}), nil

View File

@@ -234,8 +234,8 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished">تنظیمات</translation>
<source>Core Options</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>

View File

@@ -228,8 +228,8 @@
<translation> uTLS </translation>
</message>
<message>
<source>Settings</source>
<translation></translation>
<source>Core Options</source>
<translation></translation>
</message>
</context>
<context>

View File

@@ -391,7 +391,7 @@ void DialogBasicSettings::on_inbound_auth_clicked() {
void DialogBasicSettings::on_core_settings_clicked() {
auto w = new QDialog(this);
w->setWindowTitle(software_core_name + " settings");
w->setWindowTitle(software_core_name + " Core Options");
auto layout = new QGridLayout;
w->setLayout(layout);
//

View File

@@ -590,10 +590,17 @@
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="core_settings">
<property name="text">
<string>Settings</string>
<string>Core Options</string>
</property>
</widget>
</item>