Added localization for modal password dialog

This commit is contained in:
Alexander Demenshin 2016-11-13 00:42:52 +01:00 committed by GitHub
parent 1c643191ce
commit 1b0095b54a

View file

@ -74,10 +74,10 @@ endif;
<div class="modal-body"> <div class="modal-body">
<form role="form" id="passwordForm"> <form role="form" id="passwordForm">
<div class="form-group"> <div class="form-group">
<label for="decryptPassword"><span class="glyphicon glyphicon-eye-open"></span> <?php echo I18n::_('Please enter the password for this paste:')?></label> <label for="decryptPassword"><span class="glyphicon glyphicon-eye-open"></span> <?php echo I18n::_('Please enter the password for this paste:') ?></label>
<input type="password" class="form-control" id="decryptPassword" placeholder="Enter password" autofocus> <input type="password" class="form-control" id="decryptPassword" placeholder="<?php echo I18n::_('Enter password') ?>" autofocus>
</div> </div>
<button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span>Decrypt</button> <button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span> <?php echo I18n::_('Decrypt') ?></button>
</form> </form>
</div> </div>
</div> </div>