summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/templates
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-27 10:02:53 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-07-27 14:56:21 +0200
commit62219c7b2d36bc304a8f537cf88845edf24c8d91 (patch)
treeefe3df83ef24bd9ac9eb7861b9c1948530bac080 /apps/workflowengine/templates
parent10726dd00df37be77c3088302e16e64b09a6d25f (diff)
downloadnextcloud-server-62219c7b2d36bc304a8f537cf88845edf24c8d91.tar.gz
nextcloud-server-62219c7b2d36bc304a8f537cf88845edf24c8d91.zip
Add L10N support
Diffstat (limited to 'apps/workflowengine/templates')
-rw-r--r--apps/workflowengine/templates/admin.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/workflowengine/templates/admin.php b/apps/workflowengine/templates/admin.php
index 9e01f8359fa..4eabf783bba 100644
--- a/apps/workflowengine/templates/admin.php
+++ b/apps/workflowengine/templates/admin.php
@@ -20,13 +20,13 @@
*/
/** @var array $_ */
-/** @var OC_L10N $l */
+/** @var \OCP\IL10N $l */
?>
<div id="<?php p($_['appid']); ?>" class="section workflowengine">
<h2 class="inlineblock"><?php p($_['heading']); ?></h2>
<script type="text/template" id="operations-template">
<div class="operations"></div>
- <button class="button-add-operation">Add operation</button>
+ <button class="button-add-operation"><?php p($l->t('Add operation')); ?></button>
</script>
<script type="text/template" id="operation-template">
@@ -56,17 +56,17 @@
</div>
{{/each}}
</div>
- <button class="button-add">Add check</button>
+ <button class="button-add"><?php p($l->t('Add check')); ?></button>
{{#if hasChanged}}
{{! reset only makes sense if the operation is already saved }}
{{#if operation.id}}
- <button class="button-reset pull-right">Reset</button>
+ <button class="button-reset pull-right"><?php p($l->t('Reset')); ?></button>
{{/if}}
- <button class="button-save pull-right">Save</button>
+ <button class="button-save pull-right"><?php p($l->t('Save')); ?></button>
{{/if}}
{{#if saving}}
<span class="icon-loading-small pull-right"></span>
- <span class="pull-right">Saving ...</span>
+ <span class="pull-right"><?php p($l->t('Saving…')); ?></span>
{{else}}{{#if message}}
<span class="msg pull-right {{#if errorMessage}}error{{else}}success{{/if}}">
{{message}}{{#if errorMessage}} {{errorMessage}}{{/if}}
@@ -75,5 +75,5 @@
</div>
</script>
- <div class="rules"><span class="icon-loading-small"></span> Loading ...</div>
+ <div class="rules"><span class="icon-loading-small"></span> <?php p($l->t('Loading…')); ?></div>
</div>