diff --git a/pkg/embed/locales/zh_CN/helper.po b/pkg/embed/locales/zh_CN/helper.po new file mode 100644 index 0000000..7404a59 --- /dev/null +++ b/pkg/embed/locales/zh_CN/helper.po @@ -0,0 +1,201 @@ +msgid "" +msgstr "" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_CN\n" +"X-Generator: xgotext\n" +"X-Crowdin-Project: acepanel\n" +"X-Crowdin-Project-ID: 822366\n" +"X-Crowdin-Language: zh-CN\n" +"X-Crowdin-File: helper.pot\n" +"X-Crowdin-File-ID: 1242\n" +"Project-Id-Version: acepanel\n" +"Language-Team: Chinese Simplified\n" +"PO-Revision-Date: 2026-01-17 15:17\n" + +#: internal/ui/app.go:563 +msgid "All data will be cleared and cannot be recovered!" +msgstr "所有数据将被清除且无法恢复!" + +#: internal/ui/app.go:525 +msgid "Are you sure you want to uninstall the panel?" +msgstr "您确定要卸载面板吗?" + +#: internal/ui/app.go:845 +msgid "Available disks:" +msgstr "可用磁盘:" + +#: internal/ui/app.go:416 +#: internal/ui/app.go:566 +#: internal/ui/app.go:605 +#: internal/ui/app.go:836 +msgid "Back" +msgstr "返回" + +#: internal/ui/app.go:582 +msgid "Cancel" +msgstr "取消" + +#: internal/ui/app.go:306 +msgid "Confirm Installation" +msgstr "确认安装" + +#: internal/ui/app.go:788 +msgid "Confirm Operation" +msgstr "确认操作" + +#: internal/ui/app.go:524 +msgid "Confirm Uninstallation" +msgstr "确认卸载" + +#: internal/ui/app.go:566 +msgid "Continue" +msgstr "继续" + +#: internal/ui/app.go:830 +msgid "Device" +msgstr "设备" + +#: internal/ui/app.go:246 +#: internal/ui/app.go:817 +msgid "Disk Partition" +msgstr "磁盘分区" + +#: internal/ui/app.go:789 +msgid "Disk: %s, Mount Point: %s, File System: %s" +msgstr "磁盘:%s,挂载点:%s,文件系统:%s" + +#: internal/ui/app.go:756 +msgid "Enter the mount point path (e.g. /opt/ace)" +msgstr "输入挂载点路径(例如 /opt/ace)" + +#: internal/ui/app.go:247 +msgid "Exit" +msgstr "退出" + +#: internal/ui/app.go:772 +#: internal/ui/app.go:832 +msgid "File System" +msgstr "文件系统" + +#: internal/ui/app.go:571 +msgid "For safety, please wait before proceeding" +msgstr "为安全起见,请稍候再继续" + +#: internal/ui/app.go:561 +msgid "High-risk operation" +msgstr "高风险操作" + +#: internal/ui/app.go:244 +#: internal/ui/app.go:404 +msgid "Install Panel" +msgstr "安装面板" + +#: internal/ui/app.go:409 +msgid "Installation failed" +msgstr "安装失败" + +#: internal/ui/app.go:413 +msgid "Installation successful" +msgstr "安装成功" + +#: internal/ui/app.go:842 +msgid "Loading disk list..." +msgstr "正在加载磁盘列表……" + +#: internal/ui/app.go:755 +#: internal/ui/app.go:831 +msgid "Mount Point" +msgstr "挂载点" + +#: internal/ui/app.go:309 +#: internal/ui/app.go:527 +#: internal/ui/app.go:795 +msgid "No" +msgstr "否" + +#: internal/ui/app.go:645 +msgid "No available disks found" +msgstr "未找到可用磁盘" + +#: internal/ui/app.go:822 +msgid "Operation failed" +msgstr "操作失败" + +#: internal/ui/app.go:307 +msgid "Panel will be installed to %s" +msgstr "面板将安装到 %s" + +#: internal/ui/app.go:826 +msgid "Partition and mount successful" +msgstr "分区及挂载已成功" + +#: internal/ui/app.go:562 +msgid "Please backup all data before uninstalling." +msgstr "卸载前请备份所有数据。" + +#: internal/ui/app.go:760 +msgid "Please enter an absolute path" +msgstr "请输入绝对路径" + +#: internal/ui/app.go:775 +msgid "Recommended" +msgstr "推荐" + +#: internal/ui/app.go:743 +msgid "Select Disk" +msgstr "选择磁盘" + +#: internal/ui/app.go:242 +msgid "Select Operation" +msgstr "选择操作" + +#: internal/ui/app.go:744 +msgid "Select a disk to partition and mount" +msgstr "选择要分区和挂载的磁盘" + +#: internal/ui/app.go:773 +msgid "Select the file system type" +msgstr "选择文件系统类型" + +#: internal/ui/app.go:582 +msgid "Skip" +msgstr "跳过" + +#: internal/ui/app.go:602 +msgid "Thank you for using AcePanel." +msgstr "感谢您使用 AcePanel。" + +#: internal/ui/app.go:245 +#: internal/ui/app.go:555 +msgid "Uninstall Panel" +msgstr "卸载面板" + +#: internal/ui/app.go:596 +msgid "Uninstallation failed" +msgstr "卸载失败" + +#: internal/ui/app.go:600 +msgid "Uninstallation successful" +msgstr "卸载成功" + +#: internal/ui/app.go:572 +msgid "Waiting:" +msgstr "等待中:" + +#: internal/ui/app.go:860 +msgid "Warning: This will erase all data on the disk!" +msgstr "警告:这将擦除磁盘上的所有数据!" + +#: internal/ui/app.go:308 +#: internal/ui/app.go:526 +#: internal/ui/app.go:794 +msgid "Yes" +msgstr "是" + +#: internal/ui/app.go:574 +msgid "seconds" +msgstr "秒" + diff --git a/pkg/embed/locales/zh_TW/helper.po b/pkg/embed/locales/zh_TW/helper.po new file mode 100644 index 0000000..6e88ecf --- /dev/null +++ b/pkg/embed/locales/zh_TW/helper.po @@ -0,0 +1,201 @@ +msgid "" +msgstr "" +"Plural-Forms: nplurals=1; plural=0;\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_TW\n" +"X-Generator: xgotext\n" +"X-Crowdin-Project: acepanel\n" +"X-Crowdin-Project-ID: 822366\n" +"X-Crowdin-Language: zh-TW\n" +"X-Crowdin-File: helper.pot\n" +"X-Crowdin-File-ID: 1242\n" +"Project-Id-Version: acepanel\n" +"Language-Team: Chinese Traditional\n" +"PO-Revision-Date: 2026-01-17 15:16\n" + +#: internal/ui/app.go:563 +msgid "All data will be cleared and cannot be recovered!" +msgstr "" + +#: internal/ui/app.go:525 +msgid "Are you sure you want to uninstall the panel?" +msgstr "" + +#: internal/ui/app.go:845 +msgid "Available disks:" +msgstr "" + +#: internal/ui/app.go:416 +#: internal/ui/app.go:566 +#: internal/ui/app.go:605 +#: internal/ui/app.go:836 +msgid "Back" +msgstr "" + +#: internal/ui/app.go:582 +msgid "Cancel" +msgstr "" + +#: internal/ui/app.go:306 +msgid "Confirm Installation" +msgstr "" + +#: internal/ui/app.go:788 +msgid "Confirm Operation" +msgstr "" + +#: internal/ui/app.go:524 +msgid "Confirm Uninstallation" +msgstr "" + +#: internal/ui/app.go:566 +msgid "Continue" +msgstr "" + +#: internal/ui/app.go:830 +msgid "Device" +msgstr "" + +#: internal/ui/app.go:246 +#: internal/ui/app.go:817 +msgid "Disk Partition" +msgstr "" + +#: internal/ui/app.go:789 +msgid "Disk: %s, Mount Point: %s, File System: %s" +msgstr "" + +#: internal/ui/app.go:756 +msgid "Enter the mount point path (e.g. /opt/ace)" +msgstr "" + +#: internal/ui/app.go:247 +msgid "Exit" +msgstr "" + +#: internal/ui/app.go:772 +#: internal/ui/app.go:832 +msgid "File System" +msgstr "" + +#: internal/ui/app.go:571 +msgid "For safety, please wait before proceeding" +msgstr "" + +#: internal/ui/app.go:561 +msgid "High-risk operation" +msgstr "" + +#: internal/ui/app.go:244 +#: internal/ui/app.go:404 +msgid "Install Panel" +msgstr "" + +#: internal/ui/app.go:409 +msgid "Installation failed" +msgstr "" + +#: internal/ui/app.go:413 +msgid "Installation successful" +msgstr "" + +#: internal/ui/app.go:842 +msgid "Loading disk list..." +msgstr "" + +#: internal/ui/app.go:755 +#: internal/ui/app.go:831 +msgid "Mount Point" +msgstr "" + +#: internal/ui/app.go:309 +#: internal/ui/app.go:527 +#: internal/ui/app.go:795 +msgid "No" +msgstr "" + +#: internal/ui/app.go:645 +msgid "No available disks found" +msgstr "" + +#: internal/ui/app.go:822 +msgid "Operation failed" +msgstr "" + +#: internal/ui/app.go:307 +msgid "Panel will be installed to %s" +msgstr "" + +#: internal/ui/app.go:826 +msgid "Partition and mount successful" +msgstr "" + +#: internal/ui/app.go:562 +msgid "Please backup all data before uninstalling." +msgstr "" + +#: internal/ui/app.go:760 +msgid "Please enter an absolute path" +msgstr "" + +#: internal/ui/app.go:775 +msgid "Recommended" +msgstr "" + +#: internal/ui/app.go:743 +msgid "Select Disk" +msgstr "" + +#: internal/ui/app.go:242 +msgid "Select Operation" +msgstr "" + +#: internal/ui/app.go:744 +msgid "Select a disk to partition and mount" +msgstr "" + +#: internal/ui/app.go:773 +msgid "Select the file system type" +msgstr "" + +#: internal/ui/app.go:582 +msgid "Skip" +msgstr "" + +#: internal/ui/app.go:602 +msgid "Thank you for using AcePanel." +msgstr "" + +#: internal/ui/app.go:245 +#: internal/ui/app.go:555 +msgid "Uninstall Panel" +msgstr "" + +#: internal/ui/app.go:596 +msgid "Uninstallation failed" +msgstr "" + +#: internal/ui/app.go:600 +msgid "Uninstallation successful" +msgstr "" + +#: internal/ui/app.go:572 +msgid "Waiting:" +msgstr "" + +#: internal/ui/app.go:860 +msgid "Warning: This will erase all data on the disk!" +msgstr "" + +#: internal/ui/app.go:308 +#: internal/ui/app.go:526 +#: internal/ui/app.go:794 +msgid "Yes" +msgstr "" + +#: internal/ui/app.go:574 +msgid "seconds" +msgstr "" +