The country map's failure message says people groups, not regions

country-map reused the regions dashboard's load-failure sentence. That wording
is right on both regions surfaces and wrong here: this element has no region, it
has one or more countries, and what it fetches is people groups. A reader whose
country map failed to load was told the region data failed.

It was wrong in all eleven locales, not just English -- ar reads "بيانات
المناطق", ru "данные по регионам", de "Regionsdaten", all of them regions.

The people-groups sentence was already in the catalogue and already translated
in all eleven, so this adds no string and moves no parity: it is the same
sentence the grid and the other consumers already show when this fetch fails.

Verified in the built bundle rather than the source, because the minifier
rewrites the call: the component's own render now calls the people-groups key,
and the remaining "Region data" occurrences are catalogue entries, which ship
for every key regardless of which one is called. check:i18n-keys-exist passes,
so the key resolves. check:hardcoded-english is unchanged at 257 with
country-map contributing 0, measured before and after.
This commit is contained in:
driver 2026-09-29 05:44:48 +00:00
parent 5ed99982c0
commit c6d77b9351

View file

@ -125,5 +125,10 @@ watch(() => [languageCode.value, countryCodes.value.join(',')], loadPoints)
:pray-base-url="prayBaseUrl"
:country-url="countryUrl"
/>
<p v-if="loadFailed" class="cm-status" role="status">{{ t('Region data could not be loaded. This is a connection problem, not a filter.') }}</p>
<!-- The REGIONS wording is wrong on this element: it has no region, it has one or more countries,
and it fetches PEOPLE GROUPS. A reader whose country map failed was told the region data
failed, in all eleven locales — ar "بيانات المناطق", ru "данные по регионам", de
"Regionsdaten" all say regions. The people-groups sentence is already in the catalogue and
already translated in all eleven, so this costs no new string. -->
<p v-if="loadFailed" class="cm-status" role="status">{{ t('People groups could not be loaded. This is a connection problem, not a filter.') }}</p>
</template>