]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow "Finishing..." button on setup page to be translated.
authorringmaster <epithet@gmail.com>
Fri, 4 Oct 2013 15:09:59 +0000 (11:09 -0400)
committerringmaster <epithet@gmail.com>
Fri, 4 Oct 2013 15:09:59 +0000 (11:09 -0400)
Fixes #5130.

core/js/setup.js
core/templates/installation.php

index c0df1ed96b09b2d0b45b4188e13c8feb76aaa81b..62f313fc501139a18d0676148f9edd7ac78dd9df 100644 (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');
 
index 8b087706801d31b49a4a619ed470d46dcca0bb97..8b3ee8f120f43e6c301353d5131ea4e5839ae38c 100644 (file)
                <?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>