mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Remove yes/no translations since they are never used
This commit is contained in:
parent
ce374b2076
commit
a05d144380
@ -349,7 +349,7 @@ class Page {
|
||||
}
|
||||
$a = "a";
|
||||
if ($header === $this->lang->warns_receive) {
|
||||
$icon = ($text !== $this->lang->warns_no) ? "glyphicon-ok" : "glyphicon-remove";
|
||||
$icon = ($text !== "0") ? "glyphicon-ok" : "glyphicon-remove";
|
||||
$a .= " class=\"glyphicon $icon\" aria-hidden=true";
|
||||
$text = "";
|
||||
}
|
||||
|
@ -84,7 +84,5 @@ class Lang {
|
||||
$this->warns_reason = "Důvod varování";
|
||||
$this->warns_when = "Varován kdy";
|
||||
$this->warns_receive = "Varování doručeno";
|
||||
$this->warns_yes = "Ano";
|
||||
$this->warns_no = "Ne";
|
||||
}
|
||||
}
|
||||
|
@ -84,8 +84,6 @@ class Lang {
|
||||
$this->warns_reason = "Advaret Fordi";
|
||||
$this->warns_when = "Advaret Indtil";
|
||||
$this->warns_receive = "Modtog Advarelse";
|
||||
$this->warns_yes = "Ja";
|
||||
$this->warns_no = "Nej";
|
||||
|
||||
// Errors which are only accessible from invalid user input or removed pages.
|
||||
$this->check_invalid = "Ugyldigt Navn.";
|
||||
|
@ -84,8 +84,6 @@ class Lang {
|
||||
$this->warns_reason = "Reason";
|
||||
$this->warns_when = "Warned Until";
|
||||
$this->warns_receive = "Received Warning";
|
||||
$this->warns_yes = "Yes";
|
||||
$this->warns_no = "No";
|
||||
|
||||
// Errors which are only accessible from invalid user input or removed pages.
|
||||
$this->check_invalid = "Invalid name.";
|
||||
|
@ -82,8 +82,6 @@ class Lang {
|
||||
$this->warns_reason = "Razón";
|
||||
$this->warns_when = "Advertido el";
|
||||
$this->warns_receive = "¿Advertencia Recibida?";
|
||||
$this->warns_yes = "Sí";
|
||||
$this->warns_no = "No";
|
||||
|
||||
// Errors which are only accessible from invalid user input or removed pages.
|
||||
$this->check_invalid = "Nombre Inválido.";
|
||||
|
@ -84,8 +84,6 @@ class Lang {
|
||||
$this->warns_reason = "理由";
|
||||
$this->warns_when = "日時";
|
||||
$this->warns_receive = "受け取った警告";
|
||||
$this->warns_yes = "Yes";
|
||||
$this->warns_no = "No";
|
||||
|
||||
// Errors which are only accessible from invalid user input or removed pages.
|
||||
$this->check_invalid = "プレイヤー名が無効です";
|
||||
|
@ -20,7 +20,7 @@ foreach ($rows as $row) {
|
||||
$page->lang->warns_by => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
|
||||
$page->lang->warns_reason => $page->clean($row['reason']),
|
||||
$page->lang->warns_when => $page->expiry($row),
|
||||
$page->lang->warns_receive => (($page->active($row, 'warned') === true) ? $page->lang->warns_yes : $page->lang->warns_no),
|
||||
$page->lang->warns_receive => (($page->active($row, 'warned') === true) ? "1" : "0"),
|
||||
));
|
||||
}
|
||||
$page->table_end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user