Translate player tab titles.
parent
31a9cac76b
commit
ec684c2417
|
@ -52,6 +52,14 @@
|
||||||
"defaultMessage": "Geschnitten von {url}",
|
"defaultMessage": "Geschnitten von {url}",
|
||||||
"description": "Text below video that describes where a video was cut from"
|
"description": "Text below video that describes where a video was cut from"
|
||||||
},
|
},
|
||||||
|
"VideoPlayerPage.tab.mirrorPlayer": {
|
||||||
|
"defaultMessage": "Mirror-Player",
|
||||||
|
"description": "Title for mirror player tab"
|
||||||
|
},
|
||||||
|
"VideoPlayerPage.tab.twitchPlayer": {
|
||||||
|
"defaultMessage": "Twitch-Player",
|
||||||
|
"description": "Title for Twitch player tab"
|
||||||
|
},
|
||||||
"VideoPlayerPage.watchOnTwitch": {
|
"VideoPlayerPage.watchOnTwitch": {
|
||||||
"defaultMessage": "Auf Twitch anschauen",
|
"defaultMessage": "Auf Twitch anschauen",
|
||||||
"description": "Button below video that links to the exact position in the archived stream to watch it there."
|
"description": "Button below video that links to the exact position in the archived stream to watch it there."
|
||||||
|
|
|
@ -23,13 +23,7 @@
|
||||||
"defaultMessage": "Instant access to your favorite VODs of Games Done Quick!"
|
"defaultMessage": "Instant access to your favorite VODs of Games Done Quick!"
|
||||||
},
|
},
|
||||||
"Home.introText2": {
|
"Home.introText2": {
|
||||||
"defaultMessage": "This website collects Icedream's clips for all the broadcasted Games Done Quick runs."
|
"defaultMessage": "This website collects all the broadcasted runs and allows streaming and downloading them."
|
||||||
},
|
|
||||||
"LocaleSwitcher.language.de": {
|
|
||||||
"defaultMessage": "German"
|
|
||||||
},
|
|
||||||
"LocaleSwitcher.language.en": {
|
|
||||||
"defaultMessage": "English"
|
|
||||||
},
|
},
|
||||||
"LocaleSwitcher.screenReaderText": {
|
"LocaleSwitcher.screenReaderText": {
|
||||||
"defaultMessage": "Switch language",
|
"defaultMessage": "Switch language",
|
||||||
|
@ -45,9 +39,17 @@
|
||||||
"defaultMessage": "Type something to search here…"
|
"defaultMessage": "Type something to search here…"
|
||||||
},
|
},
|
||||||
"VideoListPage.updatedLastAgo": {
|
"VideoListPage.updatedLastAgo": {
|
||||||
"defaultMessage": "Last updated {time}",
|
"defaultMessage": "Updated last {time}",
|
||||||
"description": "Text below the video list on the video list page that says in relative time when the list was last updated"
|
"description": "Text below the video list on the video list page that says in relative time when the list was last updated"
|
||||||
},
|
},
|
||||||
|
"VideoPlayerPage.tab.mirrorPlayer": {
|
||||||
|
"defaultMessage": "Mirror player",
|
||||||
|
"description": "Title for mirror player tab"
|
||||||
|
},
|
||||||
|
"VideoPlayerPage.tab.twitchPlayer": {
|
||||||
|
"defaultMessage": "Twitch player",
|
||||||
|
"description": "Title for Twitch player tab"
|
||||||
|
},
|
||||||
"VideoPlayerPage.watchOnTwitch": {
|
"VideoPlayerPage.watchOnTwitch": {
|
||||||
"defaultMessage": "Watch on Twitch",
|
"defaultMessage": "Watch on Twitch",
|
||||||
"description": "Button below video that links to the exact position in the archived stream to watch it there."
|
"description": "Button below video that links to the exact position in the archived stream to watch it there."
|
||||||
|
|
|
@ -267,7 +267,14 @@ export default function VideoPlayerPage({
|
||||||
defaultActiveKey="twitch-player"
|
defaultActiveKey="twitch-player"
|
||||||
unmountOnExit={true}
|
unmountOnExit={true}
|
||||||
>
|
>
|
||||||
<Tab eventKey="twitch-player" title="Twitch player">
|
<Tab
|
||||||
|
eventKey="twitch-player"
|
||||||
|
title={intl.formatMessage({
|
||||||
|
id: 'VideoPlayerPage.tab.twitchPlayer',
|
||||||
|
description: 'Title for Twitch player tab',
|
||||||
|
defaultMessage: 'Twitch player',
|
||||||
|
})}
|
||||||
|
>
|
||||||
<ResponsiveEmbed aspectRatio="16by9">
|
<ResponsiveEmbed aspectRatio="16by9">
|
||||||
<iframe
|
<iframe
|
||||||
src={twitchEmbedURL.toString()}
|
src={twitchEmbedURL.toString()}
|
||||||
|
@ -276,7 +283,14 @@ export default function VideoPlayerPage({
|
||||||
</iframe>
|
</iframe>
|
||||||
</ResponsiveEmbed>
|
</ResponsiveEmbed>
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab eventKey="direct-player" title="Mirror player">
|
<Tab
|
||||||
|
eventKey="mirror-player"
|
||||||
|
title={intl.formatMessage({
|
||||||
|
id: 'VideoPlayerPage.tab.mirrorPlayer',
|
||||||
|
description: 'Title for mirror player tab',
|
||||||
|
defaultMessage: 'Mirror player',
|
||||||
|
})}
|
||||||
|
>
|
||||||
<VideoPlayer
|
<VideoPlayer
|
||||||
ref={playerRef}
|
ref={playerRef}
|
||||||
autoplay
|
autoplay
|
||||||
|
@ -349,6 +363,6 @@ export default function VideoPlayerPage({
|
||||||
</CopyField>
|
</CopyField>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</div>
|
</div >
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue