Browse Source

[ADD] b_shift : traductions

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
e7b43a65d5
  1. 182
      beesdoo_shift/i18n/fr.po
  2. 184
      beesdoo_shift/i18n/fr_BE.po
  3. 275
      beesdoo_shift/i18n/nl_BE.po
  4. 6
      beesdoo_shift/models/attendance_sheet.py
  5. 4
      beesdoo_shift/models/task.py

182
beesdoo_shift/i18n/fr.po

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-21 13:18+0000\n"
"PO-Revision-Date: 2020-01-21 13:18+0000\n"
"POT-Creation-Date: 2020-01-23 13:26+0000\n"
"PO-Revision-Date: 2020-01-23 13:26+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -28,114 +28,126 @@ msgstr "\n"
#. module: beesdoo_shift
#: model:mail.template,body_html:beesdoo_shift.email_template_non_attendance
msgid "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" % if object.replaced_id:\n"
" <p>Hello ${object.replaced_id.name},</p>\n"
" % if object.replaced_id:\n"
" <p style=\"margin:0px 0px 10px 0px;\">Hello ${object.replaced_id.name},\n"
"\n"
" <p>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/> You were supposed to replace ${object.worker_id.name}. <br/><br/>\n"
" % endif\n"
" <br><br>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}),\n"
" and you were supposed to replace ${object.worker_id.name}.\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.worker_id:\n"
" <p>Hello ${object.worker_id.name},</p>\n"
" % if not object.replaced_id:\n"
" </p><p style=\"margin:0px 0px 10px 0px;\">Hello ${object.worker_id.name},</p>\n"
"\n"
" <p>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/>\n"
" % endif\n"
" <p style=\"margin:0px 0px 10px 0px;\">You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.state == 'absent_0':\n"
" Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" Super-cooperator assigned you 1 compensation, so you have to attend another shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" Super-cooperator assigned you 2 compensations, so you have to attend 2 anothers shifts.\n"
" % endif\n"
" % if object.worker_id.working_mode == 'regular':\n"
" % if object.state == 'absent_0':\n"
" <br><br>Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" <br><br>Super-cooperator assigned you 1 compensation, so you have to attend one additionnal shift before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" <br><br>Super-cooperator assigned you 2 compensations, so you have to attend two additionnal shifts before your next regular shift.\n"
" % endif\n"
" % endif\n"
"\n"
" <br/><br/>Your status have been updated to \"${object.worker_id.state}\".\n"
" <br/><br/>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br/>\n"
" <p>Cooperatively yours,<br/>\n"
" The Members' office volunteers</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
" % if object.worker_id.working_mode == 'irregular':\n"
" Your shift counter is ${object.worker_id.cooperative_status_ids.sr}.\n"
" You should be at a minimum of 0 before the ${object.worker_id.cooperative_status_ids.future_alert_date}.\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
" <br>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br>\n"
" <p style=\"margin:0px 0px 10px 0px;\">Cooperatively yours,<br>\n"
" The Members' office volunteers</p>\n"
" <p style=\"margin:0px 0px 10px 0px;\">${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=${object.worker_id.company_id.logo_url}>\n"
" </div>\n"
" %endif\n"
"</div>\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\" style=\"text-decoration-thickness:auto;text-decoration-color:currentcolor;text-decoration-style:solid;text-decoration-line:none;color:rgb(51, 122, 183);background-color:transparent;\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=\"${object.worker_id.company_id.logo_url}\" style=\"vertical-align:middle;border-image-width:1;border-image-source:none;border-image-slice:100%;border-image-repeat:stretch;border-image-outset:0;border-left-width:0px;border-left-style:none;border-left-color:currentcolor;border-bottom-width:0px;border-bottom-style:none;border-bottom-color:currentcolor;border-right-width:0px;border-right-style:none;border-right-color:currentcolor;border-top-width:0px;border-top-style:none;border-top-color:currentcolor;\">\n"
" </div>\n"
" %endif\n"
" </div>\n"
" "
msgstr "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
msgstr "<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" % if object.replaced_id:\n"
" <p>Bonjour ${object.replaced_id.name},</p>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Bonjour ${object.replaced_id.name},\n"
"\n"
" <p>Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/> Tu devais remplacer ${object.worker_id.name}. <br/><br/>\n"
" <br><br>Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}), et tu devais remplacer ${object.worker_id.name}.\n"
" <br><br>Ton statut est désormais \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.worker_id:\n"
" <p>Bonjour ${object.worker_id.name},</p>\n"
" % if not object.replaced_id:\n"
" </p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Bonjour ${object.worker_id.name},</p>\n"
"\n"
" <p>Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br><br>Ton statut est désormais \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.state == 'absent_0':\n"
" Ton/ta supercoop t'a attribué 0 compensation, tu n'auras donc pas de shift à rattraper.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" Ton/ta supercoop t'a attribué 1 compensation, tu dois donc faire un shift avant ton prochain shift régulier.\n"
" % if object.worker_id.working_mode == 'regular':\n"
" % if object.state == 'absent_0':\n"
" <br><br>Ton/ta supercoop t'a attribué 0 compensation, tu n'as donc pas de shifts à réaliser avant ton prochain shift régulier.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" <br><br>Ton/ta supercoop t'a attribué 1 compensation, tu dois donc faire un shift avant ton prochain shift régulier.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" <br><br>Ton/ta supercoop t'a attribué 2 compensations, tu dois donc faire deux shifts avant ton prochain shift régulier.\n"
" % endif\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" Ton/ta supercoop t'a attribué 2 compensations, tu dois donc faire deux shifts avant ton prochain shift régulier. \n"
"\n"
" % if object.worker_id.working_mode == 'irregular':\n"
" Ton compteur de shifts vaut ${object.worker_id.cooperative_status_ids.sr}.\n"
" Il doit au minimum être à 0 avant le ${object.worker_id.cooperative_status_ids.future_alert_date}.\n"
" % endif\n"
"\n"
" <br/><br/>Ton statut est maintenant \"${object.worker_id.state}\".\n"
" <br/><br/>Si tu as une question à propos de cette absence, réponds à cet e-mail.\n"
" <br>Si tu as une question à propos de cette absence, réponds à cet e-mail.\n"
" </p>\n"
" <br/>\n"
" <p>Coopérativement,<br/>\n"
" Les bénévoles du Bureau des Membres</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
" <br>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Coopérativement,<br>\n"
" Les bénévoles du Bureau des Membres</p>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br/>\n"
" ${object.worker_id.company_id.street2}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br/>\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br/>\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
@ -2356,8 +2368,8 @@ msgstr "Vous ne pouvez pas encoder d'exemption temporaire tant que la précéden
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:325
#, python-format
msgid "You cannot modify a validated attendance sheet."
msgstr "Vous ne pouvez pas modifier une feuille de présence validée."
msgid "A validated attendance sheet can't be modified"
msgstr "Vous ne pouvez pas modifier une feuille de présence validée"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/wizard/subscribe.py:15
@ -2368,7 +2380,7 @@ msgstr "Vous ne pouvez réaliser cette opération sur vous-même."
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/task.py:89
#, python-format
msgid "You cannot set shift state to 'present' or 'absent' for a future shift."
msgid "Shift state of a future shift can't be set to 'present' or 'absent'."
msgstr "Vous ne pouvez inscrire un shift futur comme 'present' ou 'absent'."
#. module: beesdoo_shift
@ -2386,13 +2398,13 @@ msgstr "Vous n'avez pas les accès nécessaires pour effectuer cette opération.
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:103
#, python-format
msgid "You must choose a compensation number."
msgid "A compensation number is required"
msgstr "Vous devez choisir un nombre de compensations"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:546
#, python-format
msgid "You must wait for the shifts to begin to validate sheet."
msgid "Attendance sheet can only be validated once the shifts have started."
msgstr "Vous devez attendre que le créneau ait débuté pour valider la feuille de présence."
#. module: beesdoo_shift

