mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
i18n(pt): apply review round 1
Three-model review (astra, sol, fable): 51 of 52 findings applied, two of them in part. - pt: AQHI bands as health risk, NAVIO-TANQUE, CANDIDATO DO GOOGLE PLACES, Provider Settings agreement, retry/feed-down wording, NOTÍCIAS DA ÁREA (fits the briefing kicker), detection modes in the masculine, GS and REC kept on the HUD, EXPORTAR PREDEF., prepositions before times, and more (see docs/translations/pt.md). - Cyclone request timeout is now a catalog message (all locales). - Built-in Nepal base shots written by the legacy pack bootstrap now show their localized titles: displayShotTitle also trusts the legacy keyframes of an append pack the scene has applied. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
56a36df006
commit
3c0c10d3b1
10 files changed
+136
-76
No files matched your search
@@ -1,5 +1,9 @@
|
||||
import { readResponseJsonCapped } from '../../sources/httpBody.js';
|
||||
|
||||
// Shared with the AI tools, so no i18n import: the timeout stays English here
|
||||
// and the cyclones layer translates it where it shows it (translateKnown).
|
||||
const msg = (text) => text;
|
||||
|
||||
export const CYCLONE_RESPONSE_LIMIT = 4 * 1024 * 1024;
|
||||
const malformed = () => new Error('Malformed cyclone snapshot');
|
||||
const text = (value, max = 160) => {
|
||||
@@ -215,7 +219,7 @@ export function createCycloneSource({
|
||||
const abort = () => controller.abort(signal.reason);
|
||||
signal?.addEventListener('abort', abort, { once: true });
|
||||
const timer = setTimeout(
|
||||
() => controller.abort(new Error('Cyclone request timed out')),
|
||||
() => controller.abort(new Error(msg('Cyclone request timed out'))),
|
||||
timeoutMs,
|
||||
);
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user