From 06706ad46a80530c20cb200c9102d34e7f4c3e0a Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Sat, 14 Nov 2020 14:17:58 +0500 Subject: [PATCH] change strings --- .../components/ActionSheetComponent/GetPremium.js | 4 +++- .../src/components/ActionSheetComponent/index.js | 2 +- apps/mobile/src/components/ExportDialog/index.js | 12 ++++++------ apps/mobile/src/components/Menu/index.js | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/apps/mobile/src/components/ActionSheetComponent/GetPremium.js b/apps/mobile/src/components/ActionSheetComponent/GetPremium.js index d37536921..fe0266a39 100644 --- a/apps/mobile/src/components/ActionSheetComponent/GetPremium.js +++ b/apps/mobile/src/components/ActionSheetComponent/GetPremium.js @@ -68,6 +68,7 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => { alignSelf: 'center', justifyContent: 'space-between', top: offset, + maxWidth:"100%", transform: [ { translateX: translate, @@ -77,7 +78,7 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => { + style={{maxWidth: '70%', paddingRight: 6}}> {msg.title} {'\n'} @@ -95,6 +96,7 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => { title="Get Now" type="inverted" /> + ); }; diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js index d39fb9ec3..b51a9f0fc 100644 --- a/apps/mobile/src/components/ActionSheetComponent/index.js +++ b/apps/mobile/src/components/ActionSheetComponent/index.js @@ -460,7 +460,7 @@ export const ActionSheetComponent = ({ () => { eSendEvent(eShowGetPremium, { context: 'sheet', - title: 'Get Notesnook Pro', + title: 'Add Notes to Vault', desc: 'With Notesnook Pro you can add notes to your vault and do so much more! Get it now.', }); diff --git a/apps/mobile/src/components/ExportDialog/index.js b/apps/mobile/src/components/ExportDialog/index.js index 8234f8cf6..c9228911a 100644 --- a/apps/mobile/src/components/ExportDialog/index.js +++ b/apps/mobile/src/components/ExportDialog/index.js @@ -94,9 +94,9 @@ const ExportDialog = () => { () => { eSendEvent(eShowGetPremium, { context: 'export', - title: 'Get Notesnook Pro', + title: 'Export in PDF, Markdown & HTML', desc: - 'With Notesnook Pro you will be able to export your note in PDF, Markdown and HTML formats! Get it today.', + 'Get Notesnook Pro to export your note in PDF, Markdown and HTML formats!', }); }, ); @@ -114,9 +114,9 @@ const ExportDialog = () => { () => { eSendEvent(eShowGetPremium, { context: 'export', - title: 'Get Notesnook Pro', + title: 'Export in PDF, Markdown & HTML', desc: - 'With Notesnook Pro you will be able to export your note in PDF, Markdown and HTML formats! Get it today.', + 'Get Notesnook Pro to export your note in PDF, Markdown and HTML formats!', }); }, ); @@ -142,9 +142,9 @@ const ExportDialog = () => { () => { eSendEvent(eShowGetPremium, { context: 'export', - title: 'Get Notesnook Pro', + title: 'Export in PDF, Markdown & HTML', desc: - 'With Notesnook Pro you will be able to export your note in PDF, Markdown and HTML formats! Get it today.', + 'Get Notesnook Pro to export your note in PDF, Markdown and HTML formats!', }); }, ); diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.js index 37cf6bf7d..12e99987d 100644 --- a/apps/mobile/src/components/Menu/index.js +++ b/apps/mobile/src/components/Menu/index.js @@ -104,8 +104,8 @@ export const Menu = React.memo( style={{textAlign: 'center'}} color={colors.icon} size={SIZE.xs}> - You have not pinned anything yet. You can pin notebook topics and - tags here. + You have not pinned anything yet. You can pin topics and tags + here.