184
beesdoo_shift/i18n/fr_BE.po

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-21 13:18+0000\n"
"PO-Revision-Date: 2020-01-21 13:18+0000\n"
"POT-Creation-Date: 2020-01-23 13:26+0000\n"
"PO-Revision-Date: 2020-01-23 13:26+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -28,114 +28,126 @@ msgstr "\n"
#. module: beesdoo_shift
#: model:mail.template,body_html:beesdoo_shift.email_template_non_attendance
msgid "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" % if object.replaced_id:\n"
" <p>Hello ${object.replaced_id.name},</p>\n"
" % if object.replaced_id:\n"
" <p style=\"margin:0px 0px 10px 0px;\">Hello ${object.replaced_id.name},\n"
"\n"
" <p>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/> You were supposed to replace ${object.worker_id.name}. <br/><br/>\n"
" % endif\n"
" <br><br>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}),\n"
" and you were supposed to replace ${object.worker_id.name}.\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.worker_id:\n"
" <p>Hello ${object.worker_id.name},</p>\n"
" % if not object.replaced_id:\n"
" </p><p style=\"margin:0px 0px 10px 0px;\">Hello ${object.worker_id.name},</p>\n"
"\n"
" <p>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/>\n"
" % endif\n"
" <p style=\"margin:0px 0px 10px 0px;\">You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.state == 'absent_0':\n"
" Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" Super-cooperator assigned you 1 compensation, so you have to attend another shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" Super-cooperator assigned you 2 compensations, so you have to attend 2 anothers shifts.\n"
" % endif\n"
" % if object.worker_id.working_mode == 'regular':\n"
" % if object.state == 'absent_0':\n"
" <br><br>Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" <br><br>Super-cooperator assigned you 1 compensation, so you have to attend one additionnal shift before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" <br><br>Super-cooperator assigned you 2 compensations, so you have to attend two additionnal shifts before your next regular shift.\n"
" % endif\n"
" % endif\n"
"\n"
" <br/><br/>Your status have been updated to \"${object.worker_id.state}\".\n"
" <br/><br/>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br/>\n"
" <p>Cooperatively yours,<br/>\n"
" The Members' office volunteers</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
" % if object.worker_id.working_mode == 'irregular':\n"
" Your shift counter is ${object.worker_id.cooperative_status_ids.sr}.\n"
" You should be at a minimum of 0 before the ${object.worker_id.cooperative_status_ids.future_alert_date}.\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
" <br>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br>\n"
" <p style=\"margin:0px 0px 10px 0px;\">Cooperatively yours,<br>\n"
" The Members' office volunteers</p>\n"
" <p style=\"margin:0px 0px 10px 0px;\">${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=${object.worker_id.company_id.logo_url}>\n"
" </div>\n"
" %endif\n"
"</div>\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\" style=\"text-decoration-thickness:auto;text-decoration-color:currentcolor;text-decoration-style:solid;text-decoration-line:none;color:rgb(51, 122, 183);background-color:transparent;\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=\"${object.worker_id.company_id.logo_url}\" style=\"vertical-align:middle;border-image-width:1;border-image-source:none;border-image-slice:100%;border-image-repeat:stretch;border-image-outset:0;border-left-width:0px;border-left-style:none;border-left-color:currentcolor;border-bottom-width:0px;border-bottom-style:none;border-bottom-color:currentcolor;border-right-width:0px;border-right-style:none;border-right-color:currentcolor;border-top-width:0px;border-top-style:none;border-top-color:currentcolor;\">\n"
" </div>\n"
" %endif\n"
" </div>\n"
" "
msgstr "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
msgstr "<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" % if object.replaced_id:\n"
" <p>Bonjour ${object.replaced_id.name},</p>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Bonjour ${object.replaced_id.name},\n"
"\n"
" <p>Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/> Tu devais remplacer ${object.worker_id.name}. <br/><br/>\n"
" <br><br>Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}), et tu devais remplacer ${object.worker_id.name}.\n"
" <br><br>Ton statut est désormais \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.worker_id:\n"
" <p>Bonjour ${object.worker_id.name},</p>\n"
" % if not object.replaced_id:\n"
" </p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Bonjour ${object.worker_id.name},</p>\n"
"\n"
" <p>Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Tu as été encodé(e) comme absent(e) à ton dernier shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br><br>Ton statut est désormais \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.state == 'absent_0':\n"
" Ton/ta supercoop t'a attribué 0 compensation, tu n'auras donc pas de shift à rattraper.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" Ton/ta supercoop t'a attribué 1 compensation, tu dois donc faire un shift avant ton prochain shift régulier.\n"
" % if object.worker_id.working_mode == 'regular':\n"
" % if object.state == 'absent_0':\n"
" <br><br>Ton/ta supercoop t'a attribué 0 compensation, tu n'as donc pas de shifts à réaliser avant ton prochain shift régulier.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" <br><br>Ton/ta supercoop t'a attribué 1 compensation, tu dois donc faire un shift avant ton prochain shift régulier.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" <br><br>Ton/ta supercoop t'a attribué 2 compensations, tu dois donc faire deux shifts avant ton prochain shift régulier.\n"
" % endif\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" Ton/ta supercoop t'a attribué 2 compensations, tu dois donc faire deux shifts avant ton prochain shift régulier. \n"
"\n"
" % if object.worker_id.working_mode == 'irregular':\n"
" Ton compteur de shifts vaut ${object.worker_id.cooperative_status_ids.sr}.\n"
" Il doit au minimum être à 0 avant le ${object.worker_id.cooperative_status_ids.future_alert_date}.\n"
" % endif\n"
"\n"
" <br/><br/>Ton statut est maintenant \"${object.worker_id.state}\".\n"
" <br/><br/>Si tu as une question à propos de cette absence, réponds à cet e-mail.\n"
" <br>Si tu as une question à propos de cette absence, réponds à cet e-mail.\n"
" </p>\n"
" <br/>\n"
" <p>Coopérativement,<br/>\n"
" Les bénévoles du Bureau des Membres</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
" <br>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">Coopérativement,<br>\n"
" Les bénévoles du Bureau des Membres</p>\n"
" <p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:&quot;Lucida Grande&quot;, Helvetica, Verdana, Arial, sans-serif;\">${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br/>\n"
" ${object.worker_id.company_id.street2}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br/>\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br/>\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
@ -1602,7 +1614,7 @@ msgstr "Veuillez entrer votre login."
#: code:addons/beesdoo_shift/models/attendance_sheet.py:590
#, python-format
msgid "Please give your feedback about the number of workers."
msgstr "L'équipe était-elle assez nombreuse ?"
msgstr "Veuillez remplir votre retour concernant le nombre de travailleurs."
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/wizard/validate_attendance_sheet.py:94
@ -2356,8 +2368,8 @@ msgstr "Vous ne pouvez pas encoder d'exemption temporaire tant que la précéden
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:325
#, python-format
msgid "You cannot modify a validated attendance sheet."
msgstr "Vous ne pouvez pas modifier une feuille de présence validée."
msgid "A validated attendance sheet can't be modified"
msgstr "Vous ne pouvez pas modifier une feuille de présence validée"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/wizard/subscribe.py:15
@ -2368,7 +2380,7 @@ msgstr "Vous ne pouvez réaliser cette opération sur vous-même."
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/task.py:89
#, python-format
msgid "You cannot set shift state to 'present' or 'absent' for a future shift."
msgid "Shift state of a future shift can't be set to 'present' or 'absent'."
msgstr "Vous ne pouvez inscrire un shift futur comme 'present' ou 'absent'."
#. module: beesdoo_shift
@ -2386,13 +2398,13 @@ msgstr "Vous n'avez pas les accès nécessaires pour effectuer cette opération.
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:103
#, python-format
msgid "You must choose a compensation number."
msgid "A compensation number is required"
msgstr "Vous devez choisir un nombre de compensations"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:546
#, python-format
msgid "You must wait for the shifts to begin to validate sheet."
msgid "Attendance sheet can only be validated once the shifts have started."
msgstr "Vous devez attendre que le créneau ait débuté pour valider la feuille de présence."
#. module: beesdoo_shift

