support US English
This commit is contained in:
parent
aaae31c315
commit
c74c838bd9
|
@ -14,9 +14,12 @@ cs_CZ.utf8:UTF-8:Čeština (Česko)
|
||||||
# German
|
# German
|
||||||
de_DE.utf8:UTF-8:Deutsch (Deutschland)
|
de_DE.utf8:UTF-8:Deutsch (Deutschland)
|
||||||
|
|
||||||
# English
|
# GB English
|
||||||
en_GB.utf8:UTF-8:English (Great Britain)
|
en_GB.utf8:UTF-8:English (Great Britain)
|
||||||
|
|
||||||
|
# US English
|
||||||
|
en_US.utf8:UTF-8:English (USA)
|
||||||
|
|
||||||
# Spanish
|
# Spanish
|
||||||
es_ES.utf8:UTF-8:Español (España)
|
es_ES.utf8:UTF-8:Español (España)
|
||||||
|
|
||||||
|
|
|
@ -85,11 +85,11 @@ class kolabGroup extends baseModule {
|
||||||
"Text" => _("The list's email address.") . ' ' . _("Multiple values are separated by semicolon.")
|
"Text" => _("The list's email address.") . ' ' . _("Multiple values are separated by semicolon.")
|
||||||
),
|
),
|
||||||
'kolabAllowSMTPRecipient' => array (
|
'kolabAllowSMTPRecipient' => array (
|
||||||
"Headline" => _('Allowed recepients'), 'attr' => 'kolabAllowSMTPRecipient',
|
"Headline" => _('Allowed recipients'), 'attr' => 'kolabAllowSMTPRecipient',
|
||||||
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
||||||
),
|
),
|
||||||
'kolabAllowSMTPRecipientList' => array (
|
'kolabAllowSMTPRecipientList' => array (
|
||||||
"Headline" => _('Allowed recepients'), 'attr' => 'kolabAllowSMTPRecipient',
|
"Headline" => _('Allowed recipients'), 'attr' => 'kolabAllowSMTPRecipient',
|
||||||
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
||||||
. ' ' . _("Multiple values are separated by semicolon.")
|
. ' ' . _("Multiple values are separated by semicolon.")
|
||||||
),
|
),
|
||||||
|
@ -131,7 +131,7 @@ class kolabGroup extends baseModule {
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'kolabGroup_kolabAllowSMTPRecipient',
|
'name' => 'kolabGroup_kolabAllowSMTPRecipient',
|
||||||
'description' => _('Allowed recepients'),
|
'description' => _('Allowed recipients'),
|
||||||
'help' => 'kolabAllowSMTPRecipientList',
|
'help' => 'kolabAllowSMTPRecipientList',
|
||||||
'example' => '.com; -.net',
|
'example' => '.com; -.net',
|
||||||
),
|
),
|
||||||
|
@ -154,7 +154,7 @@ class kolabGroup extends baseModule {
|
||||||
}
|
}
|
||||||
// available PDF fields
|
// available PDF fields
|
||||||
$return['PDF_fields'] = array(
|
$return['PDF_fields'] = array(
|
||||||
'kolabAllowSMTPRecipient' => _('Allowed recepients'),
|
'kolabAllowSMTPRecipient' => _('Allowed recipients'),
|
||||||
'kolabAllowSMTPSender' => _('Allowed senders'),
|
'kolabAllowSMTPSender' => _('Allowed senders'),
|
||||||
);
|
);
|
||||||
if ($this->manageMail()) {
|
if ($this->manageMail()) {
|
||||||
|
@ -171,7 +171,7 @@ class kolabGroup extends baseModule {
|
||||||
$this->messages['mail'][1] = array('ERROR', _('Account %s:') . ' kolabGroup_mail', _('Please enter a valid email address!'));
|
$this->messages['mail'][1] = array('ERROR', _('Account %s:') . ' kolabGroup_mail', _('Please enter a valid email address!'));
|
||||||
$this->messages['mail'][2] = array('ERROR', _('Email address'), _('Email address already exists.'));
|
$this->messages['mail'][2] = array('ERROR', _('Email address'), _('Email address already exists.'));
|
||||||
$this->messages['mail'][3] = array('ERROR', _('Account %s:') . ' kolabGroup_mail', _('Email address already exists.'));
|
$this->messages['mail'][3] = array('ERROR', _('Account %s:') . ' kolabGroup_mail', _('Email address already exists.'));
|
||||||
$this->messages['kolabAllowSMTPRecipient'][0] = array('ERROR', _('Allowed recepients'), _('Please enter a valid recepient expression.'));
|
$this->messages['kolabAllowSMTPRecipient'][0] = array('ERROR', _('Allowed recipients'), _('Please enter a valid recepient expression.'));
|
||||||
$this->messages['kolabAllowSMTPRecipient'][1] = array('ERROR', _('Account %s:') . ' kolabGroup_kolabAllowSMTPRecipient', _('Please enter a valid recepient expression.'));
|
$this->messages['kolabAllowSMTPRecipient'][1] = array('ERROR', _('Account %s:') . ' kolabGroup_kolabAllowSMTPRecipient', _('Please enter a valid recepient expression.'));
|
||||||
$this->messages['kolabAllowSMTPSender'][0] = array('ERROR', _('Allowed senders'), _('Please enter a valid sender expression.'));
|
$this->messages['kolabAllowSMTPSender'][0] = array('ERROR', _('Allowed senders'), _('Please enter a valid sender expression.'));
|
||||||
$this->messages['kolabAllowSMTPSender'][1] = array('ERROR', _('Account %s:') . ' kolabGroup_kolabAllowSMTPSender', _('Please enter a valid sender expression.'));
|
$this->messages['kolabAllowSMTPSender'][1] = array('ERROR', _('Account %s:') . ' kolabGroup_kolabAllowSMTPSender', _('Please enter a valid sender expression.'));
|
||||||
|
@ -194,8 +194,8 @@ class kolabGroup extends baseModule {
|
||||||
if ($this->manageMail()) {
|
if ($this->manageMail()) {
|
||||||
$this->addSimpleInputTextField($container, 'mail', _('Email address'), true);
|
$this->addSimpleInputTextField($container, 'mail', _('Email address'), true);
|
||||||
}
|
}
|
||||||
// allowed recepients
|
// allowed recipients
|
||||||
$this->addMultiValueInputTextField($container, 'kolabAllowSMTPRecipient', _('Allowed recepients'));
|
$this->addMultiValueInputTextField($container, 'kolabAllowSMTPRecipient', _('Allowed recipients'));
|
||||||
// allowed senders
|
// allowed senders
|
||||||
$this->addMultiValueInputTextField($container, 'kolabAllowSMTPSender', _('Allowed senders'));
|
$this->addMultiValueInputTextField($container, 'kolabAllowSMTPSender', _('Allowed senders'));
|
||||||
// delete flag
|
// delete flag
|
||||||
|
@ -261,7 +261,7 @@ class kolabGroup extends baseModule {
|
||||||
unset($this->attributes['mail']);
|
unset($this->attributes['mail']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// allowed recepients
|
// allowed recipients
|
||||||
$this->processMultiValueInputTextField('kolabAllowSMTPRecipient', $errors, 'kolabEmailPrefix');
|
$this->processMultiValueInputTextField('kolabAllowSMTPRecipient', $errors, 'kolabEmailPrefix');
|
||||||
// allowed senders
|
// allowed senders
|
||||||
$this->processMultiValueInputTextField('kolabAllowSMTPSender', $errors, 'kolabEmailPrefix');
|
$this->processMultiValueInputTextField('kolabAllowSMTPSender', $errors, 'kolabEmailPrefix');
|
||||||
|
@ -414,7 +414,7 @@ class kolabGroup extends baseModule {
|
||||||
function get_pdfEntries() {
|
function get_pdfEntries() {
|
||||||
$return = array();
|
$return = array();
|
||||||
$this->addSimplePDFField($return, 'mail', _('Email address'));
|
$this->addSimplePDFField($return, 'mail', _('Email address'));
|
||||||
$this->addSimplePDFField($return, 'kolabAllowSMTPRecipient', _('Allowed recepients'));
|
$this->addSimplePDFField($return, 'kolabAllowSMTPRecipient', _('Allowed recipients'));
|
||||||
$this->addSimplePDFField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
$this->addSimplePDFField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,11 +110,11 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
"Text" => _("The folder's email address.")
|
"Text" => _("The folder's email address.")
|
||||||
),
|
),
|
||||||
'kolabAllowSMTPRecipient' => array (
|
'kolabAllowSMTPRecipient' => array (
|
||||||
"Headline" => _('Allowed recepients'), 'attr' => 'kolabAllowSMTPRecipient',
|
"Headline" => _('Allowed recipients'), 'attr' => 'kolabAllowSMTPRecipient',
|
||||||
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
||||||
),
|
),
|
||||||
'kolabAllowSMTPRecipientList' => array (
|
'kolabAllowSMTPRecipientList' => array (
|
||||||
"Headline" => _('Allowed recepients'), 'attr' => 'kolabAllowSMTPRecipient',
|
"Headline" => _('Allowed recipients'), 'attr' => 'kolabAllowSMTPRecipient',
|
||||||
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
||||||
. ' ' . _("Multiple values are separated by semicolon.")
|
. ' ' . _("Multiple values are separated by semicolon.")
|
||||||
),
|
),
|
||||||
|
@ -198,7 +198,7 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'kolabSharedFolder_kolabAllowSMTPRecipient',
|
'name' => 'kolabSharedFolder_kolabAllowSMTPRecipient',
|
||||||
'description' => _('Allowed recepients'),
|
'description' => _('Allowed recipients'),
|
||||||
'help' => 'kolabAllowSMTPRecipientList',
|
'help' => 'kolabAllowSMTPRecipientList',
|
||||||
'example' => '.com; -.net',
|
'example' => '.com; -.net',
|
||||||
),
|
),
|
||||||
|
@ -224,7 +224,7 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
// available PDF fields
|
// available PDF fields
|
||||||
$return['PDF_fields'] = array(
|
$return['PDF_fields'] = array(
|
||||||
'cn' => _('Name'),
|
'cn' => _('Name'),
|
||||||
'kolabAllowSMTPRecipient' => _('Allowed recepients'),
|
'kolabAllowSMTPRecipient' => _('Allowed recipients'),
|
||||||
'kolabAllowSMTPSender' => _('Allowed senders'),
|
'kolabAllowSMTPSender' => _('Allowed senders'),
|
||||||
'aliases' => _('Email aliases'),
|
'aliases' => _('Email aliases'),
|
||||||
'delegate' => _('Delegates'),
|
'delegate' => _('Delegates'),
|
||||||
|
@ -240,7 +240,7 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
* This function fills the $messages variable with output messages from this module.
|
* This function fills the $messages variable with output messages from this module.
|
||||||
*/
|
*/
|
||||||
function load_Messages() {
|
function load_Messages() {
|
||||||
$this->messages['kolabAllowSMTPRecipient'][0] = array('ERROR', _('Allowed recepients'), _('Please enter a valid recepient expression.'));
|
$this->messages['kolabAllowSMTPRecipient'][0] = array('ERROR', _('Allowed recipients'), _('Please enter a valid recepient expression.'));
|
||||||
$this->messages['kolabAllowSMTPRecipient'][1] = array('ERROR', _('Account %s:') . ' kolabSharedFolder_kolabAllowSMTPRecipient', _('Please enter a valid recepient expression.'));
|
$this->messages['kolabAllowSMTPRecipient'][1] = array('ERROR', _('Account %s:') . ' kolabSharedFolder_kolabAllowSMTPRecipient', _('Please enter a valid recepient expression.'));
|
||||||
$this->messages['kolabAllowSMTPSender'][0] = array('ERROR', _('Allowed senders'), _('Please enter a valid sender expression.'));
|
$this->messages['kolabAllowSMTPSender'][0] = array('ERROR', _('Allowed senders'), _('Please enter a valid sender expression.'));
|
||||||
$this->messages['kolabAllowSMTPSender'][1] = array('ERROR', _('Account %s:') . ' kolabSharedFolder_kolabAllowSMTPSender', _('Please enter a valid sender expression.'));
|
$this->messages['kolabAllowSMTPSender'][1] = array('ERROR', _('Account %s:') . ' kolabSharedFolder_kolabAllowSMTPSender', _('Please enter a valid sender expression.'));
|
||||||
|
@ -297,8 +297,8 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
$typeSelect->setHasDescriptiveElements(true);
|
$typeSelect->setHasDescriptiveElements(true);
|
||||||
$baseContainer->addElement($typeSelect, true);
|
$baseContainer->addElement($typeSelect, true);
|
||||||
$baseContainer->addVerticalSpace('10px');
|
$baseContainer->addVerticalSpace('10px');
|
||||||
// allowed recepients
|
// allowed recipients
|
||||||
$this->addMultiValueInputTextField($baseContainer, 'kolabAllowSMTPRecipient', _('Allowed recepients'));
|
$this->addMultiValueInputTextField($baseContainer, 'kolabAllowSMTPRecipient', _('Allowed recipients'));
|
||||||
// allowed senders
|
// allowed senders
|
||||||
$this->addMultiValueInputTextField($baseContainer, 'kolabAllowSMTPSender', _('Allowed senders'));
|
$this->addMultiValueInputTextField($baseContainer, 'kolabAllowSMTPSender', _('Allowed senders'));
|
||||||
$container->addElement($baseContainer, true);
|
$container->addElement($baseContainer, true);
|
||||||
|
@ -384,7 +384,7 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
}
|
}
|
||||||
// folder type
|
// folder type
|
||||||
$this->attributes['kolabFolderType'][0] = $_POST['kolabFolderType'];
|
$this->attributes['kolabFolderType'][0] = $_POST['kolabFolderType'];
|
||||||
// allowed recepients
|
// allowed recipients
|
||||||
$this->processMultiValueInputTextField('kolabAllowSMTPRecipient', $errors, 'kolabEmailPrefix');
|
$this->processMultiValueInputTextField('kolabAllowSMTPRecipient', $errors, 'kolabEmailPrefix');
|
||||||
// allowed senders
|
// allowed senders
|
||||||
$this->processMultiValueInputTextField('kolabAllowSMTPSender', $errors, 'kolabEmailPrefix');
|
$this->processMultiValueInputTextField('kolabAllowSMTPSender', $errors, 'kolabEmailPrefix');
|
||||||
|
@ -566,7 +566,7 @@ class kolabSharedFolder extends baseModule { // TODO folder type
|
||||||
$this->addSimplePDFField($return, 'mail', _('Email address'));
|
$this->addSimplePDFField($return, 'mail', _('Email address'));
|
||||||
$this->addSimplePDFField($return, 'mailHost', _('Mailbox home server'));
|
$this->addSimplePDFField($return, 'mailHost', _('Mailbox home server'));
|
||||||
$this->addSimplePDFField($return, 'kolabTargetFolder', _('Target IMAP folder'));
|
$this->addSimplePDFField($return, 'kolabTargetFolder', _('Target IMAP folder'));
|
||||||
$this->addSimplePDFField($return, 'kolabAllowSMTPRecipient', _('Allowed recepients'));
|
$this->addSimplePDFField($return, 'kolabAllowSMTPRecipient', _('Allowed recipients'));
|
||||||
$this->addSimplePDFField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
$this->addSimplePDFField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
||||||
$this->addSimplePDFField($return, 'aliases', _('Email aliases'), 'alias');
|
$this->addSimplePDFField($return, 'aliases', _('Email aliases'), 'alias');
|
||||||
$this->addSimplePDFField($return, 'delegate', _('Delegates'), 'kolabDelegate');
|
$this->addSimplePDFField($return, 'delegate', _('Delegates'), 'kolabDelegate');
|
||||||
|
|
|
@ -141,11 +141,11 @@ class kolabUser extends baseModule {
|
||||||
"Text" => _("The name of the server where the mailbox is located.")
|
"Text" => _("The name of the server where the mailbox is located.")
|
||||||
),
|
),
|
||||||
'kolabAllowSMTPRecipient' => array (
|
'kolabAllowSMTPRecipient' => array (
|
||||||
"Headline" => _('Allowed recepients'), 'attr' => 'kolabAllowSMTPRecipient',
|
"Headline" => _('Allowed recipients'), 'attr' => 'kolabAllowSMTPRecipient',
|
||||||
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
||||||
),
|
),
|
||||||
'kolabAllowSMTPRecipientList' => array (
|
'kolabAllowSMTPRecipientList' => array (
|
||||||
"Headline" => _('Allowed recepients'), 'attr' => 'kolabAllowSMTPRecipient',
|
"Headline" => _('Allowed recipients'), 'attr' => 'kolabAllowSMTPRecipient',
|
||||||
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
"Text" => _('Describes the allowed or disallowed SMTP recipient addresses for mail sent by this account (e.g. "domain.tld" or "-user@domain.tld").')
|
||||||
. ' ' . _("Multiple values are separated by semicolon.")
|
. ' ' . _("Multiple values are separated by semicolon.")
|
||||||
),
|
),
|
||||||
|
@ -196,7 +196,7 @@ class kolabUser extends baseModule {
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'kolabUser_kolabAllowSMTPRecipient',
|
'name' => 'kolabUser_kolabAllowSMTPRecipient',
|
||||||
'description' => _('Allowed recepients'),
|
'description' => _('Allowed recipients'),
|
||||||
'help' => 'kolabAllowSMTPRecipientList',
|
'help' => 'kolabAllowSMTPRecipientList',
|
||||||
'example' => '.com; -.net',
|
'example' => '.com; -.net',
|
||||||
),
|
),
|
||||||
|
@ -213,7 +213,7 @@ class kolabUser extends baseModule {
|
||||||
'mailHost' => _('Mailbox home server'),
|
'mailHost' => _('Mailbox home server'),
|
||||||
'aliases' => _('Email aliases'),
|
'aliases' => _('Email aliases'),
|
||||||
'delegate' => _('Delegates'),
|
'delegate' => _('Delegates'),
|
||||||
'kolabAllowSMTPRecipient' => _('Allowed recepients'),
|
'kolabAllowSMTPRecipient' => _('Allowed recipients'),
|
||||||
'kolabAllowSMTPSender' => _('Allowed senders'),
|
'kolabAllowSMTPSender' => _('Allowed senders'),
|
||||||
);
|
);
|
||||||
return $return;
|
return $return;
|
||||||
|
@ -231,7 +231,7 @@ class kolabUser extends baseModule {
|
||||||
$this->messages['mailHost'][1] = array('ERROR', _('Account %s:') . ' kolabUser_mailHost', _('Mailbox home server name is invalid!'));
|
$this->messages['mailHost'][1] = array('ERROR', _('Account %s:') . ' kolabUser_mailHost', _('Mailbox home server name is invalid!'));
|
||||||
$this->messages['mailHost'][2] = array('ERROR', _('Mailbox home server name is empty!'));
|
$this->messages['mailHost'][2] = array('ERROR', _('Mailbox home server name is empty!'));
|
||||||
$this->messages['delegate'][0] = array('ERROR', _('Account %s:') . ' kolabUser_delegates', _('Unknown delegate address: %s'));
|
$this->messages['delegate'][0] = array('ERROR', _('Account %s:') . ' kolabUser_delegates', _('Unknown delegate address: %s'));
|
||||||
$this->messages['kolabAllowSMTPRecipient'][0] = array('ERROR', _('Allowed recepients'), _('Please enter a valid recepient expression.'));
|
$this->messages['kolabAllowSMTPRecipient'][0] = array('ERROR', _('Allowed recipients'), _('Please enter a valid recepient expression.'));
|
||||||
$this->messages['kolabAllowSMTPRecipient'][1] = array('ERROR', _('Account %s:') . ' kolabUser_kolabAllowSMTPRecipient', _('Please enter a valid recepient expression.'));
|
$this->messages['kolabAllowSMTPRecipient'][1] = array('ERROR', _('Account %s:') . ' kolabUser_kolabAllowSMTPRecipient', _('Please enter a valid recepient expression.'));
|
||||||
$this->messages['kolabAllowSMTPSender'][0] = array('ERROR', _('Allowed senders'), _('Please enter a valid sender expression.'));
|
$this->messages['kolabAllowSMTPSender'][0] = array('ERROR', _('Allowed senders'), _('Please enter a valid sender expression.'));
|
||||||
$this->messages['kolabAllowSMTPSender'][1] = array('ERROR', _('Account %s:') . ' kolabUser_kolabAllowSMTPSender', _('Please enter a valid sender expression.'));
|
$this->messages['kolabAllowSMTPSender'][1] = array('ERROR', _('Account %s:') . ' kolabUser_kolabAllowSMTPSender', _('Please enter a valid sender expression.'));
|
||||||
|
@ -346,8 +346,8 @@ class kolabUser extends baseModule {
|
||||||
}
|
}
|
||||||
$return->addElement($delegatesContainer, true);
|
$return->addElement($delegatesContainer, true);
|
||||||
$return->addElement(new htmlSubTitle(_('Options')), true);
|
$return->addElement(new htmlSubTitle(_('Options')), true);
|
||||||
// allowed recepients
|
// allowed recipients
|
||||||
$this->addMultiValueInputTextField($return, 'kolabAllowSMTPRecipient', _('Allowed recepients'));
|
$this->addMultiValueInputTextField($return, 'kolabAllowSMTPRecipient', _('Allowed recipients'));
|
||||||
// allowed senders
|
// allowed senders
|
||||||
$this->addMultiValueInputTextField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
$this->addMultiValueInputTextField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
||||||
// delete flag
|
// delete flag
|
||||||
|
@ -453,7 +453,7 @@ class kolabUser extends baseModule {
|
||||||
$this->attributes['kolabDelegate'][] = $_POST['delegate'];
|
$this->attributes['kolabDelegate'][] = $_POST['delegate'];
|
||||||
}
|
}
|
||||||
$this->attributes['kolabDelegate'] = array_unique($this->attributes['kolabDelegate']);
|
$this->attributes['kolabDelegate'] = array_unique($this->attributes['kolabDelegate']);
|
||||||
// allowed recepients
|
// allowed recipients
|
||||||
$this->processMultiValueInputTextField('kolabAllowSMTPRecipient', $errors, 'kolabEmailPrefix');
|
$this->processMultiValueInputTextField('kolabAllowSMTPRecipient', $errors, 'kolabEmailPrefix');
|
||||||
// allowed senders
|
// allowed senders
|
||||||
$this->processMultiValueInputTextField('kolabAllowSMTPSender', $errors, 'kolabEmailPrefix');
|
$this->processMultiValueInputTextField('kolabAllowSMTPSender', $errors, 'kolabEmailPrefix');
|
||||||
|
@ -698,7 +698,7 @@ class kolabUser extends baseModule {
|
||||||
}
|
}
|
||||||
$this->addSimplePDFField($return, 'aliases', _('Email aliases'), 'alias');
|
$this->addSimplePDFField($return, 'aliases', _('Email aliases'), 'alias');
|
||||||
$this->addSimplePDFField($return, 'delegate', _('Delegates'), 'kolabDelegate');
|
$this->addSimplePDFField($return, 'delegate', _('Delegates'), 'kolabDelegate');
|
||||||
$this->addSimplePDFField($return, 'kolabAllowSMTPRecipient', _('Allowed recepients'));
|
$this->addSimplePDFField($return, 'kolabAllowSMTPRecipient', _('Allowed recipients'));
|
||||||
$this->addSimplePDFField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
$this->addSimplePDFField($return, 'kolabAllowSMTPSender', _('Allowed senders'));
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -131,7 +131,7 @@ class pykotaBillingCode extends baseModule {
|
||||||
function display_html_attributes() {
|
function display_html_attributes() {
|
||||||
$container = new htmlTable();
|
$container = new htmlTable();
|
||||||
// pykotaBillingCode
|
// pykotaBillingCode
|
||||||
$this->addSimpleInputTextField($container, 'pykotaBillingCode', _('BillingCode'), true);
|
$this->addSimpleInputTextField($container, 'pykotaBillingCode', _('Billing code'), true);
|
||||||
// balance
|
// balance
|
||||||
$container->addElement(new htmlOutputText(_('Balance')));
|
$container->addElement(new htmlOutputText(_('Balance')));
|
||||||
$pykotaBalance = '';
|
$pykotaBalance = '';
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# $Id: make_po_it 5135 2013-11-29 19:47:29Z gruberroland $
|
||||||
|
#
|
||||||
|
# Copyright (C) 2013 Roland Gruber
|
||||||
|
# This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
|
|
||||||
|
# This script is run after make_po to merge the existing US English translations to messages.po
|
||||||
|
|
||||||
|
./make_po
|
||||||
|
msgen messages.po | msgattrib --set-fuzzy -o messages2.po
|
||||||
|
rm messages.po
|
||||||
|
mv messages2.po messages.po
|
||||||
|
msgmerge -v ../locale/en_US/LC_MESSAGES/messages.po messages.po -o messages.po
|
Loading…
Reference in New Issue