-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавлены два возможных сервиса перевода на выбор пользователя. Произведён рефакторинг логики наследования от абстрактного класса переводчика. Изменена логика внутренних взаимодействий классов.
- Loading branch information
Vladya
committed
Feb 6, 2022
1 parent
17cdc46
commit a769030
Showing
20 changed files
with
1,133 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
116 changes: 0 additions & 116 deletions
116
game/Translator3000Data/my_python_modules/_translator3000/_google/consts.py
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
game/Translator3000Data/my_python_modules/_translator3000/_google/utils.py
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
game/Translator3000Data/my_python_modules/_translator3000/_google_client5/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
@author: Vladya | ||
""" | ||
|
||
from .. import LOGGER as _parent_logger | ||
LOGGER = _parent_logger.getChild("Google (client5)") |
19 changes: 19 additions & 0 deletions
19
game/Translator3000Data/my_python_modules/_translator3000/_google_client5/_paths.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
@author: Vladya | ||
""" | ||
|
||
from os import path | ||
from .. import _paths | ||
|
||
_database_struct_version = u"1.0" | ||
DATABASE_FOLDER = path.join( | ||
_paths.DATABASE_FOLDER, | ||
u"Google (client5)", | ||
_database_struct_version | ||
) | ||
LOCAL_DATABASE_FOLDER = path.join( | ||
_paths.LOCAL_DATABASE_FOLDER, | ||
u"Google (client5)", | ||
_database_struct_version | ||
) |
Oops, something went wrong.