mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 06:50:35 +01:00
Make the mail subject and the confirmation message translatable.
This commit is contained in:
parent
e31357bd88
commit
cf53019c13
@ -68,6 +68,7 @@ class module_addressbook_contactform extends sitemgr_module
|
|||||||
'sep5' => '----------------------------',
|
'sep5' => '----------------------------',
|
||||||
'captcha' => lang('Verification'),
|
'captcha' => lang('Verification'),
|
||||||
);
|
);
|
||||||
|
$this->i18n = True;
|
||||||
$this->arguments = array(
|
$this->arguments = array(
|
||||||
'arg1' => array(
|
'arg1' => array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
@ -86,6 +87,7 @@ class module_addressbook_contactform extends sitemgr_module
|
|||||||
'label' => lang('Subject for email'),
|
'label' => lang('Subject for email'),
|
||||||
'params' => array('size' => 80),
|
'params' => array('size' => 80),
|
||||||
'default' => lang('Contactform'),
|
'default' => lang('Contactform'),
|
||||||
|
'i18n' => True,
|
||||||
),
|
),
|
||||||
'arg2' => array(
|
'arg2' => array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
@ -100,6 +102,7 @@ class module_addressbook_contactform extends sitemgr_module
|
|||||||
'label' => lang('Message after submitting the form'),
|
'label' => lang('Message after submitting the form'),
|
||||||
'params' => array('size' => 80),
|
'params' => array('size' => 80),
|
||||||
'default' => lang('Thank you for contacting us.'),
|
'default' => lang('Thank you for contacting us.'),
|
||||||
|
'i18n' => True,
|
||||||
),
|
),
|
||||||
'arg5' => array(
|
'arg5' => array(
|
||||||
'type' => 'textfield',
|
'type' => 'textfield',
|
||||||
|
Loading…
Reference in New Issue
Block a user