Allow "Finishing..." button on setup page to be translated.

Fixes #5130.
This commit is contained in:
ringmaster 2013-10-04 11:09:59 -04:00
parent 2cdf54b77d
commit 85f63d4f77
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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>