diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-26 10:30:08 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-26 10:30:08 +0200 |
commit | 968dc876b2df4d2c1412f230e4afc2f771d13880 (patch) | |
tree | 44d375cf2ac583aeea148273e8fd3e19f3b2aaee /apps | |
parent | 73cb19ca0d598d984d815c451a054d631c8562de (diff) | |
download | nextcloud-server-968dc876b2df4d2c1412f230e4afc2f771d13880.tar.gz nextcloud-server-968dc876b2df4d2c1412f230e4afc2f771d13880.zip |
Do not translate the samples themselves
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/workflowengine/js/filemimetypeplugin.js | 4 | ||||
-rw-r--r-- | apps/workflowengine/js/requesturlplugin.js | 4 | ||||
-rw-r--r-- | apps/workflowengine/js/requestuseragentplugin.js | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/workflowengine/js/filemimetypeplugin.js b/apps/workflowengine/js/filemimetypeplugin.js index 9fc9e3452f4..fd3f6a9ae63 100644 --- a/apps/workflowengine/js/filemimetypeplugin.js +++ b/apps/workflowengine/js/filemimetypeplugin.js @@ -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'); diff --git a/apps/workflowengine/js/requesturlplugin.js b/apps/workflowengine/js/requesturlplugin.js index 5f21d2a59fc..7c81deaaf33 100644 --- a/apps/workflowengine/js/requesturlplugin.js +++ b/apps/workflowengine/js/requesturlplugin.js @@ -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') diff --git a/apps/workflowengine/js/requestuseragentplugin.js b/apps/workflowengine/js/requestuseragentplugin.js index 8413d52ac43..42e3f6b13d2 100644 --- a/apps/workflowengine/js/requestuseragentplugin.js +++ b/apps/workflowengine/js/requestuseragentplugin.js @@ -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') |