-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstrings.js
More file actions
61 lines (49 loc) · 2.28 KB
/
strings.js
File metadata and controls
61 lines (49 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* String constants with human readable text to explain visualization variables.
*
* @license BSD, see LICENSE.md
*/
import {DISPLAY_TYPES, DISPLAY_STAGES, GOALS} from "const";
const STRINGS = new Map();
STRINGS.set("china", "China");
STRINGS.set("eu30", "EU 30");
STRINGS.set("nafta", "N America");
STRINGS.set("row", "Majority World");
STRINGS.set("global", "Global");
STRINGS.set("eolRecyclingMT", "Recycle");
STRINGS.set("eolIncinerationMT", "Incineration");
STRINGS.set("eolLandfillMT", "Landfill");
STRINGS.set("eolMismanagedMT", "Mismanaged");
STRINGS.set("consumptionAgricultureMT", "Agriculture");
STRINGS.set("consumptionConstructionMT", "Construction");
STRINGS.set("consumptionElectronicMT", "Electronic");
STRINGS.set("consumptionHouseholdLeisureSportsMT", "House, Leis, Sport");
STRINGS.set("consumptionPackagingMT", "Packaging");
STRINGS.set("consumptionTransportationMT", "Transportation");
STRINGS.set("consumptionTextileMT", "Textile");
STRINGS.set("consumptionOtherMT", "Other");
STRINGS.set("netImportsMT", "Net Import (Good/Mat)");
STRINGS.set("netExportsMT", "Net Export (Good/Mat)");
STRINGS.set("netWasteImportMT", "Net Import (Waste)");
STRINGS.set("netWasteExportMT", "Net Export (Waste)");
STRINGS.set("primaryProductionMT", "Virgin (Dom Goods)");
STRINGS.set("secondaryProductionMT", "Second (Dom Goods)");
STRINGS.set("ghg", "GHG");
STRINGS.set(DISPLAY_TYPES.amount, "Annual Million Metric Tons");
STRINGS.set(DISPLAY_TYPES.percent, "% of Region");
STRINGS.set(DISPLAY_TYPES.cumulative, "Cumulative Million Tons from 2011");
STRINGS.set(DISPLAY_STAGES.consumption, "Consumption");
STRINGS.set(DISPLAY_STAGES.eol, "End of Life");
STRINGS.set(DISPLAY_STAGES.production, "Start of Life");
STRINGS.set(GOALS.productionEmissions, "Production Emissions");
STRINGS.set(GOALS.consumptionEmissions, "Consumption Emissions");
STRINGS.set(GOALS.landfillWaste, "Landfill Waste");
STRINGS.set(GOALS.recycling, "Recycling");
STRINGS.set(GOALS.incineratedWaste, "Incinerated Waste");
STRINGS.set(GOALS.mismanagedWaste, "Mismanaged Waste");
STRINGS.set(GOALS.totalWaste, "Total Waste");
const UNITS = new Map();
UNITS.set(DISPLAY_TYPES.amount, "Million Metric Tons");
UNITS.set(DISPLAY_TYPES.percent, "% of Region");
UNITS.set(DISPLAY_TYPES.cumulative, "Million Metric Tons");
export {STRINGS, UNITS};