summaryrefslogtreecommitdiff
path: root/rola-cli/locales/errors
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-18 04:40:25 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-18 04:40:25 +0800
commit7879ac01b24eb9723ec0a814adaee1fc9c52610a (patch)
treed1c9a07e3ef8819869494c45e96bcd3e98856bdb /rola-cli/locales/errors
parent0b8e6e7d18abb94bd99553dc1d2b0ba5d4f265ea (diff)
feat(rola-cli): implement bucket creation and CLI entry point
Add bucket creation logic with pre-checks, localized error handling, and a basic CLI entry point using the mingling framework. Introduce a placeholder protocol for bucket transfer testing.
Diffstat (limited to 'rola-cli/locales/errors')
-rw-r--r--rola-cli/locales/errors/i18n_io_error.toml85
1 files changed, 85 insertions, 0 deletions
diff --git a/rola-cli/locales/errors/i18n_io_error.toml b/rola-cli/locales/errors/i18n_io_error.toml
new file mode 100644
index 0000000..9e92f7e
--- /dev/null
+++ b/rola-cli/locales/errors/i18n_io_error.toml
@@ -0,0 +1,85 @@
+[en]
+io_error_name = "IO Error: "
+
+not_found = "not found: %{info}"
+permission_denied = "permission denied: %{info}"
+connection_refused = "connection refused: %{info}"
+connection_reset = "connection reset: %{info}"
+host_unreachable = "host unreachable: %{info}"
+network_unreachable = "network unreachable: %{info}"
+connection_aborted = "connection aborted: %{info}"
+not_connected = "not connected: %{info}"
+addr_in_use = "address in use: %{info}"
+addr_not_available = "address not available: %{info}"
+network_down = "network down: %{info}"
+broken_pipe = "broken pipe: %{info}"
+already_exists = "already exists: %{info}"
+would_block = "would block: %{info}"
+not_a_directory = "not a directory: %{info}"
+is_a_directory = "is a directory: %{info}"
+directory_not_empty = "directory not empty: %{info}"
+read_only_filesystem = "read-only filesystem: %{info}"
+stale_network_file_handle = "stale network file handle: %{info}"
+invalid_input = "invalid input: %{info}"
+invalid_data = "invalid data: %{info}"
+timed_out = "timed out: %{info}"
+write_zero = "write zero: %{info}"
+storage_full = "storage full: %{info}"
+not_seekable = "not seekable: %{info}"
+quota_exceeded = "quota exceeded: %{info}"
+file_too_large = "file too large: %{info}"
+resource_busy = "resource busy: %{info}"
+executable_file_busy = "executable file busy: %{info}"
+deadlock = "deadlock: %{info}"
+crosses_devices = "crosses devices: %{info}"
+too_many_links = "too many links: %{info}"
+invalid_filename = "invalid filename: %{info}"
+argument_list_too_long = "argument list too long: %{info}"
+interrupted = "interrupted: %{info}"
+unsupported = "unsupported: %{info}"
+unexpected_eof = "unexpected end of file: %{info}"
+out_of_memory = "out of memory: %{info}"
+other = "other error: %{info}"
+
+[zh_CN]
+io_error_name = "IO 错误: "
+
+not_found = "未找到: %{info}"
+permission_denied = "权限被拒绝: %{info}"
+connection_refused = "连接被拒绝: %{info}"
+connection_reset = "连接已重置: %{info}"
+host_unreachable = "主机不可达: %{info}"
+network_unreachable = "网络不可达: %{info}"
+connection_aborted = "连接已中止: %{info}"
+not_connected = "未连接: %{info}"
+addr_in_use = "地址已在使用中: %{info}"
+addr_not_available = "地址不可用: %{info}"
+network_down = "网络已断开: %{info}"
+broken_pipe = "管道破裂: %{info}"
+already_exists = "对象已存在: %{info}"
+would_block = "操作会阻塞,无法立即完成: %{info}"
+not_a_directory = "路径不是一个目录: %{info}"
+is_a_directory = "路径是一个目录: %{info}"
+directory_not_empty = "目录非空,无法删除: %{info}"
+read_only_filesystem = "文件系统为只读: %{info}"
+stale_network_file_handle = "网络文件句柄已过期: %{info}"
+invalid_input = "输入无效: %{info}"
+invalid_data = "数据无效: %{info}"
+timed_out = "操作超时: %{info}"
+write_zero = "写入了零字节: %{info}"
+storage_full = "存储空间已满: %{info}"
+not_seekable = "不可定位: %{info}"
+quota_exceeded = "超出配额限制: %{info}"
+file_too_large = "文件过大,无法处理: %{info}"
+resource_busy = "资源正忙,请稍后重试: %{info}"
+executable_file_busy = "可执行文件忙,无法访问: %{info}"
+deadlock = "发生死锁: %{info}"
+crosses_devices = "跨设备操作: %{info}"
+too_many_links = "链接数量过多: %{info}"
+invalid_filename = "文件名无效: %{info}"
+argument_list_too_long = "参数列表过长: %{info}"
+interrupted = "操作被中断: %{info}"
+unsupported = "不支持此操作: %{info}"
+unexpected_eof = "意外地遇到了文件结尾: %{info}"
+out_of_memory = "内存不足: %{info}"
+other = "发生了其他错误: %{info}"