summaryrefslogtreecommitdiff
path: root/rola-cli/locales/errors/common.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rola-cli/locales/errors/common.toml')
-rw-r--r--rola-cli/locales/errors/common.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/rola-cli/locales/errors/common.toml b/rola-cli/locales/errors/common.toml
new file mode 100644
index 0000000..8c0acf8
--- /dev/null
+++ b/rola-cli/locales/errors/common.toml
@@ -0,0 +1,25 @@
+[en]
+command_not_found = """
+[[b_red]]**Error:**[[/]] Command not found: \"%{command}\"!
+
+[[b_yellow]]**Hint:**[[/]] You can use `rola -h` to query help.
+"""
+
+require_overwrite = """
+[[b_red]]**Operation blocked:**[[/]] This operation would overwrite an existing resource
+
+[[b_yellow]]**Hint:**[[/]] Explicitly specify [[b_red]]**--overwrite**[[/]]!
+"""
+
+[zh_CN]
+command_not_found = """
+[[b_red]]**错误:**[[/]]未找到命令 \"%{command}\"!
+
+[[b_yellow]]**提示:**[[/]]您可以使用 `rola -h` 来查询帮助。
+"""
+
+require_overwrite = """
+[[b_red]]**操作已阻止:**[[/]]该操作将会覆写已有资源
+
+[[b_yellow]]**提示:**[[/]]请显式指定 [[b_red]]**--overwrite**[[/]]!
+"""