diff options
author | ringmaster <epithet@gmail.com> | 2013-10-04 11:09:59 -0400 |
---|---|---|
committer | ringmaster <epithet@gmail.com> | 2013-10-04 11:09:59 -0400 |
commit | 85f63d4f777bf8a170333101fe9e28aba5c9319b (patch) | |
tree | 829868654d340c4f1a030a6b5b0dae081aad1147 | |
parent | 2cdf54b77d2d9cc022e70012774f6979036d6deb (diff) | |
download | nextcloud-server-85f63d4f777bf8a170333101fe9e28aba5c9319b.tar.gz nextcloud-server-85f63d4f777bf8a170333101fe9e28aba5c9319b.zip |
Allow "Finishing..." button on setup page to be translated.
Fixes #5130.
-rw-r--r-- | core/js/setup.js | 2 | ||||
-rw-r--r-- | core/templates/installation.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/js/setup.js b/core/js/setup.js index c0df1ed96b0..62f313fc501 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -54,7 +54,7 @@ $(document).ready(function() { var post = $(this).serializeArray(); // Disable inputs - $(':submit', this).attr('disabled','disabled').val('Finishing …'); + $(':submit', this).attr('disabled','disabled').val($(':submit', this).data('finishing')); $('input', this).addClass('ui-state-disabled').attr('disabled','disabled'); $('#selectDbType').buttonset('disable'); diff --git a/core/templates/installation.php b/core/templates/installation.php index 8b087706801..8b3ee8f120f 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -172,5 +172,5 @@ <?php endif; ?> </fieldset> - <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" /></div> + <div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>" /></div> </form> |