diff --git a/src/renderer/component/fileRender/view.jsx b/src/renderer/component/fileRender/view.jsx index 18e2cb979..5ce35c6b7 100644 --- a/src/renderer/component/fileRender/view.jsx +++ b/src/renderer/component/fileRender/view.jsx @@ -32,7 +32,7 @@ class FileRender extends React.PureComponent { const { fileType } = source; const viewer = mediaType && source && (mediaTypes[mediaType] || fileTypes[fileType]); - const unsupportedMessage = "Sorry, looks like we can't preview this file."; + const unsupportedMessage = __("Sorry, looks like we can't preview this file."); const unsupported = ; // Return viewer diff --git a/src/renderer/component/video/internal/play-button.jsx b/src/renderer/component/video/internal/play-button.jsx index 18fac4b4a..61d2ce27f 100644 --- a/src/renderer/component/video/internal/play-button.jsx +++ b/src/renderer/component/video/internal/play-button.jsx @@ -16,7 +16,7 @@ class VideoPlayButton extends React.PureComponent { const disabled = isLoading || fileInfo === undefined; const doesPlayback = ['audio', 'video'].indexOf(mediaType) !== -1; const icon = doesPlayback ? icons.PLAY : icons.EYE; - const label = doesPlayback ? 'Play' : 'Preview'; + const label = doesPlayback ? __('Play') : __('View'); return