275
beesdoo_shift/i18n/nl_BE.po

@ -28,131 +28,144 @@ msgstr "\n"
#. module: beesdoo_shift
#: model:mail.template,body_html:beesdoo_shift.email_template_non_attendance
msgid "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" % if object.replaced_id:\n"
" <p>Hello ${object.replaced_id.name},</p>\n"
" % if object.replaced_id:\n"
" <p style=\"margin:0px 0px 10px 0px;\">Hello ${object.replaced_id.name},\n"
"\n"
" <p>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/> You were supposed to replace ${object.worker_id.name}. <br/><br/>\n"
" % endif\n"
" <br><br>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}),\n"
" and you were supposed to replace ${object.worker_id.name}.\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.worker_id:\n"
" <p>Hello ${object.worker_id.name},</p>\n"
" % if not object.replaced_id:\n"
" </p><p style=\"margin:0px 0px 10px 0px;\">Hello ${object.worker_id.name},</p>\n"
"\n"
" <p>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/>\n"
" % endif\n"
" <p style=\"margin:0px 0px 10px 0px;\">You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.state == 'absent_0':\n"
" Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" Super-cooperator assigned you 1 compensation, so you have to attend another shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" Super-cooperator assigned you 2 compensations, so you have to attend 2 anothers shifts.\n"
" % endif\n"
" % if object.worker_id.working_mode == 'regular':\n"
" % if object.state == 'absent_0':\n"
" <br><br>Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" <br><br>Super-cooperator assigned you 1 compensation, so you have to attend one additionnal shift before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" <br><br>Super-cooperator assigned you 2 compensations, so you have to attend two additionnal shifts before your next regular shift.\n"
" % endif\n"
" % endif\n"
"\n"
" <br/><br/>Your status have been updated to \"${object.worker_id.state}\".\n"
" <br/><br/>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br/>\n"
" <p>Cooperatively yours,<br/>\n"
" The Members' office volunteers</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
" % if object.worker_id.working_mode == 'irregular':\n"
" Your shift counter is ${object.worker_id.cooperative_status_ids.sr}.\n"
" You should be at a minimum of 0 before the ${object.worker_id.cooperative_status_ids.future_alert_date}.\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
" <br>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br>\n"
" <p style=\"margin:0px 0px 10px 0px;\">Cooperatively yours,<br>\n"
" The Members' office volunteers</p>\n"
" <p style=\"margin:0px 0px 10px 0px;\">${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=${object.worker_id.company_id.logo_url}>\n"
" </div>\n"
" %endif\n"
"</div>\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\" style=\"text-decoration-thickness:auto;text-decoration-color:currentcolor;text-decoration-style:solid;text-decoration-line:none;color:rgb(51, 122, 183);background-color:transparent;\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=\"${object.worker_id.company_id.logo_url}\" style=\"vertical-align:middle;border-image-width:1;border-image-source:none;border-image-slice:100%;border-image-repeat:stretch;border-image-outset:0;border-left-width:0px;border-left-style:none;border-left-color:currentcolor;border-bottom-width:0px;border-bottom-style:none;border-bottom-color:currentcolor;border-right-width:0px;border-right-style:none;border-right-color:currentcolor;border-top-width:0px;border-top-style:none;border-top-color:currentcolor;\">\n"
" </div>\n"
" %endif\n"
" </div>\n"
" "
msgstr "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" % if object.replaced_id:\n"
" <p>Hallo ${object.replaced_id.name},</p>\n"
" % if object.replaced_id:\n"
" <p style=\"margin:0px 0px 10px 0px;\">Hello ${object.replaced_id.name},\n"
"\n"
" <p>Je bent gecodeerd als afwezig bij uw laatste shift(${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/> Je had ${object.worker_id.name} moeten vervangen.<br/><br/>\n"
" % endif\n"
" <br><br>You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.replaced_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}),\n"
" and you were supposed to replace ${object.worker_id.name}.\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.worker_id:\n"
" <p>Hallo ${object.worker_id.name},</p>\n"
" % if not object.replaced_id:\n"
" </p><p style=\"margin:0px 0px 10px 0px;\">Hello ${object.worker_id.name},</p>\n"
"\n"
" <p>Je bent gecodeerd als afwezig bij uw laatste shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br/><br/>\n"
" % endif\n"
" <p style=\"margin:0px 0px 10px 0px;\">You have been recorded as non-attended during your last shift (${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y - %H:%M')}).\n"
" <br><br>Your current status is \"${object.worker_id.cooperative_status_ids.get_status_value()}\".\n"
" % endif\n"
"\n"
" % if object.state == 'absent_0':\n"
" Je supercoop gaf je 0 compensation. Je moet dus nul shift komen doen voor je volgende regelmatige shift. .\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" Je supercoop gaf je 1 compensation. Je moet dus een shift komen doen voor je volgende regelmatige shift. .\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" Je supercoop gaf je 2 compensations. Je moet dus twee shift komen doen voor je volgende regelmatige shift. .\n"
" % endif\n"
" % if object.worker_id.working_mode == 'regular':\n"
" % if object.state == 'absent_0':\n"
" <br><br>Super-cooperator assigned you 0 compensation, so you won't have any additionnal shift to do before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_1':\n"
" <br><br>Super-cooperator assigned you 1 compensation, so you have to attend one additionnal shift before your next regular shift.\n"
" % endif\n"
" % if object.state == 'absent_2':\n"
" <br><br>Super-cooperator assigned you 2 compensations, so you have to attend two additionnal shifts before your next regular shift.\n"
" % endif\n"
" % endif\n"
"\n"
" <br/><br/>
Jow status is nu \"${object.worker_id.state}\".\n"
" <br/><br/>Als je een vraag hebt over deze afwezigheid, beantwoord dan deze e-mail.\n"
" </p>\n"
" <br/>\n"
" <p>Met coöperatieve groeten,<br/>\n"
" De vrijwilligers van het Ledenbureau</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
" % if object.worker_id.working_mode == 'irregular':\n"
" Your shift counter is ${object.worker_id.cooperative_status_ids.sr}.\n"
" You should be at a minimum of 0 before the ${object.worker_id.cooperative_status_ids.future_alert_date}.\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br/>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
" <br>If you have any question regarding this non-attendance, just answer this e-mail.\n"
" </p>\n"
" <br>\n"
" <p style=\"margin:0px 0px 10px 0px;\">Cooperatively yours,<br>\n"
" The Members' office volunteers</p>\n"
" <p style=\"margin:0px 0px 10px 0px;\">${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=${object.worker_id.company_id.logo_url}>\n"
" </div>\n"
" %endif\n"
"</div>\n"
" % if object.worker_id.company_id.street:\n"
" ${object.worker_id.company_id.street}\n"
" % endif\n"
" % if object.worker_id.company_id.street2:\n"
" ${object.worker_id.company_id.street2}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.city or object.worker_id.company_id.zip:\n"
" ${object.worker_id.company_id.zip} ${object.worker_id.company_id.city}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.country_id:\n"
" ${object.worker_id.company_id.state_id and ('%s, ' % object.worker_id.company_id.state_id.name) or ''} ${object.worker_id.company_id.country_id.name or ''}<br>\n"
" % endif\n"
" % if object.worker_id.company_id.phone:\n"
" Phone:&nbsp; ${object.worker_id.company_id.phone}\n"
" % endif\n"
"\n"
" % if object.worker_id.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a href=\"${object.worker_id.company_id.website}\" style=\"text-decoration-thickness:auto;text-decoration-color:currentcolor;text-decoration-style:solid;text-decoration-line:none;color:rgb(51, 122, 183);background-color:transparent;\">${object.worker_id.company_id.website}</a>\n"
" </div>\n"
" %endif\n"
" % if object.worker_id.company_id.logo_url:\n"
" <div>\n"
" <img src=\"${object.worker_id.company_id.logo_url}\" style=\"vertical-align:middle;border-image-width:1;border-image-source:none;border-image-slice:100%;border-image-repeat:stretch;border-image-outset:0;border-left-width:0px;border-left-style:none;border-left-color:currentcolor;border-bottom-width:0px;border-bottom-style:none;border-bottom-color:currentcolor;border-right-width:0px;border-right-style:none;border-right-color:currentcolor;border-top-width:0px;border-top-style:none;border-top-color:currentcolor;\">\n"
" </div>\n"
" %endif\n"
" </div>\n"
" "
#. module: beesdoo_shift
@ -225,15 +238,15 @@ msgid "\n"
msgstr "\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
"\n"
" <p>Hello ${object.worker_id.name},</p>\n"
" <p>Dag ${object.worker_id.name},</p>\n"
"\n"
" <p>You are awaited the ${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y')}\n"
" for the shift starting at ${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%H:%M')}.\n"
" <p>U wordt verwacht op ${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%d.%m.%Y')}\n"
" voor de shift die aanvangt om ${format_tz(object.start_time,object.worker_id.tz or 'Europe/Brussels','%H:%M')}.\n"
"\n"
" <br/><br/>Please contact us at ${object.worker_id.company_id.email} if you have any trouble attending the shift.\n"
" <br/><br/>Gelieve ons te contacteren op ${object.worker_id.company_id.email} moest u op deze shift niet aanwezig kunnen zijn.\n"
" </p>\n"
" <br/>\n"
" <p>Sustainably yours,</p>\n"
" <p>Coöperatieve groeten,,</p>\n"
" <p>${object.worker_id.company_id.name}.</p>\n"
"\n"
" % if object.worker_id.company_id.street:\n"
@ -597,19 +610,19 @@ msgstr "Opmerkingen over jouw shift"
#: code:addons/beesdoo_shift/models/attendance_sheet.py:582
#, python-format
msgid "Compensation number is missing for %s"
msgstr "Compensation number is missing for %s"
msgstr "Een compensatie nummer is vereist (%s)"
#. module: beesdoo_shift
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_shift_is_compensation
msgid "Compensation shift"
msgstr "Compensation shift"
msgstr "Compensatie shift"
#. module: beesdoo_shift
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_sheet_added_is_compensation
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_sheet_expected_is_compensation
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_sheet_shift_is_compensation
msgid "Compensation shift ?"
msgstr "Compensation shift ?"
msgstr "Compensatie shift ?"
#. module: beesdoo_shift
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_sheet_expected_compensation_no
@ -832,7 +845,7 @@ msgstr "Standaard Soort taak"
#. module: beesdoo_shift
#: model:ir.model.fields,help:beesdoo_shift.field_beesdoo_shift_config_settings_default_task_type_id
msgid "Default task type for attendance sheet pre-filling"
msgstr "Default task type for attendance sheet pre-filling"
msgstr "Standaard soort taak toe te kennen bij voor-invullen van aanwezigheidslijst"
#. module: beesdoo_shift
#: model:ir.ui.view,arch_db:beesdoo_shift.task_template_view_kanban
@ -1690,7 +1703,7 @@ msgstr "Vervangingswerker"
#. module: beesdoo_shift
#: model:ir.model.fields,help:beesdoo_shift.field_beesdoo_shift_sheet_expected_replacement_worker_id
msgid "Replacement Worker (must be regular)"
msgstr "Replacement Worker (must be regular)"
msgstr "Vervangingswerker (regelmatig werkregime vereist)"
#. module: beesdoo_shift
#: model:ir.ui.view,arch_db:beesdoo_shift.task_shift_view_kanban
@ -1778,7 +1791,7 @@ msgstr "Shift Staat"
#: code:addons/beesdoo_shift/models/attendance_sheet.py:574
#, python-format
msgid "Shift State is missing for %s"
msgstr "Shift State is missing for %s"
msgstr "De shift status van %s ontbreekt"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:557
@ -2253,7 +2266,7 @@ msgstr "Vervangingswerker"
#. module: beesdoo_shift
#: model:ir.ui.view,arch_db:beesdoo_shift.task_template_view_kanban
msgid "Worker Number:"
msgstr "Worker Number:"
msgstr "Werker's nummer :"
#. module: beesdoo_shift
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_shift_worker_id
@ -2263,7 +2276,7 @@ msgstr "Werker id"
#. module: beesdoo_shift
#: model:ir.model.fields,field_description:beesdoo_shift.field_beesdoo_shift_template_worker_name
msgid "Worker name"
msgstr "Worker name"
msgstr "Werker's naam"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:553
@ -2280,7 +2293,7 @@ msgstr "Werknemernummer"
#: code:addons/beesdoo_shift/models/attendance_sheet.py:330
#, python-format
msgid "Worker not found (invalid barcode or status)."
msgstr "Worker not found (invalid barcode or status)."
msgstr "Werker niet gevonden (ongeldige barcode of status)."
#. module: beesdoo_shift
#: model:ir.ui.view,arch_db:beesdoo_shift.task_shift_view_kanban
@ -2306,13 +2319,13 @@ msgstr "Werkregime"
#: code:addons/beesdoo_shift/models/attendance_sheet.py:567
#, python-format
msgid "Working mode is missing for %s"
msgstr "Working mode is missing for %s"
msgstr "Werkregime van %s ontbreekt"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/task.py:266
#, python-format
msgid "Working mode is not properly defined. Please check if the worker is subscribed"
msgstr "Working mode is not properly defined. Please check if the worker is subscribed"
msgstr "Werkregime is niet correct gedefinieerd. Gelieve na te gaan of de werker geregistreerd en niet geblokkeerd is"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/cooperative_status.py:418
@ -2355,8 +2368,8 @@ msgstr "You cannot encode new temporary exemptuon since the previous one are not
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:325
#, python-format
msgid "You cannot modify a validated attendance sheet."
msgstr "You cannot modify a validated attendance sheet."
msgid "A validated attendance sheet can't be modified"
msgstr "Een gevalideerde aanwezigheidslijst kan niet bewerkt worden"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/wizard/subscribe.py:15
@ -2367,8 +2380,8 @@ msgstr "You cannot perform this operation on yourself"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/task.py:89
#, python-format
msgid "You cannot set shift state to 'present' or 'absent' for a future shift."
msgstr "You cannot set shift state to 'present' or 'absent' for a future shift."
msgid "Shift state of a future shift can't be set to 'present' or 'absent'."
msgstr "De shift status van een toekomstige shift kan niet op 'aanwezig' of 'afwezig' worden gezet."
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/cooperative_status.py:425
@ -2385,14 +2398,14 @@ msgstr "You don't have the required access for this operation."
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:103
#, python-format
msgid "You must choose a compensation number."
msgstr "You must choose a compensation number."
msgid "A compensation number is required"
msgstr "Een compensatie nummer is vereist"
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/models/attendance_sheet.py:546
#, python-format
msgid "You must wait for the shifts to begin to validate sheet."
msgstr "You must wait for the shifts to begin to validate sheet."
msgid "Attendance sheet can only be validated once the shifts have started."
msgstr "Aanwezigheidslijsten kunnen pas worden gevalideerd nadat de shifts begonnen zijn."
#. module: beesdoo_shift
#: code:addons/beesdoo_shift/wizard/extension.py:29

