PPLR maps: the legend tabs are named in the reader's language

The ROP Tree and Language Families legend tabs (and the 'Go up to …' crumb built
from them) were typed in English; they now read the existing tabs.* catalogue
entries. ROP25 stays as the registry's name.
This commit is contained in:
Doxa Maps 2026-09-28 04:06:20 +00:00
parent 5d67a3969d
commit fa494dbac0
2 changed files with 6 additions and 6 deletions

View file

@ -120,11 +120,11 @@ const hasPop = ref(false)
const famLangGroups = ref({}) // famKey → { count, pop, langs: LangGroup[] }
const LANG_TABS = [
{ id: 'family', label: 'Lang Family',
{ id: 'family', label: tStatic('tabs.family'),
info: 'PPLR\'s ethnolinguistic family classification (per assets/data/pplr-geoid-family.json). Note: PPLR groups Arabic under "Arab (Arabic)" rather than the broader linguistic family "Afro-Asiatic", and splits other Afro-Asiatic peoples into "Hausa-Chadic", "Cushitic", "Sudanic", etc.' },
{ id: 'language', label: 'Language',
{ id: 'language', label: tStatic('tabs.language'),
info: 'A distinct language (e.g. Arabic, Hindi, Punjabi). Identified by 3-character ROL code (ISO 639-3).' },
{ id: 'variant', label: 'Variant / Dialect',
{ id: 'variant', label: tStatic('tabs.dialect'),
info: 'A regional or social variety of a language (e.g. "Punjabi, Western", "Arabic, Egyptian"). Comma-separated names group as variants under a root language.' },
]

View file

@ -96,13 +96,13 @@ const BASEMAPS = [
// is handled by a separate floating panel (too many nodes for the inline tree).
// Short tab labels keep all 4 chips on a single row. The "i" tooltip carries the full meaning.
const ROP_TABS = [
{ id: 'affinity', label: 'Bloc',
{ id: 'affinity', label: tStatic('tabs.bloc'),
info: 'Affinity Bloc — top-level grouping of related people groups (e.g. Arab Peoples). 17 blocs total.' },
{ id: 'cluster', label: 'Cluster',
{ id: 'cluster', label: tStatic('tabs.cluster'),
info: 'People Cluster — subdivision within an Affinity Bloc (e.g. Maghrebi Arab inside Arab Peoples). 292 clusters.' },
{ id: 'rop25', label: 'ROP25',
info: 'People Group level — a distinct ethnolinguistic identity (e.g. Algerian Arab). ~13k groups.' },
{ id: 'rop3xc', label: 'PGIC',
{ id: 'rop3xc', label: tStatic('tabs.pgic'),
topLimit: 200,
info: 'ROP3 × Country (PGIC) — same ethnolinguistic group in a specific country (e.g. Algerian Arab in France). 21k records. Showing top 200 by population — use the geocoder to find the rest.' },
]