Skip to content

Commit cea0453

Browse files
committed
add more trabslations
1 parent ba3faee commit cea0453

File tree

4 files changed

+144
-77
lines changed

4 files changed

+144
-77
lines changed

oclp_r/support/translate_language.py

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,10 +1290,54 @@ def gui_macos_installer_download(self):
12901290
"Failed to extract macOS installer":"Failed to extract macOS installer",
12911291
"An error occurred while extracting the macOS installer. Could be due to a corrupted installer":"An error occurred while extracting the macOS installer. Could be due to a corrupted installer",
12921292
"Finished extracting the installer, would you like to continue and create a macOS installer?":"Finished extracting the installer, would you like to continue and create a macOS installer?",
1293-
"Create macOS Installer?":"Create macOS Installer?"
1293+
"Create macOS Installer?":"Create macOS Installer?",
1294+
"Initializing macOS Installer Download Frame":"Initializing macOS Installer Download Frame",
1295+
"AES Key Fetch Failed,status code:":"AES Key Fetch Failed,status code:",
1296+
"API REQUEST FAILED,status_code:":"API REQUEST FAILED,status_code:",
1297+
"DMG data got it!":"DMG data got it!",
1298+
"DMG data failed":"DMG data failed",
1299+
"REQUEST ERROR:":"REQUEST ERROR:",
1300+
"Failed to detect OS build:":"Failed to detect OS build:",
1301+
"All entries":"All entries",
1302+
"Latest only":"Latest only",
1303+
"Can't get AES Keys":"Can't get AES Keys",
1304+
"Error":"Error",
1305+
"No dmgs found on SimpleHac":"No dmgs found on SimpleHac",
1306+
"Download the selected DMGs.":"Download the selected DMGs.",
1307+
"Available installers on SUCatalog":"Available installers on SUCatalog",
1308+
"No installers found on SUCatalog":"No installers found on SUCatalog",
1309+
"Download the selected macOS Installer.":"Download the selected macOS Installer.",
1310+
"Copy the download link of the selected macOS Installer.":"Copy the download link of the selected macOS Installer.",
1311+
"Selected macOS":"Selected macOS",
1312+
"Lack of internal Keyboard/Trackpad in macOS installer.":"Lack of internal Keyboard/Trackpad in macOS installer.",
1313+
"Lack of internal Keyboard/Mouse in macOS installer.":"Lack of internal Keyboard/Mouse in macOS installer.",
1314+
"Potential Issues":"Potential Issues",
1315+
"Your model ({model}) may not be fully supported by this installer. You may encounter the following issues:\n\n{problems}\n\nFor more information, see associated page. Otherwise, we recommend using macOS Monterey":"Your model ({model}) may not be fully supported by this installer. You may encounter the following issues:\n\n{problems}\n\nFor more information, see associated page. Otherwise, we recommend using macOS Monterey",
12941316
}
12951317
elif self.language_point=="简体中文":
12961318
trans={
1319+
"Potential Issues":"潜在问题",
1320+
"Your model ({model}) may not be fully supported by this installer. You may encounter the following issues:\n\n{problems}\n\nFor more information, see associated page. Otherwise, we recommend using macOS Monterey":"您的模型 ({model}) 可能不被此安装程序完全支持。您可能会遇到以下问题:\n\n{problems}\n\n有关更多信息,请参阅关联页面。否则,我们建议使用 macOS Monterey",
1321+
"Lack of internal Keyboard/Mouse in macOS installer.":"macOS 安装程序中缺少内部键盘/鼠标。",
1322+
"Lack of internal Keyboard/Trackpad in macOS installer.":"macOS 安装程序中缺少内部键盘/触控板。",
1323+
"Selected macOS":"选中的 macOS",
1324+
"Download the selected macOS Installer.":"下载选中的 macOS 安装程序。",
1325+
"Copy the download link of the selected macOS Installer.":"复制选中的 macOS 安装程序的下载链接。",
1326+
"No installers found on SUCatalog":"SUCatalog 上未找到安装程序",
1327+
"Available installers on SUCatalog":"SUCatalog 上可用的安装程序",
1328+
"Download the selected DMGs.":"下载选中的 DMG 文件。",
1329+
"No dmgs found on SimpleHac":"SimpleHac 上未找到 dmgs",
1330+
"Error":"错误",
1331+
"Can't get AES Keys":"无法获取 AES 密钥",
1332+
"All entries":"所有条目",
1333+
"Latest only":"最新版本",
1334+
"Failed to detect OS build:":"无法检测操作系统版本:",
1335+
"REQUEST ERROR:":"请求错误:",
1336+
"DMG data failed":"DMG 数据获取失败",
1337+
"DMG data got it!":"已获取 DMG 数据!",
1338+
"API REQUEST FAILED,status_code:":"API 请求失败,状态码:",
1339+
"AES Key Fetch Failed,status code:":"AES 密钥获取失败,状态码:",
1340+
"Initializing macOS Installer Download Frame":"初始化 macOS 安装程序下载框架",
12971341
"Create macOS Installer":"创建 macOS 安装程序",
12981342
"Download macOS Installer":"下载 macOS 安装程序",
12991343
"Use existing macOS Installer":"使用现有 macOS 安装程序",
@@ -1481,6 +1525,7 @@ def gui_main_menu(self):
14811525
def gui_metallib_download(self):
14821526
if self.language_point=="English":
14831527
trans={
1528+
"Cannot find any installers":"Cannot find any installers",
14841529
"Updating OpenCore and root volume patches...":"更新 OpenCore 和根卷补丁...",
14851530
"Fetching Metallibs":"Fetching Metallibs",
14861531
"Choose Metallib Version":"Choose Metallib Version",
@@ -1494,10 +1539,21 @@ def gui_metallib_download(self):
14941539
"Show Older/Beta Version":"Show Older/Beta Version",
14951540
"Download link copied to clipboard":"Download link copied to clipboard",
14961541
"Fetch Metal Libraries Error: {e}":"Fetch Metal Libraries Error: {e}",
1497-
"Error":"Error"
1542+
"Error":"Error",
1543+
"Initializing NewMetallibDownloadFrame":"Initializing NewMetallibDownloadFrame",
1544+
"Failed to detect OS build: {e}":"Failed to detect OS build: {e}",
1545+
"Available installers on Github":"Available installers on Github",
1546+
"All entries":"All entries",
1547+
"Latest only":"Latest only",
14981548
}
14991549
elif self.language_point=="简体中文":
15001550
trans={
1551+
"Cannot find any installers":"无法找到任何安装程序",
1552+
"All entries":"所有条目",
1553+
"Latest only":"仅最新版本",
1554+
"Available installers on Github":"在 Github 上可用的安装程序",
1555+
"Failed to detect OS build: {e}":"无法检测操作系统构建: {e}",
1556+
"Initializing NewMetallibDownloadFrame":"初始化新的 Metallib 下载框架",
15011557
"Fetching Metallibs":"正在获取 Metallib",
15021558
"Choose Metallib Version":"选择 Metallib 版本",
15031559
"Choose Metallib":"选择 Metallib",
@@ -2205,7 +2261,8 @@ def gui_support(self):
22052261
"Internal Error occurred!":"Internal Error occurred!",
22062262
"Reboot to apply?":"Reboot to apply?",
22072263
"Reboot":"Reboot",
2208-
"Ignore":"Ignore"
2264+
"Ignore":"Ignore",
2265+
"Error while trying to reboot:":"Error while trying to reboot:"
22092266
}
22102267
elif self.language_point=="简体中文":
22112268
trans={
@@ -2215,7 +2272,8 @@ def gui_support(self):
22152272
"Internal Error occurred!":"发生内部错误!",
22162273
"Reboot to apply?":"是否重启应用?",
22172274
"Reboot":"重启",
2218-
"Ignore":"忽略"
2275+
"Ignore":"忽略",
2276+
"Error while trying to reboot:":"重启时出错:"
22192277
}
22202278
return trans
22212279

0 commit comments

Comments
 (0)