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

@@ -31,7 +31,7 @@ from typing import Optional
import aiofiles
import aiofiles.os
from ....languages import Languages
from ....lanuages import Lanuages
from .... import aiotools
from .... import aiohelpers
@@ -294,4 +294,4 @@ class Storage(_StorageDc):
async def remount_rw(self, rw: bool, fatal: bool=True) -> None:
if not (await aiohelpers.remount("MSD", self.__remount_cmd, rw)):
if fatal:
raise MsdError(Languages().gettext("Can't execute remount helper"))
raise MsdError(Lanuages().gettext("Can't execute remount helper"))