Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New welcome email #3650

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Utils/Email/WelcomeEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class WelcomeEmail extends AbstractEmail {
*/
protected $user;

protected $title = 'Welcome to MateCat!';
protected $title = 'Welcome to Matecat! Get Started with Your First Project Today';

public function __construct( Users_UserStruct $user ) {
$this->user = $user;
Expand All @@ -36,7 +36,7 @@ protected function _getTemplateVariables() {
protected function _getLayoutVariables( $messageBody = null ) {
$vars = parent::_getLayoutVariables();
$vars[ 'title' ] = $this->title;
$vars[ 'closingLine' ] = 'Join the Evolution!';
$vars[ 'closingLine' ] = 'Happy translating!';

return $vars;
}
Expand Down
92 changes: 69 additions & 23 deletions lib/View/Emails/Signup/welcome_content.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,70 @@
<div id=":3lk" class="ii gt" jslog="20277; u014N:xr6bB; 1:WyIjdGhyZWFkLWY6MTgxNDc4OTUzMDUyODIyOTMzNSJd; 4:WyIjbXNnLWY6MTgxNDc4OTUzMDUyODIyOTMzNSIsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLDBd"><div id=":4fc" class="a3s aiL msg2693241556097962458"><u></u>
<div>
<table border="0" cellpadding="0" cellspacing="0" class="m_2693241556097962458body">
<tbody><tr>
<td>&nbsp;</td>
<td class="m_2693241556097962458container">
<div class="m_2693241556097962458content">
<table class="m_2693241556097962458main">
<a href="https://www.matecat.com/" target="_blank">
<img src="https://www.matecat.com/public/img/emails/matecat-logo--white.png" style="border: 0;display: block;outline: none;text-decoration: none;height: auto;width: 50%;margin: 0 auto;font-size: 13px;line-height: 100%;-ms-interpolation-mode: bicubic;">
</a>
<tbody><tr>
<td class="m_2693241556097962458wrapper">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>

<p>
Dear <?= $user['first_name'] ?>,
</p>

<p>
Welcome to Matecat, the simple and free translation platform.
</p>

<p>
With Matecat you can translate faster with matches from the best mix of private and public translation memories and machine translation.
</p>

<p>
Learn more about Matecat by:
</p>
<p>
- Browsing through the documentation at <a href="https://guides.matecat.com/">guides.matecat.com</a> <br />
- Watching one of the videos in our <a href="https://www.youtube.com/channel/UCiFufs09x88AuI1D0kvKR6w">YouTube channel </a> <br />
</p>

<p>
For any question or suggestion, don't hesitate to get in touch with our team at <a href="mailto:[email protected]">[email protected]</a>.
</p>
<p>
Dear <?= $user['first_name'] ?>,
</p>

<p>
Welcome to Matecat! We're thrilled to have you on board and excited to help you get the most out of it.</p>

<p>
To help you hit the ground running, we've prepared a quick guide on how to set up your first project.<br>Follow these simple steps and you'll be on your way to smoother, faster, and more accurate translations.
</p>

<p>
<b>Getting Started with Matecat
</b>
</p>
<ul style="margin: 0; padding-left: 0px;">
<li style="text-indent: -20px;padding-left:20px;">Open <a href="https://www.matecat.com/">Matecat</a> and log in to your account.</li>
<li style="text-indent: -20px;padding-left:20px;">Select the source and target languages.</li>
<li style="text-indent: -20px;padding-left:20px;">Click the "More settings" button to adjust the project settings according to your needs. You can create translation memories and use them for your projects, choose a machine translation engine and adjust other advanced settings.</li>
<li style="text-indent: -20px;padding-left:20px;">Upload the files to translate (drag and drop them or browse your computer and select them). Matecat supports a wide range of file formats including .docx, .xlsx, .pdf, and <a href="https://guides.matecat.com/supported-formats-and-languages">many more</a>.</li>
<li style="text-indent: -20px;padding-left:20px;">Click "Analyze" to start the project's creation.</li>
<li style="text-indent: -20px;padding-left:20px;">Once the analysis is complete, click "Translate" to open the editor and start translating your document. Use the translation memory and machine translation matches to translate faster and maintain consistency.</li>
<li style="text-indent: -20px;padding-left:20px;">Confirm each translated segment by clicking the "Translated" button or pressing ctrl/cmd + enter. At the bottom of the page, you'll be able to track your progress.</li>
<li style="text-indent: -20px;padding-left:20px;">Once you're done, download the translation by clicking the download button on the top bar.</li>
</ul>
<div style="text-align: center;"><a href="https://www.matecat.com/" style="display:inline-block;background:#0099CC;color:#FFFFFF;font-family:Arimo, Helvetica, Arial;font-size:16px;font-weight:bold;line-height:24px;margin:1em;text-decoration:none;text-transform:none;padding:12px 24px;mso-padding-alt:0px;border-radius:8px;" target="_blank">Start translating!</a></div>


<p>For additional questions, please refer to our user guide.<br>
Remember, the Matecat team is always here to support you on your translation journey, so don't hesitate to reach out to us.</p>
</td>
</tr>

</tbody></table>
</td>
</tr>


</tbody></table>





</div>
</td>
<td>&nbsp;</td>
</tr>
</tbody></table><div class="yj6qo"></div><div class="adL">
</div></div><div class="adL">


</div></div></div>
13 changes: 9 additions & 4 deletions lib/View/Emails/skeleton.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,14 @@
<tr>
<td class="wrapper">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="https://www.matecat.com/" target="_blank">
<img src="https://www.matecat.com/public/img/emails/matecat-logo--white.png" style="border: 0;display: block;outline: none;text-decoration: none;height: auto;width: 50%;margin: 0 auto;font-size: 13px;line-height: 100%;-ms-interpolation-mode: bicubic;">
</a>
<br />
</td>
</tr>
<?php if ( $showTitle ) { ?>
<tr>
<td>
Expand All @@ -320,10 +328,7 @@ <h1><?=$title?></h1>
<td>
<p class="p_line_height_1_5">
<?= $closingLine ?><br>
Matecat - <?= INIT::$HTTPHOST ?>
</p>
<p class="align-center">
<img src="<?= INIT::$HTTPHOST ?>/public/img/master_matecat.png" width="70"/>
The Matecat team - <?= INIT::$HTTPHOST ?>
</p>
</td>
</tr>
Expand Down