+ {t('dawarich.accept.recorded', { + from: new Date(suggestion.startedAt).toLocaleString(locale), + to: new Date(suggestion.endedAt).toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit' }), + })} +
+
+
+ }
+ >
+ {country.cities.length > 0 && (
+ <>
+ {busyLabel}
+ {[0, 1, 2].map(i => ( +{title}
+{description}
+ +
+
+ {statusLine(S, open.length, t, locale)} +
+ ) : ( + + )} + + {(bare || !collapsed) && ( ++ {statusLine(S, open.length, t, locale)} +
+ )} + + {S.lastSyncError && S.status === 'ready' && ( +{S.lastSyncError}
+ )} + + {open.length === 0 && S.status === 'ready' && ( +{t('dawarich.suggestions.allHandled')}
+ )} + + {openDays.map(day => ( +
+ {suggestion.name}
+ {/* The mark, never the word: the name is what the line is for, and
+ "Unsure" beside it is a caption competing with a title. The tooltip
+ and the accessible name still say it in full. */}
+ {suggestion.confidenceBand === 'low' && (
+
+
{t('dawarich.intro')}
+ +{t('dawarich.apiKeyHint')}
+{t('dawarich.syncEnabledHint')}
+{t('dawarich.allowInsecureTlsHint')}
+{state.probeMessage}
} + + {state.connected && ( ++ {state.lastSyncAt + ? t('dawarich.lastSync', { when: new Date(state.lastSyncAt).toLocaleString(locale) }) + : t('dawarich.neverSynced')} + {state.lastSyncState === 'partial' && ` · ${t('dawarich.syncPartial')}`} +
+ )} + + {state.lastSyncError && ( +{state.lastSyncError}
+ )} + + {state.capabilities?.serverVersion && ( ++ {t('dawarich.serverVersion', { version: state.capabilities.serverVersion })} +
+ )} + + {missing.length > 0 && ( ++ {t('dawarich.capability.missing', { features: missing.join(', ') })} +
+ )} ++ {S.connected ? t('dawarich.connected') : t('dawarich.notConnected')} +
+ {S.probeMessage && ( +{S.probeMessage}
+ )} + {S.connected && ( ++ {S.lastSyncAt + ? t('dawarich.lastSync', { when: new Date(S.lastSyncAt).toLocaleString(locale) }) + : t('dawarich.neverSynced')} +
+ )} + {S.lastSyncError && ( ++ {S.lastSyncError} +
+ )} + {S.capabilities?.serverVersion && ( ++ {t('dawarich.serverVersion', { version: S.capabilities.serverVersion })} +
+ )} +