6
beesdoo_shift/models/attendance_sheet.py

@ -100,7 +100,7 @@ class AttendanceSheetShiftExpected(models.Model):
def _constrain_compensation_no(self):
if self.state == "absent":
if not self.compensation_no:
raise UserError(_("You must choose a compensation number."))
raise UserError(_("A compensation number is required"))
class AttendanceSheetShiftAdded(models.Model):
@ -322,7 +322,7 @@ class AttendanceSheet(models.Model):
def on_barcode_scanned(self, barcode):
if self.state == "validated":
raise UserError(
_("You cannot modify a validated attendance sheet.")
_("A validated attendance sheet can't be modified")
)
worker = self.env["res.partner"].search([("barcode", "=", barcode)])
@ -543,7 +543,7 @@ class AttendanceSheet(models.Model):
raise UserError(_("The sheet has already been validated."))
if start_time_dt > datetime.now():
raise UserError(
_("You must wait for the shifts to begin to validate sheet.")
_("Attendance sheet can only be validated once the shifts have started.")
)
# Fields validation

4
beesdoo_shift/models/task.py

@ -87,8 +87,8 @@ class Task(models.Model):
if datetime.now() < start_time_dt:
if self.state in ["done", "absent_2", "absent_1", "absent_0"]:
raise UserError(_(
"You cannot set shift state to 'present' "
"or 'absent' for a future shift."
"Shift state of a future shift "
"can't be set to 'present' or 'absent'."
))
@api.constrains('is_regular', 'is_compensation')

Loading…
Cancel
Save