Skip to content

Commit

Permalink
[UPD] updated translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcoapu committed Dec 13, 2024
1 parent 2e651ea commit 6d97625
Show file tree
Hide file tree
Showing 55 changed files with 1,497 additions and 574 deletions.
72 changes: 72 additions & 0 deletions controllo_accessi/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * controllo_accessi
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-12 09:02+0000\n"
"PO-Revision-Date: 2024-12-12 09:02+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: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_base
msgid "Base"
msgstr ""

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_gdpr
msgid "AC GDPR"
msgstr "CA GDPR"

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_config
msgid "Configurations"
msgstr "Configurazioni"

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_config_tech
msgid "Technical Configurations"
msgstr "Configurazioni Tecniche"

#. module: controllo_accessi
#: model:ir.module.category,name:controllo_accessi.access_control
#: model:res.groups,name:controllo_accessi.ca_ca
msgid "Access Control"
msgstr "Controllo Accessi"

#. module: controllo_accessi
#: model:ir.module.category,name:controllo_accessi.access_control_inrim
msgid "INRiM"
msgstr ""

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_portineria
msgid "Concierge"
msgstr "Portineria"

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_ru
msgid "Human Resources"
msgstr "Risorse Umane"

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_spp
msgid "Spp"
msgstr ""

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_tech
msgid "Technician"
msgstr "Tecnico"

#. module: controllo_accessi
#: model:res.groups,name:controllo_accessi.ca_utente
msgid "User"
msgstr "Utente"
18 changes: 9 additions & 9 deletions controllo_accessi/security/security.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="access_control" model="ir.module.category">
<field name="name">Controllo Accessi</field>
<field name="name">Access Control</field>
<field name="sequence">2</field>
</record>

Expand All @@ -17,37 +17,37 @@
</record>

<record id="ca_utente" model="res.groups">
<field name="name">Utente</field>
<field name="name">User</field>
<field name="implied_ids" eval="[(4, ref('controllo_accessi.ca_base'))]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>

<record id="ca_gdpr" model="res.groups">
<field name="name">CA GDPR</field>
<field name="name">AC GDPR</field>
<field name="implied_ids" eval="[(4, ref('controllo_accessi.ca_utente'))]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>

<record id="ca_config" model="res.groups">
<field name="name">Configurazioni</field>
<field name="name">Configurations</field>
<field name="implied_ids" eval="[(4, ref('controllo_accessi.ca_utente'))]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>

<record id="ca_ca" model="res.groups">
<field name="name">Controllo Accessi</field>
<field name="name">Access Control</field>
<field name="implied_ids" eval="[(4, ref('controllo_accessi.ca_utente'))]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>

<record id="ca_config_tech" model="res.groups">
<field name="name">Configurazioni Tecniche</field>
<field name="name">Technical Configurations</field>
<field name="implied_ids" eval="[(6, 0, [ref('controllo_accessi.ca_config'), ref('controllo_accessi.ca_ca')])]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>

<record id="ca_ru" model="res.groups">
<field name="name">Risorse Umane</field>
<field name="name">Human Resources</field>
<field name="implied_ids" eval="[(6, 0, [ref('controllo_accessi.ca_ca'), ref('controllo_accessi.ca_gdpr')])]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>
Expand All @@ -59,13 +59,13 @@
</record>

<record id="ca_portineria" model="res.groups">
<field name="name">Portineria</field>
<field name="name">Concierge</field>
<field name="implied_ids" eval="[(6, 0, [ref('controllo_accessi.ca_ca'), ref('controllo_accessi.ca_gdpr')])]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>

<record id="ca_tech" model="res.groups">
<field name="name">Tecnico</field>
<field name="name">Technician</field>
<field name="implied_ids" eval="[(4, ref('controllo_accessi.ca_config_tech'))]"/>
<field name="category_id" ref="controllo_accessi.access_control_inrim"/>
</record>
Expand Down
119 changes: 119 additions & 0 deletions controllo_accessi_inrim_app/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * controllo_accessi_inrim_app
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-12 09:27+0000\n"
"PO-Revision-Date: 2024-12-12 09:27+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: controllo_accessi_inrim_app
#: model:ir.model,name:controllo_accessi_inrim_app.model_ca_anag_registro_accesso
msgid "Anagrafica Registro Accesso"
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.model,name:controllo_accessi_inrim_app.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr "Configurazione LDAP azienda"

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields,field_description:controllo_accessi_inrim_app.field_ca_anag_registro_accesso__codice_lettore_grum
#: model:ir.model.fields,field_description:controllo_accessi_inrim_app.field_ca_punto_accesso__codice_lettore_grum
msgid "GRUM Reader Code"
msgstr "Codice Lettore GRUM"

