From b32dabe4a42d901e54c88d197da9305139f73b96 Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 19 Feb 2025 14:13:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BD=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 18 + __manifest__.py | 31 ++ data/holiday_timesheets_demo.xml | 14 + i18n/ar.po | 241 +++++++++++ i18n/az.po | 205 ++++++++++ i18n/bg.po | 228 +++++++++++ i18n/bs.po | 204 ++++++++++ i18n/ca.po | 254 ++++++++++++ i18n/cs.po | 231 +++++++++++ i18n/da.po | 240 +++++++++++ i18n/de.po | 250 ++++++++++++ i18n/el.po | 204 ++++++++++ i18n/es.po | 249 ++++++++++++ i18n/es_419.po | 250 ++++++++++++ i18n/et.po | 254 ++++++++++++ i18n/fa.po | 235 +++++++++++ i18n/fi.po | 247 ++++++++++++ i18n/fr.po | 249 ++++++++++++ i18n/gu.po | 204 ++++++++++ i18n/he.po | 231 +++++++++++ i18n/hr.po | 207 ++++++++++ i18n/hu.po | 229 +++++++++++ i18n/id.po | 244 +++++++++++ i18n/is.po | 200 ++++++++++ i18n/it.po | 245 ++++++++++++ i18n/ja.po | 228 +++++++++++ i18n/km.po | 203 ++++++++++ i18n/ko.po | 230 +++++++++++ i18n/lb.po | 200 ++++++++++ i18n/lt.po | 227 +++++++++++ i18n/lv.po | 227 +++++++++++ i18n/mn.po | 211 ++++++++++ i18n/nb.po | 205 ++++++++++ i18n/nl.po | 247 ++++++++++++ i18n/pl.po | 244 +++++++++++ i18n/project_timesheet_holidays.pot | 220 ++++++++++ i18n/pt.po | 224 +++++++++++ i18n/pt_BR.po | 246 ++++++++++++ i18n/ro.po | 207 ++++++++++ i18n/ru.po | 250 ++++++++++++ i18n/sk.po | 229 +++++++++++ i18n/sl.po | 228 +++++++++++ i18n/sr.po | 244 +++++++++++ i18n/sr@latin.po | 205 ++++++++++ i18n/sv.po | 228 +++++++++++ i18n/th.po | 241 +++++++++++ i18n/tr.po | 248 ++++++++++++ i18n/uk.po | 245 ++++++++++++ i18n/vi.po | 231 +++++++++++ i18n/zh_CN.po | 226 +++++++++++ i18n/zh_TW.po | 225 +++++++++++ models/__init__.py | 10 + models/account_analytic.py | 46 +++ models/hr_employee.py | 71 ++++ models/hr_holidays.py | 146 +++++++ models/project_task.py | 40 ++ models/res_company.py | 64 +++ models/res_config_settings.py | 29 ++ models/resource_calendar_leaves.py | 253 ++++++++++++ security/ir.model.access.csv | 2 + tests/__init__.py | 6 + tests/test_employee.py | 114 ++++++ tests/test_timesheet_global_time_off.py | 511 ++++++++++++++++++++++++ tests/test_timesheet_holidays.py | 221 ++++++++++ views/hr_holidays_views.xml | 26 ++ views/project_task_views.xml | 19 + views/res_config_settings_views.xml | 26 ++ 67 files changed, 12667 insertions(+) create mode 100644 __init__.py create mode 100644 __manifest__.py create mode 100644 data/holiday_timesheets_demo.xml create mode 100644 i18n/ar.po create mode 100644 i18n/az.po create mode 100644 i18n/bg.po create mode 100644 i18n/bs.po create mode 100644 i18n/ca.po create mode 100644 i18n/cs.po create mode 100644 i18n/da.po create mode 100644 i18n/de.po create mode 100644 i18n/el.po create mode 100644 i18n/es.po create mode 100644 i18n/es_419.po create mode 100644 i18n/et.po create mode 100644 i18n/fa.po create mode 100644 i18n/fi.po create mode 100644 i18n/fr.po create mode 100644 i18n/gu.po create mode 100644 i18n/he.po create mode 100644 i18n/hr.po create mode 100644 i18n/hu.po create mode 100644 i18n/id.po create mode 100644 i18n/is.po create mode 100644 i18n/it.po create mode 100644 i18n/ja.po create mode 100644 i18n/km.po create mode 100644 i18n/ko.po create mode 100644 i18n/lb.po create mode 100644 i18n/lt.po create mode 100644 i18n/lv.po create mode 100644 i18n/mn.po create mode 100644 i18n/nb.po create mode 100644 i18n/nl.po create mode 100644 i18n/pl.po create mode 100644 i18n/project_timesheet_holidays.pot create mode 100644 i18n/pt.po create mode 100644 i18n/pt_BR.po create mode 100644 i18n/ro.po create mode 100644 i18n/ru.po create mode 100644 i18n/sk.po create mode 100644 i18n/sl.po create mode 100644 i18n/sr.po create mode 100644 i18n/sr@latin.po create mode 100644 i18n/sv.po create mode 100644 i18n/th.po create mode 100644 i18n/tr.po create mode 100644 i18n/uk.po create mode 100644 i18n/vi.po create mode 100644 i18n/zh_CN.po create mode 100644 i18n/zh_TW.po create mode 100644 models/__init__.py create mode 100644 models/account_analytic.py create mode 100644 models/hr_employee.py create mode 100644 models/hr_holidays.py create mode 100644 models/project_task.py create mode 100644 models/res_company.py create mode 100644 models/res_config_settings.py create mode 100644 models/resource_calendar_leaves.py create mode 100644 security/ir.model.access.csv create mode 100644 tests/__init__.py create mode 100644 tests/test_employee.py create mode 100644 tests/test_timesheet_global_time_off.py create mode 100644 tests/test_timesheet_holidays.py create mode 100644 views/hr_holidays_views.xml create mode 100644 views/project_task_views.xml create mode 100644 views/res_config_settings_views.xml diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..decad8b --- /dev/null +++ b/__init__.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import models + + +def post_init(env): + """ Set the timesheet project and task on existing leave type. Do it in post_init to + be sure the internal project/task of res.company are set. (Since timesheet_generate field + is true by default, those 2 fields are required on the leave type). + """ + for hr_leave_type in env['hr.leave.type'].search([('timesheet_generate', '=', True), ('company_id', '!=', False), ('timesheet_project_id', '=', False)]): + project_id = hr_leave_type.company_id.internal_project_id + default_task_id = hr_leave_type.company_id.leave_timesheet_task_id + hr_leave_type.write({ + 'timesheet_project_id': project_id.id, + 'timesheet_task_id': default_task_id.id if default_task_id and default_task_id.project_id == project_id else False, + }) diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..2f564a1 --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Timesheet when on Time Off', + 'version': '1.0', + 'category': 'Human Resources', + 'summary': 'Schedule timesheet when on time off', + 'description': """ +Bridge module to integrate leaves in timesheet +================================================ + +This module allows to automatically log timesheets when employees are +on leaves. Project and task can be configured company-wide. + """, + 'depends': ['hr_timesheet', 'hr_holidays'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/hr_holidays_views.xml', + 'views/project_task_views.xml', + 'security/ir.model.access.csv', + + ], + 'demo': [ + 'data/holiday_timesheets_demo.xml', + ], + 'installable': True, + 'auto_install': True, + 'post_init_hook': 'post_init', + 'license': 'LGPL-3', +} diff --git a/data/holiday_timesheets_demo.xml b/data/holiday_timesheets_demo.xml new file mode 100644 index 0000000..ec045cd --- /dev/null +++ b/data/holiday_timesheets_demo.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/i18n/ar.po b/i18n/ar.po new file mode 100644 index 0000000..513ba8e --- /dev/null +++ b/i18n/ar.po @@ -0,0 +1,241 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Malaz Abuidris , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Malaz Abuidris , 2023\n" +"Language-Team: Arabic (https://app.transifex.com/odoo/teams/41243/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "البند التحليلي" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "البنود التحليلية" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"المشروع الداخلي والمهمة كلاهما مطلوبان لإنشاء جدول زمني للإجازة %s. إذا كنت " +"لا تريد جدولاً زمنياً، عليك ترك المشروع الداخلي والمهمة فارغين. " + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "الشركات" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "تهيئة الإعدادات " + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "الموظف" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "إنشاء الجداول الزمنية " + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "إنشاء جداول زمنية عند تصديق طلبات الإجازات من هذا النوع " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "إجازة عامة " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"إذا كان محدداً، سوف يتم إنشاء جدول زمني في مشروع الإجازة في الشركة عند تصديق" +" أيام الإجازة. " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "داخلي" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "مشروع داخلي" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "مهمة الإجازة " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "العملية غير مدعومة " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "المشروع" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "تفاصيل إجازة المَورد " + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "المهمة" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"المشروع الافتراضي الذي يتم استخدامه عند إنشاء الجداول الزمنية تلقائياً عن " +"طريق طلبات الإجازة. يمكنك تحديد مشروع آخر في كل نوع إجازة على حدة. " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"المهمة الافتراضية التي يتم استخدامها عند إنشاء الجداول الزمنية تلقائياً عن " +"طريق طلبات الإجازة. يمكنك تحديد مهمة أخرى في كل نوع إجازة على حدة. " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "الإجازات " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "الإجازة (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "طلبات الإجازة " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "مهمة الإجازة " + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "نوع الإجازة " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "عدد أنواع الإجازات " + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "الجداول الزمنية " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "عرض الإجازات " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"لا يمكنك إنشاء جداول زمنية لمهمة مرتبطة بنوع إجازة. يرجى استخدام تطبيق " +"الإجازات لطلب إجازة جديدة عوضاً عن ذلك. " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"لا يمكنك حذف جداول زمنية مرتبطة بأيام إجازة. يرجى إلغاء الإجازة عوضاً عن " +"ذلك. " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"لا يمكنك حذف جداول زمنية مرتبطة بطلبات إجازات. يرجى إلغاء طلب الإجازة من " +"تطبيق الإجازات عوضاً عن ذلك. " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"لا يمكنك تعديل الجداول الزمنية المرتبطة بطلب إجازة. يرجى استخدام تطبيق " +"الإجازات لتعديل طلبات إجازاتك عوضاً عن ذلك. " diff --git a/i18n/az.po b/i18n/az.po new file mode 100644 index 0000000..af88b9b --- /dev/null +++ b/i18n/az.po @@ -0,0 +1,205 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Jumshud Sultanov , 2022 +# erpgo translator , 2022 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Last-Translator: erpgo translator , 2022\n" +"Language-Team: Azerbaijani (https://app.transifex.com/odoo/teams/41243/az/)\n" +"Language: az\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitik Sətir" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitik Sətirlər" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Şirkətlər" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Parametrləri Konfiqurasiya edin" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "İşçi" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Daxili" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Daxili Layihə" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Layihə" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Resursun Məzuniyyət Detalları" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tapşırıq" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Məzuniyyət" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Məzuniyyət Növü" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/bg.po b/i18n/bg.po new file mode 100644 index 0000000..e6ceb41 --- /dev/null +++ b/i18n/bg.po @@ -0,0 +1,228 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# KeyVillage, 2023 +# aleksandar ivanov, 2023 +# Albena Mincheva , 2023 +# Георги Пехливанов , 2023 +# Maria Boyadjieva , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Maria Boyadjieva , 2023\n" +"Language-Team: Bulgarian (https://app.transifex.com/odoo/teams/41243/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Аналитичен Ред" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Аналитични Редове" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Фирми" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Настройки" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Служител" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Вътрешни" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Проект" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Задача" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Почивка" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Графици" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/bs.po b/i18n/bs.po new file mode 100644 index 0000000..2edb9df --- /dev/null +++ b/i18n/bs.po @@ -0,0 +1,204 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Martin Trigaux, 2018 +# Boško Stojaković , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server saas~11.5\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2018-09-21 13:17+0000\n" +"Last-Translator: Boško Stojaković , 2018\n" +"Language-Team: Bosnian (https://www.transifex.com/odoo/teams/41243/bs/)\n" +"Language: bs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitička stavka" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Retci analitike" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Kompanije" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekat" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Zadatak" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/ca.po b/i18n/ca.po new file mode 100644 index 0000000..03fd074 --- /dev/null +++ b/i18n/ca.po @@ -0,0 +1,254 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# jabiri7, 2023 +# Quim - eccit , 2023 +# Ivan Espinola, 2023 +# Jonatan Gk, 2023 +# Martin Trigaux, 2023 +# Manel Fernandez Ramirez , 2023 +# Josep Anton Belchi, 2023 +# marcescu, 2023 +# Óscar Fonseca , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Óscar Fonseca , 2023\n" +"Language-Team: Catalan (https://app.transifex.com/odoo/teams/41243/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Línia analítica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Línies analítiques" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Tant el projecte intern com la tasca són necessaris per generar un full de " +"temps per al temps desactivat%s. Si no vols un full d'hores, hauries de " +"deixar buit el projecte intern i la tasca." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Empreses" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Paràmetres de configuració" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Empleat" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Genera fulls d'hores" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Temps global desactivat" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Si es marca, quan es validi un temps lliure, es generarà un full d'hores en " +"el Projecte Vacation de l'empresa." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Projecte Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "La tasca Temps excedit" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operació no implementada" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projecte" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detall del temps lliure dels recursos" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tasca" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"El projecte predeterminat utilitzat quan es generen automàticament fulls " +"d'hores mitjançant sol·licituds de desactivació. Podeu especificar un altre " +"projecte cada vegada que es desconnecti escriviu individualment." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"La tasca predeterminada utilitzada quan es generen automàticament fulls " +"d'hores mitjançant sol·licituds de desconnexió temporal. Podeu especificar " +"una altra tasca en cada vegada que es desconnecti per separat." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Absències" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Temps desactivat (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Petició d'absència" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Temps de la tasca desactivada" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tipus d'absència" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Fulls d'hores" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"No podeu crear fulls d'hores per a una tasca que està enllaçada a un tipus " +"de temps d'espera. Utilitzeu l'aplicació Time Off per sol·licitar temps nou " +"de baixa." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"No podeu suprimir fulls d'hora enllaçats a temps desactivat. Si us plau, " +"cancel·li el temps lliure." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"No podeu suprimir fulls d'hores que estan enllaçats a sol·licituds de temps " +"lliure. Cancel·leu la vostra sol·licitud de suspensió temporal de " +"l'aplicació Time Off." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"No podeu modificar els fulls d'hores que estan enllaçats a sol·licituds de " +"temps lliure. Utilitzeu l'aplicació Time Off per a modificar les vostres " +"sol·licituds de temps d'espera." diff --git a/i18n/cs.po b/i18n/cs.po new file mode 100644 index 0000000..dd033f3 --- /dev/null +++ b/i18n/cs.po @@ -0,0 +1,231 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Jakub Smolka, 2023 +# Ivana Bartonkova, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Ivana Bartonkova, 2023\n" +"Language-Team: Czech (https://app.transifex.com/odoo/teams/41243/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytická položka" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analytické položky" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Interní projekt i úkol jsou povinni vygenerovat časový rozvrh pro volno %s. " +"Pokud nechcete časový rozvrh, měli byste nechat interní projekt a úkol " +"prázdné." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Společnosti" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurační nastavení" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Zaměstnanec" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Celkové volné dny" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Pokud je zaškrtnuto, při ověřování volna se časový rozvrh vygeneruje v " +"prázdninovém projektu společnosti." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Převodky" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Interní projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operace není podporována" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekty" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Podrobnosti o volnu zdroje" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Úkol" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Volno" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Žádost o volné dny" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Úkol pro volné dny" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Typ volna" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Časové výkazy" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/da.po b/i18n/da.po new file mode 100644 index 0000000..caa3ecf --- /dev/null +++ b/i18n/da.po @@ -0,0 +1,240 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Martin Trigaux, 2023 +# lhmflexerp , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: lhmflexerp , 2023\n" +"Language-Team: Danish (https://app.transifex.com/odoo/teams/41243/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytisk linje" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analyselinjer" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Både det interne projekt samt opgave er nødvendig, for at generere en " +"timeseddel for fri tid %s. Hvis du ikke ønsker en timeseddel, bør du lade " +"det interne projekt samt opgave stå tomme." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Virksomheder" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurer opsætning" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Medarbejder" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Global fri tid" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Hvis markeret, ved godkendelse af fri tid, vil timesedlen blive genereret i " +"Ferie Projektet for virksomheden." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Internt projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Er Fri opgave" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operation ikke understøttet" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Resource fritid detaljer" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Opgave" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Standardprojektet som anvendes ved automatisk generering af timesedler via " +"frianmodninger. Du kan angive et andet projekt på hver fritype." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Standardopgaven som anvendes ved automatisk generering af timesedler via " +"frianmodninger. Du kan angive en anden opgave på hver fritype." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Fri" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Fri (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Fri tid anmodning" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Fri opgave" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Fri type" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Timesedler" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Du kan ikke oprette timesedler på en opgave, der er forbundet til en " +"fritype. Venligst anvend Fri app'en til at anmode om nye fridage i stedet." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Du kan ikke slette timesedler, der er forbundet til frianmodninger. Venligst" +" annullér din anmodning om fri i Fri app'en i stedet." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Du kan ikke ændre timesedler, der er forbundet til anmodninger om fri. " +"Venligst anvend Fri app'en til at ændre dine frianmodninger i stedet." diff --git a/i18n/de.po b/i18n/de.po new file mode 100644 index 0000000..bdfe942 --- /dev/null +++ b/i18n/de.po @@ -0,0 +1,250 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Larissa Manderfeld, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Larissa Manderfeld, 2023\n" +"Language-Team: German (https://app.transifex.com/odoo/teams/41243/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Kostenstellenbuchung" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Kostenstellenbuchungen" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Sowohl das interne Projekt als auch die Aufgabe sind erforderlich, um einen " +"Zeiterfassungsbogen für die Abwesenheit %s zu erstellen. Wenn Sie keinen " +"Zeiterfassungsbogen wünschen, lassen Sie das interne Projekt und die Aufgabe" +" leer." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Unternehmen" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurationseinstellungen" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Mitarbeiter" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Zeiterfassung erstellen" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Generieren Sie Zeiterfassungen, wenn sie Abwesenheitsanträge dieser Art " +"validieren" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Globale Abwesenheit" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Wenn diese Option aktiviert ist, wird bei der Validierung einer Abwesenheit " +"ein Zeiterfassungsbogen im Urlaubsprojekt des Unternehmens erstellt." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Internes Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Ist Abwesenheitsaufgabe" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Vorgang nicht unterstützt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Abwesenheitsdetails der Ressource" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Aufgabe" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Das Standardprojekt, das bei der automatischen Erstellung von " +"Zeiterfassungsbögen über Abwesenheitsanfragen verwendet wird. Sie können für" +" jede Abwesenheitsart individuell ein anderes Projekt angeben." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Die Standardaufgabe, die bei der automatischen Erstellung von " +"Zeiterfassungsbögen über Abwesenheitsanfragen verwendet wird. Sie können für" +" jede Abwesenheitsart individuell eine andere Aufgabe angeben." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Abwesenheit" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Abwesenheit (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Abwesenheitsanfrage" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Abwesenheitsaufgabe" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Abwesenheitsart" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Anzahl Abwesenheitsarten" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Zeiterfassungen" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Abwesenheit ansehen" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Sie können keine Zeiterfassungen für eine Aufgabe erstellen, die mit einer " +"Abwesenheitsart verknüpft ist. Bitte verwenden Sie stattdessen die " +"„Abwesenheiten“-App, um eine neue Abwesenheit zu beantragen." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Sie können keine Zeiterfassungen löschen, die mit einer Abwesenheit " +"verbunden sind. Bitte stornieren Sie stattdessen die Abwesenheit." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Sie können Zeiterfassungen, die mit einer Abwesenheitsanfrage verknüpft " +"sind, nicht löschen. Bitte stornieren Sie stattdessen Ihre " +"Abwesenheitsanfrage aus der Abwesenheiten-App." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Sie können Zeiterfassungen, die mit einer Abwesenheitsart verknüpft sind, " +"nicht ändern. Bitte verwenden Sie stattdessen die „Abwesenheiten“-App, um " +"Ihre Abwesenheitsanfrage zu ändern." diff --git a/i18n/el.po b/i18n/el.po new file mode 100644 index 0000000..df1e9e2 --- /dev/null +++ b/i18n/el.po @@ -0,0 +1,204 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Martin Trigaux, 2018 +# Kostas Goutoudis , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server saas~11.5\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2018-09-21 13:17+0000\n" +"Last-Translator: Kostas Goutoudis , 2018\n" +"Language-Team: Greek (https://www.transifex.com/odoo/teams/41243/el/)\n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Γραμμή Αναλυτικής" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Αναλυτικές Γραμμές" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Εταιρίες" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Έργο" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Εργασία" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/es.po b/i18n/es.po new file mode 100644 index 0000000..e1cf63a --- /dev/null +++ b/i18n/es.po @@ -0,0 +1,249 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Larissa Manderfeld, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Larissa Manderfeld, 2024\n" +"Language-Team: Spanish (https://app.transifex.com/odoo/teams/41243/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Línea Analítica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Líneas analíticas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Se requiere que tanto el proyecto interno como la tarea generen una hoja de " +"tiempo para el tiempo libre %s. Si no desea una hoja de asistencia, debe " +"dejar el proyecto interno y la tarea vacíos." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de configuración" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Empleado" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Generar hojas de asistencia" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Genere hojas de asistencia al validar solicitudes con este tipo de tiempo " +"personal." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Ausencias globales" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Si se marca, al validar una ausencia, se generará un parte de horas en el " +"proyecto de ausencias de la empresa." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Proyecto interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Es una tarea de tiempo libre" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operación no admitida" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Proyecto" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detalle de las ausencias del recurso" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tarea" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"El proyecto por defecto utilizado cuando se generan automáticamente hojas de" +" asistencia a través de solicitudes de tiempo libre. Puede especificar otro " +"proyecto en cada tipo de tiempo libre individualmente." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"La tarea por defecto utilizada cuando se generan automáticamente hojas de " +"asistencia a través de solicitudes de tiempo libre. Puede especificar otra " +"tarea en cada tipo de tiempo libre individualmente." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Ausencias" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Tiempo libre (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Solicitud de ausencia" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Tarea de Tiempo Libre" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tipo de ausencia" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Número de tipos de tiempo personal" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Partes de horas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Ver tiempo personal " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"No puede crear hojas de asistencia para una tarea vinculada a un tipo de " +"permiso. Le recomendamos que use la aplicación Tiempo personal para " +"solicitar uno nuevo." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"No puede eliminar líneas de las hojas de asistencia adjuntas a el tiempo " +"personal. Mejor cancele el tiempo personal." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"No puede eliminar hojas de asistencia vinculadas a solicitudes de tiempo " +"personal. Le recomendamos que cancele la solicitud desde la aplicación " +"Tiempo personal." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"No puede modificar las hojas de asistencia vinculadas a solicitudes de " +"tiempo personal. Le recomendamos que use la aplicación Tiempo personal para " +"modificar sus solicitudes." diff --git a/i18n/es_419.po b/i18n/es_419.po new file mode 100644 index 0000000..a149709 --- /dev/null +++ b/i18n/es_419.po @@ -0,0 +1,250 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Patricia Gutiérrez Capetillo , 2023 +# Fernanda Alvarez, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Fernanda Alvarez, 2023\n" +"Language-Team: Spanish (Latin America) (https://app.transifex.com/odoo/teams/41243/es_419/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_419\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Línea analítica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Líneas analíticas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Para crear una hoja de horas para el tiempo personal %s debe establecer el " +"proyecto interno y la tarea. Si no desea generarla, debe dejar los campos " +"anteriores vacíos." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes de configuración" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Empleado" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Generar hojas de horas" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Genere hojas de horas al validar solicitudes con este tipo de tiempo " +"personal." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Ausencias globales" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Si se encuentra seleccionado, generará una hoja de horas en el proyecto de " +"vacaciones de la empresa al validar un permiso." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Proyecto interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Es una tarea de tiempo libre" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operación no compatible" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Proyecto" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detalle de las ausencias de los recursos" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tarea" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"El proyecto predeterminado que se usa cuando se generan hojas de horas en " +"automático desde las solicitudes de tiempo personal. Puede especificar otro " +"proyecto en cada tipo de permiso de forma individual." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"La tarea predeterminada que se usa cuando se genera una hoja de horas " +"automáticamente a través de las solicitudes de tiempo libre. Puede " +"especificar otra tarea en cada tipo de permiso de forma individual." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Tiempo personal" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Tiempo personal (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Solicitud de tiempo personal" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Tarea de tiempo libre" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tipo de tiempo personal" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Número de tipos de tiempo personal" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Hojas de horas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Ver tiempo personal " + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"No puede crear hojas de horas para una tarea vinculada a un tipo de permiso." +" Le recomendamos que use la aplicación Tiempo personal para solicitar uno " +"nuevo." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"No puede eliminar líneas de las hojas de horas adjuntas al tiempo personal, " +"mejor cancélelo." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"No puede eliminar hojas de horas vinculadas a solicitudes de tiempo " +"personal. Le recomendamos que cancele la solicitud desde la aplicación " +"Tiempo personal." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"No puede modificar las hojas de horas vinculadas a solicitudes de tiempo " +"personal. Le recomendamos que use la aplicación Tiempo personal para " +"modificar sus solicitudes." diff --git a/i18n/et.po b/i18n/et.po new file mode 100644 index 0000000..8704855 --- /dev/null +++ b/i18n/et.po @@ -0,0 +1,254 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Arma Gedonsky , 2023 +# Triine Aavik , 2023 +# Patrick-Jordan Kiudorv, 2023 +# Eneli Õigus , 2023 +# Anna, 2023 +# Martin Trigaux, 2023 +# Algo Kärp , 2023 +# Piia Paurson , 2023 +# JanaAvalah, 2023 +# Katrin Kampura, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Katrin Kampura, 2023\n" +"Language-Team: Estonian (https://app.transifex.com/odoo/teams/41243/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analüütiline rida" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analüütilised read" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Puhkuse %s ajatabeli loomiseks on vaja nii sisemist projekti kui ka " +"ülesannet. Kui te tööaja tabelit ei soovi, peaksite sisemise projekti ja " +"ülesande tühjaks jätma." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Ettevõtted" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Seadistused" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Töötaja" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Looge tööaja arvestuslehti" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "Loo ajatabelid kinnitades seda tüüpi puudumisi. " + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Riiklikud pühad" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Sisemine" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Ettevõttesisene projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Töölt vaba aeg" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Toiming pole toetatud" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projektid" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Ressursi puudumise detailid" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Ülesanne" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Vaikimisi projekt, mida kasutatakse tööajatabelite automaatseks loomiseks " +"puudumiste taotluste kaudu. Saate määrata iga puudumise tüübi jaoks eraldi " +"mõne muu projekti." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Vaikimisi ülesanne, mida kasutatakse tööajatabelite automaatseks loomiseks " +"puudumiste taotluste kaudu. Saate määrata iga puudumise tüübi jaoks eraldi " +"mõne muu ülesande." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Puudumised" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Puudumised (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Puudumise avaldus" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Puudumise ülesanne" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Puudumise tüüp" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Puudumiste hulk" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Tööaja arvestusleht" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Vaata puudumisi" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Te ei saa ülesande jaoks luua tööajatabeleid, mis on seotud puudumiste " +"tüübiga. Kasutage selle asemel Puudumiste rakendust (Time Off)." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Puudumistega seotud ajatabeleid ei ole võimalik kustutada. Palun tühista " +"puudumine." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Te ei saa kustutada tööajatabeleid, mis on seotud puudumiste taotlustega. " +"Selle asemel tühistage rakendusest Puudumised (Time Off) oma puudumise " +"taotlus." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Te ei saa muuta tööajatabeleid, mis on lingitud puudumiste taotlustega. " +"Kasutage selle asemel puudumise taotluste muutmiseks rakendust Puudumised " +"(Time Off)." diff --git a/i18n/fa.po b/i18n/fa.po new file mode 100644 index 0000000..c4705e7 --- /dev/null +++ b/i18n/fa.po @@ -0,0 +1,235 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Hamid Ahmadimoghaddam, 2023 +# Ali Reza Feizi Derakhshi, 2023 +# Hamed Mohammadi , 2023 +# Hamid Darabi, 2023 +# Martin Trigaux, 2023 +# F Hariri , 2023 +# Hanna Kheradroosta, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Hanna Kheradroosta, 2023\n" +"Language-Team: Persian (https://app.transifex.com/odoo/teams/41243/fa/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "سطر تحلیلی" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "سطرهای تحلیلی" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"هم پروژه داخلی و هم وظیفه برای ایجاد یک برگه ساعت کارکرد برای مرخصی %s مورد " +"نیاز است. اگر برگه ساعت کارکرد نمی خواهید، باید پروژه و وظیفه داخلی را خالی " +"بگذارید." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "شرکت‌ها" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "تنظیمات پیکربندی" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "کارمند" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"در صورت علامت زدن، هنگام اعتبارسنجی زمان مرخصی، برگه ساعت کارکرد در پروژه " +"تعطیلات شرکت ایجاد می شود." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "داخلی" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "پروژه داخلی" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "عملیات پشتیبانی نمی شود" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "پروژه" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "جزئیات مرخصی منابع" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "وظیفه" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "مرخصی" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "درخواست‌های مرخصی" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "نوع مرخصی" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "برگه ساعت کارکرد" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/fi.po b/i18n/fi.po new file mode 100644 index 0000000..f06562f --- /dev/null +++ b/i18n/fi.po @@ -0,0 +1,247 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Kari Lindgren , 2023 +# Svante Suominen , 2023 +# Tuomo Aura , 2023 +# Martin Trigaux, 2023 +# Jarmo Kortetjärvi , 2023 +# Ossi Mantylahti , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Ossi Mantylahti , 2024\n" +"Language-Team: Finnish (https://app.transifex.com/odoo/teams/41243/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analyyttinen rivi" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analyyttiset rivit" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Sekä sisäinen projekti että tehtävä tulee asettaa, jotta vapaata varten " +"voidaan luoda työaikakirjaus %s. Jos et halua työaikakirjausta, jätä " +"sisäinen projekti ja tehtävä tyhjiksi." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Yritykset" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Asetukset" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Työntekijä" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Luo työaikakirjauksia" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Yleinen vapaa-aika" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Jos valittu, työaikakirjaus luodaan yrityksen Lomaprojektissa, kun vapaat " +"vahvistetaan." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Sisäinen" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Sisäinen projekti" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "On Loma-tehtävä" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Toiminto ei ole tuettu" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projektit" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Resurssien vapaa-aika, yksityiskohtaiset tiedot" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tehtävä" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Oletusprojekti, jota käytetään, kun työaikakirjauksia luodaan " +"automaattisesti vapaapyyntöjen kautta. Voit määrittää toisen projektin " +"kullekin vapaa-aikatyypille erikseen." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Oletustehtävä, jota käytetään, kun työaikakirjauksia luodaan automaattisesti" +" vapaapyyntöjen kautta. Voit määrittää toisen tehtävän kullekin " +"vapaatyypille erikseen." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Vapaa" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Vapaa-aika (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Vapaa-aikahakemus" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Vapaa-aika Tehtävä" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Vapaa-aikatyyppi" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Tuntikirjaukset" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Näytä vapaa-aika" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Et voi luoda työaikakirjauksia tehtävälle, joka on liitetty vapaatyyppiin. " +"Käytä sen sijaan Time Off -sovellusta uusien vapaiden pyytämiseen." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Et voi poistaa työaikakirjauksia, jotka on liitetty vapaapyyntöihin. Peruuta" +" sen sijaan vapaata koskeva pyyntö vapaa-aikasovelluksesta." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Et voi muokata työaikakirjauksia, jotka on liitetty vapaata koskeviin " +"pyyntöihin. Käytä sen sijaan Time Off -sovellusta muokkaamaan " +"vapaapyyntöjäsi." diff --git a/i18n/fr.po b/i18n/fr.po new file mode 100644 index 0000000..be80ed6 --- /dev/null +++ b/i18n/fr.po @@ -0,0 +1,249 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Jolien De Paepe, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Jolien De Paepe, 2023\n" +"Language-Team: French (https://app.transifex.com/odoo/teams/41243/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Ligne analytique" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Lignes analytiques" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Le projet interne et la tâche sont tous les deux requis pour générer une " +"feuille de temps pour les congés %s. Si vous ne souhaitez pas de feuille de " +"temps, vous pouvez laisser le projet interne et la tâche vides." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Paramètres de configuration" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Employé" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Générer des feuilles de temps" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Générer des feuilles de temps lors de la validation des demandes de congé de" +" ce type" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Congé global" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Si coché, une feuille de temps sera générée dans le projet Vacances de la " +"société lorsque le congé sera validé." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interne" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Projet interne" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Est une tâche pour les congés" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Opération non prise en charge" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projet" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Détails des congés des ressources" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tâche" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Le projet par défaut utilisé lors de la génération automatique de feuilles " +"de temps via des demandes de congés. Vous pouvez préciser un autre projet " +"sur chaque type de congé individuellement." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"La tâche par défaut utilisée lors de la génération automatique de feuilles " +"de temps via des demandes de congés. Vous pouvez préciser une autre tâche " +"sur chaque type de congé individuellement." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Congés" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Congés (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Demande de congés" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Tâche de congé" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Type de congés" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Nombre de types de congés" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Feuilles de temps" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Afficher les congés" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Vous ne pouvez pas créer des feuilles de temps pour une tâche qui est " +"associée à un type de congé. Veuillez utiliser l'application Congés pour " +"plutôt demander un nouveau congé." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Vous ne pouvez pas supprimer des feuilles de temps liées à des congés. " +"Veuillez annuler les congés à la place." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Vous ne pouvez pas supprimer des feuilles de temps qui sont associées aux " +"demandes de congé. Veuillez plutôt annuler vos demandes de congé depuis " +"l'application Congés." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Vous ne pouvez pas modifier des feuilles de temps qui sont associées à des " +"demandes de congé. Veuillez plutôt utiliser l'application Congés pour " +"modifier vos demandes de congé." diff --git a/i18n/gu.po b/i18n/gu.po new file mode 100644 index 0000000..2aea1ca --- /dev/null +++ b/i18n/gu.po @@ -0,0 +1,204 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Qaidjohar Barbhaya, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Last-Translator: Qaidjohar Barbhaya, 2023\n" +"Language-Team: Gujarati (https://app.transifex.com/odoo/teams/41243/gu/)\n" +"Language: gu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytic Line" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analytic Lines" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Companies" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Config Settings" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operation not supported" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "કાર્ય" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/he.po b/i18n/he.po new file mode 100644 index 0000000..d54211d --- /dev/null +++ b/i18n/he.po @@ -0,0 +1,231 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Yihya Hugirat , 2023 +# Leandro Noijovich , 2023 +# Martin Trigaux, 2023 +# ZVI BLONDER , 2023 +# Lilach Gilliam , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Lilach Gilliam , 2023\n" +"Language-Team: Hebrew (https://app.transifex.com/odoo/teams/41243/he/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "שורה אנליטית" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "שורות אנליטיות" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"הן הפרוייקט הפנימי והן המשימה נדרשים כדי ליצור דיווחי שעות לחופשה %s. אם " +"אינך רוצה דיווחי שעות, עליך להשאיר את הפרוייקט והמשימה הפנימיים ריקים." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "חברות" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "הגדר הגדרות" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "עובד" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "זמן חופשה כללי" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"אם מסומן, בעת אימות חופשה ייווצר גיליון זמנים בפרויקט החופשה של החברה." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "פנימי" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "פרויקט פנימי" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "הפעולה אינה נתמכת" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "פרויקט" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "פרט חופשה של משאב" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "משימה" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "מאשר חופשות" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "זמן היעדרות (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "בקשת יום חופש" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "משימת חופשה" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "סוג חופשה" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "דיווחי שעות" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "לא ניתן למחוק דיווחי שעות המקושרים לחופשה. בבקשה, בטל את החופש במקום." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/hr.po b/i18n/hr.po new file mode 100644 index 0000000..3cfa872 --- /dev/null +++ b/i18n/hr.po @@ -0,0 +1,207 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Vladimir Olujić , 2022 +# Milan Tribuson , 2022 +# Martin Trigaux, 2022 +# Bole , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Last-Translator: Bole , 2023\n" +"Language-Team: Croatian (https://app.transifex.com/odoo/teams/41243/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitička stavka" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitičke stavke" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Tvrtke" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Postavke" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Zaposlenik" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "Kreiraj kontrolne kartice" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Generalno vrijeme odsustva" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "Označavanjem omogućavate kreiranje stavaka kontrolnih katica prilikom odobravanja odsustava (prema postavkama projekta)." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Interni projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operacija nije podržana" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detalji odsustva" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Zadatak" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Odsustva" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Zadatak odsustva" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Vrsta odsustva" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/hu.po b/i18n/hu.po new file mode 100644 index 0000000..457eacb --- /dev/null +++ b/i18n/hu.po @@ -0,0 +1,229 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# gezza , 2023 +# Zsolt Godó , 2023 +# Martin Trigaux, 2023 +# Ákos Nagy , 2023 +# Tamás Dombos, 2023 +# Tamás Németh , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Tamás Németh , 2023\n" +"Language-Team: Hungarian (https://app.transifex.com/odoo/teams/41243/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitikus sor" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitikus sorok" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Vállalatok" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Beállítások módosítása" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Munkavállaló" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Belső" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Belső projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "A művelet nem támogatott" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Feladat" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Szabadság" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Szabadság kérelem" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Szabadság típus" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Munkaidő-nyilvántartások" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/id.po b/i18n/id.po new file mode 100644 index 0000000..1a1f403 --- /dev/null +++ b/i18n/id.po @@ -0,0 +1,244 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Abe Manyo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Abe Manyo, 2023\n" +"Language-Team: Indonesian (https://app.transifex.com/odoo/teams/41243/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Baris Analitik" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Baris Analitik" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Project internal dan task dibutuhkan untuk membuat timesheet untuk cuti %s. " +"Jika Anda tidak mau timesheet, Anda harus membiarkan project internal dan " +"task kosong." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Perusahaan" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Pengaturan Konfigurasi" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Karyawan" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Buat Timesheet" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "Buat timesheet saat memvalidasi tipe permintaan cuti ini" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Cuti Global" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Bila dicentang, saat memvalidasi cuti, timesheet akan dibuat di Project " +"Liburan perusahaan." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Internal" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Project Internal" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Apakah Task Cuti" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operation not supported" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Proyek" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detail Sumber Daya Cuti" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Kegiatan" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Project default digunakan saat secara otomatis membuat timesheet melalui " +"permintaan time off. Anda dapat menentukan project lain pada setiap tipe " +"cuti secara individu." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Task default yang digunakan saat secara otomatis membuat timesheet melalui " +"permintaan cuti. Anda dapat menentukan task lain pada setiap tipe cuti " +"secara individu." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Cuti" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Cuti (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Permintaan Cuti" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Task Cut" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tipe Cuti" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Jumlah Tipe Cut" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Tabel Waktu" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Lihat Cuti" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Anda tidak dapat membuat timesheet untuk task yang di-link ke tipe time off." +" Mohon gunakan aplikasi Cuti untuk meminta time off baru." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Anda tidak dapat menghapus timesheet yang di-link ke cuti. Mohon batalkan " +"time off." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Anda tidak dapat menghapus timesheet yang di-link ke permintaan cuti. Mohon " +"batalkan permintaan cuti Anda dari aplikasi Cuti." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Anda tidak dapat memodifikasi timesheet yang di-link ke permintaan cuti. " +"Mohon gunakan aplikasi Cuti untuk memodifikasi permintaan cuti Anda." diff --git a/i18n/is.po b/i18n/is.po new file mode 100644 index 0000000..6a1231a --- /dev/null +++ b/i18n/is.po @@ -0,0 +1,200 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0beta\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Language-Team: Icelandic (https://www.transifex.com/odoo/teams/41243/is/)\n" +"Language: is\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytic Line" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analytic Lines" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Fyrirtæki" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Verkefni" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Task" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/it.po b/i18n/it.po new file mode 100644 index 0000000..b12a95c --- /dev/null +++ b/i18n/it.po @@ -0,0 +1,245 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Marianna Ciofani, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Marianna Ciofani, 2023\n" +"Language-Team: Italian (https://app.transifex.com/odoo/teams/41243/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Riga analitica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Righe analitiche" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Per generare il foglio ore delle ferie %s sono richiesti il progetto interno" +" e il lavoro. Se il foglio ore non è necessario, lasciarli vuoti." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni di configurazione" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Dipendente" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Genera fogli ore" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Genera fogli ore quando convalidi le richieste di ferie di questo tipo" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Ferie globali" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Se selezionata, quando vengono confermate delle ferie viene generato un " +"foglio ore nel progetto ferie dell'azienda." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Progetto interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "È un'attività ferie" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operazione non supportata" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Progetto" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Dettaglio ferie della risorsa" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Lavoro" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Progetto predefinito utilizzato quando vengono creati automaticamente fogli " +"ore attraverso le richieste di ferie. Puoi specificare un altro progetto " +"singolarmente su ogni tipo di ferie." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Attività predefinita utilizzata quando vengono creati automaticamente fogli " +"ore attraverso le richieste di ferie. Puoi specificare un'altra attività " +"singolarmente su ogni tipo di ferie." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Ferie" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Ferie (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Richiesta ferie" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Lavoro ferie" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tipologia ferie" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Numero tipi di ferie" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Fogli ore" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Mostra ferie" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Non è possibile creare fogli ore per un'attività collegata ad un tipo di " +"ferie. Per favore, utilizza l'applicazione Ferie per effettuare una nuova " +"richiesta." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Non puoi eliminare i fogli di lavoro collegati alle ferie. Per favore, " +"annullare le ferie invece." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Non è possibile eliminare i fogli ore legati alle richieste di ferie. Per " +"favore, elimina la richiesta di ferie dall'applicazione stessa." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Non è possibile modificare i fogli ore legati alle richieste di ferie. " +"Utilizza l'applicazione Ferie per modificare le tue richieste." diff --git a/i18n/ja.po b/i18n/ja.po new file mode 100644 index 0000000..5b6a2a4 --- /dev/null +++ b/i18n/ja.po @@ -0,0 +1,228 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Junko Augias, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Junko Augias, 2023\n" +"Language-Team: Japanese (https://app.transifex.com/odoo/teams/41243/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "分析行" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "分析行" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"休暇用%sタイムシートを作成するには、社内プロジェクトとタスクの両方が必要です。タイムシートが必要ない場合は、社内プロジェクトとタスクは空のままにして下さい。" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "会社" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "コンフィグ設定" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "従業員" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "タイムシートを生成" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "このタイプの休暇申請を検証する際にタイムシートを作成します。" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "全体休暇" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "チェックした場合、休暇を検証する際、会社の休暇プロジェクトにタイムシートが作成されます。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "内部" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "内部プロジェクト" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "休暇タスク" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "操作はサポートされていません" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "プロジェクト" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "リソース休暇の詳細" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "タスク" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"休暇申請でタイムシートを自動生成する際に使用されるデフォルトのプロジェクトです。各タイムオフタイプで個別に別のプロジェクトを指定することができます。" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"休暇申請でタイムシートを自動生成する際に使用されるデフォルトのプロジェクトです。各タイムオフタイプで個別に別のタスクを指定することができます。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "休暇" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "休暇(%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "休暇申請" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "休暇タスク" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "休暇タイプ" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "休暇タイプ数" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "タイムシート" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "休暇を表示" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "休暇タイプにリンクされているタスクのタイムシートを作成することはできません。代わりに休暇アプリを使用して新しい休暇を申請して下さい。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "休暇にリンクされたタイムシートは削除できません。代わりに休暇をキャンセルしてください。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "休暇申請とリンクしているタイムシートは削除できません。代わりに休暇申請アプリから休暇申請をキャンセルして下さい。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "休暇申請とリンクしているタイムシートを修正することはできません。代わりに休暇アプリを使用して、休暇申請を修正して下さい。" diff --git a/i18n/km.po b/i18n/km.po new file mode 100644 index 0000000..e9d5767 --- /dev/null +++ b/i18n/km.po @@ -0,0 +1,203 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Sengtha Chay , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server saas~11.5\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2018-09-21 13:17+0000\n" +"Last-Translator: Sengtha Chay , 2018\n" +"Language-Team: Khmer (https://www.transifex.com/odoo/teams/41243/km/)\n" +"Language: km\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "ក្រុមហ៊ុន" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "គំរោង" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "កិច្ចការ" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/ko.po b/i18n/ko.po new file mode 100644 index 0000000..a1ac487 --- /dev/null +++ b/i18n/ko.po @@ -0,0 +1,230 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Daye Jeong, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Daye Jeong, 2023\n" +"Language-Team: Korean (https://app.transifex.com/odoo/teams/41243/ko/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "분석 라인" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "분석 라인" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"휴가 %s에 대한 작업기록을 생성하려면 내부 프로젝트와 작업이 있어야 합니다. 작업기록을 원하지 않는 경우 내부 프로젝트 및 작업을 " +"비워두십시오." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "회사" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "환경 설정" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "임직원" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "작업 기록 생성" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "해당 유형의 휴가를 승인할 때 출퇴근 기록표 생성" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "일반 휴가" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "이 선택 사항을 선택하면 휴가 시간을 확인할 때 회사 휴가 계획에서 작업 기록표가 생성됩니다." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "내부" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "내부 프로젝트" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "휴가 작업 여부" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "지원되지 않는 작업" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "프로젝트" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "자원별 휴가 세부사항" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "작업" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"휴가 요청을 통해 자동으로 작업기록을 생성할 때 사용되는 기본 프로젝트입니다. 휴가 유형별로 각각 프로젝트를 다르게 지정할 수 있습니다." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"휴가 요청을 통해 자동으로 작업기록을 생성할 때 사용되는 기본 작업입니다. 휴가 유형별로 각각 작업을 다르게 지정할 수 있습니다." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "휴가" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "휴가 (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "휴가 신청" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "휴가 작업" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "휴가 유형" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "휴가 유형 수" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "작업 기록" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "휴가 보기" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"휴가 요청과 연결되어 있는 작업에 대한 작업기록을 생성할 수 없습니다. 휴가 애플리케이션을 사용하여 새로운 휴가를 요청하십시오." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "휴가에 연결되어 있는 작업기록은 삭제할 수 없습니다. 대신 휴가를 취소해야 합니다." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "휴가 요청과 연결되어 있는 작업기록은 삭제할 수 없습니다. 휴가 애플리케이션을 사용하여 휴가 요청을 취소하십시오." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "휴가 요청과 연결되어 있는 작업기록은 수정할 수 없습니다. 휴가 애플리케이션을 사용하여 휴가 요청을 수정하십시오." diff --git a/i18n/lb.po b/i18n/lb.po new file mode 100644 index 0000000..0019a43 --- /dev/null +++ b/i18n/lb.po @@ -0,0 +1,200 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server saas~12.5\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2019-08-26 09:13+0000\n" +"Language-Team: Luxembourgish (https://www.transifex.com/odoo/teams/41243/lb/)\n" +"Language: lb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/lt.po b/i18n/lt.po new file mode 100644 index 0000000..8a163c3 --- /dev/null +++ b/i18n/lt.po @@ -0,0 +1,227 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Martin Trigaux, 2023 +# Jonas Zinkevicius , 2023 +# Donatas , 2023 +# Linas Versada , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Linas Versada , 2023\n" +"Language-Team: Lithuanian (https://app.transifex.com/odoo/teams/41243/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitinė eilutė" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitinės eilutės" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Įmonės" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigūracijos nustatymai" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Darbuotojas" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Vidinis" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Vidinis projektas" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projektas" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Užduotis" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Neatvykimai" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Atostogos (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Atostogų Prašymas" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Neatvykimo rūšis" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Darbo apskaitos žiniaraščiai" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/lv.po b/i18n/lv.po new file mode 100644 index 0000000..4cc1a9c --- /dev/null +++ b/i18n/lv.po @@ -0,0 +1,227 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Armīns Jeltajevs , 2023 +# Martin Trigaux, 2023 +# Arnis Putniņš , 2023 +# ievaputnina , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: ievaputnina , 2023\n" +"Language-Team: Latvian (https://app.transifex.com/odoo/teams/41243/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytic Line" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analītiskās Rindas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Uzņēmumi" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Konfigurācijas uzstādījumi" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Darbinieks" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Iekšējais" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operācija netiek atbalstīta" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekti" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Uzdevums" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Atvaļinājumi" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Darba laika uzskaite" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/mn.po b/i18n/mn.po new file mode 100644 index 0000000..57e1126 --- /dev/null +++ b/i18n/mn.po @@ -0,0 +1,211 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Minj P , 2022 +# baaska sh , 2022 +# Munkhbilguun Altankhuyag , 2022 +# Batmunkh Ganbat , 2022 +# Baskhuu Lodoikhuu , 2022 +# Батболд , 2022 +# Uuganbayar Batbaatar , 2022 +# Martin Trigaux, 2022 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Last-Translator: Martin Trigaux, 2022\n" +"Language-Team: Mongolian (https://app.transifex.com/odoo/teams/41243/mn/)\n" +"Language: mn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Шинжилгээний мөр" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Шинжилгээний мөр" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Компаниуд" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Тохиргооны тохируулга" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Ажилтан" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "Цагийн хуудас үүсгэх" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Бүх нийтийн амралт" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Дотоод" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Дотоод төсөл" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Үйлдлийг дэмжих боломжгүй" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Төсөл" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Чөлөөний нөөц дэлгэрэнгүй" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Даалгавар" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Чөлөө" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Чөлөөний даалгавар" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Чөлөөний төрөл" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/nb.po b/i18n/nb.po new file mode 100644 index 0000000..bdc3ce1 --- /dev/null +++ b/i18n/nb.po @@ -0,0 +1,205 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Marius Stedjan , 2022 +# Martin Trigaux, 2022 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Last-Translator: Martin Trigaux, 2022\n" +"Language-Team: Norwegian Bokmål (https://app.transifex.com/odoo/teams/41243/nb/)\n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytisk linje" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analytiske linjer" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Firmaer" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Innstillinger" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Ansatt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "Generer timeliste" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Internt prosjekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Prosjekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Oppgave" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Ferie" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/nl.po b/i18n/nl.po new file mode 100644 index 0000000..1c4ca06 --- /dev/null +++ b/i18n/nl.po @@ -0,0 +1,247 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Erwin van der Ploeg , 2023 +# Jolien De Paepe, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Jolien De Paepe, 2024\n" +"Language-Team: Dutch (https://app.transifex.com/odoo/teams/41243/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytische boeking" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analytische boekingen" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Zowel het interne project als de taak zijn vereist om een urenstaat voor het" +" verlof %s te genereren. Als je geen urenstaat wilt, moet je het interne " +"project en de taak leeg laten." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Bedrijven" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Configuratie instellingen" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Werknemer" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Genereer urenstaten" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Genereer urenstaten bij het bevestigen van verlofverzoeken van dit type" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Algemeen verlof" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Indien aangevinkt wordt er een urenstaat gegenereerd in het verlofproject " +"van het bedrijf wanneer de verlofaanvraag bevestigd wordt." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Intern project" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Is een verloftaak" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Bewerking niet ondersteund" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Project" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Resource verlof detail" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Taak" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Het standaardproject dat wordt gebruikt bij het automatisch genereren van " +"urenstaten via verlofaanvragen. Je kan voor elk verlofsoort afzonderlijk een" +" ander project bepalen." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"De standaardtaak die wordt gebruikt bij het automatisch genereren van " +"urenstaten via verlofaanvragen. Je kan voor elk verlofsoort afzonderlijk een" +" andere taak bepalen." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Verlof" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Verlof (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Verlofaanvraag" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Taak verlof" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Soort verlof" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Aantal verlofsoorten" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Urenstaten" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Bekijk het verlof" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Je kan geen urenstaten aanmaken voor een taak die aan een verlofsoort " +"gekoppeld is. Gebruik liever de Verlof applicatie om een nieuw verlof aan te" +" vragen." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Je kunt geen aan verlof gekoppelde urenstaten verwijderen. Annuleer in " +"plaats daarvan de verlof." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Je kan urenstaten die aan verlofaanvragen gekoppeld zijn niet verwijderen. " +"Annuleer liever je verlofaanvraag in de Verlof applicatie." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Je kan urenstaten die aan verlofaanvragen gekoppeld zijn niet wijzigen. " +"Gebruik liever de Verlof applicatie om je verlofaanvragen te wijzingen." diff --git a/i18n/pl.po b/i18n/pl.po new file mode 100644 index 0000000..cb397db --- /dev/null +++ b/i18n/pl.po @@ -0,0 +1,244 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Tadeusz Karpiński , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Tadeusz Karpiński , 2023\n" +"Language-Team: Polish (https://app.transifex.com/odoo/teams/41243/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Pozycja analityczna" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Pozycje analityczne" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Zarówno projekt wewnętrzny, jak i zadanie są wymagane do wygenerowania " +"arkusza czasu pracy dla czasu wolnego %s. Jeśli nie chcesz karty czasu " +"pracy, powinieneś pozostawić projekt wewnętrzny i zadanie puste." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Firmy" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Ustawienia konfiguracji" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Pracownik" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Generowanie kart pracy" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Globalny czas wolny" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Jeżeli jest zaznaczone, to przy zatwierdzaniu czasu wolnego zostanie " +"wygenerowana karta pracy w projekcie Wakacje w firmie." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Wewnętrzne" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Projekt wewnętrzny" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Czy zadanie w czasie wolnym" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operacja nie jest wspierana" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Szczegóły czasu wolnego zasobów" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Zadanie" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Domyślny projekt używany podczas automatycznego generowania timesheet " +"poprzez wnioski o czas wolny. Możesz określić inny projekt dla każdego typu " +"czasu wolnego indywidualnie." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Domyślne zadanie używane podczas automatycznego generowania timesheets " +"poprzez wnioski o czas wolny. Możesz określić inne zadanie dla każdego typu " +"czasu wolnego indywidualnie." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Dni wolne" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Czas wolny (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Wniosek o czas wolny" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Zadanie w czasie wolnym" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Typ dni wolnych" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Karty pracy" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Nie można tworzyć arkuszy czasu dla zadania, które jest powiązane z typem " +"czasu wolnego. Zamiast tego należy użyć aplikacji Czas wolny, aby złożyć " +"wniosek o nowy czas wolny." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Nie można usunąć arkuszy czasu, które są powiązane z wnioskami o czas wolny." +" Zamiast tego proszę anulować wniosek o czas wolny z aplikacji Czas wolny." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Nie można modyfikować arkuszy czasu, które są powiązane z wnioskami o wolne." +" Zamiast tego należy użyć aplikacji Czas wolny do modyfikacji wniosków o " +"wolne." diff --git a/i18n/project_timesheet_holidays.pot b/i18n/project_timesheet_holidays.pot new file mode 100644 index 0000000..e9c7842 --- /dev/null +++ b/i18n/project_timesheet_holidays.pot @@ -0,0 +1,220 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 21:55+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/pt.po b/i18n/pt.po new file mode 100644 index 0000000..db99d80 --- /dev/null +++ b/i18n/pt.po @@ -0,0 +1,224 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Portuguese (https://app.transifex.com/odoo/teams/41243/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Linha Analítica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Linhas Analíticas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Configurações" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Funcionário" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operação não suportada." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projeto" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detalhes de Recurso de Ausência" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tarefa" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Ausência" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Pedido de Ausência" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Registos de Horas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po new file mode 100644 index 0000000..67d4acd --- /dev/null +++ b/i18n/pt_BR.po @@ -0,0 +1,246 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Maitê Dietze, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Maitê Dietze, 2023\n" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/odoo/teams/41243/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Linha analítica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Linha analítica" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Tanto o projeto interno quanto a tarefa são necessários para gerar uma " +"planilha de horas para folgas %s. Se você não quiser uma planilha de horas, " +"deixe o projeto interno e a tarefa vazios." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Configurações" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Funcionário" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Gerar planilhas de horas" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "Gerar planilhas de horas ao validar uma folga desse tipo" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Folga global" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Se marcado, ao validar uma folga, será gerada uma planilha de horas no " +"projeto de férias da empresa." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Projeto interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "É tarefa em Folga?" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operação não suportada." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projeto" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Informações de folga do recurso" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Tarefa" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"O projeto padrão usado ao gerar planilhas de horas automaticamente por " +"solicitações de folga. Você pode especificar outro projeto individualmente " +"para cada tipo de folga." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"A tarefa padrão usada ao gerar planilhas de horas automaticamente por " +"solicitações de folga. Você pode especificar outra tarefa individualmente " +"para cada tipo de folga." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Folga" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Folga (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Solicitação de folga" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Tarefa de folga" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tipo de folga" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Total de tipos de folga" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Planilhas de horas" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Ver folga" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Não é possível criar planilhas de horas para uma tarefa que esteja vinculada" +" a um tipo de folga. Em vez disso, use o aplicativo Folga para solicitar " +"novas folgas." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Não é possível excluir planilhas de horas vinculadas a folgas. Em vez disso," +" cancele a folga." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Não é possível excluir planilhas de horas vinculadas a solicitações de " +"folga. Em vez disso, cancele sua solicitação de folga no aplicativo Folga." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Não é possível modificar planilhas de horas vinculadas a solicitações de " +"folga. Em vez disso, use o aplicativo Folga para modificar suas solicitações" +" de folga." diff --git a/i18n/ro.po b/i18n/ro.po new file mode 100644 index 0000000..843debd --- /dev/null +++ b/i18n/ro.po @@ -0,0 +1,207 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Dorin Hongu , 2022 +# Martin Trigaux, 2022 +# Foldi Robert , 2022 +# Cozmin Candea , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2022-09-22 05:54+0000\n" +"Last-Translator: Cozmin Candea , 2023\n" +"Language-Team: Romanian (https://app.transifex.com/odoo/teams/41243/ro/)\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Linie analitica" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Linii Analitice" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "Ambele proiecte interne si sarcini sunt necesare pentru a genera o fișă pontaj pentru concediul %s. Daca nu doriti o fișă de pontaj, trebuie sa lasati proiectul si sarcina interne goale." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Companii" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Setări de configurare" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Angajat" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "Genereaza fișă de pontaj" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Timp liber global" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "Daca este bifat, cand se valideaza un concediu, o fișă de pontaj va fi generata in proiectul de concediu al companiei." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Proiect intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Este sarcina de timp liber" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operațiunea nu este acceptată" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Proiect" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detaliu Timp Resurse" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Sarcină" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "Proiectul implicit folosit cand se genereaza automat fișe de pontaj prin cereri de concediu. Puteti specifica alt proiect pentru fiecare tip de concediu individual." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "Sarcina implicita folosita cand se genereaza automat fișe de pontaj prin cereri de concediu. Puteti specifica o alta sarcina pentru fiecare tip de concediu individual." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Concediu" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Concediu (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Sarcina de concediu" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tip Concediu" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "Nu puteti crea fișe de pontaj pentru o sarcina care este legata de un tip de concediu. Va rugam sa folositi aplicatia Concediu pentru a cere un nou concediu." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "Nu puteti sterge fișe de pontaj care sunt legate de cereri de concediu. Va Va rugam sa anulati cererea de concediu din aplicatia Concediu." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "Nu puteti modifica fișe de pontaj care sunt legate de cereri de concediu. Va Va rugam sa folositi aplicatia Concediu pentru a modifica cererile de concediu." diff --git a/i18n/ru.po b/i18n/ru.po new file mode 100644 index 0000000..0b17ec6 --- /dev/null +++ b/i18n/ru.po @@ -0,0 +1,250 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Alena Vlasova, 2023 +# Диляра Дельтаева , 2023 +# Сергей Шебанин , 2023 +# Martin Trigaux, 2023 +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2024\n" +"Language-Team: Russian (https://app.transifex.com/odoo/teams/41243/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Аналитическая линия" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Аналитические линии" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Для создания табеля учета рабочего времени на время отгула %s необходимы и " +"внутренний проект, и задача. Если вам не нужен табель учета рабочего " +"времени, оставьте внутренний проект и задачу пустыми." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Компании" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Параметры конфигурации" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Сотрудник" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Генерировать табели учета рабочего времени" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" +"Генерируйте табели учета рабочего времени при проверке запросов на отгулы " +"такого типа" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Глобальное время отдыха" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Если флажок установлен, то при подтверждении отгула табель учета рабочего " +"времени будет сгенерирован в проекте \"Отпуск\" компании." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Внутренний" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Внутренний проект" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Время, свободное от выполнения задания" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Операция не поддерживается" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Проект" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Подробности отсутствий" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Задача" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Проект по умолчанию, используемый при автоматической генерации табелей учета" +" рабочего времени через запросы на отгулы. Вы можете указать другой проект " +"для каждого типа отгулов отдельно." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Задача по умолчанию, используемая при автоматическом формировании табелей " +"учета рабочего времени по запросам на отгулы. Вы можете указать другую " +"задачу для каждого типа отгулов отдельно." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Отпуск" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Время отдыха (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Запрос Отпуска" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Время, свободное от выполнения задания" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Тип отсутсвия" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "Виды отгулов Подсчет" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Расписания" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "Просмотр отгулов" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Вы не можете создать табель учета рабочего времени для задачи, которая " +"связана с типом отгула. Вместо этого используйте приложение \"Отгулы\" для " +"запроса новых отгулов." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Вы не можете удалить табели учета рабочего времени, связанные с отгулами. " +"Пожалуйста, отмените отгулы." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Вы не можете удалить временные таблицы, связанные с запросами на отгулы. " +"Вместо этого отмените запрос на отгул в приложении \"Отгулы\"." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Вы не можете изменять временные таблицы, связанные с заявками на отгулы. Для" +" изменения заявок на отгулы используйте приложение \"Отгулы\"." diff --git a/i18n/sk.po b/i18n/sk.po new file mode 100644 index 0000000..07f1b6b --- /dev/null +++ b/i18n/sk.po @@ -0,0 +1,229 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Slovak (https://app.transifex.com/odoo/teams/41243/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analytický riadok" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analytické riadky" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Interný projekt aj úloha sú potrebné na vygenerovanie pracovného výkazu pre " +"voľné dni %s. Ak nechcete pracovný výkaz, mali by ste interný projekt a " +"úlohu nechať prázdne." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Spoločnosti" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Nastavenia konfigurácie" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Zamestnanec" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Celkové voľné dni" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Ak je toto políčko začiarknuté, pri potvrdení pracovného voľna sa vygeneruje" +" pracovný výkaz projekte dovolenka." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interné" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Interný projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operácia nie je podporovaná" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Detaily zdroja voľných dní" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Požiadavka" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Voľné dni" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Žiadosť o voľné dni" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Voľné dni úloha" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Typ voľných dní" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Pracovné výkazy" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/sl.po b/i18n/sl.po new file mode 100644 index 0000000..afa707e --- /dev/null +++ b/i18n/sl.po @@ -0,0 +1,228 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Boris Kodelja , 2023 +# Grega Vavtar , 2023 +# Martin Trigaux, 2023 +# Jasmina Macur , 2023 +# Matjaz Mozetic , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Matjaz Mozetic , 2023\n" +"Language-Team: Slovenian (https://app.transifex.com/odoo/teams/41243/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitična postavka" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitične postavke" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Podjetja" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Uredi nastavitve" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Kader" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interno" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Interni projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Opravilo" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Odsotnost" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tip dopusta" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Časovnice" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/sr.po b/i18n/sr.po new file mode 100644 index 0000000..6197380 --- /dev/null +++ b/i18n/sr.po @@ -0,0 +1,244 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Milan Bojovic , 2023 +# Martin Trigaux, 2023 +# Dragan Vukosavljevic , 2023 +# Nemanja Skadric, 2024 +# コフスタジオ, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: コフスタジオ, 2024\n" +"Language-Team: Serbian (https://app.transifex.com/odoo/teams/41243/sr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Linija analitike" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Redovi analitike" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Preduzeća" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Podešavanje konfiguracije" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Zaposleni" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Generate Timesheets" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Global Time Off" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Interni" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Internal Project" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Is Time off Task" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operacija nije podržana" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekat" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Resource Time Off Detail" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Zadatak" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Odsustvo" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Time Off (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Time Off Request" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Time Off Task" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Tip Pauze" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Karneti" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." diff --git a/i18n/sr@latin.po b/i18n/sr@latin.po new file mode 100644 index 0000000..baea483 --- /dev/null +++ b/i18n/sr@latin.po @@ -0,0 +1,205 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Martin Trigaux , 2017 +# Djordje Marjanovic , 2017 +# Nemanja Dragovic , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.saas~18\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-05-16 13:49+0000\n" +"PO-Revision-Date: 2017-09-20 09:53+0000\n" +"Last-Translator: Nemanja Dragovic , 2017\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/odoo/teams/41243/sr%40latin/)\n" +"Language: sr@latin\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analiticki red" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitički redovi" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "Both the internal project and task are required to generate a timesheet for the time off %s. If you don't want a timesheet, you should leave the internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Preduzeća" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheet" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekat" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Zadatak" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "The default project used when automatically generating timesheets via time off requests. You can specify another project on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "The default task used when automatically generating timesheets via time off requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets linked to time off. Please, cancel the time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/sv.po b/i18n/sv.po new file mode 100644 index 0000000..7a1536d --- /dev/null +++ b/i18n/sv.po @@ -0,0 +1,228 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Chrille Hedberg , 2023 +# Lasse L, 2023 +# Martin Trigaux, 2023 +# Simon S, 2023 +# Anders Wallenquist , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Anders Wallenquist , 2023\n" +"Language-Team: Swedish (https://app.transifex.com/odoo/teams/41243/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analysrad" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Objektrader" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Bolag" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Inställningar" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Anställd" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Global frånvaro" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Intern" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Internt projekt" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Åtgärd stöds inte" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Projekt" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Resurs Time Off Detalj" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Aktivitet" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Ledighet" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Ansökning om frånvaro" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Frånvarotyp" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Tidrapporter" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/th.po b/i18n/th.po new file mode 100644 index 0000000..52d45d3 --- /dev/null +++ b/i18n/th.po @@ -0,0 +1,241 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Rasareeyar Lappiam, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Rasareeyar Lappiam, 2023\n" +"Language-Team: Thai (https://app.transifex.com/odoo/teams/41243/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "รายการการวิเคราะห์" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "รายการการวิเคราะห์" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"ทั้งโปรเจ็กต์ภายในและงานจำเป็นต้องสร้างใบบันทึกเวลาสำหรับเวลาที่หยุดทำงาน %s" +" หากคุณไม่ต้องการใบบันทึกเวลา คุณควรปล่อยให้โปรเจ็กต์ภายในและงานว่างไว้" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "บริษัท" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "ตั้งค่าการกำหนดค่า" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "พนักงาน" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "สร้างใบบันทึกเวลา" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "สร้างใบบันทึกเวลาเมื่อตรวจสอบคำขอลาหยุดประเภทนี้" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "การลาหยุดสากล" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"หากทำเครื่องหมาย เมื่อตรวจสอบการลาหยุด " +"ใบบันทึกเวลาจะถูกสร้างขึ้นในโปรเจ็กต์วันหยุดของบริษัท" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "ภายใน" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "โปรเจ็กต์เบื้องต้น" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "เป็นงานของการลาหยุด" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "ไม่รองรับการทำงาน" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "โปรเจ็กต์" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "รายละเอียดทรัพยากรการลา" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "งาน" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"โปรเจ็กต์เริ่มต้นที่ใช้เมื่อสร้างใบบันทึกเวลาโดยอัตโนมัติผ่านคำขอการลาหยุด " +"คุณสามารถระบุโปรเจ็กต์อื่นในแต่ละประเภทการลาหยุดเป็นรายบุคคลได้" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"งานเริ่มต้นที่ใช้เมื่อสร้างใบบันทึกเวลาโดยอัตโนมัติผ่านคำขอการลาหยุด " +"คุณสามารถระบุงานอื่นในแต่ละประเภทการลาหยุดเป็นรายบุคคลได้" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "การลา" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "การลาหยุด (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "คำร้องขอการลา" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "งานการลาหยุด" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "ประเภทการลา" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "จำนวนประเภทการลาหยุด" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "ใบบันทึกเวลา" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "ดูการลาหยุด" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"คุณไม่สามารถสร้างใบบันทึกเวลาสำหรับงานที่เชื่อมโยงกับชนิดการลาหยุดได้ " +"โปรดใช้แอปพลิเคชัน ระบบการลา เพื่อขอการลาหยุดใหม่แทน" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"คุณไม่สามารถลบใบบันทึกเวลาที่เชื่อมโยงกับการลาหยุดได้ " +"กรุณายกเลิกวันลาหยุดแทน" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"คุณไม่สามารถลบใบบันทึกเวลาที่เชื่อมโยงกับคำขอวันลาหยุดได้ " +"กรุณายกเลิกคำขอลาหยุดจากแอปพลิเคชัน ระบบการลา แทน" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"คุณไม่สามารถแก้ไขใบบันทึกเวลาที่เชื่อมโยงกับคำขอลาหยุดได้ โปรดใช้แอปพลิเคชัน" +" ระบบการลา เพื่อแก้ไขคำขอลาหยุดของคุณแทน" diff --git a/i18n/tr.po b/i18n/tr.po new file mode 100644 index 0000000..4131123 --- /dev/null +++ b/i18n/tr.po @@ -0,0 +1,248 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# abc Def , 2023 +# Umur Akın , 2023 +# Murat Kaplan , 2023 +# Ediz Duman , 2023 +# Ertuğrul Güreş , 2023 +# Tugay Hatıl , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Tugay Hatıl , 2023\n" +"Language-Team: Turkish (https://app.transifex.com/odoo/teams/41243/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Analitik Satırı" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Analitik Satırları" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Hem iç proje hem de görev, izin %s için bir çalışma çizelgesi oluşturmak " +"için gereklidir. Çalışma çizelgesi istemiyorsanız, iç projeyi ve görevi boş " +"bırakmanız gerekir." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Şirketler" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Yapılandırma Ayarları" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Personel" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Çalışma Çizelgeleri Oluştur" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Genel İzinler" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Eğer işaretli ise, bir izin onaylandığında, şirketin İzin Projesi içinde " +"çalışma çizelgesi oluşturulacak." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "İç" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "İç Proje" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "İzin Görevi" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Operasyon desteklenmiyor" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Proje" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Kaynak İzin Detayı" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Görev" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"İzin istekleri aracılığıyla çalışma çizelgelerini otomatik olarak " +"oluştururken kullanılan varsayılan proje. Her izin türünde ayrı ayrı başka " +"bir proje belirtebilirsiniz." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"İzin istekleri aracılığıyla çalışma çizelgelerini otomatik olarak " +"oluştururken kullanılan varsayılan görev. Her izin türünde ayrı ayrı başka " +"bir görev belirleyebilirsiniz." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "İzin" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "İzin (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "İzin Talebi" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "İzin Görevi" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "İzin Türü" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Çalışma Çizelgeleri" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Bir izin türüne bağlı bir görev için çalışma çizelgeleri oluşturamazsınız. " +"Bunun yerine yeni izin talep etmek için lütfen İzin uygulamasını kullanın." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"İzin ile bağlantılı çalışma çizelgelerini silemezsiniz. Lütfen bunun yerine " +"izin süresini iptal edin." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"İzin istekleriyle bağlantılı çalışma çizelgelerini silemezsiniz. Lütfen " +"bunun yerine İzin uygulamasından izin talebinizi iptal edin." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"İzin isteklerine bağlı çalışma çizelgelerini değiştiremezsiniz. Bunun yerine" +" izin taleplerinizi değiştirmek için lütfen İzin uygulamasını kullanın." diff --git a/i18n/uk.po b/i18n/uk.po new file mode 100644 index 0000000..2718d72 --- /dev/null +++ b/i18n/uk.po @@ -0,0 +1,245 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Alina Lisnenko , 2023 +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Ukrainian (https://app.transifex.com/odoo/teams/41243/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Рядок аналітики" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Рядки аналітики" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"І проект і завдання вимагають ствоерння табеля для відпустки %s. Якщо ви не " +"хочете табель, ви повинні залишити внутрішній проект та завдання пустими." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Компанії" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Налаштування" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Співробітник" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "Створити табелі" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Загальна відпустка" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"Якщо перевірено, під час підтвердження відпустки, табель буде створюватися у" +" проекті відпусток компанії." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Внутрішнє" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Внутрішній проект" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "Завдання відпустки" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Операція не підтримується" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Проект" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Деталі відпустки ресурсу" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Завдання" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" +"Проект за замовчуванням, який використовується під час автоматичного " +"створення табелів за допомогою запитів на відпустку. Ви можете вказати інший" +" проект для кожного типу відпустки окремо." + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" +"Завдання за замовчуванням, яке використовується під час автоматичного " +"створення табелів за допомогою запитів на відпустку. Ви можете вказати інше " +"завдання для кожного типу відпустки окремо." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Відпустка" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Відпустка (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Запит на відпустку" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Завдання відпустки" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Тип відпустки" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Табелі" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" +"Ви не можете створити табелі для завдання, пов’язаного з типом відпустки. " +"Будь ласка, скористайтеся програмою Time Off, щоб надіслати запит на нову " +"відпустку." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Ви не можете видалити табелі, пов’язані з відпусткою. Натомість скасуйте " +"відпустку." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" +"Ви не можете видалити табелі, пов’язані із запитами на відпустку. Натомість " +"скасуйте свій запит на відпустку з модулі Відпустка." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" +"Ви не можете змінювати табелі, пов’язані із запитами на відпустку. Будь " +"ласка, використовуйте модуль Відпустка, щоб змінити ваші запити на " +"відпустку." diff --git a/i18n/vi.po b/i18n/vi.po new file mode 100644 index 0000000..44ce9f7 --- /dev/null +++ b/i18n/vi.po @@ -0,0 +1,231 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Vietnamese (https://app.transifex.com/odoo/teams/41243/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "Dòng phân tích" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "Chi tiết phân tích" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "Công ty" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "Cài đặt cấu hình" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "Nhân viên" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "Thời gian nghỉ chung" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "Nội bộ" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "Dự án nội bộ" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "Hoạt động không được hỗ trợ" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "Dự án" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "Chi tiết nguồn lực nghỉ phép" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "Nhiệm vụ" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "Nghỉ phép" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "Nghỉ phép (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "Yêu cầu nghỉ phép" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "Time Off Task" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "Loại Nghỉ phép" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "Bảng chấm công" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "" +"Bạn không thể xóa bảng chấm công được liên kết với nghỉ phép. Hãy xóa nghỉ " +"phép." + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "" diff --git a/i18n/zh_CN.po b/i18n/zh_CN.po new file mode 100644 index 0000000..dd0d2f2 --- /dev/null +++ b/i18n/zh_CN.po @@ -0,0 +1,226 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# 山西清水欧度(QQ:54773801) <54773801@qq.com>, 2023 +# Raymond Yu , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Raymond Yu , 2023\n" +"Language-Team: Chinese (China) (https://app.transifex.com/odoo/teams/41243/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "分析行" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "分析行" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "内部项目和任务都需要为休假%s的时间生成工时表。如果您不想要工时表,您应该把内部项目和任务留空。" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "公司" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "配置设置" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "员工" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "生成工时表" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "在验证此类休假申请时生成时间表" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "公共休假" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "如果勾选,当验证休假时,将在公司的休假项目中生成工时表。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "内部" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "内部项目" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "休假任务" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "不支持的操作" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "项目" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "休假详细信息" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "任务" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "通过休假请求自动生成工时表时使用的默认项目。 您可以在每个休假类型上单独指定另一个项目。" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "通过休假请求自动生成工时表时使用的默认任务。 您可以在每个休假类型上单独指定另一个任务。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "休假" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "休息时间(%s/%s)。" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "休假要求" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "任务休息时间" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "休假类型" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "休假类型计数" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "工时单" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "查看休假" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "您不能为已链接到休假类型的任务创建时间表。请使用 \"休假 \"应用程序申请新的休假。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "您不能删除与请假有关的工作表。请取消该时间段的休假。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "您不能删除链接到休假请求的工时表,请从休假应用程序中取消您的休假请求。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "您不能修改链接到休假请求的工时表,请使用休假应用程序来修改您的休假请求." diff --git a/i18n/zh_TW.po b/i18n/zh_TW.po new file mode 100644 index 0000000..fa6a4a5 --- /dev/null +++ b/i18n/zh_TW.po @@ -0,0 +1,225 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_timesheet_holidays +# +# Translators: +# Wil Odoo, 2023 +# Tony Ng, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Tony Ng, 2024\n" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/odoo/teams/41243/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_account_analytic_line +msgid "Analytic Line" +msgstr "分析資料行" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave__timesheet_ids +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_resource_calendar_leaves__timesheet_ids +msgid "Analytic Lines" +msgstr "分析資料行" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#, python-format +msgid "" +"Both the internal project and task are required to generate a timesheet for " +"the time off %s. If you don't want a timesheet, you should leave the " +"internal project and task empty." +msgstr "內部專案和任務都需要為 %s休假生成工時表。如果您不需要工時表,則應將內部專案和任務留空。" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_company +msgid "Companies" +msgstr "公司" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_res_config_settings +msgid "Config Settings" +msgstr "配置設定" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_employee +msgid "Employee" +msgstr "員工" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "Generate Timesheets" +msgstr "產生工時表" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Generate timesheets when validating time off requests of this type" +msgstr "驗證此類型休假請求時,同時產生工時表" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__global_leave_id +msgid "Global Time Off" +msgstr "公眾休假" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_hr_leave_type__timesheet_generate +msgid "" +"If checked, when validating a time off, timesheet will be generated in the " +"Vacation Project of the company." +msgstr "如果選中,在驗證休假時,將在公司的休假專案中生成時程表。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#, python-format +msgid "Internal" +msgstr "內部" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "Internal Project" +msgstr "內部專案" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__is_timeoff_task +msgid "Is Time off Task" +msgstr "是休假任務" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/project_task.py:0 +#, python-format +msgid "Operation not supported" +msgstr "不支援該操作" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_project_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Project" +msgstr "專案" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_resource_calendar_leaves +msgid "Resource Time Off Detail" +msgstr "資源休假詳細資訊" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_project_task +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_hr_leave_type__timesheet_task_id +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.res_config_settings_view_form +msgid "Task" +msgstr "任務" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__internal_project_id +msgid "" +"The default project used when automatically generating timesheets via time " +"off requests. You can specify another project on each time off type " +"individually." +msgstr "透過休假請求自動產生時間表時使用的預設專案。你可對每種休假類型單獨指定不同的專案。" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,help:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "" +"The default task used when automatically generating timesheets via time off " +"requests. You can specify another task on each time off type individually." +msgstr "透過休假請求自動產生時間表時使用的預設任務。你可對每種休假類型單獨指定不同的任務。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: code:addons/project_timesheet_holidays/models/res_company.py:0 +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave +#, python-format +msgid "Time Off" +msgstr "休假" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/hr_holidays.py:0 +#: code:addons/project_timesheet_holidays/models/resource_calendar_leaves.py:0 +#, python-format +msgid "Time Off (%s/%s)" +msgstr "休假 (%s/%s)" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_account_analytic_line__holiday_id +msgid "Time Off Request" +msgstr "休假申請" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_company__leave_timesheet_task_id +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_res_config_settings__leave_timesheet_task_id +msgid "Time Off Task" +msgstr "休假任務" + +#. module: project_timesheet_holidays +#: model:ir.model,name:project_timesheet_holidays.model_hr_leave_type +msgid "Time Off Type" +msgstr "休假類型" + +#. module: project_timesheet_holidays +#: model:ir.model.fields,field_description:project_timesheet_holidays.field_project_task__leave_types_count +msgid "Time Off Types Count" +msgstr "休假類型數目" + +#. module: project_timesheet_holidays +#: model_terms:ir.ui.view,arch_db:project_timesheet_holidays.hr_holiday_status_view_form_inherit +msgid "Timesheets" +msgstr "工時表" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "View Time Off" +msgstr "查看休假" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot create timesheets for a task that is linked to a time off type. " +"Please use the Time Off application to request new time off instead." +msgstr "不可為連結至休假類型的任務建立工時表。請使用「休假」應用程式,申請新的休假。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets linked to time off. Please, cancel the time off" +" instead." +msgstr "不可刪除連接至休假的工時表。請改為取消休假。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot delete timesheets that are linked to time off requests. Please " +"cancel your time off request from the Time Off application instead." +msgstr "不可刪除連結至休假請求的工時表。請改為在「休假」應用程式取消你的休假請求。" + +#. module: project_timesheet_holidays +#. odoo-python +#: code:addons/project_timesheet_holidays/models/account_analytic.py:0 +#, python-format +msgid "" +"You cannot modify timesheets that are linked to time off requests. Please " +"use the Time Off application to modify your time off requests instead." +msgstr "不可修改連結至休假請求的工時表。請改為使用「休假」應用程式,修改你的休假請求。" diff --git a/models/__init__.py b/models/__init__.py new file mode 100644 index 0000000..f853d0b --- /dev/null +++ b/models/__init__.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import res_company # has to be before hr_holidays to create needed columns on res.company +from . import account_analytic +from . import hr_holidays +from . import project_task +from . import res_config_settings +from . import resource_calendar_leaves +from . import hr_employee diff --git a/models/account_analytic.py b/models/account_analytic.py new file mode 100644 index 0000000..258cbda --- /dev/null +++ b/models/account_analytic.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, fields, models, _ +from odoo.exceptions import RedirectWarning, UserError + + +class AccountAnalyticLine(models.Model): + _inherit = 'account.analytic.line' + + holiday_id = fields.Many2one("hr.leave", string='Time Off Request', copy=False) + global_leave_id = fields.Many2one("resource.calendar.leaves", string="Global Time Off", ondelete='cascade') + task_id = fields.Many2one(domain="[('allow_timesheets', '=', True), ('project_id', '=?', project_id), ('is_timeoff_task', '=', False)]") + + def _get_redirect_action(self): + leave_form_view_id = self.env.ref('hr_holidays.hr_leave_view_form').id + action_data = { + 'name': _('Time Off'), + 'type': 'ir.actions.act_window', + 'res_model': 'hr.leave', + 'views': [(self.env.ref('hr_holidays.hr_leave_view_tree_my').id, 'list'), (leave_form_view_id, 'form')], + 'domain': [('id', 'in', self.holiday_id.ids)], + } + if len(self.holiday_id) == 1: + action_data['views'] = [(leave_form_view_id, 'form')] + action_data['res_id'] = self.holiday_id.id + return action_data + + @api.ondelete(at_uninstall=False) + def _unlink_except_linked_leave(self): + if any(line.holiday_id for line in self): + if not self.env.user.has_group('hr_holidays.group_hr_holidays_user') and self.env.user not in self.holiday_id.sudo().user_id: + raise UserError(_('You cannot delete timesheets that are linked to time off requests. Please cancel your time off request from the Time Off application instead.')) + warning_msg = _('You cannot delete timesheets linked to time off. Please, cancel the time off instead.') + action = self._get_redirect_action() + raise RedirectWarning(warning_msg, action, _('View Time Off')) + + def _check_can_write(self, values): + if not self.env.su and self.holiday_id: + raise UserError(_('You cannot modify timesheets that are linked to time off requests. Please use the Time Off application to modify your time off requests instead.')) + return super()._check_can_write(values) + + def _check_can_create(self): + if not self.env.su and any(task.is_timeoff_task for task in self.task_id): + raise UserError(_('You cannot create timesheets for a task that is linked to a time off type. Please use the Time Off application to request new time off instead.')) + return super()._check_can_create() diff --git a/models/hr_employee.py b/models/hr_employee.py new file mode 100644 index 0000000..a606672 --- /dev/null +++ b/models/hr_employee.py @@ -0,0 +1,71 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, fields, models +from collections import defaultdict + + +class Employee(models.Model): + _inherit = 'hr.employee' + + @api.model_create_multi + def create(self, vals_list): + employees = super().create(vals_list) + if self.env.context.get('salary_simulation'): + return employees + + # We need to create timesheet entries for the global time off that are already created + # and are planned for after this employee creation date + self.with_context(allowed_company_ids=employees.company_id.ids) \ + ._create_future_public_holidays_timesheets(employees) + return employees + + def write(self, vals): + result = super(Employee, self).write(vals) + self_company = self.with_context(allowed_company_ids=self.company_id.ids) + if 'active' in vals: + if vals.get('active'): + # Create future holiday timesheets + inactive_emp = self_company.filtered(lambda e: not e.active) + inactive_emp._create_future_public_holidays_timesheets(self) + else: + # Delete future holiday timesheets + self_company._delete_future_public_holidays_timesheets() + elif 'resource_calendar_id' in vals: + # Update future holiday timesheets + self_company._delete_future_public_holidays_timesheets() + self_company._create_future_public_holidays_timesheets(self) + return result + + def _delete_future_public_holidays_timesheets(self): + future_timesheets = self.env['account.analytic.line'].sudo().search([('global_leave_id', '!=', False), ('date', '>=', fields.date.today()), ('employee_id', 'in', self.ids)]) + future_timesheets.write({'global_leave_id': False}) + future_timesheets.unlink() + + def _create_future_public_holidays_timesheets(self, employees): + lines_vals = [] + today = fields.Datetime.today() + global_leaves_wo_calendar = defaultdict(lambda: self.env["resource.calendar.leaves"]) + global_leaves_wo_calendar.update(dict(self.env['resource.calendar.leaves']._read_group( + [('calendar_id', '=', False), ('date_from', '>=', today)], + groupby=['company_id'], + aggregates=['id:recordset'], + ))) + for employee in employees: + if not employee.active: + continue + # First we look for the global time off that are already planned after today + global_leaves = employee.resource_calendar_id.global_leave_ids.filtered(lambda l: l.date_from >= today) + global_leaves_wo_calendar[employee.company_id] + work_hours_data = global_leaves._work_time_per_day() + for global_time_off in global_leaves: + for index, (day_date, work_hours_count) in enumerate(work_hours_data[employee.resource_calendar_id.id][global_time_off.id]): + lines_vals.append( + global_time_off._timesheet_prepare_line_values( + index, + employee, + work_hours_data[global_time_off.id], + day_date, + work_hours_count + ) + ) + return self.env['account.analytic.line'].sudo().create(lines_vals) diff --git a/models/hr_holidays.py b/models/hr_holidays.py new file mode 100644 index 0000000..f5fd4dd --- /dev/null +++ b/models/hr_holidays.py @@ -0,0 +1,146 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, fields, models, _ +from odoo.exceptions import ValidationError + + +class HolidaysType(models.Model): + _inherit = "hr.leave.type" + + timesheet_generate = fields.Boolean( + 'Generate Timesheets', compute='_compute_timesheet_generate', store=True, readonly=False, + help="If checked, when validating a time off, timesheet will be generated in the Vacation Project of the company.") + timesheet_project_id = fields.Many2one('project.project', string="Project", domain="[('company_id', 'in', [False, company_id])]", + compute="_compute_timesheet_project_id", store=True, readonly=False) + timesheet_task_id = fields.Many2one( + 'project.task', string="Task", compute='_compute_timesheet_task_id', + store=True, readonly=False, + domain="[('project_id', '=', timesheet_project_id)," + "('project_id', '!=', False)," + "('company_id', 'in', [False, company_id])]") + + @api.depends('timesheet_task_id', 'timesheet_project_id') + def _compute_timesheet_generate(self): + for leave_type in self: + leave_type.timesheet_generate = not leave_type.company_id or (leave_type.timesheet_task_id and leave_type.timesheet_project_id) + + @api.depends('company_id') + def _compute_timesheet_project_id(self): + for leave in self: + leave.timesheet_project_id = leave.company_id.internal_project_id + + @api.depends('timesheet_project_id') + def _compute_timesheet_task_id(self): + for leave_type in self: + default_task_id = leave_type.company_id.leave_timesheet_task_id + + if default_task_id and default_task_id.project_id == leave_type.timesheet_project_id: + leave_type.timesheet_task_id = default_task_id + else: + leave_type.timesheet_task_id = False + + @api.constrains('timesheet_generate', 'timesheet_project_id', 'timesheet_task_id') + def _check_timesheet_generate(self): + for holiday_status in self: + if holiday_status.timesheet_generate and holiday_status.company_id: + if not holiday_status.timesheet_project_id or not holiday_status.timesheet_task_id: + raise ValidationError(_("Both the internal project and task are required to " + "generate a timesheet for the time off %s. If you don't want a timesheet, you should " + "leave the internal project and task empty.", holiday_status.name)) + + +class Holidays(models.Model): + _inherit = "hr.leave" + + timesheet_ids = fields.One2many('account.analytic.line', 'holiday_id', string="Analytic Lines") + + def _validate_leave_request(self): + """ Timesheet will be generated on leave validation only if timesheet_generate is True + If company is set, timesheet_project_id and timesheet_task_id from leave type are + used as project_id and task_id. + Else, internal_project_id and leave_timesheet_task_id are used. + The generated timesheet will be attached to this project/task. + """ + vals_list = [] + leave_ids = [] + for leave in self: + if leave.holiday_type != 'employee' or not leave.holiday_status_id.timesheet_generate: + continue + + if leave.holiday_status_id.company_id: + project, task = leave.holiday_status_id.timesheet_project_id, leave.holiday_status_id.timesheet_task_id + else: + project, task = leave.employee_id.company_id.internal_project_id, leave.employee_id.company_id.leave_timesheet_task_id + + if not project or not task: + continue + + leave_ids.append(leave.id) + if not leave.employee_id: + continue + + work_hours_data = leave.employee_id.list_work_time_per_day( + leave.date_from, + leave.date_to) + + for index, (day_date, work_hours_count) in enumerate(work_hours_data): + vals_list.append(leave._timesheet_prepare_line_values(index, work_hours_data, day_date, work_hours_count, project, task)) + + # Unlink previous timesheets to avoid doublon (shouldn't happen on the interface but meh) + old_timesheets = self.env["account.analytic.line"].sudo().search([('project_id', '!=', False), ('holiday_id', 'in', leave_ids)]) + if old_timesheets: + old_timesheets.holiday_id = False + old_timesheets.unlink() + + self.env['account.analytic.line'].sudo().create(vals_list) + + return super()._validate_leave_request() + + def _timesheet_prepare_line_values(self, index, work_hours_data, day_date, work_hours_count, project, task): + self.ensure_one() + return { + 'name': _("Time Off (%s/%s)", index + 1, len(work_hours_data)), + 'project_id': project.id, + 'task_id': task.id, + 'account_id': project.sudo().analytic_account_id.id, + 'unit_amount': work_hours_count, + 'user_id': self.employee_id.user_id.id, + 'date': day_date, + 'holiday_id': self.id, + 'employee_id': self.employee_id.id, + 'company_id': task.sudo().company_id.id or project.sudo().company_id.id, + } + + def _check_missing_global_leave_timesheets(self): + if not self: + return + min_date = min([leave.date_from for leave in self]) + max_date = max([leave.date_to for leave in self]) + + global_leaves = self.env['resource.calendar.leaves'].search([ + ("resource_id", "=", False), + ("date_to", ">=", min_date), + ("date_from", "<=", max_date), + ("company_id.internal_project_id", "!=", False), + ("company_id.leave_timesheet_task_id", "!=", False), + ]) + if global_leaves: + global_leaves._generate_public_time_off_timesheets(self.employee_ids) + + def action_refuse(self): + """ Remove the timesheets linked to the refused holidays """ + result = super(Holidays, self).action_refuse() + timesheets = self.sudo().mapped('timesheet_ids') + timesheets.write({'holiday_id': False}) + timesheets.unlink() + self._check_missing_global_leave_timesheets() + return result + + def _action_user_cancel(self, reason): + res = super()._action_user_cancel(reason) + timesheets = self.sudo().timesheet_ids + timesheets.write({'holiday_id': False}) + timesheets.unlink() + self._check_missing_global_leave_timesheets() + return res diff --git a/models/project_task.py b/models/project_task.py new file mode 100644 index 0000000..72fe139 --- /dev/null +++ b/models/project_task.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import fields, models, _ + +class Task(models.Model): + _inherit = 'project.task' + + leave_types_count = fields.Integer(compute='_compute_leave_types_count', string="Time Off Types Count") + is_timeoff_task = fields.Boolean("Is Time off Task", compute="_compute_is_timeoff_task", search="_search_is_timeoff_task") + + def _compute_leave_types_count(self): + time_off_type_read_group = self.env['hr.leave.type']._read_group( + [('timesheet_task_id', 'in', self.ids)], + ['timesheet_task_id'], + ['__count'], + ) + time_off_type_count_per_task = {timesheet_task.id: count for timesheet_task, count in time_off_type_read_group} + for task in self: + task.leave_types_count = time_off_type_count_per_task.get(task.id, 0) + + def _compute_is_timeoff_task(self): + timeoff_tasks = self.filtered(lambda task: task.leave_types_count or task.company_id.leave_timesheet_task_id == task) + timeoff_tasks.is_timeoff_task = True + (self - timeoff_tasks).is_timeoff_task = False + + def _search_is_timeoff_task(self, operator, value): + if operator not in ['=', '!='] or not isinstance(value, bool): + raise NotImplementedError(_('Operation not supported')) + leave_type_read_group = self.env['hr.leave.type']._read_group( + [('timesheet_task_id', '!=', False)], + [], + ['timesheet_task_id:recordset'], + ) + [timeoff_tasks] = leave_type_read_group[0] + if self.env.company.leave_timesheet_task_id: + timeoff_tasks |= self.env.company.leave_timesheet_task_id + if operator == '!=': + value = not value + return [('id', 'in' if value else 'not in', timeoff_tasks.ids)] diff --git a/models/res_company.py b/models/res_company.py new file mode 100644 index 0000000..b9287f3 --- /dev/null +++ b/models/res_company.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import fields, models, _ + + +class Company(models.Model): + _inherit = 'res.company' + + leave_timesheet_task_id = fields.Many2one( + 'project.task', string="Time Off Task", + domain="[('project_id', '=', internal_project_id)]") + + def init(self): + type_ids = [(4, self.env.ref('hr_timesheet.internal_project_default_stage').id)] + companies = self.search(['|', ('internal_project_id', '=', False), ('leave_timesheet_task_id', '=', False)]) + internal_projects_by_company_dict = None + Project = self.env['project.project'] + for company in companies: + company = company.with_company(company) + if not company.internal_project_id: + if not internal_projects_by_company_dict: + internal_projects_by_company_read = Project.search_read([ + ('name', '=', _('Internal')), + ('allow_timesheets', '=', True), + ('company_id', 'in', companies.ids), + ], ['company_id', 'id']) + internal_projects_by_company_dict = {res['company_id'][0]: res['id'] for res in internal_projects_by_company_read} + project_id = internal_projects_by_company_dict.get(company.id, False) + if not project_id: + project_id = Project.create({ + 'name': _('Internal'), + 'allow_timesheets': True, + 'company_id': company.id, + 'type_ids': type_ids, + }).id + company.write({'internal_project_id': project_id}) + if not company.leave_timesheet_task_id: + task = company.env['project.task'].create({ + 'name': _('Time Off'), + 'project_id': company.internal_project_id.id, + 'active': True, + 'company_id': company.id, + }) + company.write({ + 'leave_timesheet_task_id': task.id, + }) + + def _create_internal_project_task(self): + projects = super()._create_internal_project_task() + for project in projects: + company = project.company_id + company = company.with_company(company) + if not company.leave_timesheet_task_id: + task = company.env['project.task'].sudo().create({ + 'name': _('Time Off'), + 'project_id': company.internal_project_id.id, + 'active': True, + 'company_id': company.id, + }) + company.write({ + 'leave_timesheet_task_id': task.id, + }) + return projects diff --git a/models/res_config_settings.py b/models/res_config_settings.py new file mode 100644 index 0000000..04adace --- /dev/null +++ b/models/res_config_settings.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import api, fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' + + internal_project_id = fields.Many2one( + related='company_id.internal_project_id', required=True, string="Internal Project", + domain="[('company_id', '=', company_id)]", readonly=False, + help="The default project used when automatically generating timesheets via time off requests." + " You can specify another project on each time off type individually.") + leave_timesheet_task_id = fields.Many2one( + related='company_id.leave_timesheet_task_id', string="Time Off Task", readonly=False, + domain="[('company_id', '=', company_id), ('project_id', '=?', internal_project_id)]", + help="The default task used when automatically generating timesheets via time off requests." + " You can specify another task on each time off type individually.") + + @api.onchange('internal_project_id') + def _onchange_timesheet_project_id(self): + if self.internal_project_id != self.leave_timesheet_task_id.project_id: + self.leave_timesheet_task_id = False + + @api.onchange('leave_timesheet_task_id') + def _onchange_timesheet_task_id(self): + if self.leave_timesheet_task_id: + self.internal_project_id = self.leave_timesheet_task_id.project_id diff --git a/models/resource_calendar_leaves.py b/models/resource_calendar_leaves.py new file mode 100644 index 0000000..0f55561 --- /dev/null +++ b/models/resource_calendar_leaves.py @@ -0,0 +1,253 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from collections import defaultdict +from pytz import timezone, utc + +from odoo import api, fields, models, _ + + +class ResourceCalendarLeaves(models.Model): + _inherit = "resource.calendar.leaves" + + timesheet_ids = fields.One2many('account.analytic.line', 'global_leave_id', string="Analytic Lines") + + def _get_resource_calendars(self): + leaves_with_calendar = self.filtered('calendar_id') + calendars = leaves_with_calendar.calendar_id + leaves_wo_calendar = self - leaves_with_calendar + if leaves_wo_calendar: + calendars += self.env['resource.calendar'].search([('company_id', 'in', leaves_wo_calendar.company_id.ids)]) + return calendars + + def _work_time_per_day(self, resource_calendars=False): + """ Get work time per day based on the calendar and its attendances + + 1) Gets all calendars with their characteristics (i.e. + (a) the leaves in it, + (b) the resources which have a leave, + (c) the oldest and + (d) the latest leave dates + ) for leaves in self (first for calendar's leaves, then for company's global leaves) + 2) Search the attendances based on the characteristics retrieved for each calendar. + The attendances found are the ones between the date_from of the oldest leave + and the date_to of the most recent leave. + 3) Create a dict as result of this method containing: + { + leave: { + max(date_start of work hours, date_start of the leave): + the duration in days of the work including the leave + } + } + """ + resource_calendars = resource_calendars or self._get_resource_calendars() + # to easily find the calendar with its id. + calendars_dict = {calendar.id: calendar for calendar in resource_calendars} + + leaves_read_group = self.env['resource.calendar.leaves']._read_group( + [('id', 'in', self.ids), ('calendar_id', '!=', False)], + ['calendar_id'], + ['id:recordset', 'resource_id:recordset', 'date_from:min', 'date_to:max'], + ) + # dict of keys: calendar_id + # and values : { 'date_from': datetime, 'date_to': datetime, resources: self.env['resource.resource'] } + cal_attendance_intervals_dict = {} + for calendar, leaves, resources, date_from_min, date_to_max in leaves_read_group: + calendar_data = { + 'date_from': utc.localize(date_from_min), + 'date_to': utc.localize(date_to_max), + 'resources': resources, + 'leaves': leaves, + } + cal_attendance_intervals_dict[calendar.id] = calendar_data + + comp_leaves_read_group = self.env['resource.calendar.leaves']._read_group( + [('id', 'in', self.ids), ('calendar_id', '=', False)], + ['company_id'], + ['id:recordset', 'resource_id:recordset', 'date_from:min', 'date_to:max'], + ) + for company, leaves, resources, date_from_min, date_to_max in comp_leaves_read_group: + for calendar_id in resource_calendars.ids: + if calendars_dict[calendar_id].company_id != company: + continue # only consider global leaves of the same company as the calendar + calendar_data = cal_attendance_intervals_dict.get(calendar_id) + if calendar_data is None: + calendar_data = { + 'date_from': utc.localize(date_from_min), + 'date_to': utc.localize(date_to_max), + 'resources': resources, + 'leaves': leaves, + } + cal_attendance_intervals_dict[calendar_id] = calendar_data + else: + calendar_data.update( + date_from=min(utc.localize(date_from_min), calendar_data['date_from']), + date_to=max(utc.localize(date_to_max), calendar_data['date_to']), + resources=resources | calendar_data['resources'], + leaves=leaves | calendar_data['leaves'], + ) + + # dict of keys: calendar_id + # and values: a dict of keys: leave.id + # and values: a dict of keys: date + # and values: number of days + results = defaultdict(lambda: defaultdict(lambda: defaultdict(float))) + for calendar_id, cal_attendance_intervals_params_entry in cal_attendance_intervals_dict.items(): + calendar = calendars_dict[calendar_id] + work_hours_intervals = calendar._attendance_intervals_batch( + cal_attendance_intervals_params_entry['date_from'], + cal_attendance_intervals_params_entry['date_to'], + cal_attendance_intervals_params_entry['resources'], + tz=timezone(calendar.tz) + ) + for leave in cal_attendance_intervals_params_entry['leaves']: + work_hours_data = work_hours_intervals[leave.resource_id.id] + + for date_from, date_to, dummy in work_hours_data: + if date_to > utc.localize(leave.date_from) and date_from < utc.localize(leave.date_to): + tmp_start = max(date_from, utc.localize(leave.date_from)) + tmp_end = min(date_to, utc.localize(leave.date_to)) + results[calendar_id][leave.id][tmp_start.date()] += (tmp_end - tmp_start).total_seconds() / 3600 + results[calendar_id][leave.id] = sorted(results[calendar_id][leave.id].items()) + return results + + def _timesheet_create_lines(self): + """ Create timesheet leaves for each employee using the same calendar containing in self.calendar_id + + If the employee has already a time off in the same day then no timesheet should be created. + """ + resource_calendars = self._get_resource_calendars() + work_hours_data = self._work_time_per_day(resource_calendars) + employees_groups = self.env['hr.employee']._read_group( + [('resource_calendar_id', 'in', resource_calendars.ids), ('company_id', 'in', self.env.companies.ids)], + ['resource_calendar_id'], + ['id:recordset']) + mapped_employee = { + resource_calendar.id: employees + for resource_calendar, employees in employees_groups + } + employee_ids_all = [_id for __, employees in employees_groups for _id in employees._ids] + min_date = max_date = None + for values in work_hours_data.values(): + for vals in values.values(): + for d, dummy in vals: + if not min_date and not max_date: + min_date = max_date = d + elif d < min_date: + min_date = d + elif d > max_date: + max_date = d + + holidays_read_group = self.env['hr.leave']._read_group([ + ('employee_id', 'in', employee_ids_all), + ('date_from', '<=', max_date), + ('date_to', '>=', min_date), + ('state', '=', 'validate'), + ], ['employee_id'], ['date_from:array_agg', 'date_to:array_agg']) + holidays_by_employee = { + employee.id: [ + (date_from.date(), date_to.date()) for date_from, date_to in zip(date_from_list, date_to_list) + ] for employee, date_from_list, date_to_list in holidays_read_group + } + vals_list = [] + + def get_timesheets_data(employees, work_hours_list, vals_list): + for employee in employees: + holidays = holidays_by_employee.get(employee.id) + for index, (day_date, work_hours_count) in enumerate(work_hours_list): + if not holidays or all(not (date_from <= day_date and date_to >= day_date) for date_from, date_to in holidays): + vals_list.append( + leave._timesheet_prepare_line_values( + index, + employee, + work_hours_list, + day_date, + work_hours_count + ) + ) + return vals_list + + for leave in self: + if not leave.calendar_id: + for calendar_id, calendar_employees in mapped_employee.items(): + work_hours_list = work_hours_data[calendar_id][leave.id] + vals_list = get_timesheets_data(calendar_employees, work_hours_list, vals_list) + else: + employees = mapped_employee.get(leave.calendar_id.id, self.env['hr.employee']) + work_hours_list = work_hours_data[leave.calendar_id.id][leave.id] + vals_list = get_timesheets_data(employees, work_hours_list, vals_list) + + return self.env['account.analytic.line'].sudo().create(vals_list) + + def _timesheet_prepare_line_values(self, index, employee_id, work_hours_data, day_date, work_hours_count): + self.ensure_one() + return { + 'name': _("Time Off (%s/%s)", index + 1, len(work_hours_data)), + 'project_id': employee_id.company_id.internal_project_id.id, + 'task_id': employee_id.company_id.leave_timesheet_task_id.id, + 'account_id': employee_id.company_id.internal_project_id.analytic_account_id.id, + 'unit_amount': work_hours_count, + 'user_id': employee_id.user_id.id, + 'date': day_date, + 'global_leave_id': self.id, + 'employee_id': employee_id.id, + 'company_id': employee_id.company_id.id, + } + + def _generate_timesheeets(self): + results_with_leave_timesheet = self.filtered(lambda r: not r.resource_id and r.company_id.internal_project_id and r.company_id.leave_timesheet_task_id) + if results_with_leave_timesheet: + results_with_leave_timesheet._timesheet_create_lines() + + def _generate_public_time_off_timesheets(self, employees): + timesheet_vals_list = [] + resource_calendars = self._get_resource_calendars() + work_hours_data = self._work_time_per_day(resource_calendars) + timesheet_read_group = self.env['account.analytic.line']._read_group( + [('global_leave_id', 'in', self.ids), ('employee_id', 'in', employees.ids)], + ['employee_id'], + ['date:array_agg'] + ) + timesheet_dates_per_employee_id = { + employee.id: date + for employee, date in timesheet_read_group + } + for leave in self: + for employee in employees: + if leave.calendar_id and employee.resource_calendar_id != leave.calendar_id: + continue + calendar = leave.calendar_id or employee.resource_calendar_id + work_hours_list = work_hours_data[calendar.id][leave.id] + timesheet_dates = timesheet_dates_per_employee_id.get(employee.id, []) + for index, (day_date, work_hours_count) in enumerate(work_hours_list): + generate_timesheet = day_date not in timesheet_dates + if not generate_timesheet: + continue + timesheet_vals = leave._timesheet_prepare_line_values( + index, + employee, + work_hours_list, + day_date, + work_hours_count + ) + timesheet_vals_list.append(timesheet_vals) + return self.env['account.analytic.line'].sudo().create(timesheet_vals_list) + + @api.model_create_multi + def create(self, vals_list): + results = super(ResourceCalendarLeaves, self).create(vals_list) + results._generate_timesheeets() + return results + + def write(self, vals): + date_from, date_to, calendar_id = vals.get('date_from'), vals.get('date_to'), vals.get('calendar_id') + global_time_off_updated = self.env['resource.calendar.leaves'] + if date_from or date_to or 'calendar_id' in vals: + global_time_off_updated = self.filtered(lambda r: (date_from is not None and r.date_from != date_from) or (date_to is not None and r.date_to != date_to) or (calendar_id is None or r.calendar_id.id != calendar_id)) + timesheets = global_time_off_updated.sudo().timesheet_ids + if timesheets: + timesheets.write({'global_leave_id': False}) + timesheets.unlink() + result = super(ResourceCalendarLeaves, self).write(vals) + global_time_off_updated and global_time_off_updated.sudo()._generate_timesheeets() + return result diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv new file mode 100644 index 0000000..03c142c --- /dev/null +++ b/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_analytic_account_leaves_manager,account.analytic.account,analytic.model_account_analytic_account,hr_holidays.group_hr_holidays_manager,1,0,0,0 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..48b4b6c --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import test_employee +from . import test_timesheet_holidays +from . import test_timesheet_global_time_off diff --git a/tests/test_employee.py b/tests/test_employee.py new file mode 100644 index 0000000..a131a55 --- /dev/null +++ b/tests/test_employee.py @@ -0,0 +1,114 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from freezegun import freeze_time + +from odoo.tests import TransactionCase, tagged + + +@tagged('post_install', '-at_install') +class TestEmployee(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.company = cls.env['res.company'].create({ + 'name': 'Test Company', + }) + cls.global_leave = cls.env['resource.calendar.leaves'].create({ + 'name': 'Test Global Leave', + 'date_from': '2020-01-01 00:00:00', + 'date_to': '2020-01-01 23:59:59', + 'calendar_id': cls.company.resource_calendar_id.id, + 'company_id': cls.company.id, + }) + + @freeze_time('2020-01-01') + def test_create_employee(self): + """ Test the timesheets representing the time off of this new employee + is correctly generated once the employee is created + + Test Case: + ========= + 1) Create a new employee + 2) Check the timesheets representing the time off of this new employee + is correctly generated + """ + employee = self.env['hr.employee'].create({ + 'name': 'Test Employee', + 'company_id': self.company.id, + 'resource_calendar_id': self.company.resource_calendar_id.id, + }) + timesheet = self.env['account.analytic.line'].search([ + ('employee_id', '=', employee.id), + ('global_leave_id', '=', self.global_leave.id), + ]) + self.assertEqual(len(timesheet), 1, 'A timesheet should have been created for the global leave of the employee') + self.assertEqual(str(timesheet.date), '2020-01-01', 'The timesheet should be created for the correct date') + self.assertEqual(timesheet.unit_amount, 8, 'The timesheet should be created for the correct duration') + + # simulate the company of the employee updated is not in the allowed_company_ids of the current user + employee2 = self.env['hr.employee'].with_company(self.env.company).create({ + 'name': 'Test Employee', + 'company_id': self.company.id, + 'resource_calendar_id': self.company.resource_calendar_id.id, + }) + timesheet = self.env['account.analytic.line'].search([ + ('employee_id', '=', employee2.id), + ('global_leave_id', '=', self.global_leave.id), + ]) + self.assertEqual(len(timesheet), 1, 'A timesheet should have been created for the global leave of the employee') + self.assertEqual(str(timesheet.date), '2020-01-01', 'The timesheet should be created for the correct date') + self.assertEqual(timesheet.unit_amount, 8, 'The timesheet should be created for the correct duration') + + @freeze_time('2020-01-01') + def test_write_employee(self): + """ Test the timesheets representing the time off of this employee + is correctly generated once the employee is updated + + Test Case: + ========= + 1) Create a new employee + 2) Check the timesheets representing the time off of this new employee + is correctly generated + 3) Update the employee + 4) Check the timesheets representing the time off of this employee + is correctly updated + """ + employee = self.env['hr.employee'].create({ + 'name': 'Test Employee', + 'company_id': self.company.id, + }) + employee.write({'resource_calendar_id': self.company.resource_calendar_id.id}) + timesheet = self.env['account.analytic.line'].search([ + ('employee_id', '=', employee.id), + ('global_leave_id', '=', self.global_leave.id), + ]) + self.assertEqual(len(timesheet), 1, 'A timesheet should have been created for the global leave of the employee') + self.assertEqual(str(timesheet.date), '2020-01-01', 'The timesheet should be created for the correct date') + self.assertEqual(timesheet.unit_amount, 8, 'The timesheet should be created for the correct duration') + + employee.write({'active': False}) + timesheet = self.env['account.analytic.line'].search([ + ('employee_id', '=', employee.id), + ('global_leave_id', '=', self.global_leave.id), + ]) + self.assertFalse(timesheet, 'The timesheet should have been deleted when the employee was archived') + + employee.write({'active': True}) + timesheet = self.env['account.analytic.line'].search([ + ('employee_id', '=', employee.id), + ('global_leave_id', '=', self.global_leave.id), + ]) + self.assertEqual(len(timesheet), 1, 'A timesheet should have been created for the global leave of the employee') + self.assertEqual(str(timesheet.date), '2020-01-01', 'The timesheet should be created for the correct date') + self.assertEqual(timesheet.unit_amount, 8, 'The timesheet should be created for the correct duration') + + # simulate the company of the employee updated is not in the allowed_company_ids of the current user + employee.with_company(self.env.company).write({'resource_calendar_id': self.company.resource_calendar_id.id}) + timesheet = self.env['account.analytic.line'].search([ + ('employee_id', '=', employee.id), + ('global_leave_id', '=', self.global_leave.id), + ]) + self.assertEqual(len(timesheet), 1, 'A timesheet should have been created for the global leave of the employee') + self.assertEqual(str(timesheet.date), '2020-01-01', 'The timesheet should be created for the correct date') + self.assertEqual(timesheet.unit_amount, 8, 'The timesheet should be created for the correct duration') diff --git a/tests/test_timesheet_global_time_off.py b/tests/test_timesheet_global_time_off.py new file mode 100644 index 0000000..b5b85f9 --- /dev/null +++ b/tests/test_timesheet_global_time_off.py @@ -0,0 +1,511 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from collections import defaultdict +from datetime import datetime, timedelta +from freezegun import freeze_time + +from odoo import Command +from odoo.tests import common + + +class TestTimesheetGlobalTimeOff(common.TransactionCase): + + def setUp(self): + super(TestTimesheetGlobalTimeOff, self).setUp() + # Creates 1 test company and a calendar for employees that + # work part time. Then creates an employee per calendar (one + # for the standard calendar and one for the one we created) + self.test_company = self.env['res.company'].create({ + 'name': 'My Test Company', + }) + + attendance_ids = [ + (0, 0, {'name': 'Monday Morning', 'dayofweek': '0', 'hour_from': 9, 'hour_to': 12, 'day_period': 'morning'}), + (0, 0, {'name': 'Monday Lunch', 'dayofweek': '0', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), + (0, 0, {'name': 'Monday Afternoon', 'dayofweek': '0', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + (0, 0, {'name': 'Tuesday Morning', 'dayofweek': '1', 'hour_from': 9, 'hour_to': 12, 'day_period': 'morning'}), + (0, 0, {'name': 'Tuesday Lunch', 'dayofweek': '1', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), + (0, 0, {'name': 'Tuesday Afternoon', 'dayofweek': '1', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + (0, 0, {'name': 'Thursday Morning', 'dayofweek': '3', 'hour_from': 9, 'hour_to': 12, 'day_period': 'morning'}), + (0, 0, {'name': 'Thursday Lunch', 'dayofweek': '3', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), + (0, 0, {'name': 'Thursday Afternoon', 'dayofweek': '3', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + (0, 0, {'name': 'Friday Morning', 'dayofweek': '4', 'hour_from': 9, 'hour_to': 12, 'day_period': 'morning'}), + (0, 0, {'name': 'Friday Lunch', 'dayofweek': '4', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), + (0, 0, {'name': 'Friday Afternoon', 'dayofweek': '4', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}) + ] + + self.part_time_calendar, self.part_time_calendar2 = self.env['resource.calendar'].create([ + { + 'name': 'Part Time Calendar', + 'company_id': self.test_company.id, + 'hours_per_day': 6, + 'attendance_ids': attendance_ids, + }, { + 'name': 'Night Watch', + 'company_id': self.test_company.id, + 'hours_per_day': 6, + 'attendance_ids': attendance_ids, + } + ]) + self.full_time_employee, self.full_time_employee_2,\ + self.part_time_employee, self.part_time_employee2 = self.env['hr.employee'].create([{ + 'name': 'John Doe', + 'company_id': self.test_company.id, + 'resource_calendar_id': self.test_company.resource_calendar_id.id, + }, { + 'name': 'John Smith', + 'company_id': self.test_company.id, + 'resource_calendar_id': self.test_company.resource_calendar_id.id, + }, { + 'name': 'Jane Doe', + 'company_id': self.test_company.id, + 'resource_calendar_id': self.part_time_calendar.id, + }, { + 'name': 'Jon Show', + 'company_id': self.test_company.id, + 'resource_calendar_id': self.part_time_calendar2.id, + }, + ]) + + # Create a 2nd company + self.test_company_2 = self.env['res.company'].create({ + 'name': 'My Test Company 2', + }) + + def _get_timesheets_by_employee(self, leave_task): + timesheets_by_read_dict = self.env['account.analytic.line']._read_group([('task_id', '=', leave_task.id)], ['employee_id'], ['__count']) + return { + timesheet.id: count + for timesheet, count in timesheets_by_read_dict + } + + # This tests that timesheets are created for every employee with the same calendar + # when a global time off is created. + # This also tests that timesheets are deleted when global time off is deleted. + def test_timesheet_creation_and_deletion_for_time_off(self): + leave_start_datetime = datetime(2021, 1, 4, 7, 0, 0, 0) # This is a monday + leave_end_datetime = datetime(2021, 1, 8, 18, 0, 0, 0) # This is a friday + + global_time_off = self.env['resource.calendar.leaves'].create({ + 'name': 'Test', + 'calendar_id': self.test_company.resource_calendar_id.id, + 'date_from': leave_start_datetime, + 'date_to': leave_end_datetime, + }) + + # 5 Timesheets should have been created for full_time_employee and full_time_employee_2 + # but none for part_time_employee + leave_task = self.test_company.leave_timesheet_task_id + + timesheets_by_employee = self._get_timesheets_by_employee(leave_task) + self.assertFalse(timesheets_by_employee.get(self.part_time_employee.id, False)) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee.id), 5) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee_2.id), 5) + + # The standard calendar is for 8 hours/day from 8 to 12 and from 13 to 17. + # So we need to check that the timesheets don't have more than 8 hours per day. + self.assertEqual(leave_task.effective_hours, 80) + + # Now we delete the global time off. The timesheets should be deleted too. + global_time_off.unlink() + + self.assertFalse(leave_task.timesheet_ids.ids) + + @freeze_time('2022-01-01 08:00:00') + def test_timesheet_creation_and_deletion_on_employee_archive(self): + """ Test the timesheets linked to the global time off in the future when the employee is archived """ + today = datetime.today() + leave_start_datetime = today + timedelta(days=-today.weekday(), weeks=1) # Next monday + leave_end_datetime = leave_start_datetime + timedelta(days=5) # Next friday + + self.env['resource.calendar.leaves'].create({ + 'name': 'Test', + 'calendar_id': self.test_company.resource_calendar_id.id, + 'date_from': leave_start_datetime, + 'date_to': leave_end_datetime, + }) + + # Create a global time-off in the same company (not specific a to calendar) + # this should be added to calendar's leaves + self.env['resource.calendar.leaves'].with_company(self.test_company).create({ + 'name': 'Global leave', + 'calendar_id': False, + 'date_from': (leave_start_datetime + timedelta(weeks=1)).replace(hour=0, minute=0, second=0), + 'date_to': (leave_start_datetime + timedelta(weeks=1, days=1)).replace(hour=23, minute=59, second=59), + }) + + # Create a global time-off in another company which should not be + # taken into account when creating/unarchiving employee + self.env['resource.calendar.leaves'].with_company(self.test_company_2).create({ + 'name': 'Global leave in another company', + 'calendar_id': False, + # Monday in two weeks + 'date_from': (leave_start_datetime + timedelta(weeks=2)).replace(hour=0, minute=0, second=0), + 'date_to': (leave_start_datetime + timedelta(weeks=2)).replace(hour=23, minute=59, second=59), + }) + + # 7 Timesheets should have been created for full_time_employee + timesheets_full_time_employee = self.env['account.analytic.line'].search([('employee_id', '=', self.full_time_employee.id)]) + self.assertEqual(len(timesheets_full_time_employee), 7) + + # All timesheets should have been deleted for full_time_employee when he is archived + self.full_time_employee.active = False + timesheets_full_time_employee = self.env['account.analytic.line'].search([('employee_id', '=', self.full_time_employee.id)]) + self.assertEqual(len(timesheets_full_time_employee), 0) + + # 7 Timesheets should have been created for full_time_employee when he is unarchived + self.full_time_employee.active = True + timesheets_full_time_employee = self.env['account.analytic.line'].search([('employee_id', '=', self.full_time_employee.id)]) + self.assertEqual(len(timesheets_full_time_employee), 7) + + # This tests that no timesheet are created for days when the employee is not supposed to work + def test_no_timesheet_on_off_days(self): + leave_start_datetime = datetime(2021, 1, 4, 7, 0, 0, 0) # This is a monday + leave_end_datetime = datetime(2021, 1, 8, 18, 0, 0, 0) # This is a friday + day_off = datetime(2021, 1, 6, 0, 0, 0) # part_time_employee does not work on wednesday + + self.env['resource.calendar.leaves'].create({ + 'name': 'Test', + 'calendar_id': self.part_time_calendar.id, + 'date_from': leave_start_datetime, + 'date_to': leave_end_datetime, + }) + + # The total number of hours for the timesheet created should be equal to the + # hours_per_day of the calendar + leave_task = self.test_company.leave_timesheet_task_id + self.assertEqual(leave_task.effective_hours, 4 * self.part_time_calendar.hours_per_day) + + # No timesheet should have been created on the day off + timesheet = self.env['account.analytic.line'].search([('date', '=', day_off), ('task_id', '=', leave_task.id)]) + self.assertFalse(timesheet.id) + + # This tests that timesheets are created/deleted for every employee with the same calendar + # when a global time off has a calendar_id set/remove + def test_timesheet_creation_and_deletion_for_calendar_set_and_remove(self): + leave_start_datetime = datetime(2021, 1, 4, 7, 0, 0, 0) # This is a monday + leave_end_datetime = datetime(2021, 1, 8, 18, 0, 0, 0) # This is a friday + + global_time_off = self.env['resource.calendar.leaves'].create({ + 'name': 'Test', + 'calendar_id': self.test_company.resource_calendar_id.id, + 'date_from': leave_start_datetime, + 'date_to': leave_end_datetime, + }) + + # 5 Timesheets should have been created for full_time_employee and full_time_employee_2 + # but none for part_time_employee + leave_task = self.test_company.leave_timesheet_task_id + + # Now we delete the calendar_id. The timesheets should be deleted too. + global_time_off.calendar_id = False + + self.assertFalse(leave_task.timesheet_ids.ids) + + # Now we reset the calendar_id. The timesheets should be created and have the right value. + global_time_off.calendar_id = self.test_company.resource_calendar_id.id + + timesheets_by_employee = self._get_timesheets_by_employee(leave_task) + self.assertFalse(timesheets_by_employee.get(self.part_time_employee.id, False)) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee.id), 5) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee_2.id), 5) + + # The standard calendar is for 8 hours/day from 8 to 12 and from 13 to 17. + # So we need to check that the timesheets don't have more than 8 hours per day. + self.assertEqual(leave_task.effective_hours, 80) + + def test_search_is_timeoff_task(self): + """ Test the search method on is_timeoff_task + with and without any hr.leave.type with timesheet_task_id defined""" + leaves_types_with_task_id = self.env['hr.leave.type'].search([('timesheet_task_id', '!=', False)]) + self.env['project.task'].search([('is_timeoff_task', '!=', False)]) + + leaves_types_with_task_id.write({'timesheet_task_id': False}) + self.env['project.task'].search([('is_timeoff_task', '!=', False)]) + + def test_timesheet_creation_for_global_time_off_wo_calendar(self): + leave_start_datetime = datetime(2021, 1, 4, 7, 0) # This is a monday + leave_end_datetime = datetime(2021, 1, 8, 18, 0) # This is a friday + + global_time_off = self.env['resource.calendar.leaves'].with_company(self.test_company).create({ + 'name': 'Test', + 'calendar_id': False, + 'date_from': leave_start_datetime, + 'date_to': leave_end_datetime, + }) + + leave_task = self.test_company.leave_timesheet_task_id + timesheets_by_employee = self._get_timesheets_by_employee(leave_task) + # 5 Timesheets for full time employees and 4 Timesheets for part time employees should have been created + self.assertEqual(timesheets_by_employee.get(self.part_time_employee.id), 4) + self.assertEqual(timesheets_by_employee.get(self.part_time_employee2.id), 4) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee.id), 5) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee_2.id), 5) + # 8 hours/day for full time calendar employees and 6 hours/day for part time calendar employees. + # So it should add to 2(full time employees)*5(leave days)*8(hours per day) + 2(part time employees)*4(leave days)*6(hours per day). + self.assertEqual(leave_task.effective_hours, 128) + + + # Now we set the calendar_id. The timesheets should be deleted from other calendars. + global_time_off.calendar_id = self.test_company.resource_calendar_id.id + timesheets_by_employee = self._get_timesheets_by_employee(leave_task) + + self.assertFalse(timesheets_by_employee.get(self.part_time_employee.id, False)) + self.assertFalse(timesheets_by_employee.get(self.part_time_employee2.id, False)) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee.id), 5) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee_2.id), 5) + self.assertEqual(leave_task.effective_hours, 80) + + def test_timesheet_creation_for_global_time_off_in_differant_company(self): + leave_start_datetime = datetime(2021, 1, 4, 7, 0) # This is a monday + leave_end_datetime = datetime(2021, 1, 8, 18, 0) # This is a friday + + new_company = self.env['res.company'].create({ + 'name': 'Winterfell', + }) + + self.env['resource.calendar.leaves'].with_company(new_company).create({ + 'name': 'Test', + 'calendar_id': False, + 'date_from': leave_start_datetime, + 'date_to': leave_end_datetime, + }) + + leave_task = self.test_company.leave_timesheet_task_id + timesheets_by_employee = self._get_timesheets_by_employee(leave_task) + # Should no create timesheet if leave is in differant company then employees + self.assertFalse(timesheets_by_employee.get(self.part_time_employee, False)) + self.assertFalse(timesheets_by_employee.get(self.full_time_employee, False)) + # Should not add any timsheets in other companies + self.assertEqual(leave_task.effective_hours, 0) + + def test_timesheet_creation_for_global_time_off_wo_calendar_in_batch(self): + self.env['resource.calendar.leaves'].with_company(self.test_company).create([{ + 'name': "Easter Monday", + 'calendar_id': False, + 'date_from': datetime(2022, 4, 18, 5, 0, 0), + 'date_to': datetime(2022, 4, 18, 18, 0, 0), + 'resource_id': False, + 'time_type': "leave", + }, { + 'name': "Ascension Day", + 'calendar_id': False, + 'date_from': datetime(2022, 4, 26, 5, 0, 0), + 'date_to': datetime(2022, 4, 26, 18, 0, 0), + }]) + + # 2 Timesheets for 2 global leaves should have been created for current companies all calendar employees + leave_task = self.test_company.leave_timesheet_task_id + timesheets_by_employee = self._get_timesheets_by_employee(leave_task) + + self.assertEqual(timesheets_by_employee.get(self.part_time_employee.id), 2) + self.assertEqual(timesheets_by_employee.get(self.part_time_employee2.id), 2) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee.id), 2) + self.assertEqual(timesheets_by_employee.get(self.full_time_employee_2.id), 2) + # Total hours should be 2(part time employees)*6(hour per day)*2(leaves days) + 2(full time employees)*8(hour per day)*2(leaves days) + self.assertEqual(leave_task.effective_hours, 56) + + def test_timesheet_creation_and_deletion_for_calendar_update(self): + """ + Check that employee's timesheets are correctly updated when the employee's calendar + is modified for public holidays after today's date. + """ + attendance_ids_40h = [ + Command.create({'name': 'Monday Morning', 'dayofweek': '0', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Monday Afternoon', 'dayofweek': '0', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), + Command.create({'name': 'Tuesday Morning', 'dayofweek': '1', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Tuesday Afternoon', 'dayofweek': '1', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), + Command.create({'name': 'Wednesday Morning', 'dayofweek': '2', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Wednesday Afternoon', 'dayofweek': '2', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), + Command.create({'name': 'Thursday Morning', 'dayofweek': '3', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Thursday Afternoon', 'dayofweek': '3', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), + Command.create({'name': 'Friday Morning', 'dayofweek': '4', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Friday Afternoon', 'dayofweek': '4', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}) + ] + attendance_ids_35h = [ + Command.create({'name': 'Monday Morning', 'dayofweek': '0', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Monday Afternoon', 'dayofweek': '0', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + Command.create({'name': 'Tuesday Morning', 'dayofweek': '1', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Tuesday Afternoon', 'dayofweek': '1', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + Command.create({'name': 'Wednesday Morning', 'dayofweek': '2', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Wednesday Afternoon', 'dayofweek': '2', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + Command.create({'name': 'Thursday Morning', 'dayofweek': '3', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Thursday Afternoon', 'dayofweek': '3', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}), + Command.create({'name': 'Friday Morning', 'dayofweek': '4', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), + Command.create({'name': 'Friday Afternoon', 'dayofweek': '4', 'hour_from': 13, 'hour_to': 16, 'day_period': 'afternoon'}) + ] + calendar_40h, calendar_35h = self.env['resource.calendar'].create([ + { + 'name': 'Calendar 40h', + 'company_id': self.test_company.id, + 'hours_per_day': 8, + 'attendance_ids': attendance_ids_40h, + }, + { + 'name': 'Calendar 35h', + 'company_id': self.test_company.id, + 'hours_per_day': 8, + 'attendance_ids': attendance_ids_35h, + } + ]) + gto_09_04, gto_09_11, gto_11_06, gto_11_13 = self.env['resource.calendar.leaves'].create([ + { + 'name': 'Global Time Off 4 Setpember', + 'date_from': datetime(2023, 9, 4, 7, 0, 0, 0), + 'date_to': datetime(2023, 9, 4, 18, 0, 0, 0), + 'calendar_id': calendar_40h.id, + }, + { + 'name': 'Global Time Off 11 Setpember', + 'date_from': datetime(2023, 9, 11, 7, 0, 0, 0), + 'date_to': datetime(2023, 9, 11, 18, 0, 0, 0), + 'calendar_id': calendar_35h.id, + }, + { + 'name': 'Global Time Off 6 November', + 'date_from': datetime(2023, 11, 6, 7, 0, 0, 0), + 'date_to': datetime(2023, 11, 6, 18, 0, 0, 0), + 'calendar_id': calendar_40h.id, + }, + { + 'name': 'Global Time Off 13 November', + 'date_from': datetime(2023, 11, 13, 7, 0, 0, 0), + 'date_to': datetime(2023, 11, 13, 18, 0, 0, 0), + 'calendar_id': calendar_35h.id, + } + ]) + + with freeze_time('2023-08-10'): + self.full_time_employee.resource_calendar_id = calendar_40h.id + timesheets_employee_40h = self.env['account.analytic.line'].search([('employee_id', '=', self.full_time_employee.id)]) + global_leaves_ids_40h = timesheets_employee_40h.global_leave_id + self.assertEqual(len(global_leaves_ids_40h), 2) + self.assertIn(gto_09_04, global_leaves_ids_40h) + self.assertIn(gto_11_06, global_leaves_ids_40h) + + with freeze_time('2023-10-10'): + self.full_time_employee.resource_calendar_id = calendar_35h.id + timesheets_employee_35h = self.env['account.analytic.line'].search([('employee_id', '=', self.full_time_employee.id)]) + global_leaves_ids_35h = timesheets_employee_35h.global_leave_id + self.assertEqual(len(global_leaves_ids_35h), 2) + self.assertIn(gto_09_04, global_leaves_ids_35h) + self.assertIn(gto_11_13, global_leaves_ids_35h) + self.assertNotIn(gto_09_11, global_leaves_ids_35h) + + def test_global_time_off_timesheet_creation_after_leave_refusal(self): + """ When a global time off is created and an employee already has a + validated leave at that date, a timesheet is not created for the + global time off. + We make sure that the global time off timesheet is restored if the + leave is refused. + """ + test_user = self.env['res.users'].with_company(self.test_company).create({ + 'name': 'Jonathan Doe', + 'login': 'jdoe@example.com', + }) + test_user.with_company(self.test_company).action_create_employee() + test_user.employee_id.write({ + 'resource_calendar_id': self.test_company.resource_calendar_id.id, + }) + # needed for cancelled leave chatter message + test_user.partner_id.write({ + 'email': 'jdoe@example.com', + }) + + # employee leave dates: from monday to friday + today = datetime.today() + next_monday = today.date() + timedelta(days=-today.weekday(), weeks=1) + hr_leave_start_datetime = datetime(next_monday.year, next_monday.month, next_monday.day, 8, 0, 0) # monday next week + hr_leave_end_datetime = hr_leave_start_datetime + timedelta(days=4, hours=9) # friday next week + + self.env.company = self.test_company + + internal_project = self.test_company.internal_project_id + internal_task_leaves = self.test_company.leave_timesheet_task_id + + hr_leave_type_with_ts = self.env['hr.leave.type'].create({ + 'name': 'Leave Type with timesheet generation', + 'requires_allocation': 'no', + 'timesheet_generate': True, + 'timesheet_project_id': internal_project.id, + 'timesheet_task_id': internal_task_leaves.id, + }) + + # create and validate a leave for full time employee + HrLeave = self.env['hr.leave'].with_context(mail_create_nolog=True, mail_notrack=True) + holiday = HrLeave.with_user(test_user).create({ + 'name': 'Leave 1', + 'employee_id': test_user.employee_id.id, + 'holiday_status_id': hr_leave_type_with_ts.id, + 'request_date_from': hr_leave_start_datetime, + 'request_date_to': hr_leave_end_datetime, + }) + holiday.sudo().action_validate() + self.assertEqual(len(holiday.timesheet_ids), 5) + + # create overlapping global time off + global_leave_start_datetime = hr_leave_start_datetime + timedelta(days=2) + global_leave_end_datetime = global_leave_start_datetime + timedelta(hours=9) + + global_time_off = self.env['resource.calendar.leaves'].create({ + 'name': 'Public Holiday', + 'calendar_id': self.test_company.resource_calendar_id.id, + 'date_from': global_leave_start_datetime, + 'date_to': global_leave_end_datetime, + }) + gto_without_calendar = self.env['resource.calendar.leaves'].create({ + 'name': 'Public Holiday without calendar', + 'date_from': global_leave_start_datetime + timedelta(days=1), # still within the hr.leave being refused + 'date_to': global_leave_end_datetime + timedelta(days=1), + }) + + # timesheets linked to global time offs should not exist as one already exists for the leave + self.assertFalse(global_time_off.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + self.assertFalse(gto_without_calendar.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + + # refuse original leave + holiday.sudo().action_refuse() + self.assertFalse(holiday.timesheet_ids) + + # timesheets linked to global time offs should be restored as the existing leave timesheets were unlinked after refusal + self.assertTrue(global_time_off.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + self.assertTrue(gto_without_calendar.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + + # remove global time offs to remove the timesheet so we can test cancelling the leave + global_time_off.unlink() + gto_without_calendar.unlink() + + # create a new leave at same dates + holiday2 = HrLeave.with_user(test_user).create({ + 'name': 'Leave 2', + 'employee_id': test_user.employee_id.id, + 'holiday_status_id': hr_leave_type_with_ts.id, + 'request_date_from': hr_leave_start_datetime, + 'request_date_to': hr_leave_end_datetime, + }) + holiday2.sudo().action_validate() + + # recreate the global time off + global_time_off = self.env['resource.calendar.leaves'].create({ + 'name': 'Public Holiday', + 'calendar_id': self.test_company.resource_calendar_id.id, + 'date_from': global_leave_start_datetime, + 'date_to': global_leave_end_datetime, + }) + gto_without_calendar = self.env['resource.calendar.leaves'].create({ + 'name': 'Public Holiday without calendar', + 'date_from': global_leave_start_datetime + timedelta(days=1), # still within the hr.leave being cancelled + 'date_to': global_leave_end_datetime + timedelta(days=1), + }) + + # timesheets linked to global time offs should not exist as one already exists for the leave + self.assertFalse(global_time_off.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + self.assertFalse(gto_without_calendar.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + + # cancel the leave + holiday2.with_user(test_user)._action_user_cancel('User cancelled leave') + self.assertFalse(holiday2.timesheet_ids) + + self.assertTrue(global_time_off.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) + self.assertTrue(gto_without_calendar.timesheet_ids.filtered(lambda r: r.employee_id == test_user.employee_id)) diff --git a/tests/test_timesheet_holidays.py b/tests/test_timesheet_holidays.py new file mode 100644 index 0000000..c485a86 --- /dev/null +++ b/tests/test_timesheet_holidays.py @@ -0,0 +1,221 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from datetime import datetime +from dateutil.relativedelta import relativedelta +from freezegun import freeze_time + +from odoo import fields, SUPERUSER_ID + +from odoo.exceptions import UserError +from odoo.tests import common, new_test_user +from odoo.addons.hr_timesheet.tests.test_timesheet import TestCommonTimesheet +import time + + +class TestTimesheetHolidaysCreate(common.TransactionCase): + + def test_status_create(self): + """Ensure that when a status is created, it fullfills the project and task constrains""" + status = self.env['hr.leave.type'].create({ + 'name': 'A nice Time Off Type', + 'requires_allocation': 'no' + }) + + self.assertEqual(status.timesheet_project_id, status.company_id.internal_project_id, 'The default project linked to the status should be the same as the company') + self.assertEqual(status.timesheet_task_id, status.company_id.leave_timesheet_task_id, 'The default task linked to the status should be the same as the company') + + def test_company_create(self): + main_company = self.env.ref('base.main_company') + user = new_test_user(self.env, login='fru', + groups='base.group_user,base.group_erp_manager,base.group_partner_manager', + company_id=main_company.id, + company_ids=[(6, 0, main_company.ids)]) + Company = self.env['res.company'] + Company = Company.with_user(user) + Company = Company.with_company(main_company) + company = Company.create({'name': "Wall Company"}) + self.assertEqual(company.internal_project_id.sudo().company_id, company, "It should have created a project for the company") + +class TestTimesheetHolidays(TestCommonTimesheet): + + def setUp(self): + super(TestTimesheetHolidays, self).setUp() + + self.employee_working_calendar = self.empl_employee.resource_calendar_id + # leave dates : from next monday to next wednesday (to avoid crashing tests on weekend, when + # there is no work days in working calendar) + # NOTE: second and millisecond can add a working days + self.leave_start_datetime = datetime(2018, 2, 5) # this is monday + self.leave_end_datetime = self.leave_start_datetime + relativedelta(days=2) + + # all company have those internal project/task (created by default) + self.internal_project = self.env.company.internal_project_id + self.internal_task_leaves = self.env.company.leave_timesheet_task_id + + self.hr_leave_type_with_ts = self.env['hr.leave.type'].create({ + 'name': 'Time Off Type with timesheet generation', + 'requires_allocation': 'no', + 'timesheet_generate': True, + 'timesheet_project_id': self.internal_project.id, + 'timesheet_task_id': self.internal_task_leaves.id, + }) + self.hr_leave_type_no_ts = self.env['hr.leave.type'].create({ + 'name': 'Time Off Type without timesheet generation', + 'requires_allocation': 'no', + 'timesheet_generate': False, + 'timesheet_project_id': False, + 'timesheet_task_id': False, + }) + + # HR Officer allocates some leaves to the employee 1 + self.Requests = self.env['hr.leave'].with_context(mail_create_nolog=True, mail_notrack=True) + self.Allocations = self.env['hr.leave.allocation'].with_context(mail_create_nolog=True, mail_notrack=True) + self.hr_leave_allocation_with_ts = self.Allocations.sudo().create({ + 'name': 'Days for limited category with timesheet', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': self.hr_leave_type_with_ts.id, + 'number_of_days': 10, + 'state': 'confirm', + 'date_from': time.strftime('%Y-01-01'), + 'date_to': time.strftime('%Y-12-31'), + }) + self.hr_leave_allocation_no_ts = self.Allocations.sudo().create({ + 'name': 'Days for limited category without timesheet', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': self.hr_leave_type_no_ts.id, + 'number_of_days': 10, + 'state': 'confirm', + 'date_from': time.strftime('%Y-01-01'), + 'date_to': time.strftime('%Y-12-31'), + }) + + def test_validate_with_timesheet(self): + # employee creates a leave request + holiday = self.Requests.with_user(self.user_employee).create({ + 'name': 'Time Off 1', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': self.hr_leave_type_with_ts.id, + 'request_date_from': self.leave_start_datetime, + 'request_date_to': self.leave_end_datetime, + }) + holiday.with_user(SUPERUSER_ID).action_validate() + + # The leave type and timesheet are linked to the same project and task of hr_leave_type_with_ts as the company is set + self.assertEqual(holiday.timesheet_ids.project_id.id, self.hr_leave_type_with_ts.timesheet_project_id.id) + self.assertEqual(holiday.timesheet_ids.task_id.id, self.hr_leave_type_with_ts.timesheet_task_id.id) + + self.assertEqual(len(holiday.timesheet_ids), holiday.number_of_days, 'Number of generated timesheets should be the same as the leave duration (1 per day between %s and %s)' % (fields.Datetime.to_string(self.leave_start_datetime), fields.Datetime.to_string(self.leave_end_datetime))) + + # manager refuse the leave + holiday.with_user(SUPERUSER_ID).action_refuse() + self.assertEqual(len(holiday.timesheet_ids), 0, 'Number of linked timesheets should be zero, since the leave is refused.') + + company = self.env['res.company'].create({"name": "new company"}) + self.empl_employee.write({ + "company_id": company.id, + }) + + hr_leave_type_with_ts_without_company = self.hr_leave_type_with_ts.copy() + hr_leave_type_with_ts_without_company.write({ + 'company_id': False, + }) + self.assertTrue(hr_leave_type_with_ts_without_company.timesheet_generate) + + holiday = self.Requests.create({ + 'name': 'Time Off 2', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': hr_leave_type_with_ts_without_company.id, + 'request_date_from': self.leave_start_datetime, + 'request_date_to': self.leave_end_datetime, + }) + holiday.with_user(SUPERUSER_ID).action_validate() + + # The leave type and timesheet are linked to the same project and task of the employee company as the company is not set + self.assertEqual(holiday.timesheet_ids.project_id.id, company.internal_project_id.id) + self.assertEqual(holiday.timesheet_ids.task_id.id, company.leave_timesheet_task_id.id) + + def test_validate_without_timesheet(self): + # employee creates a leave request + holiday = self.Requests.with_user(self.user_employee).create({ + 'name': 'Time Off 1', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': self.hr_leave_type_no_ts.id, + 'request_date_from': self.leave_start_datetime, + 'request_date_to': self.leave_end_datetime, + }) + holiday.with_user(SUPERUSER_ID).action_validate() + self.assertEqual(len(holiday.timesheet_ids), 0, 'Number of generated timesheets should be zero since the leave type does not generate timesheet') + + @freeze_time('2018-02-05') # useful to be able to cancel the validated time off + def test_cancel_validate_holidays(self): + holiday = self.Requests.with_user(self.user_employee).create({ + 'name': 'Time Off 1', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': self.hr_leave_type_with_ts.id, + 'request_date_from': self.leave_start_datetime, + 'request_date_to': self.leave_end_datetime, + }) + holiday.with_user(self.env.user).action_validate() + self.assertEqual(len(holiday.timesheet_ids), holiday.number_of_days, 'Number of generated timesheets should be the same as the leave duration (1 per day between %s and %s)' % (fields.Datetime.to_string(self.leave_start_datetime), fields.Datetime.to_string(self.leave_end_datetime))) + + self.env['hr.holidays.cancel.leave'].with_user(self.user_employee).with_context(default_leave_id=holiday.id) \ + .new({'reason': 'Test remove holiday'}) \ + .action_cancel_leave() + self.assertFalse(holiday.active, 'The time off should be archived') + self.assertEqual(len(holiday.timesheet_ids), 0, 'The timesheets generated should be unlink.') + + def test_timesheet_time_off_including_public_holiday(self): + """ Generate one timesheet for the public holiday and 4 timesheets for the time off. + Test Case: + ========= + 1) Create a public time off on Wednesday + 2) In the same week, create a time off during one week for an employee + 3) Check if there are five timesheets generated for time off and public + holiday.4 timesheets should be linked to the time off and 1 for + the public one. + """ + + leave_start_datetime = datetime(2022, 1, 24, 7, 0, 0, 0) # Monday + leave_end_datetime = datetime(2022, 1, 28, 18, 0, 0, 0) + + # Create a public holiday + self.env['resource.calendar.leaves'].create({ + 'name': 'Test', + 'calendar_id': self.employee_working_calendar.id, + 'date_from': datetime(2022, 1, 26, 7, 0, 0, 0), # This is Wednesday and India Independence + 'date_to': datetime(2022, 1, 26, 18, 0, 0, 0), + }) + + holiday = self.Requests.with_user(self.user_employee).create({ + 'name': 'Time Off 1', + 'employee_id': self.empl_employee.id, + 'holiday_status_id': self.hr_leave_type_with_ts.id, + 'request_date_from': leave_start_datetime, + 'request_date_to': leave_end_datetime, + }) + holiday.with_user(SUPERUSER_ID).action_validate() + self.assertEqual(len(holiday.timesheet_ids), 4, '4 timesheets should be generated for this time off.') + + timesheets = self.env['account.analytic.line'].search([ + ('date', '>=', leave_start_datetime), + ('date', '<=', leave_end_datetime), + ('employee_id', '=', self.empl_employee.id), + ]) + + # should not able to update timeoff timesheets + with self.assertRaises(UserError): + timesheets.with_user(self.empl_employee).write({'task_id': 4}) + + # should not able to create timesheet in timeoff task + with self.assertRaises(UserError): + self.env['account.analytic.line'].with_user(self.empl_employee).create({ + 'name': "my timesheet", + 'project_id': self.internal_project.id, + 'task_id': self.internal_task_leaves.id, + 'date': '2021-10-04', + 'unit_amount': 8.0, + }) + + self.assertEqual(len(timesheets.filtered('holiday_id')), 4, "4 timesheet should be linked to employee's timeoff") + self.assertEqual(len(timesheets.filtered('global_leave_id')), 1, '1 timesheet should be linked to global leave') diff --git a/views/hr_holidays_views.xml b/views/hr_holidays_views.xml new file mode 100644 index 0000000..2422ca2 --- /dev/null +++ b/views/hr_holidays_views.xml @@ -0,0 +1,26 @@ + + + + + hr.leave.type.form + hr.leave.type + + + + +
+ Generate timesheets when validating time off requests of this type +
+ + + + + + +
+ +
+
+
+ +
\ No newline at end of file diff --git a/views/project_task_views.xml b/views/project_task_views.xml new file mode 100644 index 0000000..7064207 --- /dev/null +++ b/views/project_task_views.xml @@ -0,0 +1,19 @@ + + + + + project.task.leave.form.view + project.task + + + + + + + not analytic_account_active + is_timeoff_task + + + + + diff --git a/views/res_config_settings_views.xml b/views/res_config_settings_views.xml new file mode 100644 index 0000000..a48c51c --- /dev/null +++ b/views/res_config_settings_views.xml @@ -0,0 +1,26 @@ + + + + + res.config.settings.view.form.inherit.project.timesheet.holidays + res.config.settings + + + +
+
+
+
+
+
+
+
+
+
+
+ +