<?xml version='1.0' encoding='UTF-8'?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="pt-BR" datatype="plaintext" original="devel/modules.md">
<trans-unit id="12a4ad08" xml:space="preserve">
<target># Módulos</target>
<trans-unit id="f1b884d6" xml:space="preserve">
<source>### What is a PHP frontend module?
- A module is an entity with a unique ID, name, description, author, and other fields defined in it's manifest file, along with PHP, Javascript and other files located in a single directory inside the *modules* directory of your Zabbix frontend installation (for example, *zabbix/ui/modules*).
- A module should conform to simple rules to guarantee correct operation.
- A module must be installed (unpacked) and enabled in the frontend by the administrator.</source>
<target>### O que é um módulo de frontend PHP?
- um módulo é uma entidade com um ID único, nome, descrição, autor e outros campos definidos em seu arquivo de manifesto, juntamente com arquivos PHP, JavaScript e outros localizados em um único diretório dentro do diretório *modules*
- Um módulo deve seguir regras simples para garantir operação correta.
- Um módulo deve ser instalado (descompactado) e ativado no frontend pelo administrador.</target>
<trans-unit id="4e4bad2b" xml:space="preserve">
### What a module can be used for
- Adding new functionality via custom frontend sections;
- Creating custom dashboard widget types (see [widget modules](/devel/modules/widgets));
- Overriding or extending the existing functionality.</source>
<target>### Para que um módulo pode ser usado?
- Adicionando novas funcionalidades por meio de seções frontend personalizadas;
- Criação de tipos de widget de painel personalizados (consulte [widget modules](/devel/modules/widgets));
- Substituindo ou estendendo a funcionalidade existente.</target>
<trans-unit id="064ddd80" xml:space="preserve">
### What a module cannot be used for
- Registering a new API method or modifying an existing one.</source>
<target>### Para que um módulo não pode ser usado?
- Registrar um novo método de API ou modificar uma existente.</target>
<trans-unit id="bfe0360a" xml:space="preserve">
- An enabled module is launched on each HTTP request, before executing the action code.
- The module will register new actions or redefine the existing ones.
- The module will add new frontend sections and remove or redefine the existing ones.
- The module will hook to frontend events like onBeforeAction and onTerminate, if needed.
- The requested action is finally executed by running the action code - either the default one, or module-defined.</source>
### Como funcionam os módulos
- Um módulo habilitado é lançado em cada solicitação HTTP, antes de executar o código de ação.
- O módulo irá cadastrar novas ações ou redefinir as existentes.
- O módulo adicionará novas seções de frontend e removerá ou redefinirá as existentes.
- O módulo se conectará a eventos de frontend como onBeforeAction e onTerminate, se necessário.
- A ação solicitada é finalmente executada executando o código de ação - o padrão ou definido pelo módulo.</target>
<trans-unit id="7aea12f6" xml:space="preserve">
<source>### Where to go next