-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.yml
More file actions
69 lines (53 loc) · 1.78 KB
/
Copy pathapp.yml
File metadata and controls
69 lines (53 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
_version: 2
# ---- outbound messages (stderr) ----
launch:
en: "[notibird] Pigeon dispatched: %{cmd}"
zh-CN: "[notibird] 飞鸽启程: %{cmd}"
zh-TW: "[notibird] 飛鴿啟程: %{cmd}"
spawn_fail:
en: "[notibird] Failed to spawn process: %{err}"
zh-CN: "[notibird] 无法启动进程: %{err}"
zh-TW: "[notibird] 無法啟動進程: %{err}"
delivered:
en: "[notibird] Pigeon landed"
zh-CN: "[notibird] 飞鸽已到达"
zh-TW: "[notibird] 飛鴿已到達"
delivery_fail:
en: "[notibird] Pushover delivery failed: %{err}"
zh-CN: "[notibird] Pushover 点火失败: %{err}"
zh-TW: "[notibird] Pushover 點火失敗: %{err}"
# ---- push notification titles ----
success_title:
en: "✅ Success: %{name}"
zh-CN: "✅ 凯旋: %{name}"
zh-TW: "✅ 凱旋: %{name}"
failure_title:
en: "❌ Alert: %{name} failed"
zh-CN: "❌ 急报: %{name} 阵亡"
zh-TW: "❌ 急報: %{name} 陣亡"
not_started_title:
en: "❌ Alert: %{name} failed to start"
zh-CN: "❌ 急报: %{name} 未启动"
zh-TW: "❌ 急報: %{name} 未啟動"
# ---- push notification body ----
body:
en: "Command: %{cmd}\nExit code: %{exit}\nDuration: %{elapsed}s"
zh-CN: "命令: %{cmd}\n退出码: %{exit}\n耗时: %{elapsed}s"
zh-TW: "命令: %{cmd}\n退出碼: %{exit}\n耗時: %{elapsed}s"
body_error_suffix:
en: "\nError: %{err}"
zh-CN: "\n错误: %{err}"
zh-TW: "\n錯誤: %{err}"
# ---- HTTP / env errors (bubble up as Err) ----
env_missing:
en: "%{name} is not set"
zh-CN: "未设置 %{name}"
zh-TW: "未設置 %{name}"
http_failed:
en: "HTTP request failed: %{err}"
zh-CN: "HTTP 请求失败: %{err}"
zh-TW: "HTTP 請求失敗: %{err}"
non_200:
en: "Pushover returned non-200: %{status}"
zh-CN: "Pushover 返回非 200: %{status}"
zh-TW: "Pushover 返回非 200: %{status}"