You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oclp_r/support/translate_language.py
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,7 @@ def arguements(self):
308
308
defkdk_handler(self):
309
309
ifself.language_point=="English":
310
310
trans={
311
+
"This is macOS beta's KDK":"This is macOS beta's KDK",
311
312
"Could not contact KDK API":"Could not contact KDK API",
312
313
"Could not fetch KDK list":"Could not fetch KDK list",
313
314
"Pulling KDK list from KdkSupportPkg API":"Pulling KDK list from KdkSupportPkg API",
@@ -361,6 +362,7 @@ def kdk_handler(self):
361
362
}
362
363
elifself.language_point=="简体中文":
363
364
trans={
365
+
"This is macOS beta's KDK":"这是macOS beta的KDK",
364
366
"Could not contact KDK API":"无法联系 KDK API",
365
367
"Pulling KDK list from KdkSupportPkg API":"从 KdkSupportPkg API 获取 KDK 列表",
366
368
"Could not fetch KDK list":"无法获取 KDK 列表",
@@ -657,7 +659,7 @@ def reroute_payloads(self):
657
659
"Creating payloads directory":"正在创建 payloads 目录",
658
660
"Mounted payloads.dmg":"已挂载 payloads.dmg",
659
661
"Failed to mount payloads.dmg":"无法挂载 payloads.dmg",
660
-
"Unmounting personal {0}":"正在卸载个人 {0}",
662
+
"Unmounting personal {0}":"正在卸载 {0}",
661
663
"Unmounting {0} at: {1}":"正在卸载 {0} 于: {1}"
662
664
}
663
665
returntrans
@@ -2462,6 +2464,7 @@ def gui_support(self):
2462
2464
defgui_sys_patch_display(self):
2463
2465
ifself.language_point=="English":
2464
2466
trans={
2467
+
"Built from source, running from socure":"Built from source, running from socure",
2465
2468
"Checking if new patches are needed":"Checking if new patches are needed",
2466
2469
"No root patch updates needed!\n\nWould you like to reboot to apply the new OpenCore build?":"No root patch updates needed!\n\nWould you like to reboot to apply the new OpenCore build?",
logging.info(self.trans["Checking if new patches are needed"])
304
304
ifself.constants.commit_info[0] in ["Running from source", "Built from source"] orself.constants.commit_info[2] isNoneorself.constants.commit_info[2] =="":
305
+
print(self.trans["Built from source, running from socure"])
306
+
logging.info(self.trans["Built from source, running from socure"])
0 commit comments