Skip to content

Commit

Permalink
feat(stor-content): add short text and title translation
Browse files Browse the repository at this point in the history
  • Loading branch information
KatvonRivia committed Dec 4, 2019
1 parent 9fd0d92 commit f749e93
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 19 deletions.
1 change: 0 additions & 1 deletion src/scripts/components/globes/globes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const Globes: FunctionComponent = () => {
const mainLayerDetails = useSelector((state: State) =>
layerDetailsSelector(state, mainLayerId)
);

const compareLayerId = match?.params.compareLayerId;
const compare = useSelector((state: State) =>
layerListItemSelector(state, compareLayerId)
Expand Down
8 changes: 7 additions & 1 deletion src/scripts/components/slide/slide.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@
.presentSlide
font-size: 1.7em

h1
margin: 0 0 20px 0

.showcaseSlide
font-size: 1.2em

h1
margin: 0 0 20px 0

.content
display: flex
flex-grow: 1
flex-direction: column
overflow: auto
padding: 10px
padding: 20px

img
width: 100%
Expand Down
2 changes: 1 addition & 1 deletion storage/stories/stories-de.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"id": "story1",
"title": "Planetary Heat Store",
"title": "Planetarer Wärmespeicher",
"description": "",
"image": "https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_18.jpg"
},
Expand Down
Binary file added storage/stories/story1/assets/sst-chlorophyll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 14 additions & 10 deletions storage/stories/story1/story1-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"id": "story1",
"slides": [
{
"text": "# Planetary Heat Store\n\n Go for a swim in the sea on midsummers day and the water may be surprisingly chilly. Although the sun is at its highest point in the sky and there are more hours of sunlight than on any other day of the year, the sea does not reach its maximum temperature until three months later, in the autumn. This lag shows that the sea has a high heat capacity – it takes a lot of energy to change its temperature, so it is slow to heat up and slow to cool down.\n\nThis makes the sea incredibly good at storing heat. So good, that just the top three metres of the ocean contains as much heat as the entire atmosphere. The ocean’s capacity to accumulate, transport and slowly release the energy it receives from the Sun is one of the key regulators of weather and climate on our planet. The oceans are absorbing about 90% of the excess heat from global warming.",
"shortText": "- Lorem ipsum\n\n- Exercitationem\n\n- sapiente\n\n- Exercitationem\n\n- sapiente",
"text": "# Planetarer Wärmespeicher\n\n Go for a swim in the sea on midsummers day and the water may be surprisingly chilly. Although the sun is at its highest point in the sky and there are more hours of sunlight than on any other day of the year, the sea does not reach its maximum temperature until three months later, in the autumn. This lag shows that the sea has a high heat capacity – it takes a lot of energy to change its temperature, so it is slow to heat up and slow to cool down.\n\nThis makes the sea incredibly good at storing heat. So good, that just the top three metres of the ocean contains as much heat as the entire atmosphere. The ocean’s capacity to accumulate, transport and slowly release the energy it receives from the Sun is one of the key regulators of weather and climate on our planet. The oceans are absorbing about 90% of the excess heat from global warming.",
"shortText": "# Planetarer Wärmespeicher\n\nThe sea has a high heat capacity, it takes a lot of energy to change its temperature, so it is slow to heat up and slow to cool down.\n\n Just the top three metres of the ocean contains as much heat as the entire atmosphere.\n\nThe oceans are absorbing about 90% of the excess heat from global warming.",
"images": [
"https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_01.jpg"
],
"fullscreenGallery": true
},
{
"text": "# Earth’s Heat Pumps\n\nThe Equator receives much more energy from the Sun than the polar regions. This energy is then redistributed around the world by circulation patterns in the oceans and atmosphere. Ocean currents are driven by the rotation of the Earth, surface winds and differences in water density due to salinity and temperature variation. Warm currents such as the Gulf Stream bring heat from the Equator and the tropics to higher latitudes. This poleward transport of heat is responsible for the mild climate of western Europe.\n\nThe data viewer on the left shows the Gulf Stream carrying warm water up the east coast of North America and across the Atlantic. In the Pacific, the Kuroshio Current warms the eastern shore of Japan, while a cold Equatorial current can usually be seen extending westwards from South America. Ocean circulation is generally clockwise in the northern hemisphere and anti-clockwise in the southern hemisphere.",
"shortText": "- Lorem ipsum\n\n- Exercitationem\n\n- sapiente",
"shortText": "# Earth’s Heat Pumps\n\nThe Equator receives much more energy from the Sun than the polar regions.\n\nThe data viewer on the left shows the Gulf Stream carrying warm water up the east coast of North America and across the Atlantic.",
"flyTo": {
"position": {
"height": 6249541,
Expand All @@ -30,27 +30,31 @@
}
},
{
"text": "# Climate Regulators\n\nThe oceans and the atmosphere transport about the same amount of heat towards the poles, but the atmospheric circulation is itself partly driven by the energy exchanged during the evaporation of ocean water and its precipitation as rain. This makes the sea an important regulator of the climate and the temperature of its surface a key measurement for climate scientists.\n\nHigher sea surface temperatures allow more evaporation, giving more atmospheric water vapour, with the potential for more clouds and more rain. In the western Mediterranean, warmer sea water is a key factor in the sudden rainstorms and flash floods that afflict the coasts of France, Italy and Spain in late summer.\n\n![Ocean temparature](https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_16.jpg 'Ocean temparatures')\n\nOn a larger scale, high water temperatures in tropical oceans power extreme weather events such as hurricanes. The energy exchange between ocean and atmosphere during these events is revealed by a dip in the sea surface temperature in the wake of large hurricanes.",
"shortText": "- Lorem ipsum\n\n- Exercitationem\n\n- sapiente",
"text": "# Klimaregulatoren\n\nThe oceans and the atmosphere transport about the same amount of heat towards the poles, but the atmospheric circulation is itself partly driven by the energy exchanged during the evaporation of ocean water and its precipitation as rain. This makes the sea an important regulator of the climate and the temperature of its surface a key measurement for climate scientists.\n\nHigher sea surface temperatures allow more evaporation, giving more atmospheric water vapour, with the potential for more clouds and more rain. In the western Mediterranean, warmer sea water is a key factor in the sudden rainstorms and flash floods that afflict the coasts of France, Italy and Spain in late summer.\n\n![Ocean temparature](https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_16.jpg 'Ocean temparatures')\n\nOn a larger scale, high water temperatures in tropical oceans power extreme weather events such as hurricanes. The energy exchange between ocean and atmosphere during these events is revealed by a dip in the sea surface temperature in the wake of large hurricanes.",
"shortText": "# Klimaregulatoren\n\nHigher sea surface temperatures allow more evaporation, giving more atmospheric water vapour, with the potential for more clouds and more rain.\n\nHigh water temperatures in tropical oceans power extreme weather events such as hurricanes.",
"videoId": "LPJ1gAhN4Fg",
"fullscreenGallery": true
},
{
"text": "# Fisherman’s Friend\n\nSatellites using infrared cameras can measure the ocean temperature to within a few tenths of a degree Celsius. Maps of sea surface temperature (SST) show not only warm and cold currents, but also where deep cold water is upwelling to the surface, bringing with it the nutrients that support the world’s largest fisheries. Modern fishing fleets use SST maps from satellites to help find and follow fish on a day-to-day basis.\n\nThe data viewer on the left shows a comparison between SST and ocean chlorophyll, a measure of the abundance of phytoplankton. High chlorophyll concentrations are associated with areas of cold water upwelling off the coasts of Peru, Argentina and Namibia. Cold, deep water rises when the surface water is pushed offshore by prevailing winds, bringing with it nutrients on which the plankton thrive.\n\n![Ocean temparature](https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_08.jpg 'Ocean temparatures')\n\nOcean temperature variation with depth.\n\nCross-section through the North Atlantic showing ocean temperature variation across the surface and with depth. Satellites can only measure the skin temperature of the top layer, much less than a millimetre thick. (Planetary Visions).",
"shortText": "- Lorem ipsum\n\n- Exercitationem\n\n- sapiente"
"shortText": "# Fisherman’s Friend\n\nMaps of sea surface temperature (SST) show not only warm and cold currents, but also where deep cold water is upwelling to the surface, bringing with it the nutrients that support the world’s largest fisheries.\n\nThe data viewer on the left shows a comparison between SST and ocean chlorophyll, a measure of the abundance of phytoplankton.",
"images": [
"https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst-chlorophyll.png"
],
"fullscreenGallery": true
},
{
"text": "# Measuring Ocean Temperature\n\nNumerous satellite platforms have been launched over the last forty years, with different sensors, using different and evolving technologies. The longest-running SST record is from the Advanced Very High Resolution Radiometer (AVHRR), an instrument on the American series of polar orbiting weather satellites, and now also carried by Europe’s MetOp satellites. There are usually two polar orbiters in operation, and AVHRR has a wide field of view, allowing it to cover most of the world at least twice a day. It uses infrared measurements at two different wavelengths to measure SST.\n\n## Covering All Angles\n\nMore accurate SST measurements are available from the Along-Track Scanning Radiometer (ATSR) on ESA’s ERS and Envisat platforms. ATSR measures infrared emissions vertically beneath the satellite and by looking forward at an oblique angle to minimise atmospheric contributions to the signal. The instrument’s conical scanning limits the instrument’s coverage, however, so that daily SST maps from ATSR have gaps between each orbital path, with complete global coverage requiring three days of observations.",
"shortText": "- Lorem ipsum\n\n- Exercitationem\n\n- sapiente",
"text": "# Messung der Meerestemperatur\n\nNumerous satellite platforms have been launched over the last forty years, with different sensors, using different and evolving technologies. The longest-running SST record is from the Advanced Very High Resolution Radiometer (AVHRR), an instrument on the American series of polar orbiting weather satellites, and now also carried by Europe’s MetOp satellites. There are usually two polar orbiters in operation, and AVHRR has a wide field of view, allowing it to cover most of the world at least twice a day. It uses infrared measurements at two different wavelengths to measure SST.\n\n## Covering All Angles\n\nMore accurate SST measurements are available from the Along-Track Scanning Radiometer (ATSR) on ESA’s ERS and Envisat platforms. ATSR measures infrared emissions vertically beneath the satellite and by looking forward at an oblique angle to minimise atmospheric contributions to the signal. The instrument’s conical scanning limits the instrument’s coverage, however, so that daily SST maps from ATSR have gaps between each orbital path, with complete global coverage requiring three days of observations.",
"shortText": "# Messung der Meerestemperatur\n\nThe longest-running SST record is from the Advanced Very High Resolution Radiometer (AVHRR), an instrument on the American series of polar orbiting weather satellites, and now also carried by Europe’s MetOp satellites.\n\nMore accurate SST measurements are available from the Along-Track Scanning Radiometer (ATSR) on ESA’s ERS and Envisat platforms.",
"images": [
"https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_18.jpg",
"https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sealevel_large_07.jpg"
],
"fullscreenGallery": true
},
{
"text": "# CCI Sea Surface Temperature\n\nIt is likely that the upper ocean has been warming since the middle of the nineteenth century, and scientists have been able to measure the warming of the ocean surface from space since the 1970s. The CCI SST team has harmonised data across many generations of the two types of sensor on sixteen satellites, combining the highly accurate, stable and well-calibrated ATSR measurements with the greater coverage of AVHRR. The result is a complete, daily, stable, low-bias SST data set spanning twenty years. The use of ATSR makes this dataset independent of in situ observations, and more accurate and stable than previous SST products. CCI SST is a door-opener for climate scientists, who can now rely on high quality data that is harmonised between different satellite systems over several decades. The team’s next step is to include an additional 15 years of measurements, extending the data sequence to 35 years.\n\n![Sea Surface Temperature](https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_10.jpg 'Sea Surface Temperature')\n\nSea surface temperature is measured using two wavelengths in the thermal infrared part of the electromagnetic spectrum.",
"shortText": "- Lorem ipsum\n\n- Exercitationem\n\n- sapiente",
"text": "# CCI Temperatur der Meeresoberfläche\n\nIt is likely that the upper ocean has been warming since the middle of the nineteenth century, and scientists have been able to measure the warming of the ocean surface from space since the 1970s. The CCI SST team has harmonised data across many generations of the two types of sensor on sixteen satellites, combining the highly accurate, stable and well-calibrated ATSR measurements with the greater coverage of AVHRR. The result is a complete, daily, stable, low-bias SST data set spanning twenty years. The use of ATSR makes this dataset independent of in situ observations, and more accurate and stable than previous SST products. CCI SST is a door-opener for climate scientists, who can now rely on high quality data that is harmonised between different satellite systems over several decades. The team’s next step is to include an additional 15 years of measurements, extending the data sequence to 35 years.\n\n![Sea Surface Temperature](https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/sst_large_10.jpg 'Sea Surface Temperature')\n\nSea surface temperature is measured using two wavelengths in the thermal infrared part of the electromagnetic spectrum.",
"shortText": "# Temperatur der Meeresoberfläche\n\nThe CCI SST team has harmonised data across many generations of the two types of sensor on sixteen satellites, combining the highly accurate, stable and well-calibrated ATSR measurements with the greater coverage of AVHRR.",
"videoId": "EcXlJtQ-zi8&t"
}
]
Expand Down
Loading

0 comments on commit f749e93

Please sign in to comment.