Skip to content

Commit

Permalink
#1224 More language fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Apr 9, 2015
1 parent 72fa23f commit 57c4166
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backstage/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ function split_sql_file($sql, $delimiter) {
// If no file was uploaded report an error
//
$backup_file_name = (!empty($HTTP_POST_FILES['backup_file']['name'])) ? $HTTP_POST_FILES['backup_file']['name'] : "";
$backup_file_tmpname = ((!empty($HTTP_POST_FILES['backup_file']['tmp_name'])) && ($HTTP_POST_FILES['backup_file']['tmp_name'] != "none")) ? $HTTP_POST_FILES['backup_file']['tmp_name'] : "";
$backup_file_tmpname = ($HTTP_POST_FILES['backup_file']['tmp_name'] != "none") ? $HTTP_POST_FILES['backup_file']['tmp_name'] : "";
$backup_file_type = (!empty($HTTP_POST_FILES['backup_file']['type'])) ? $HTTP_POST_FILES['backup_file']['type'] : "";
if($backup_file_tmpname == "" || $backup_file_name == "") {
message_backstage($lang['No file uploaded']);
Expand Down
2 changes: 1 addition & 1 deletion backstage/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<label><input type="checkbox" name="save_pass" value="1" tabindex="3" checked /> <?php echo $lang['Remember me'] ?></label>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary btn-block" value="Login" />
<input type="submit" class="btn btn-primary btn-block" value="<?php echo $lang['Login'] ?>" />
</div>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions include/draw_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ function draw_soft_delete_form($id) {
?>
<form method="post" action="delete.php?id=<?php echo $id ?>&action=soft">
<p><?php echo ($is_topic_post) ? '<strong>'.$lang['Topic warning'].'</strong>' : '' ?><br /><?php echo $lang['Soft delete info'] ?></p>
<input type="submit" class="btn btn-danger" name="soft_delete" value="Soft delete" />
<input type="submit" class="btn btn-danger" name="soft_delete" value="<?php echo $lang['Soft delete'] ?>" />
</form>
<?php
}
Expand All @@ -904,7 +904,7 @@ function draw_soft_reset_form($id) {
?>
<form method="post" action="delete.php?id=<?php echo $id ?>&action=reset">
<p><?php echo $lang['Revert soft delete'] ?></p>
<input type="submit" class="btn btn-primary" name="reset" value="Reset post" />
<input type="submit" class="btn btn-primary" name="reset" value="<?php echo $lang['Reset post'] ?>" />
</form>
<?php
}
Expand Down
1 change: 1 addition & 0 deletions lang/English/language.php
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,7 @@
'No threads board' => 'There are no thread on this board, choose a forum and be the first one.',
'Soft delete' => 'Soft delete',
'Soft reset' => 'Soft reset',
'Reset post' => 'Reset post',

'Send' => 'Send',

Expand Down

0 comments on commit 57c4166

Please sign in to comment.