]> source.dussan.org Git - nextcloud-server.git/commitdiff
Translate Grant Access 7040/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 1 Nov 2017 14:50:34 +0000 (15:50 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 1 Nov 2017 19:48:49 +0000 (20:48 +0100)
Fixes #7038

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
core/templates/loginflow/authpicker.php

index c427d657e4a8efc1e2e16d37914e98e9ec7fed58..788e46f3657579b51be65747a134b22ba6fbe652 100644 (file)
@@ -36,7 +36,7 @@ $urlGenerator = $_['urlGenerator'];
 
        <p id="redirect-link">
                <a href="<?php p($urlGenerator->linkToRouteAbsolute('core.ClientFlowLogin.redirectPage', ['stateToken' => $_['stateToken'], 'clientIdentifier' => $_['clientIdentifier'], 'oauthState' => $_['oauthState']])) ?>">
-                       <input type="submit" class="login primary icon-confirm-white" value="<?php p('Grant access') ?>">
+                       <input type="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Grant access')) ?>">
                </a>
        </p>
 
@@ -50,7 +50,7 @@ $urlGenerator = $_['urlGenerator'];
                        <label for="password" class="infield"><?php p($l->t('Password')) ?></label>
                </p>
                <input type="hidden" id="serverHost" value="<?php p($_['serverHost']) ?>" />
-               <input id="submit-app-token-login" type="submit" class="login primary icon-confirm-white" value="<?php p('Grant access') ?>">
+               <input id="submit-app-token-login" type="submit" class="login primary icon-confirm-white" value="<?php p($l->t('Grant access')) ?>">
        </fieldset>
 </div>