diff options
author | Joas Schilling <coding@schilljs.com> | 2016-07-27 11:02:53 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-07-27 15:56:21 +0300 |
commit | 62219c7b2d36bc304a8f537cf88845edf24c8d91 (patch) | |
tree | efe3df83ef24bd9ac9eb7861b9c1948530bac080 /apps/workflowengine/templates | |
parent | 10726dd00df37be77c3088302e16e64b09a6d25f (diff) |
Add L10N support
Diffstat (limited to 'apps/workflowengine/templates')
-rw-r--r-- | apps/workflowengine/templates/admin.php | 14 |
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> |