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
|
{
"bar": {
"tooltip": "Sourcehut Builds."
},
"panel": {
"title": "Sourcehut Builds",
"loading": {
"label": "Fetching builds."
},
"error": {
"label": "Woops: {error}"
},
"empty": {
"label": "No builds were found."
},
"build": {
"label": "{user}/{repo} (#{id})",
"tooltip": "{status}"
},
"task": {
"tooltip": "{task}: {status}"
}
},
"settings": {
"sourcehut_api_token": {
"label": "Sourcehut API token",
"description": "Your sourcehut API token, with access to read builds"
},
"build_count": {
"label": "Build Count",
"description": "Number of builds to show."
},
"recent_cutoff": {
"label": "Cutoff for Recent Builds",
"description": "The amount of time in seconds to consider a build 'recent' for the glyph display."
},
"glyph": {
"label": "Glyph",
"description": "Glyph to show when there aren't recent builds."
},
"ok_glyph": {
"label": "OK Glyph",
"description": "Glyph to show when recent builds are OK."
},
"failed_glyph": {
"label": "Failed Glyph",
"description": "Glyph to show when recent builds have failed"
},
"in_progress_glyph": {
"label": "In Progress Glyph",
"description": "Glyph to show when a build is in progress"
}
},
"error": {
"request_failed": "We could not reach sourcehut. Make sure your network is connected and sourcehut is reachable.",
"bad_response": "We weren't able to understand the response. Make sure sourcehut is operating well, or reach out to the maintainer.",
"unauthorized": "Sourcehut did not authorize the request. Make sure you have set a valid API Token."
}
}
|