|
|
|
|
@ -16,8 +16,8 @@ const ReactSwal = withReactContent(Swal);
|
|
|
|
|
// eslint-disable-next-line import/prefer-default-export
|
|
|
|
|
export function openSendReportDialog(err, state) {
|
|
|
|
|
const reportInstructions = isStoreBuild
|
|
|
|
|
? <p><Trans>Please send an email to <span style={{ fontWeight: 'bold' }} role="button" onClick={() => electron.shell.openExternal('mailto:losslesscut@yankee.no')}>losslesscut@yankee.no</span> where you describe what you were doing.</Trans></p>
|
|
|
|
|
: <p><Trans>Please create an issue at <span style={{ fontWeight: 'bold' }} role="button" onClick={() => electron.shell.openExternal('https://github.com/mifi/lossless-cut/issues')}>https://github.com/mifi/lossless-cut/issues</span> where you describe what you were doing.</Trans></p>;
|
|
|
|
|
? <p><Trans>Please send an email to <span style={{ fontWeight: 'bold', cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal('mailto:losslesscut@yankee.no')}>losslesscut@yankee.no</span> where you describe what you were doing.</Trans></p>
|
|
|
|
|
: <p><Trans>Please create an issue at <span style={{ fontWeight: 'bold', cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal('https://github.com/mifi/lossless-cut/issues')}>https://github.com/mifi/lossless-cut/issues</span> where you describe what you were doing.</Trans></p>;
|
|
|
|
|
|
|
|
|
|
const platform = os.platform();
|
|
|
|
|
const version = electron.remote.app.getVersion();
|
|
|
|
|
@ -51,7 +51,7 @@ export function openSendReportDialog(err, state) {
|
|
|
|
|
|
|
|
|
|
<p><Trans>Include the following text:</Trans> <CopyClipboardButton text={text} /></p>
|
|
|
|
|
|
|
|
|
|
<div style={{ fontWeight: 600, fontSize: 12, whiteSpace: 'pre-wrap' }} contentEditable suppressContentEditableWarning>
|
|
|
|
|
<div style={{ fontWeight: 600, fontSize: 12, whiteSpace: 'pre-wrap', color: '#900' }} contentEditable suppressContentEditableWarning>
|
|
|
|
|
{text}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|