Skip to content

Commit

Permalink
couple of string changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandria.gomez authored and alexandria.gomez committed Oct 11, 2023
1 parent a734e8c commit c4e6da0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ require('../../../../Assets/CSS/bootstrap.min.css');
const YOU_MUST_BE_CLOUD_USER_TO_USE_WEB_PART =
'You must be a currently licensed Laserfiche Cloud user to use this web part.';
const FOR_MORE_INFO_VISIT = 'For more information visit';
const USE_LASERFICHE_ADMIN_PAGE_TO_EDIT_SP_LF_CONFIG_SIGN_IN_AND_SELECT_TASK_TO_COMPLETE =
'Use the Laserfiche Administration page to edit your SharePoint and Laserfiche configuration. Sign in and select the task you want to perform from the menu at the top of this section.';
const PROFILES_GOVERN_HOW_SP_SAVED_TO_LF_CAN_CREATE_MULTIPLE_PROFILES_FOR_DIFFERENT_SP_CONTENT_TYPES =
'Profiles govern how documents in SharePoint will be saved to Laserfiche. You can create multiple profiles for different SharePoint content types. For example, if you want applications stored differently than invoices, create separate profiles for each content type.';
const IN_THIS_TAB_CAN_MAP_SPECIFIC_SP_CONTENT_TYPE_TO_LF_PROFILE_PROFILE_THEN_USED_TO_SAVE_SP_DOCS_WITH_THAT_CONTENT_TYPE =
'In this tab, you can map a specific SharePoint content type to a corresponding Laserfiche profile. This profile will then be used when saving all documents of the specified SharePoint content type.';

export default function HomePage(): JSX.Element {
return (
Expand All @@ -18,9 +24,9 @@ export default function HomePage(): JSX.Element {
{`.`}
</p>
<p className='adminContent'>
Use the Laserfiche Administration page to edit your SharePoint and
Laserfiche configuration. Sign in and select the task you want to
perform from the menu at the top of this section.
{
USE_LASERFICHE_ADMIN_PAGE_TO_EDIT_SP_LF_CONFIG_SIGN_IN_AND_SELECT_TASK_TO_COMPLETE
}
</p>
<p className='adminContent'>
For more information, see the{' '}
Expand All @@ -39,22 +45,19 @@ export default function HomePage(): JSX.Element {
</p>
<p style={{ marginLeft: '38px' }}>
<span>
Profiles govern how documents in SharePoint will be saved to
Laserfiche. You can create multiple profiles for different
SharePoint content types. For example, if you want applications
stored differently than invoices, create separate profiles for
each content type.
{
PROFILES_GOVERN_HOW_SP_SAVED_TO_LF_CAN_CREATE_MULTIPLE_PROFILES_FOR_DIFFERENT_SP_CONTENT_TYPES
}
</span>
</p>
<p>
<strong>Profile Mapping</strong>
</p>
<p style={{ marginLeft: '38px' }}>
<span>
In this tab, you can map a specific SharePoint content type with a
corresponding Laserfiche profile. This profile will then be used
when saving all documents of the specified SharePoint content
type.
{
IN_THIS_TAB_CAN_MAP_SPECIFIC_SP_CONTENT_TYPE_TO_LF_PROFILE_PROFILE_THEN_USED_TO_SAVE_SP_DOCS_WITH_THAT_CONTENT_TYPE
}
</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ declare global {
}

const CANCEL = 'Cancel';
const NOTE_THIS_PAGE_ONLY_NEEDED_WHEN_SAVING_TO_LASERFICHE =
'*Note: This page should only be needed if you are attempting to save a document to Laserfiche.';
const NOTE_THIS_WEB_PART_IS_ONLY_NEEDED_WHEN_SAVING_TO_LASERFICHE =
'*Note: This web part is only needed if you are attempting to save a document to Laserfiche.';
const YOU_MUST_BE_CLOUD_USER_TO_USE_WEB_PART =
'You must be a currently licensed Laserfiche Cloud user to use this web part.';
const FOR_MORE_INFO_VISIT = 'For more information visit';
Expand Down Expand Up @@ -133,7 +133,7 @@ export default function SendToLaserficheLoginComponent(
if (!spFileMetadata) {
loginText = (
<>
<p>{NOTE_THIS_PAGE_ONLY_NEEDED_WHEN_SAVING_TO_LASERFICHE}</p>
<p>{NOTE_THIS_WEB_PART_IS_ONLY_NEEDED_WHEN_SAVING_TO_LASERFICHE}</p>
{loggedIn ? (
<p>
{'Welcome to Laserfiche.'}
Expand All @@ -152,17 +152,19 @@ export default function SendToLaserficheLoginComponent(
)}
</p>
) : (
<span>
{`${YOU_MUST_BE_CLOUD_USER_TO_USE_WEB_PART} ${FOR_MORE_INFO_VISIT} `}
<a href='https://www.laserfiche.com/products/pricing'>
laserfiche.com
</a>
{`.`}
<div>
<p>
{`${YOU_MUST_BE_CLOUD_USER_TO_USE_WEB_PART} ${FOR_MORE_INFO_VISIT} `}
<a href='https://www.laserfiche.com/products/pricing'>
laserfiche.com
</a>
{`.`}
</p>
<p>
You are not signed in. You can sign in using the following
button.
</p>
</span>
</div>
)}
</>
);
Expand All @@ -185,7 +187,7 @@ export default function SendToLaserficheLoginComponent(
</>
);
} else {
<p>{NOTE_THIS_PAGE_ONLY_NEEDED_WHEN_SAVING_TO_LASERFICHE}</p>;
<p>{NOTE_THIS_WEB_PART_IS_ONLY_NEEDED_WHEN_SAVING_TO_LASERFICHE}</p>;
}
return loginText;
}
Expand Down

0 comments on commit c4e6da0

Please sign in to comment.