update comment
This commit is contained in:
1 parent
20b39a4e2c
commit
2d11be6282
12 files changed
+13
-14
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import glob
|
||||
import os
|
||||
import re
|
||||
import stat
|
||||
from typing import Any, Dict, List, Tuple, Union
|
||||
from zipfile import ZipFile
|
||||
|
||||
@@ -517,6 +518,7 @@ class ConfigPopup(QuickConfigGui):
|
||||
)
|
||||
with open(path, "wb") as fout:
|
||||
fout.write(zipObj.read(exes[0]))
|
||||
os.chmod(path, os.stat(path).st_mode | stat.S_IXUSR | stat.S_IXGRP)
|
||||
for f in zipObj.namelist():
|
||||
if f.lower().endswith("dll"):
|
||||
with open(os.path.join(os.path.split(path)[0], f), "wb") as fout:
|
||||
|
||||
Binary file not shown.
@@ -616,7 +616,6 @@ msgstr "下载KataGo 版本"
|
||||
msgid "show point loss as text"
|
||||
msgstr "在棋子上显示目数损失"
|
||||
|
||||
|
||||
msgid "katago binaries available"
|
||||
msgstr "{num} 个exe文件可用"
|
||||
|
||||
@@ -627,6 +626,4 @@ msgid "All binaries downloaded"
|
||||
msgstr "所有可用的exe文件已下载"
|
||||
|
||||
msgid "Engine missing DLL"
|
||||
msgstr ""
|
||||
"启动katago失败因缺失dll文件. 请检查运行要求, 或尝试让exe文件自行运行并检查细节. "
|
||||
|
||||
msgstr "启动katago失败因缺失dll文件. 请检查运行要求, 或尝试让exe文件自行运行并检查细节. "
|
||||
Binary file not shown.
@@ -662,7 +662,7 @@ msgstr ""
|
||||
msgid "engine:altcommand"
|
||||
msgstr "Override Engine Command"
|
||||
|
||||
#. TODO - button in general settings for downloading models
|
||||
#. TODO - button in general settings for downloading katago executables
|
||||
msgid "download katago button"
|
||||
msgstr "Download KataGo versions"
|
||||
|
||||
@@ -681,7 +681,7 @@ msgstr "All available binaries already downloaded"
|
||||
#. TODO
|
||||
msgid "Engine missing DLL"
|
||||
msgstr ""
|
||||
"Failed to start KataGo due to missing DLL. Check the requiments, or try "
|
||||
"Failed to start KataGo due to missing DLL. Check the requirements, or try "
|
||||
"running the binary by itself for details. "
|
||||
|
||||
#. TODO - in addition to colour, show point loss as -0.1 etc on hints/top
|
||||
|
||||
@@ -645,7 +645,7 @@ msgstr "Estimated Strength"
|
||||
msgid "download models button"
|
||||
msgstr "Download Models"
|
||||
|
||||
#. button in general settings for downloading models
|
||||
#. button in general settings for downloading katago executables
|
||||
msgid "download katago button"
|
||||
msgstr "Download KataGo versions"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -658,7 +658,7 @@ msgstr ""
|
||||
msgid "engine:altcommand"
|
||||
msgstr "Override Engine Command"
|
||||
|
||||
#. TODO - button in general settings for downloading models
|
||||
#. TODO - button in general settings for downloading katago executables
|
||||
msgid "download katago button"
|
||||
msgstr "Download KataGo versions"
|
||||
|
||||
@@ -677,7 +677,7 @@ msgstr "All available binaries already downloaded"
|
||||
#. TODO
|
||||
msgid "Engine missing DLL"
|
||||
msgstr ""
|
||||
"Failed to start KataGo due to missing DLL. Check the requiments, or try "
|
||||
"Failed to start KataGo due to missing DLL. Check the requirements, or try "
|
||||
"running the binary by itself for details. "
|
||||
|
||||
#. TODO - in addition to colour, show point loss as -0.1 etc on hints/top
|
||||
|
||||
@@ -699,7 +699,7 @@ msgstr ""
|
||||
msgid "engine:altcommand"
|
||||
msgstr "Override Engine Command"
|
||||
|
||||
#. TODO - button in general settings for downloading models
|
||||
#. TODO - button in general settings for downloading katago executables
|
||||
msgid "download katago button"
|
||||
msgstr "Download KataGo versions"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -641,7 +641,7 @@ msgstr "エンジン起動コマンド全体 (plinkでリモートエンジン
|
||||
msgid "engine:altcommand"
|
||||
msgstr "エンジンコマンドの上書き"
|
||||
|
||||
#. TODO - button in general settings for downloading models
|
||||
#. TODO - button in general settings for downloading katago executables
|
||||
msgid "download katago button"
|
||||
msgstr "Download KataGo versions"
|
||||
|
||||
@@ -660,7 +660,7 @@ msgstr "All available binaries already downloaded"
|
||||
#. TODO
|
||||
msgid "Engine missing DLL"
|
||||
msgstr ""
|
||||
"Failed to start KataGo due to missing DLL. Check the requiments, or try "
|
||||
"Failed to start KataGo due to missing DLL. Check the requirements, or try "
|
||||
"running the binary by itself for details. "
|
||||
|
||||
#. TODO - in addition to colour, show point loss as -0.1 etc on hints/top
|
||||
|
||||
+2
-2
@@ -268,13 +268,13 @@
|
||||
cols: 2
|
||||
rows: 4
|
||||
padding: 4
|
||||
size_hint: 0.8, 1
|
||||
size_hint: 0.9, 1
|
||||
DescriptionLabel:
|
||||
font_size: DESC_FONT_SIZE * 0.8
|
||||
text: i18n._("theme")
|
||||
AnchorLayout:
|
||||
LabelledSpinner:
|
||||
size_hint: 0.8,0.8
|
||||
size_hint: 0.95,0.8
|
||||
input_property: 'trainer/theme'
|
||||
font_size: DESC_FONT_SIZE * 0.8
|
||||
id: themes_spinner
|
||||
|
||||
Reference in new issue
Block a user