diff --git a/library/i18n/locales/hi/regions.json b/library/i18n/locales/hi/regions.json index 4cb2f1344..a2eefed1f 100644 --- a/library/i18n/locales/hi/regions.json +++ b/library/i18n/locales/hi/regions.json @@ -23,7 +23,7 @@ "Hide country posters": "देश के पोस्टर छिपाएँ", "Intercessors": "मध्यस्थ", "Load More": "और लोड करें", - "Loading results...": "परिणाम लोड हो रहे हैं..।", + "Loading results...": "परिणाम लोड हो रहे हैं...", "Map": "नक्शा", "Mobilize 100+ people praying daily for each DOXA people group": "प्रत्येक DOXA जनसमूह के लिए प्रतिदिन प्रार्थना करने हेतु 100+ लोगों को सक्रिय करें।", "No One Praying": "कोई प्रार्थना नहीं कर रहा", diff --git a/library/packet/countrySheet.js b/library/packet/countrySheet.js index efb147ebc..895a878ab 100644 --- a/library/packet/countrySheet.js +++ b/library/packet/countrySheet.js @@ -41,7 +41,9 @@ export function makeCountrySheet({ records, assetsBase }) { ]) if (!rows || !rows.length) return '' // nothing to pin: fall through rather than draw an empty country return generateCountrySheet({ - country: { id: item.id, iso3, label: item.label, count: item.count }, + // region travels: countryZone colours the sheet from it, and a country arriving without one + // silently falls back to the old flat teal for that poster alone. + country: { id: item.id, iso3, label: item.label, count: item.count, region: item.region }, records: rows, assetsBase: assetsBase(), ISO3_NAME, diff --git a/library/packet/posterSheets.js b/library/packet/posterSheets.js index aa518853b..652a48b2f 100644 --- a/library/packet/posterSheets.js +++ b/library/packet/posterSheets.js @@ -169,8 +169,59 @@ export async function loadBoundaries(assetsBase) { // The zone generate.mjs builds in COUNTRY mode, and its geometry exactly as resolveZoneGeometry resolves // a country zone: the country's own ADM0 polygon(s), stamped with the zone — present only when the // country has groups (memberCountryCodes is empty otherwise). -export function countryZone({ id, iso3, label, count }) { - return { id, zoneKey: id, label, count, color: '#2bb', adm0: [iso3], selector: { type: 'country_codes', values: [iso3] } } +// ★ ONE COUNTRY, ONE REGION HUE -- AND IT LIVES HERE BECAUSE BOTH PATHS MUST AGREE. +// Every country poster used to carry the same hardcoded teal while each 100-list sheet carried its +// own hue, which is the whole of the reported styling difference: a country sheet and a 100-list +// sheet render through the SAME 253-line