mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
docs(i18n): tighten the Mapped Installations status comments
This commit is contained in:
1 parent
93b091d082
commit
dc13be07c0
4 files changed
+8
-13
No files matched your search
@@ -242,10 +242,8 @@ const STATUS_PIECE_PATTERNS = [
|
||||
],
|
||||
];
|
||||
|
||||
// Mapped Installations feedback (installationFeedback in
|
||||
// data/installationFeedback.js): getStats().statusMessage is English data, and
|
||||
// the Layers panel, the toast, the awareness panel and the voice card's analyst
|
||||
// note show it through here. Keep these in step with that helper.
|
||||
// Shapes of installationFeedback() (data/installationFeedback.js), which stays
|
||||
// English for the analyst. Keep them in step with its wording.
|
||||
const MAPPED_SITE_PATTERNS = [
|
||||
[
|
||||
/^(.+) — retrying in (\d+)s$/,
|
||||
@@ -289,7 +287,7 @@ const MAPPED_SITE_PATTERNS = [
|
||||
],
|
||||
];
|
||||
|
||||
// Every status piece shape, in matching order.
|
||||
// First match wins.
|
||||
const STATUS_SHAPES = [...STATUS_PIECE_PATTERNS, ...MAPPED_SITE_PATTERNS];
|
||||
|
||||
/** A status piece by its shape in the UI language, or null. */
|
||||
|
||||
Reference in new issue
Block a user