summaryrefslogtreecommitdiff
path: root/frontend/site
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-04-20 00:27:01 +0200
committerJules Laplace <julescarbon@gmail.com>2021-04-20 00:27:01 +0200
commit5cc9fc594110547f93ffe7016ec4f3e7ac3e5c29 (patch)
tree9e8abd9969147dfefb5cb2feed99202d0e4af356 /frontend/site
parentee83dc759c96bac374cecb3ea5ae98e08a2f31cc (diff)
headphones message
Diffstat (limited to 'frontend/site')
-rw-r--r--frontend/site/projects/museum/constants.js11
-rw-r--r--frontend/site/projects/museum/views/titles.overlay.js5
2 files changed, 14 insertions, 2 deletions
diff --git a/frontend/site/projects/museum/constants.js b/frontend/site/projects/museum/constants.js
index 259603e..ba261c5 100644
--- a/frontend/site/projects/museum/constants.js
+++ b/frontend/site/projects/museum/constants.js
@@ -380,3 +380,14 @@ export const MARQUEES = {
de: 'Seid gegrüßt, ihr Herren der Wahrheit, frei von Unrecht, die ihr für immer und ewig existiert. Ich habe euch erreicht, weil ich mit meinen Formen ein akh bin. Ich bin mächtig durch meine Magie. Weitergehen bei Tag / Papyrus des Sobekmose / Totenbuch ...',
}
}
+
+export const HEADPHONES = {
+ first: {
+ en: "headphones recommended",
+ de: "Kopfhörer empfohlen",
+ },
+ second: {
+ en: "(HTRF spatialization)",
+ de: "(HTRF Verräumlichung)"
+ }
+} \ No newline at end of file
diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js
index f82f08a..c5421ea 100644
--- a/frontend/site/projects/museum/views/titles.overlay.js
+++ b/frontend/site/projects/museum/views/titles.overlay.js
@@ -1,6 +1,7 @@
import React, { Component } from 'react'
import { connect } from 'react-redux'
+import { HEADPHONES } from '../constants.js'
import { SUBTITLES } from '../subtitles.js'
import './titles.css'
@@ -155,9 +156,9 @@ class TitlesOverlay extends Component {
ref={this.headphonesRef}
className="chapter-headphones"
>
- {"headphones recommended"}
+ {HEADPHONES.first[language]}
<br />
- {"(HTRF spatialization)"}
+ {HEADPHONES.second[language]}
</div>
<div
ref={this.titleRef}