-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process nested trans directives, fixes #35449
- Loading branch information
Showing
3 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...ntegration/testsuite/Magento/Setup/Console/Command/_files/phrases/test_mail_template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
{{template config_path="design/email/header_template"}} | ||
|
||
<table> | ||
<tr class="email-intro"> | ||
<td> | ||
<p> | ||
{{trans "Thank you for your order from %store_name." store_name=$store.frontend_name}} | ||
</p> | ||
<p> | ||
{{depend store_hours}} | ||
{{trans 'Our hours are <span class="no-link">%store_hours</span>.' store_hours=$store_hours |raw}} | ||
{{/depend}} | ||
</p> | ||
{{if something}} | ||
<p>{{trans 'Translation inside if directive'}}</p> | ||
{{/if}} | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
{{template config_path="design/email/footer_template"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters