mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +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
Vendored
+1
-2
@@ -259,8 +259,7 @@ export function createControls({ state: layerState, services, parts, source }) {
|
||||
retryAt: layerState.retryAt,
|
||||
retrying: layerState.loading && Boolean(layerState.failureReason),
|
||||
failureReason: layerState.failureReason,
|
||||
// English data: it is also the analyst's empty note to the model.
|
||||
// Displays translate it by its shape (ui/statusText.js).
|
||||
// English: the analyst reads it as is; displays translate it.
|
||||
statusMessage: installationFeedback({
|
||||
...layerState,
|
||||
count: layerState.lastUpdate ? mappedCount : undefined,
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// getStats().statusMessage is English data (it is also the analyst's empty
|
||||
// note to the model); the displays show it in the UI language through
|
||||
// translateStatusPiece (ui/statusText.js).
|
||||
// statusMessage stays English (the analyst's empty note); displays translate it.
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { setLocale, t, tn, translateKnown } from '../../i18n/index.js';
|
||||
@@ -26,8 +24,7 @@ function inLocale(locale, run) {
|
||||
}
|
||||
}
|
||||
|
||||
// Each layer state, the English statusMessage it reports, and how the UI
|
||||
// shows it. A retry a minute out reads "60s" (rounded up).
|
||||
// A retry a minute out reads "60s" (rounded up).
|
||||
const cases = [
|
||||
[
|
||||
{ status: 'empty', lastUpdate: 1 },
|
||||
|
||||
Reference in new issue
Block a user