We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbf9c3f commit d7f41b8Copy full SHA for d7f41b8
constants.py
@@ -1,8 +1,10 @@
1
# -*- coding: utf-8 -*-
2
+from dataclasses import dataclass
3
from PySide6.QtCore import QLocale
4
5
__all__ = ['DefaultConfig', 'GTDB_IPS', 'ONLINE_SERVICES']
6
7
+@dataclass
8
class DefaultConfig:
9
language = 'zh_CN' if 'zh' in QLocale.system().name() else 'en_US'
10
test_host = 'translate.googleapis.com'
@@ -52,7 +54,7 @@ class DefaultConfig:
52
54
)
53
55
56
# IPs from gtdb
-# updated 2026-02-01
57
+# updated 2026-02-06
58
GTDB_IPS = '''108.177.111.90
59
108.177.122.90
60
108.177.123.90
0 commit comments