From 35ed493af4f17bfef4d54d6167abe2f3460d6bae Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 10 Dec 2019 14:49:00 -0500 Subject: [PATCH] i18n fix --- static/app-strings.json | 4 +--- ui/component/viewers/pdfViewer.jsx | 8 ++++++-- ui/component/walletBackup/view.jsx | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index be501e946..4c24ff7a4 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -915,8 +915,6 @@ "Recommended size is 16:9": "Recommended size is 16:9", "Any amount will give you the highest bid, but larger amounts help your content be trusted and discovered.": "Any amount will give you the highest bid, but larger amounts help your content be trusted and discovered.", "Loading 3D model.": "Loading 3D model.", - "Saved zip archive to /Users/sean/Downloads/.lbryum-2019-12-09T17-21-28.429Z.zip": "Saved zip archive to /Users/sean/Downloads/.lbryum-2019-12-09T17-21-28.429Z.zip", - "PDF opened externally.": "PDF opened externally.", "Click here": "Click here", - "to open it again.": "to open it again." + "PDF opened externally. %click_here% to open it again.": "PDF opened externally. %click_here% to open it again." } \ No newline at end of file diff --git a/ui/component/viewers/pdfViewer.jsx b/ui/component/viewers/pdfViewer.jsx index 002693247..e4341ccb0 100644 --- a/ui/component/viewers/pdfViewer.jsx +++ b/ui/component/viewers/pdfViewer.jsx @@ -2,6 +2,7 @@ import * as React from 'react'; import { stopContextMenu } from 'util/context-menu'; import Button from 'component/button'; +import I18nMessage from 'component/i18nMessage'; // @if TARGET='app' import { shell } from 'electron'; // @endif @@ -38,8 +39,11 @@ class PdfViewer extends React.PureComponent {
{/* @if TARGET='app' */}

- {__('PDF opened externally.')}