Skip to content

Commit

Permalink
[UPD] Update mail_inline_css.pot
Browse files Browse the repository at this point in the history
  • Loading branch information
oca-ci committed Dec 27, 2024
1 parent 96bc9b8 commit 2573486
Showing 1 changed file with 83 additions and 18 deletions.
101 changes: 83 additions & 18 deletions mail_inline_css/i18n/mail_inline_css.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -13,6 +13,88 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mail_inline_css
#: model:mail.template,body_html:mail_inline_css.email_template_demo
msgid ""
"\n"
" <body>\n"
" <!-- TODO: move to LESS file\n"
" If we put the link as it is `premailer` won't be able to render it.\n"
" To ease this, we could:\n"
" 1. find the less file on FS\n"
" 2. compile to less\n"
" 3. populate style block\n"
" -->\n"
" <style>\n"
" #main_wrapper {\n"
" max-width: 620px;\n"
" margin: 0 auto;\n"
" border: 1px solid #ccc;\n"
" font-size: 18px;\n"
" font-family: verdana;\n"
" color: #6B6E71;\n"
" }\n"
" a { color: #3BA0A6; text-decoration: none }\n"
" #main_header, footer, main div { padding: 30px 40px }\n"
" #main_header table { width: 100% }\n"
" #main_header table td { width: 50% }\n"
" #main_logo { max-width: 300px }\n"
" #main_header .right {\n"
" text-align: right;\n"
" vertical-align: top;\n"
" font-size: 140%;\n"
" }\n"
" #main_header .date_today { text-transform: uppercase; opacity: 0.7; color: #FF0000 }\n"
" footer { padding-top: 0; font-size: 120% }\n"
" footer address { font-style: normal }\n"
" .greeting { padding-top: 0; padding-bottom: 0 }\n"
" .image-wrapper {\n"
" min-height: 250px;\n"
" }\n"
" .image-wrapper.location-map {\n"
" margin: 0 -40px;\n"
" }\n"
" .pt0 { padding-top: 0 }\n"
" a.contact { cursor: pointer }\n"
" </style>\n"
" <div id=\"main_wrapper\">\n"
" <div id=\"main_header\">\n"
" <table>\n"
" <tbody>\n"
" <tr>\n"
" <td class=\"left\">\n"
" <img id=\"main_logo\" t-attf-src=\"data:image;base64,{{env.user.company_id.logo}}\"/>\n"
" </td>\n"
" <td class=\"right\">\n"
" <span class=\"date_today\" t-esc=\"time.strftime('%d %B %Y')\"/>\n"
" </td>\n"
" </tr>\n"
" </tbody>\n"
" </table>\n"
" </div>\n"
" <main id=\"main_content\">\n"
" <div class=\"greeting\">\n"
" <p>Hello <span t-field=\"object.name\"/>.</p>\n"
" </div>\n"
" <div id=\"content\">\n"
" <p>This e-mail styles are inline rendered although its template defines styles as embedded CSS!</p>\n"
" </div>\n"
" </main>\n"
" <footer id=\"main_footer\">\n"
" <div class=\"company_info\">\n"
" <p class=\"website\">\n"
" <a href=\"https://www.example.com\">www.example.com</a>\n"
" </p>\n"
" <div class=\"address\">\n"
" <div t-field=\"env.user.company_id.partner_id\" t-options=\"{ &quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;name&quot;, &quot;address&quot;, &quot;phone&quot;, &quot;mobile&quot;, &quot;email&quot;] }\"/>\n"
" </div>\n"
" </div>\n"
" </footer>\n"
" </div>\n"
" </body>\n"
" "
msgstr ""

#. module: mail_inline_css
#: model:mail.template,subject:mail_inline_css.email_template_demo
msgid "Demo email inline styles"
Expand All @@ -23,24 +105,7 @@ msgstr ""
msgid "Email Templates"
msgstr ""

#. module: mail_inline_css
#: model_terms:ir.ui.view,arch_db:mail_inline_css.demo_email_hello
msgid "Hello"
msgstr ""

#. module: mail_inline_css
#: model:mail.template,name:mail_inline_css.email_template_demo
msgid "Inline styles demo"
msgstr ""

#. module: mail_inline_css
#: model_terms:ir.ui.view,arch_db:mail_inline_css.demo_email_hello
msgid ""
"This e-mail styles are inline rendered although its template defines styles "
"as embedded CSS!"
msgstr ""

#. module: mail_inline_css
#: model_terms:ir.ui.view,arch_db:mail_inline_css.demo_email_hello
msgid "www.example.com"
msgstr ""

0 comments on commit 2573486

Please sign in to comment.