Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(ui): rename contact template titles properly (#7929)
Browse files Browse the repository at this point in the history
* fix(ui): rename the titles properly

* enh(translation): add missing translation
  • Loading branch information
sc979 authored Oct 9, 2019
1 parent 892d308 commit c05638b
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 15 deletions.
15 changes: 12 additions & 3 deletions lang/es_ES.UTF-8/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -10537,20 +10537,29 @@ msgid "You are not allowed to access this contact"
msgstr "No estás autorizado para acceder a este contacto."

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:274
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:162
msgid "Add a User"
msgstr "Agregar un usuario"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:276
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:164
msgid "Modify a User"
msgstr "Editar un usuario"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:278
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:166
msgid "View a User"
msgstr "Ver un usuario"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:162
msgid "Add a User Template"
msgstr "Agregar un modelo de usuario"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:164
msgid "Modify a User Template"
msgstr "Editar un modelo de usuario"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:166
msgid "View a User Template"
msgstr "Ver un modelo de usuario"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:288
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:176
msgid "Centreon Authentication"
Expand Down
15 changes: 12 additions & 3 deletions lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -10987,20 +10987,29 @@ msgid "You are not allowed to access this contact"
msgstr "Vous n'êtes pas autorisé à accéder à ce contact"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:274
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:162
msgid "Add a User"
msgstr "Ajouter un utilisateur"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:276
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:164
msgid "Modify a User"
msgstr "Modifier un utilisateur"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:278
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:166
msgid "View a User"
msgstr "Visualiser un utilisateur"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:162
msgid "Add a User Template"
msgstr "Ajouter un modèle utilisateur"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:164
msgid "Modify a User Template"
msgstr "Modifier un modèle utilisateur"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:166
msgid "View a User Template"
msgstr "Visualiser un modèle utilisateur"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:288
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:176
msgid "Centreon Authentication"
Expand Down
15 changes: 12 additions & 3 deletions lang/pt_BR.UTF-8/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -9341,20 +9341,29 @@ msgid "You are not allowed to access this contact"
msgstr "Você não tem permissão para acessar este contato"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:212
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:171
msgid "Add a User"
msgstr "Adicionar usuário"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:214
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:173
msgid "Modify a User"
msgstr "Modificar usuário"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:216
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:175
msgid "View a User"
msgstr "Visualizar usuário"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:171
msgid "Add a User Template"
msgstr "Adicionar um modelo de usuário"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:173
msgid "Modify a User Template"
msgstr "Modificar um modelo de usuário"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:175
msgid "View a User Template"
msgstr "Visualizar um modelo de usuário"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:226
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:185
msgid "Centreon Authentication"
Expand Down
15 changes: 12 additions & 3 deletions lang/pt_PT.UTF-8/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -9342,20 +9342,29 @@ msgid "You are not allowed to access this contact"
msgstr "Você não tem permissão para acessar este contacto"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:212
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:171
msgid "Add a User"
msgstr "Adicionar usuário"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:214
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:173
msgid "Modify a User"
msgstr "Modificar usuário"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:216
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:175
msgid "View a User"
msgstr "Visualizar usuário"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:171
msgid "Add a User Template"
msgstr "Adicionar um modelo de usuário"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:173
msgid "Modify a User Template"
msgstr "Modificar um modelo de usuário"

#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:175
msgid "View a User Template"
msgstr "Visualizar um modelo de usuário"

#: centreon-web/www/include/configuration/configObject/contact/formContact.php:226
#: centreon-web/www/include/configuration/configObject/contact_template_model/formContactTemplateModel.php:185
msgid "Centreon Authentication"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@

switch ($o) {
case 'a':
$form->addElement('header', 'title', _("Add a User"));
$form->addElement('header', 'title', _("Add a User Template"));
$eventDispatcher->notify($eventContext, EventDispatcher::EVENT_DISPLAY, $eventData);
break;
case 'c':
$form->addElement('header', 'title', _("Modify a User"));
$form->addElement('header', 'title', _("Modify a User Template"));
$eventDispatcher->notify($eventContext, EventDispatcher::EVENT_READ, $eventData);
break;
case 'w':
$form->addElement('header', 'title', _("View a User"));
$form->addElement('header', 'title', _("View a User Template"));
$eventDispatcher->notify($eventContext, EventDispatcher::EVENT_READ, $eventData);
break;
case 'mc':
Expand Down

0 comments on commit c05638b

Please sign in to comment.