#. module: controllo_accessi_inrim_app
#: model_terms:ir.ui.view,arch_db:controllo_accessi_inrim_app.ca_punto_accesso_view_form_inherit
msgid "Grum Reader ID"
msgstr "ID Lettore Grum"

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields,field_description:controllo_accessi_inrim_app.field_ca_anag_registro_accesso__work_id_number
msgid "ID Number"
msgstr "Numero ID"

#. module: controllo_accessi_inrim_app
#: model:ir.actions.server,name:controllo_accessi_inrim_app.read_people_get_addressbook_cron_ir_actions_server
msgid "INRiM: Read People Get Addressbook"
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.actions.server,name:controllo_accessi_inrim_app.read_people_get_rooms_cron_ir_actions_server
msgid "INRiM: Read People Get Rooms"
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.actions.server,name:controllo_accessi_inrim_app.sync_access_register_with_labinf_ir_actions_server
msgid "INRiM: Sync to Labinf"
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields.selection,name:controllo_accessi_inrim_app.selection__ca_anag_registro_accesso__state__no_sync
msgid "No Sync"
msgstr "Nessuna Sincronizzazione"

#. module: controllo_accessi_inrim_app
#: model:ir.model,name:controllo_accessi_inrim_app.model_ca_persona
msgid "Persona"
msgstr "Anagrafica Persona"

#. module: controllo_accessi_inrim_app
#: model:ir.model,name:controllo_accessi_inrim_app.model_ca_punto_accesso
msgid "Punto Accesso"
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields.selection,name:controllo_accessi_inrim_app.selection__ca_anag_registro_accesso__state__sent
msgid "Sent"
msgstr "Inviato"

#. module: controllo_accessi_inrim_app
#: model:ir.model,name:controllo_accessi_inrim_app.model_ca_spazio
msgid "Spazio"
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields.selection,name:controllo_accessi_inrim_app.selection__ca_anag_registro_accesso__state__sync_done
msgid "Sync Done"
msgstr "Sincronizzazione Completata"

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields.selection,name:controllo_accessi_inrim_app.selection__ca_anag_registro_accesso__state__sync_error
msgid "Sync Error"
msgstr "Errore Di Sincronizzazione"

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields,field_description:controllo_accessi_inrim_app.field_ca_anag_registro_accesso__state
msgid "Sync State"
msgstr "Stato Sincronizza"

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields,field_description:controllo_accessi_inrim_app.field_res_company_ldap__user
msgid "Template User"
msgstr "Utente modello"

#. module: controllo_accessi_inrim_app
#. odoo-python
#: code:addons/controllo_accessi_inrim_app/models/ca_punto_accesso.py:0
#, python-format
msgid "The GRUM reader code must be between 20 and 999."
msgstr ""

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields.selection,name:controllo_accessi_inrim_app.selection__ca_anag_registro_accesso__state__to_sync
msgid "To Sync"
msgstr "Da Sincronizzare"

#. module: controllo_accessi_inrim_app
#: model:ir.model.fields,help:controllo_accessi_inrim_app.field_res_company_ldap__user
msgid "User to copy when creating new users"
msgstr "Modello utente da copiare quando ne viene creato un nuovo"
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CaAnagRegistroAccesso(models.Model):
_inherit = 'ca.anag_registro_accesso'

codice_lettore_grum = fields.Integer(
string='Codice Lettore GRUM',
string='GRUM Reader Code',
)
work_id_number = fields.Char(string='ID Number')
state = fields.Selection([
Expand Down
4 changes: 2 additions & 2 deletions controllo_accessi_inrim_app/models/ca_punto_accesso.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class CaPuntoAccesso(models.Model):
_inherit = "ca.punto_accesso"

codice_lettore_grum = fields.Integer(
string='Codice Lettore GRUM',
string='GRUM Reader Code',
)

@api.constrains('codice_lettore_grum', 'typology')
Expand All @@ -16,4 +16,4 @@ def _check_codice_lettore_grum(self):
# raise UserError("Il codice lettore GRUM è obbligatorio se la tipologia è: Timbratura.")
if record.codice_lettore_grum:
if not (20 <= record.codice_lettore_grum <= 999):
raise UserError("Il codice lettore GRUM deve essere compreso tra 20 e 999.")
raise UserError(_("The GRUM reader code must be between 20 and 999."))
Loading

0 comments on commit 6d97625

Please sign in to comment.