Country posters: the map's loading and error lines speak the reader's language
countries-map typed in 'Research map loading…' and 'The map could not be
loaded.' (universal-props re-measure, main dee9f9c9). Both now reuse existing
keys through the component's own t(): messages.loadingNamed and
messages.couldNotLoadNamed, with the name tabs.map. That is 11/11 locales with
no new keys, so no library change. Headless: build OK, no-free-identifiers and
profiles-mount pass.
This commit is contained in:
parent
56c2da26c5
commit
28c1ed2e7b
1 changed files with 2 additions and 2 deletions
|
|
@ -2175,8 +2175,8 @@ onBeforeUnmount(() => {
|
|||
</div>
|
||||
|
||||
<div class="rm-map-area">
|
||||
<div v-if="!appReady && !mapError" class="rm-loading">Research map loading…</div>
|
||||
<div v-if="mapError" class="rm-error">The map could not be loaded. {{ mapError }}</div>
|
||||
<div v-if="!appReady && !mapError" class="rm-loading">{{ t('messages.loadingNamed', { name: t('tabs.map') }) }}</div>
|
||||
<div v-if="mapError" class="rm-error">{{ t('messages.couldNotLoadNamed', { name: t('tabs.map') }) }} {{ mapError }}</div>
|
||||
<div ref="mapContainer" class="rm-map-canvas" />
|
||||
<div class="map-scroll-edge map-scroll-edge--left" />
|
||||
<div class="map-scroll-edge map-scroll-edge--right" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue