Revert "进一步的 kvmd 国际化(汉化)支持,添加配置入口"

This reverts commit 35397c5414.
This commit is contained in:
mofeng-git
2024-11-20 11:51:37 +00:00
parent 50819d0a35
commit b419641251
47 changed files with 181 additions and 567 deletions

View File

@@ -26,7 +26,7 @@ import dataclasses
import itertools
import argparse
from ...languages import Languages
from ...lanuages import Lanuages
from ...logging import get_logger
@@ -89,7 +89,7 @@ class _Service: # pylint: disable=too-many-instance-attributes
self.__gadget: str = config.otg.gadget
self.__driver: str = config.otg.devices.ethernet.driver
self.gettext=Languages().gettext
self.gettext=Lanuages().gettext
def start(self) -> None:
asyncio.run(self.__run(True))