mirror of
https://github.com/bringout/oca-dms.git
synced 2026-04-18 02:01:59 +02:00
Fix placeholder-mismatched translations
This commit is contained in:
parent
8b1f2a787f
commit
f67b37e870
1 changed files with 1 additions and 149 deletions
|
|
@ -57,155 +57,7 @@ msgstr "/dms/static/lib/img/banner/documents_onboarding_directory.png"
|
|||
#. module: dms
|
||||
#: model_terms:ir.ui.view,arch_db:dms.document_onboarding_file_panel
|
||||
msgid "/dms/static/lib/img/banner/documents_onboarding_file.png"
|
||||
msgstr ""
|
||||
"<table style=\"width: 100%; border-spacing: 0; font-family: Helvetica,Arial,Verdana,sans-serif;\">\n"
|
||||
" <tr>\n"
|
||||
" <td align=\"center\" valign=\"top\" style=\"border-collapse: collapse; padding: 0\">\n"
|
||||
" % set company, user = ctx['company'], ctx['user']\n"
|
||||
" % set data = object.compute_kpis(company, user)\n"
|
||||
" % set tips = object.compute_tips(company, user)\n"
|
||||
" % set kpi_actions = object.compute_kpis_actions(company, user)\n"
|
||||
" % set kpis = data.yesterday.keys()\n"
|
||||
" <table style=\"width: 100%; max-width: 600px; border-spacing: 0; border: 1px solid #e7e7e7; border-bottom: none; color: #6e7172; line-height: 23px; text-align: left;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; padding: 10px 40px; text-align: left;\">\n"
|
||||
" <strong style=\"margin-left: -22px; color: #000000; font-size: 22px; line-height: 32px;\">${company.name} at a glance</strong>\n"
|
||||
" <div style=\"color: #000000; font-size: 15px; margin-left:-22px;\">${datetime.date.today().strftime('%B %d, %Y')}</div>\n"
|
||||
" </td>\n"
|
||||
" <td style=\"text-align: right; padding: 10px 40px\">\n"
|
||||
" <img style=\"padding: 0px; margin: 0px; height: auto; width: 80px;\" src=\"/logo.png?company=${company.id}\"/>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" <tr><td colspan=\"2\" style=\"text-align: center;\">\n"
|
||||
" <hr width=\"95%\" style=\"background-color: rgb(204,204,204); border: medium none; clear: both; display: block; font-size: 0px; min-height: 1px; line-height: 0; margin: 16px 0px 16px 14px;\"/>\n"
|
||||
" </td></tr>\n"
|
||||
" </table>\n"
|
||||
" % for kpi in kpis:\n"
|
||||
" <table style=\"border-spacing: 0; width: 100%; max-width: 600px;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; background-color: #ffffff; border-left: 1px solid #e7e7e7; border-right: 1px solid #e7e7e7; line-height: 21px; padding: 0 20px 10px 20px; text-align: left;\"><br/>\n"
|
||||
" <span style=\"color: #3d466e; font-size: 18px; font-weight: 500; line-height: 23px;\">${object.fields_get()[kpi]['string']}</span>\n"
|
||||
" %if kpi in kpi_actions:\n"
|
||||
" <span style=\"float: right;\">\n"
|
||||
" <a href=\"/web#action=${kpi_actions[kpi]}\">View more</a>\n"
|
||||
" </span>\n"
|
||||
" %endif\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; margin: 0; padding:0;\">\n"
|
||||
" <table style=\"width: 100%; border-spacing: 0; background-color: #f9f9f9; border: 1px solid #e7e7e7; border-top: none;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; margin: 0; padding: 0; display: block; border-top: 2px solid #56b3b5;\">\n"
|
||||
" <table style=\"width: 100%; max-width: 199px; border-spacing: 0;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; padding: 20px; text-align: center;\">\n"
|
||||
" <span style=\"color: #56b3b5; font-size: 35px; font-weight: bold; text-decoration: none; line-height: 36px;\">${data['yesterday'][kpi][kpi]}</span><br/>\n"
|
||||
" <span style=\"color: #888888; display: inline-block; font-size: 12px; line-height: 18px; text-transform: uppercase;\">Yesterday</span>\n"
|
||||
" % if data['yesterday'][kpi]['margin'] != 0.0:\n"
|
||||
" <span style=\"color: #888888; display: block; font-size: 12px; line-height: 18px; text-transform: uppercase;\">\n"
|
||||
" % if data['yesterday'][kpi]['margin'] > 0.0:\n"
|
||||
" <span style=\"color: #0bbc22;\">▲</span>${\"%.2f\" % data['yesterday'][kpi]['margin']} %\n"
|
||||
" % endif\n"
|
||||
" % if data['yesterday'][kpi]['margin'] < 0.0:\n"
|
||||
" <span style=\"color: #ff0000;\">▼</span>${\"%.2f\" % data['yesterday'][kpi]['margin']} %\n"
|
||||
" % endif\n"
|
||||
" </span>\n"
|
||||
" % endif\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" </td>\n"
|
||||
" <td style=\"border-collapse: collapse; margin: 0; padding: 0; border-top: 2px solid #9a5b82;\">\n"
|
||||
" <table style=\"width: 100%; max-width: 199px; border-spacing: 0; margin: 0; padding: 0;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; padding: 20px; text-align: center;\">\n"
|
||||
" <span style=\"color: #9a5b82; font-size: 35px; font-weight: bold; text-decoration: none; line-height: 36px;\">${data['lastweek'][kpi][kpi]}</span><br/>\n"
|
||||
" <span style=\"color: #888888; display: inline-block; font-size: 12px; line-height: 18px; text-transform: uppercase;\">Last 7 Days</span>\n"
|
||||
" % if data['lastweek'][kpi]['margin'] != 0.0:\n"
|
||||
" <span style=\"color: #888888; display: block; font-size: 12px; line-height: 18px; text-transform: uppercase;\">\n"
|
||||
" % if data['lastweek'][kpi]['margin'] > 0.0:\n"
|
||||
" <span style=\"color: #0bbc22;\">▲</span>${\"%.2f\" % data['lastweek'][kpi]['margin']} %\n"
|
||||
" % endif\n"
|
||||
" % if data['lastweek'][kpi]['margin'] < 0.0:\n"
|
||||
" <span style=\"color: #ff0000;\">▼</span>${\"%.2f\" % data['lastweek'][kpi]['margin']} %\n"
|
||||
" %endif\n"
|
||||
" </span>\n"
|
||||
" %endif\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" </td>\n"
|
||||
" <td style=\"border-collapse: collapse; margin: 0; padding: 0; border-top: 2px solid #56b3b5;\">\n"
|
||||
" <table style=\"width: 100%; max-width: 199px; border-spacing: 0; margin: 0; padding: 0;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; margin: 0; padding: 20; text-align: center;\">\n"
|
||||
" <span style=\"color: #56b3b5; font-size: 35px; font-weight: bold; text-decoration: none; line-height: 36px\">${data['lastmonth'][kpi][kpi]}</span><br/>\n"
|
||||
" <span style=\"color: #888888; display: inline-block; font-size: 12px; line-height: 18px; text-transform: uppercase;\">Last 30 Days</span>\n"
|
||||
" % if data['lastmonth'][kpi]['margin'] != 0.0:\n"
|
||||
" <span style=\"color: #888888; display: block; font-size: 12px; line-height: 18px; text-transform: uppercase;\">\n"
|
||||
" % if data['lastmonth'][kpi]['margin'] > 0.0:\n"
|
||||
" <span style=\"color: #0bbc22;\">▲</span>${\"%.2f\" % data['lastmonth'][kpi]['margin']} %\n"
|
||||
" % endif\n"
|
||||
" % if data['lastmonth'][kpi]['margin'] < 0.0:\n"
|
||||
" <span style=\"color: #ff0000;\">▼</span>${\"%.2f\" % data['lastmonth'][kpi]['margin']} %\n"
|
||||
" %endif\n"
|
||||
" </span>\n"
|
||||
" %endif\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" % endfor\n"
|
||||
" % if tips:\n"
|
||||
" <table style=\"width: 100%; max-width: 600px; margin-top: 5px; border: 1px solid #e7e7e7;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; background-color: #ffffff; line-height: 21px; padding: 0px 20px;\"><br/>\n"
|
||||
" <div style=\"color: #3d466e; line-height: 23px;\">${ctx['tip_description']|safe}</div>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" % endif\n"
|
||||
" <table style=\"width: 100%; max-width: 600px; margin-top: 5px; border: 1px solid #e7e7e7;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; background-color: #ffffff; line-height: 21px; padding: 0 20px 10px 20px; text-align: center;\"><br/>\n"
|
||||
" <div style=\"color: #3d466e; font-size: 16px; font-weight: 600; line-height: 23px;\">Run your bussiness from anywhere with Odoo Mobile.</div>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" <tr>\n"
|
||||
" <td>\n"
|
||||
" <div style=\"text-align: center;\"><a href=\"https://play.google.com/store/apps/details?id=com.odoo.mobile\" target=\"_blank\"><img src=\"/digest/static/src/img/google_play.png\" style=\"display: inline-block; height: 30px; margin-left: auto; margin-right: 12px;\"/></a><a href=\"https://itunes.apple.com/us/app/odoo/id1272543640\" target=\"_blank\"><img src=\"/digest/static/src/img/app_store.png\" style=\"display: inline-block; height: 30px; margin-left: 12px; margin-right: auto;\"/></a>\n"
|
||||
" </div>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" <table style=\"margin-top: 5px; border: 1px solid #e7e7e7; font-size: 15px; width: 100%; max-width: 600px;\">\n"
|
||||
" <tr>\n"
|
||||
" <td style=\"border-collapse: collapse; margin: 0; padding: 10px 20px;\">\n"
|
||||
" % if ctx['user'].has_group('base.group_system'): \n"
|
||||
" <div style=\"margin-top: 20px;\"> \n"
|
||||
" Want to customize the email?\n"
|
||||
" <a href=\"/web#view_type=form&model=digest.digest&id=${object.id}\" target=\"_blank\" style=\"color: #875A7B;\">Choose the metrics you care about</a>\n"
|
||||
" </div>\n"
|
||||
" <br />\n"
|
||||
" % endif\n"
|
||||
" <p style=\"font-size: 11px; margin-top: 10px;\">\n"
|
||||
" <strong>\n"
|
||||
" Send by\n"
|
||||
" <a href=\"https://www.odoo.com\" style=\"text-decoration: none; color: #875A7B;\">Odoo</a> - <a href=\"/web#view_type=form&model=digest.digest&id=${object.id}\" target=\"_blank\" style=\"color: #888888;\">Unsubscribe</a>\n"
|
||||
" </strong>\n"
|
||||
" </p>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
" </table>\n"
|
||||
" </td>\n"
|
||||
" </tr>\n"
|
||||
"</table>"
|
||||
msgstr "/dms/static/lib/img/banner/documents_onboarding_file.png"
|
||||
|
||||
#. module: dms
|
||||
#: model_terms:ir.ui.view,arch_db:dms.view_dms_file_kanban
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue