Do not translate the samples themselves
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
73cb19ca0d
commit
968dc876b2
|
@ -41,9 +41,9 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var placeholder = t('workflowengine', 'text/plain');
|
||||
var placeholder = 'text/plain';
|
||||
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
|
||||
placeholder = t('workflowengine', '/^text\\/(plain|html)$/i');
|
||||
placeholder = '/^text\\/(plain|html)$/i';
|
||||
|
||||
if (this._validateRegex(check['value'])) {
|
||||
$(element).removeClass('invalid-input');
|
||||
|
|
|
@ -42,10 +42,10 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var placeholder = t('workflowengine', 'https://localhost/index.php');
|
||||
var placeholder = 'https://localhost/index.php';
|
||||
|
||||
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
|
||||
placeholder = t('workflowengine', '/^https\\:\\/\\/localhost\\/index\\.php$/i');
|
||||
placeholder = '/^https\\:\\/\\/localhost\\/index\\.php$/i';
|
||||
}
|
||||
|
||||
$(element).css('width', '250px')
|
||||
|
|
|
@ -42,10 +42,10 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var placeholder = t('workflowengine', 'Mozilla/5.0 User Agent');
|
||||
var placeholder = 'Mozilla/5.0 User Agent';
|
||||
|
||||
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
|
||||
placeholder = t('workflowengine', '/^Mozilla\\/5\\.0 (.?)$/i');
|
||||
placeholder = '/^Mozilla\\/5\\.0 (.?)$/i';
|
||||
}
|
||||
|
||||
$(element).css('width', '250px')
|
||||
|
|
Loading…
Reference in New Issue