diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-18 04:40:25 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-18 04:40:25 +0800 |
| commit | 7879ac01b24eb9723ec0a814adaee1fc9c52610a (patch) | |
| tree | d1c9a07e3ef8819869494c45e96bcd3e98856bdb /rola-cli/locales/i18n_bucket_manager.toml | |
| parent | 0b8e6e7d18abb94bd99553dc1d2b0ba5d4f265ea (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/i18n_bucket_manager.toml')
| -rw-r--r-- | rola-cli/locales/i18n_bucket_manager.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/rola-cli/locales/i18n_bucket_manager.toml b/rola-cli/locales/i18n_bucket_manager.toml new file mode 100644 index 0000000..d7f0ffe --- /dev/null +++ b/rola-cli/locales/i18n_bucket_manager.toml @@ -0,0 +1,25 @@ +[en] +created = "Bucket was created at \"%{path}\"" + +error_directory_not_empty = "The specified directory is not empty, cannot create bucket here" + +error_bucket_path_not_provided = """ +Please provide a bucket path! + +Example: `rola bucket create <name>` +""" + +error_bucket_path_not_directory = "The path \"%{path}\" is not a directory!" + +[zh_CN] +created = "桶已被创建于 \"%{path}\"" + +error_directory_not_empty = "您指定的目录不为空,无法在此处创建桶" + +error_bucket_path_not_provided = """ +请提供桶路径! + +例如:`rola bucket create <名称>` +""" + +error_bucket_path_not_directory = "路径 \"%{path}\" 不是一个目录!" |
