mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
docs(hud): describe the character-only summary cap and trim comments
This commit is contained in:
1 parent
33381c5981
commit
ab8691383b
4 files changed
+12
-14
No files matched your search
+3
-5
@@ -120,11 +120,9 @@ const FEED_STATE_LABELS = Object.freeze({
|
||||
});
|
||||
|
||||
/**
|
||||
* A summary line with its feed-state warning in the active language, e.g.
|
||||
* `UNAVAILABLE | <text> | LIVE AIS VESSELS`. The state word leads so the
|
||||
* one-line readout never clips it; the layer names trail so they never push
|
||||
* the text out. State ids and layer names stay English in layer data; only
|
||||
* this line translates them.
|
||||
* A summary line with its translated warning:
|
||||
* `UNAVAILABLE | <text> | LIVE AIS VESSELS`. The state leads so a narrow
|
||||
* readout never clips it; the layer names trail so they never push out the text.
|
||||
*/
|
||||
function withProvenance(text, provenance) {
|
||||
if (!provenance) return text;
|
||||
|
||||
Reference in new issue
Block a user