Translated updated components

This commit is contained in:
Mayesters 2017-05-28 18:56:01 +02:00
parent 804c9a646b
commit 1a3c20a637
3 changed files with 6 additions and 4 deletions

View file

@ -307,5 +307,7 @@
"Something went wrong": "Something went wrong",
"Find movies, music, games, and more": "Find movies, music, games, and more",
"Wallet": "Wallet",
"Looking up version info": "Looking up version info"
"Looking up version info": "Looking up version info",
"It looks like you deleted or moved this file. We're rebuilding it now. It will only take a few seconds.": "It looks like you deleted or moved this file. We're rebuilding it now. It will only take a few seconds.",
"Fetching cost info": "Fetching cost info"
}

View file

@ -101,9 +101,9 @@ class FileActions extends React.Component {
} else if (fileInfo === null && !downloading) {
if (!costInfo) {
content = <BusyMessage message="Fetching cost info" />
content = <BusyMessage message={__("Fetching cost info")} />
} else {
content = <Link button="text" label="Download" icon="icon-download" onClick={() => { startDownload(uri) } } />;
content = <Link button="text" label={__("Download")} icon="icon-download" onClick={() => { startDownload(uri) } } />;
}
} else if (fileInfo && fileInfo.download_path) {

View file

@ -102,7 +102,7 @@ class Video extends React.Component {
let loadStatusMessage = ''
if(fileInfo && fileInfo.completed && !fileInfo.written_bytes) {
loadStatusMessage = "It looks like you deleted or moved this file. We're rebuilding it now. It will only take a few seconds."
loadStatusMessage = __("It looks like you deleted or moved this file. We're rebuilding it now. It will only take a few seconds.")
} else if (isLoading) {
loadStatusMessage = __("Requesting stream... it may sit here for like 15-20 seconds in a really awkward way... we're working on it")
} else if (isDownloading) {