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
+157Lines changed: 157 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2799,6 +2799,163 @@ def kernelcache(self):
2799
2799
}
2800
2800
returntrans
2801
2801
2802
+
defmount(self):
2803
+
ifself.language_point=="English":
2804
+
trans={
2805
+
"Failed to parse diskutil output.":"Failed to parse diskutil output.",
2806
+
"Failed to mount root volume":"Failed to mount root volume",
2807
+
"{root_volume_identifier} has already been unmounted.":"{root_volume_identifier} has already been unmounted.",
2808
+
"Attempted to mount root volume, but failed: {result}":"Attempted to mount root volume, but failed: {result}",
2809
+
"Failed to unmount root volume":"Failed to unmount root volume",
2810
+
"Failed to create APFS snapshot":"Failed to create APFS snapshot",
2811
+
"- This is an APFS bug with Monterey and newer! Perform a clean installation to ensure your APFS volume is built correctly":"- This is an APFS bug with Monterey and newer! Perform a clean installation to ensure your APFS volume is built correctly",
2812
+
"Failed to revert APFS snapshot":"Failed to revert APFS snapshot"
2813
+
}
2814
+
elifself.language_point=="简体中文":
2815
+
trans={
2816
+
"Failed to parse diskutil output.":"解析diskutil输出失败",
2817
+
"Failed to mount root volume":"挂载根卷失败",
2818
+
"{root_volume_identifier} has already been unmounted.":"{root_volume_identifier} 已经卸载",
2819
+
"Attempted to mount root volume, but failed: {result}":"尝试挂载根卷失败: {result}",
2820
+
"Failed to unmount root volume":"卸载根卷失败",
2821
+
"Failed to create APFS snapshot":"创建APFS快照失败",
2822
+
"- This is an APFS bug with Monterey and newer! Perform a clean installation to ensure your APFS volume is built correctly":"- 这是Monterey及更新版本的APFS错误!请执行干净安装以确保您的APFS卷正确构建",
"- Running sanity checks before patching":"- Running sanity checks before patching",
2832
+
"- Failed to find SystemVersion.plist on mounted root volume":"- Failed to find SystemVersion.plist on mounted root volume",
2833
+
"An update is in progress on your machine and patching cannot continue until it is cancelled or finished":"An update is in progress on your machine and patching cannot continue until it is cancelled or finished",
2834
+
"- Failed to parse SystemVersion.plist":"- Failed to parse SystemVersion.plist",
"\nPlease reboot the machine for patches to take effect":"\nPlease reboot the machine for patches to take effect",
2838
+
"- Patching complete":"- Patching complete",
2839
+
"Note: Apple will require you to open System Preferences -> Security to allow the new kernel extensions to be loaded":"Note: Apple will require you to open System Preferences -> Security to allow the new kernel extensions to be loaded",
"\nPlease reboot the machine for patches to take effect":"\n请重启机器以使补丁生效",
2887
+
"- Patching complete":"- 修补完成",
2888
+
"Note: Apple will require you to open System Preferences -> Security to allow the new kernel extensions to be loaded":"注意:Apple 将要求您打开系统偏好设置 -> 安全以允许加载新的内核扩展",
"Found unsupported Board ID {reported_board_id}, performing AppleIntelSNBGraphicsFB bin patching":"Found unsupported Board ID {reported_board_id}, performing AppleIntelSNBGraphicsFB bin patching",
2932
+
"Replacing {board_to_patch} with {reported_board_id}":"Replacing {board_to_patch} with {reported_board_id}",
2933
+
"Error: Board ID {reported_board_id} is longer than {board_to_patch}":"Error: Board ID {reported_board_id} is longer than {board_to_patch}",
2934
+
"Error: Could not find {path}":"Error: Could not find {path}",
"- Failed to install RSRRepair":"- Failed to install RSRRepair",
2938
+
"Merging GPUCompiler.framework libraries to match binary":"Merging GPUCompiler.framework libraries to match binary",
2939
+
"Host's Board ID is longer than the kext's Board ID, cannot patch!!!":"Host's Board ID is longer than the kext's Board ID, cannot patch!!!",
2940
+
"Failed to find AppleIntelSNBGraphicsFB.kext, cannot patch!!!":"Failed to find AppleIntelSNBGraphicsFB.kext, cannot patch!!!",
2941
+
"Failed to find GPUCompiler libraries at {dest_dir}":"Failed to find GPUCompiler libraries at {dest_dir}"
2942
+
}
2943
+
elifself.language_point=="简体中文":
2944
+
trans={
2945
+
"Found unsupported Board ID {reported_board_id}, performing AppleIntelSNBGraphicsFB bin patching":"发现不支持的 Board ID {reported_board_id},正在执行 AppleIntelSNBGraphicsFB 二进制修补",
2946
+
"Replacing {board_to_patch} with {reported_board_id}":"正在将 {board_to_patch} 替换为 {reported_board_id}",
2947
+
"Error: Board ID {reported_board_id} is longer than {board_to_patch}":"错误:Board ID {reported_board_id} 比 {board_to_patch} 长",
0 commit comments