summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-25 13:15:23 +0200
committerAleksander Machniak <alec@alec.pl>2013-10-25 13:15:23 +0200
commit6d4f6f74124c38ed09212a108f501035ef14c517 (patch)
tree85e6ba745783694736cde09b244d6fe604217047 /lib
parentbc02bf23dfa00062ca94a9fe285496a11e010967 (diff)
downloadwebadmin-6d4f6f74124c38ed09212a108f501035ef14c517.tar.gz
Support validate=extended in object types definition UI
Diffstat (limited to 'lib')
-rw-r--r--lib/client/kolab_client_task_settings.php4
-rw-r--r--lib/locale/en_US.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/client/kolab_client_task_settings.php b/lib/client/kolab_client_task_settings.php
index 5faf53a..f1e37ac 100644
--- a/lib/client/kolab_client_task_settings.php
+++ b/lib/client/kolab_client_task_settings.php
@@ -728,7 +728,8 @@ class kolab_client_task_settings extends kolab_client_task
$this->output->set_env('no_label', $no);
$this->output->add_translation('attribute.value.auto', 'attribute.value.static',
'attribute.key.invalid', 'attribute.required.error',
- 'attribute.validate.default', 'attribute.validate.basic', 'attribute.validate.none'
+ 'attribute.validate.default', 'attribute.validate.basic', 'attribute.validate.none',
+ 'attribute.validate.extended'
);
// Add attribute link
@@ -785,6 +786,7 @@ class kolab_client_task_settings extends kolab_client_task
'type' => kolab_form::INPUT_SELECT,
'options' => array(
'default' => $this->translate('attribute.validate.default'),
+ 'extended' => $this->translate('attribute.validate.extended'),
'basic' => $this->translate('attribute.validate.basic'),
'none' => $this->translate('attribute.validate.none'),
),
diff --git a/lib/locale/en_US.php b/lib/locale/en_US.php
index bbbea13..babf530 100644
--- a/lib/locale/en_US.php
+++ b/lib/locale/en_US.php
@@ -29,6 +29,7 @@ $LANG['attribute.validate'] = ' Validation';
$LANG['attribute.validate.default'] = 'default';
$LANG['attribute.validate.none'] = 'none';
$LANG['attribute.validate.basic'] = 'basic';
+$LANG['attribute.validate.extended'] = 'extended';
$LANG['button.cancel'] = 'Cancel';
$LANG['button.delete'] = 'Delete';