SPB Git forge

spb/countryatlas

Public
20commits 1branches 0releases
268.3 MBsize
maindefault branch
12 days agolast push
TypeScript 57% Python 38.6% JavaScript 3.6% CSS 0.6%
8.9 KB · 173 lines typescript
Raw Blame History
1/**2 * Strings for the flagship exploration views: World Explorer (/explore), Trajectories, Scatter, Finder, Extremes.3 * Merged into `en.ts`. Owned by the "flagship" stream.4 */5export const enFlagship = {6  // --- world explorer7  'explorer.title': 'World Explorer',8  'explorer.metaTitle': 'World Explorer — Interactive Map of Every Indicator, 1960 to Today',9  'explorer.description': 'Full-screen interactive world map of any indicator, with a year slider from 1960 to today. Google Earth for statistics.',10  'explorer.lede': 'Pick an indicator, scrub through time, tap a country.',11  'explorer.rail': 'Explorer controls',12  'explorer.group': 'Countries',13  'explorer.searchCountry': 'Find a country on the map…',14  'explorer.quick': 'Quick picks',15  'explorer.legendTitle': 'Legend · {name}',16  'explorer.legendNote': 'Quantile classes over all years, so colours stay comparable while you scrub.',17  'explorer.countriesYear': '{n} countries · {year}',18  'explorer.noValueYear': 'No observation for {year}',19  'explorer.noDataYear': 'No observations exist for {indicator} in {year}.',20  'explorer.noFrames': 'No annual series is available for {indicator}.',21  'explorer.timeMachine': 'Time machine',22  'explorer.map.aria': 'World map coloured by the selected indicator; use the table view for the values.',23  'explorer.map.zoom': 'Map zoom',24  'explorer.map.zoomIn': 'Zoom in',25  'explorer.map.zoomOut': 'Zoom out',26  'explorer.map.reset': 'Reset the map view',27  'explorer.view.map': 'Map',28  'explorer.view.rank': 'Rank',29  'explorer.view.trend': 'Trend',30  'explorer.view.distribution': 'Distribution',31  'explorer.rank.world': '{rank} of {n} worldwide',32  'explorer.rank.region': '{rank} in {region}',33  'explorer.rank.sub': '{n} countries with a value in {year}. Rank 1 = highest, or best when the indicator has a direction.',34  'explorer.rank.full': 'Full ranking',35  'explorer.trend.title': '{name} — world median',36  'explorer.trend.sub': 'Countries per year: {min}–{max}',37  'explorer.trend.median': 'World median',38  'explorer.trend.note': 'Computed by CountryAtlas from country values in this snapshot, not a published aggregate.',39  'explorer.dist.title': '{name}, {year}',40  'explorer.dist.sub': '{n} countries · median {median}',41  'explorer.drawer.details': 'Details',42  'explorer.drawer.latest': 'latest {value} ({year})',43  'explorer.drawer.history': 'History {y0}–{y1}',44  'explorer.drawer.sparkAria': '{name}: {indicator} over time',45  'explorer.drawer.open': 'Open country page',46  'explorer.drawer.compare': 'Compare',47  'explorer.drawer.trajectories': 'Add to trajectories',48  'explorer.drawer.series': 'Full series with sources',49  'explorer.table.title': '{name}, {year} — all countries',5051  // --- trajectories52  'traj.title': 'Trajectories',53  'traj.metaTitle': 'Country Trajectories — Animated Bubble Chart, 1960 to Today',54  'traj.description': 'Gapminder-style animation: pick two indicators and a bubble size, press play and watch every country move from 1960 to today.',55  'traj.lede': 'Two indicators, one bubble per country, sixty years in motion.',56  'traj.x': 'X axis',57  'traj.y': 'Y axis',58  'traj.size': 'Bubble size',59  'traj.sizeNone': 'Same size',60  'traj.group': 'Countries',61  'traj.select': 'Follow countries',62  'traj.selectHint': 'Up to 4 countries draw a trail.',63  'traj.selected': 'Following',64  'traj.reset': 'Reset',65  'traj.share': 'Share',66  'traj.copied': 'Link copied',67  'traj.controls': 'Chart controls',68  'traj.countries': '{n} countries · {y0}–{y1}',69  'traj.noData': 'Not enough countries report both indicators over the same years.',70  'traj.remove': 'Stop following {name}',71  'traj.note': 'Positions are the values of each year (no interpolation); a bubble disappears when a year is missing. Colours are World Bank regions.',72  'traj.openScatter': 'Open this year as a scatter with statistics',7374  // --- scatter75  'scatter.title': 'Scatter explorer',76  'scatter.metaTitle': 'Scatter Explorer — Compare Any Two Indicators Across Countries',77  'scatter.description': 'Plot any indicator against any other for every country, with Pearson and Spearman correlations. Descriptive, not causal.',78  'scatter.lede': 'Any indicator against any other, one dot per country.',79  'scatter.year': 'Year',80  'scatter.fit': 'Regression line',81  'scatter.logX': 'Log x',82  'scatter.logY': 'Log y',83  'scatter.stats.pearson': 'Pearson r',84  'scatter.stats.spearman': 'Spearman ρ',85  'scatter.stats.n': 'Countries',86  'scatter.stats.r2': 'R²',87  'scatter.stats.year': 'Year used',88  'scatter.caveat': 'Correlation does not imply causation. Descriptive only.',89  'scatter.nearest': 'Each axis uses the country’s value for {year} or the nearest year within {n}.',90  'scatter.related': 'Related to {name}',91  'scatter.relatedHint': 'Strongest cross-sectional associations — tap one to put it on the Y axis.',92  'scatter.noData': 'No country reports both indicators for {year}.',93  'scatter.openTrajectories': 'Animate over time',94  'scatter.drawer.both': '{x}: {vx} ({yx}) · {y}: {vy} ({yy})',95  'scatter.selected': 'Selected country',9697  // --- finder98  'finder.title': 'Country finder',99  'finder.metaTitle': 'Country Finder — Filter the World Like a Database',100  'finder.description': 'Structured questions without AI: countries with GDP per capita above 40,000, population above 10 million, life expectancy above 80… combine filters and get a map, a table and a download.',101  'finder.lede': 'Countries with… combine conditions and see who matches.',102  'finder.add': 'Add a condition',103  'finder.indicator': 'Indicator',104  'finder.op': 'Condition',105  'finder.value': 'Value',106  'finder.value2': 'and',107  'finder.remove': 'Remove condition',108  'finder.mode': 'Match',109  'finder.mode.and': 'All conditions',110  'finder.mode.or': 'Any condition',111  'finder.region': 'Region',112  'finder.income': 'Income group',113  'finder.any': 'Any',114  'finder.op.gt': 'greater than',115  'finder.op.gte': 'at least',116  'finder.op.lt': 'less than',117  'finder.op.lte': 'at most',118  'finder.op.eq': 'equal to',119  'finder.op.between': 'between',120  'finder.presets': 'Try a question',121  'finder.preset.rich-large': 'Rich and large',122  'finder.preset.rich-large.hint': 'GDP per capita above US$40,000 and more than 10 million people',123  'finder.preset.green-connected': 'Green and connected',124  'finder.preset.green-connected.hint': 'Renewables above 50 % of electricity and internet use above 80 %',125  'finder.preset.ageing': 'Ageing societies',126  'finder.preset.ageing.hint': 'Median age above 42 years',127  'finder.preset.young-growing': 'Young and fast-growing',128  'finder.preset.young-growing.hint': 'Median age below 25 and population growth above 2 % a year',129  'finder.preset.long-lives-low-co2': 'Long lives, low emissions',130  'finder.preset.long-lives-low-co2.hint': 'Life expectancy above 80 years and CO₂ below 5 tonnes per person',131  'finder.results': '{n} of {m} countries match',132  'finder.none': 'No country matches every condition. Loosen a threshold or switch to “any condition”.',133  'finder.empty': 'Add a condition to start. Values compare against each country’s latest observation.',134  'finder.download': 'Download CSV',135  'finder.compare': 'Compare the top {n}',136  'finder.map': 'Matching countries',137  'finder.table.country': 'Country',138  'finder.sort': 'Sort by {name}',139  'finder.latestNote': 'Latest available year per country (shown next to each value).',140  'finder.loading': 'Searching…',141  'finder.error': 'The finder is unavailable right now.',142  'finder.unit': 'Unit: {unit}',143144  // --- extremes145  'extremes.title': 'Extremes',146  'extremes.metaTitle': 'Extremes — Fastest Changing Countries Over 1, 5, 10 and 25 Years',147  'extremes.description': 'The largest increases and decreases in the world: fastest ageing, fastest urbanising, biggest life-expectancy gains, largest CO₂ reductions and more.',148  'extremes.lede': 'The largest moves in the world, by window.',149  'extremes.window': 'Window',150  'extremes.window.1': '1 year',151  'extremes.window.5': '5 years',152  'extremes.window.10': '10 years',153  'extremes.window.25': '25 years',154  'extremes.window.since1990': 'Since 1990',155  'extremes.topic': 'Topic',156  'extremes.allTopics': 'All topics',157  'extremes.minPop': 'Countries above 1M inhabitants',158  'extremes.allCountries': 'All countries and territories',159  'extremes.facets': '{n} facets · {y0}–{y1}',160  'extremes.direction.up': 'Largest increases',161  'extremes.direction.down': 'Largest decreases',162  'extremes.n': '{n} countries evaluated',163  'extremes.change.abs': 'change',164  'extremes.change.pct': '% change',165  'extremes.change.points': 'points',166  'extremes.openRanking': 'Open ranking',167  'extremes.explore': 'Explore on the map',168  'extremes.none': 'No facet has enough countries for this window and topic.',169  'extremes.semantics': 'Increase and decrease are directions of change, not judgements — a rising share of renewables and a rising debt ratio are both “increases”.',170  'extremes.from': 'from',171  'extremes.to': 'to',172} as const;173