Skip to content

Commit

Permalink
[UPD] Update hr_holidays_summary_email.pot
Browse files Browse the repository at this point in the history
  • Loading branch information
oca-ci committed Sep 10, 2024
1 parent d88e9d4 commit 7f8222b
Showing 1 changed file with 40 additions and 58 deletions.
98 changes: 40 additions & 58 deletions hr_holidays_summary_email/i18n/hr_holidays_summary_email.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -17,28 +17,28 @@ msgstr ""
#: model:mail.template,body_html:hr_holidays_summary_email.hr_holidays_summary_mail_template_weekly
msgid ""
"<div style=\"margin: 0px; padding: 0px;\">\n"
" <p>Dear ${object.name},</p>\n"
" <br/>\n"
" <p>Dear <t t-out=\"object.name\"></t>,</p>\n"
" <br>\n"
" <p>This is the leaves summary for this week:</p>\n"
" <br/>\n"
" <br>\n"
" <table style=\"border-spacing: 0; border-collapse: collapse; width: 100%; text-align: center;\">\n"
" <tr>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">Employee</th>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">Time Off</th>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">From</th>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">To</th>\n"
" </tr>\n"
" % set timeoffs = ctx.get('time_offs', False)\n"
" % for data in timeoffs\n"
" % set d_from = data.format_hr_leave_summary_date()\n"
" % set d_to = data.format_hr_leave_summary_date(False)\n"
" <tr>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${data.employee_id.name}</td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${data.name or ''}</td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${d_from}</td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${d_to}</td>\n"
" </tr>\n"
" % endfor\n"
" <t t-set=\"timeoffs\" t-value=\"ctx.get('time_offs', [])\"></t>\n"
" <t t-foreach=\"timeoffs\" t-as=\"data\">\n"
" <t t-set=\"d_from\" t-value=\"data.format_hr_leave_summary_date()\"></t>\n"
" <t t-set=\"d_to\" t-value=\"data.format_hr_leave_summary_date(False)\"></t>\n"
" <tr>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"data.employee_id.name\"></t></td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"data.name or ''\"></t></td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"d_from\"></t></td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"d_to\"></t></td>\n"
" </tr>\n"
" </t>\n"
" </table>\n"
" </div>\n"
" "
Expand All @@ -48,28 +48,28 @@ msgstr ""
#: model:mail.template,body_html:hr_holidays_summary_email.hr_holidays_summary_mail_template_daily
msgid ""
"<div style=\"margin: 0px; padding: 0px;\">\n"
" <p>Dear ${object.name},</p>\n"
" <br/>\n"
" <p>Dear <t t-out=\"object.name\"></t>,</p>\n"
" <br>\n"
" <p>This is today's leave summary:</p>\n"
" <br/>\n"
" <br>\n"
" <table style=\"border-spacing: 0; border-collapse: collapse; width: 100%; text-align: center;\">\n"
" <tr>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">Employee</th>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">Time Off</th>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">From</th>\n"
" <th style=\"padding: 5px; border: 1px solid black;\">To</th>\n"
" </tr>\n"
" % set timeoffs = ctx.get('time_offs', False)\n"
" % for data in timeoffs\n"
" % set d_from = data.format_hr_leave_summary_date()\n"
" % set d_to = data.format_hr_leave_summary_date(False)\n"
" <tr>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${data.employee_id.name}</td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${data.name or ''}</td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${d_from}</td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\">${d_to}</td>\n"
" </tr>\n"
" % endfor\n"
" <t t-set=\"timeoffs\" t-value=\"ctx.get('time_offs', [])\"></t>\n"
" <t t-foreach=\"timeoffs\" t-as=\"data\">\n"
" <t t-set=\"d_from\" t-value=\"data.format_hr_leave_summary_date()\"></t>\n"
" <t t-set=\"d_to\" t-value=\"data.format_hr_leave_summary_date(False)\"></t>\n"
" <tr>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"data.employee_id.name\"></t></td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"data.name or ''\"></t></td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"d_from\"></t></td>\n"
" <td style=\"padding: 5px; border: 1px solid black;\"><t t-out=\"d_to\"></t></td>\n"
" </tr>\n"
" </t>\n"
" </table>\n"
" </div>\n"
" "
Expand Down Expand Up @@ -112,45 +112,18 @@ msgstr ""
msgid "Day of week when the weekly leaves summary is sent."
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee_base__display_name
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_leave__display_name
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_company__display_name
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_config_settings__display_name
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_users__display_name
msgid "Display Name"
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields.selection,name:hr_holidays_summary_email.selection__res_company__hr_holidays_summary_weekly_dow__4
msgid "Friday"
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee_base__id
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_leave__id
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_company__id
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_config_settings__id
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_users__id
msgid "ID"
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee__last_hr_leave_summary_sent
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee_base__last_hr_leave_summary_sent
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee_public__last_hr_leave_summary_sent
msgid "Last Leave Summary Email Sent"
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee_base____last_update
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_leave____last_update
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_company____last_update
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_config_settings____last_update
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_res_users____last_update
msgid "Last Modified on"
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee__hr_leave_summary_type
#: model:ir.model.fields,field_description:hr_holidays_summary_email.field_hr_employee_base__hr_leave_summary_type
Expand All @@ -168,10 +141,19 @@ msgstr ""
#. module: hr_holidays_summary_email
#: model:ir.actions.server,name:hr_holidays_summary_email.ir_cron_hr_holidays_summary_email_ir_actions_server
#: model:ir.cron,cron_name:hr_holidays_summary_email.ir_cron_hr_holidays_summary_email
#: model:ir.cron,name:hr_holidays_summary_email.ir_cron_hr_holidays_summary_email
msgid "Leaves Summary Email"
msgstr ""

#. module: hr_holidays_summary_email
#: model:mail.template,name:hr_holidays_summary_email.hr_holidays_summary_mail_template_daily
msgid "Leaves Summary: Daily"
msgstr ""

#. module: hr_holidays_summary_email
#: model:mail.template,name:hr_holidays_summary_email.hr_holidays_summary_mail_template_weekly
msgid "Leaves Summary: Weekly"
msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model.fields.selection,name:hr_holidays_summary_email.selection__res_company__hr_holidays_summary_weekly_dow__0
msgid "Monday"
Expand Down Expand Up @@ -216,7 +198,7 @@ msgstr ""

#. module: hr_holidays_summary_email
#: model:ir.model,name:hr_holidays_summary_email.model_res_users
msgid "Users"
msgid "User"
msgstr ""

#. module: hr_holidays_summary_email
Expand Down

0 comments on commit 7f8222b

Please sign in to comment.