Merge upstream main and migrate cable changelog to fragment

This commit is contained in:
Aliciawque committed 2026-10-22 13:13:59 +08:00
commit 4c0a8e3748
1020 files changed
+126461 -21563

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ export function createBundledCableSource({
return json;
}
return {
label: 'TeleGeography',
label: 'TeleGeography', // i18n-ignore: data provider name
async fetch(signal) {
const [cables, landingPoints] = await Promise.all([
read(cableUrl(), signal),
+3 -2
View File
@@ -1,3 +1,4 @@
import { msg, t } from '../../i18n/index.js';
import {
featureLabel,
featureReference,
@@ -26,7 +27,7 @@ export function createIngestion({ state, parts, source }) {
state._loading = true;
state._error = null;
state._loadingLabel = 'loading...';
state._loadingLabel = t('loading...');
// Ownership token (the militaryAwareness activationId pattern): a
// disable/abort followed by a fresh enable starts a NEWER load while this
// one is still settling. The stale load must bail after every await and
@@ -215,7 +216,7 @@ export function createIngestion({ state, parts, source }) {
// A stale or aborted load reports nothing: its failure belongs to a
// lifecycle the user already left.
if (owns() && error?.name !== 'AbortError') {
state._error = error?.message || 'TeleGeography load failed';
state._error = error?.message || msg('TeleGeography load failed');
console.warn(
'[Data:telegeography-submarine-cables]',
state._error,