Big refactor to locale system for fallback language support

This commit is contained in:
ruan 2017-12-04 06:44:23 +02:00
parent 2ceb48bca8
commit 260d6a67cc
No known key found for this signature in database
GPG Key ID: 0D2EC1C52E469C0B
18 changed files with 771 additions and 742 deletions

View File

@ -16,11 +16,11 @@ foreach ($rows as $row) {
if ($player_name === null) continue;
$page->print_table_rows($row, array(
$page->lang->bans_player => $page->get_avatar($player_name, $row['uuid']),
$page->lang->bans_by => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->lang->bans_reason => $page->clean($row['reason']),
$page->lang->bans_when => $page->millis_to_date($row['time']),
$page->lang->bans_expiry => $page->expiry($row),
$page->t("bans_player") => $page->get_avatar($player_name, $row['uuid']),
$page->t("bans_by") => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->t("bans_reason") => $page->clean($row['reason']),
$page->t("bans_when") => $page->millis_to_date($row['time']),
$page->t("bans_expiry") => $page->expiry($row),
));
}
$page->table_end();

View File

@ -6,7 +6,7 @@ class Check {
$page = new Page("check", false);
// validate user input
if (strlen($name) > 16 || !preg_match("/^[0-9a-zA-Z_]{1,16}$/", $name)) {
$this->println($page->lang->check_invalid);
$this->println($page->t("check_invalid"));
return;
}
$history = $page->settings->table['history'];
@ -32,7 +32,7 @@ class Check {
return;
}
$name = htmlspecialchars($name, ENT_QUOTES, 'UTF-8');
$this->println("$name " . $page->lang->check_notjoin);
$this->println("$name " . $page->t("check_notjoin"));
return;
}
$href = "history.php?uuid=$uuid";

View File

@ -69,19 +69,19 @@ class History {
$page = new Page("history");
isset($_GET['uuid']) && is_string($_GET['uuid']) or die($page->lang->history_missinguuid);
isset($_GET['uuid']) && is_string($_GET['uuid']) or die($page->t("history_missinguuid"));
$staffhistory = (isset($_GET['staffhistory']) && $_GET['staffhistory'] === "1");
$uuid = $_GET['uuid'];
$name = $page->get_name($uuid);
$name !== null or die($page->lang->history_playernotfound);
$name !== null or die($page->t("history_playernotfound"));
if ($staffhistory) {
$page->title = $page->lang->history_recentby . $name;
$page->title = $page->t("history_recentby") . $name;
} else {
$page->title = $page->lang->history_recentfor . $name;
$page->title = $page->t("history_recentfor") . $name;
}
@ -164,12 +164,12 @@ try {
$label = "<span $style class='label label-$label_type'>$label_name</span>";
$page->print_table_rows($row, array(
$page->lang->history_tabletype => $label,
$page->lang->history_tableplayer => $page->get_avatar($page->get_name($row['uuid']), $row['uuid']),
$page->lang->history_tablemoderator => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->lang->history_tablereason => $page->clean($row['reason']),
$page->lang->history_tabledate => $page->millis_to_date($row['time']),
$page->lang->history_tableexpires => $page->expiry($row),
$page->t("history_tabletype") => $label,
$page->t("history_tableplayer") => $page->get_avatar($page->get_name($row['uuid']), $row['uuid']),
$page->t("history_tablemoderator") => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->t("history_tablereason") => $page->clean($row['reason']),
$page->t("history_tabledate") => $page->millis_to_date($row['time']),
$page->t("history_tableexpires") => $page->expiry($row),
//'i' => $i . "/" . $limit . "/" . $total,
));
}
@ -198,11 +198,11 @@ try {
$page->print_pager($total, $args, $prevargs);
}
} else {
echo $page->lang->history_nopunishments . "<br>";
echo $page->t("history_nopunishments") . "<br>";
}
if ($from_href !== null) {
echo "<br><a class=\"btn\" href=\"$from_href\">" . $page->lang->history_returnto . " $from_title</a>";
echo "<br><a class=\"btn\" href=\"$from_href\">" . $page->t("history_returnto") . " $from_title </a > ";
}
$page->print_footer();

View File

@ -94,11 +94,11 @@ $settings = $this->page->settings;
<nav id="litebans-navbar" class="collapse navbar-collapse">
<?php
$this->navbar(array(
"index.php" => $this->page->lang->header_index,
"bans.php" => $this->page->lang->header_bans,
"mutes.php" => $this->page->lang->header_mutes,
"warnings.php" => $this->page->lang->header_warnings,
"kicks.php" => $this->page->lang->header_kicks,
"index.php" => $this->page->t("header_index"),
"bans.php" => $this->page->t("header_bans"),
"mutes.php" => $this->page->t("header_mutes"),
"warnings.php" => $this->page->t("header_warnings"),
"kicks.php" => $this->page->t("header_kicks"),
));
?>
<div class="nav navbar-nav navbar-right">

View File

@ -7,9 +7,16 @@ class Page {
require_once './inc/settings.php';
$settings = new Settings();
setlocale(LC_ALL, $settings->lang);
require_once './lang/en_US.utf8.php';
$this->defaultlang = new DefaultLang();
require_once './lang/' . $settings->lang . '.php';
$lang = new Lang();
$this->lang = $lang;
if (class_exists("Lang")) {
$this->lang = new Lang();
} else {
$this->lang = $this->defaultlang;
}
$this->time = microtime(true);
if ($header) {
@ -35,21 +42,21 @@ class Page {
$this->set_info($info);
$this->permanent = array(
'ban' => $this->lang->page_perm_ban,
'mute' => $this->lang->page_perm_mute,
'warn' => $this->lang->page_perm_warn,
'ban' => $this->t("page_perm_ban"),
'mute' => $this->t("page_perm_mute"),
'warn' => $this->t("page_perm_warn"),
'kick' => null,
);
$this->expired = array(
'ban' => $this->lang->page_expire_ban,
'mute' => $this->lang->page_expire_mute,
'warn' => $this->lang->page_expire,
'ban' => $this->t("page_expire_ban"),
'mute' => $this->t("page_expire_mute"),
'warn' => $this->t("page_expire"),
'kick' => null,
);
$this->expired_by = array(
'ban' => $this->lang->page_expire_ban_by,
'mute' => $this->lang->page_expire_mute_by,
'warn' => $this->lang->page_expire,
'ban' => $this->t("page_expire_ban_by"),
'mute' => $this->t("page_expire_mute_by"),
'warn' => $this->t("page_expire"),
'kick' => null,
);
@ -61,6 +68,16 @@ class Page {
$this->table_headers_printed = false;
}
public function t($str) {
if (array_key_exists($str, $this->lang->array)) {
return $this->lang->array[$str];
}
if (array_key_exists($str, $this->defaultlang->array)) {
return $this->defaultlang->array[$str];
}
return "404";
}
public function type_info($type) {
$settings = $this->settings;
switch ($type) {
@ -69,28 +86,28 @@ class Page {
return array(
"type" => "ban",
"table" => $settings->table['bans'],
"title" => $this->lang->page_title_ban,
"title" => $this->t("page_title_ban"),
);
case "mute":
case "mutes":
return array(
"type" => "mute",
"table" => $settings->table['mutes'],
"title" => $this->lang->page_title_mute,
"title" => $this->t("page_title_mute"),
);
case "warn":
case "warnings":
return array(
"type" => "warn",
"table" => $settings->table['warnings'],
"title" => $this->lang->page_title_warn,
"title" => $this->t("page_title_warn"),
);
case "kick":
case "kicks":
return array(
"type" => "kick",
"table" => $settings->table['kicks'],
"title" => $this->lang->page_title_kick,
"title" => $this->t("page_title_kick"),
);
default:
return array(
@ -255,6 +272,7 @@ class Page {
return $text;
}
/**
* Returns a string that shows the expiry date of a punishment.
* If the punishment does not expire, it will be shown as permanent.
@ -301,7 +319,7 @@ class Page {
}
if ($expired) {
$until .= ' ';
$until .= $this->lang->page_expire;
$until .= $this->t("page_expire");
}
return $until;
}
@ -369,14 +387,14 @@ class Page {
echo "<tr>";
foreach ($array as $header => $text) {
$style = "";
if ($header === $this->lang->bans_reason || $header === $this->lang->mutes_reason || $header === $this->lang->warns_reason || $header == $this->lang->kicks_reason) {
if ($header === $this->t("bans_reason") || $header === $this->t("mutes_reason") || $header === $this->t("warns_reason") || $header == $this->t("kicks_reason")) {
$style = "style=\"width: 30%;\"";
if ($text === "") {
$text = "-";
}
}
$a = "a";
if ($header === $this->lang->warns_receive) {
if ($header === $this->t("warns_receive")) {
$icon = ($text !== "0") ? "glyphicon-ok" : "glyphicon-remove";
$a .= " class=\"glyphicon $icon\" aria-hidden=true";
$text = "";
@ -413,7 +431,7 @@ class Page {
echo '
<div style="text-align: left;" class="row">
<div style="margin-left: 15px;">
<form onsubmit="captureForm(event);" class="form-inline"><div class="form-group"><input type="text" class="form-control" id="user" placeholder="' . $this->lang->page_check_user . '"></div><button type="submit" class="btn btn-default" style="margin-left: 5px;">' . $this->lang->page_check_submit . '</button></form>
<form onsubmit="captureForm(event);" class="form-inline"><div class="form-group"><input type="text" class="form-control" id="user" placeholder="' . $this->t("page_check_user") . '"></div><button type="submit" class="btn btn-default" style="margin-left: 5px;">' . $this->t("page_check_submit") . '</button></form>
</div>
<script type="text/javascript">function captureForm(b){var o=$("#output");o.removeClass("in");var x=setTimeout(function(){o.html("<br>")}, 150);$.ajax({type:"GET",url:"check.php?name="+$("#user").val()+"&table=' . $table . '"}).done(function(c){clearTimeout(x);o.html(c);o.addClass("in")});b.preventDefault();return false};</script>
<div id="output" class="success fade" data-alert="alert" style="margin-left: 15px;"><br></div>
@ -457,7 +475,7 @@ class Page {
if ($next_active) {
$pager_next = "<a href=\"$page?page={$next}{$args}\">$pager_next</a>";
}
$pager_count = '<div style=\"margin-top: 32px;\"><div style=\"text-align: center; font-size:15px;\">' . $this->lang->page_page . ' ' . $cur . '/' . $pages . '</div></div>';
$pager_count = '<div style=\"margin-top: 32px;\"><div style=\"text-align: center; font-size:15px;\">' . $this->t("page_page") . ' ' . $cur . '/' . $pages . '</div></div>';
echo "$pager_prev $pager_next $pager_count";
}

View File

@ -7,10 +7,10 @@ $page->print_title();
<div class="container">
<div class="jumbotron">
<div style="text-align: center;">
<h2><?php echo $page->lang->index_welcome1 . $page->settings->name . $page->lang->index_welcome2; ?></h2>
<h2><?php echo str_replace("{server}", $page->settings->name, $page->t("index_welcome")); ?></h2>
</div>
<div style="text-align: center;"><p><?php echo $page->lang->index_allsins; ?></p></div>
<div style="text-align: center;"><p><?php echo $page->t("index_welcome2"); ?></p></div>
</div>
</div>
<?php $page->print_footer(false); ?>

View File

@ -55,11 +55,11 @@ class BanInfo extends Info {
$page = $this->page;
return array(
$page->lang->info_banned_player => $this->punished_avatar($player_name, $row),
$page->lang->info_banned_by => $this->moderator_avatar($row),
$page->lang->info_banned_reason => $page->clean($row['reason']),
$page->lang->info_banned_when => $page->millis_to_date($row['time']),
$page->lang->info_banned_expiry => $page->expiry($row),
$page->t("info_banned_player") => $this->punished_avatar($player_name, $row),
$page->t("info_banned_by") => $this->moderator_avatar($row),
$page->t("info_banned_reason") => $page->clean($row['reason']),
$page->t("info_banned_when") => $page->millis_to_date($row['time']),
$page->t("info_banned_expiry") => $page->expiry($row),
);
}
}
@ -68,11 +68,11 @@ class MuteInfo extends Info {
function basic_info($row, $player_name) {
$page = $this->page;
return array(
$page->lang->info_muted_player => $this->punished_avatar($player_name, $row),
$page->lang->info_muted_by => $this->moderator_avatar($row),
$page->lang->info_muted_reason => $page->clean($row['reason']),
$page->lang->info_muted_when => $page->millis_to_date($row['time']),
$page->lang->info_muted_expiry => $page->expiry($row),
$page->t("info_muted_player") => $this->punished_avatar($player_name, $row),
$page->t("info_muted_by") => $this->moderator_avatar($row),
$page->t("info_muted_reason") => $page->clean($row['reason']),
$page->t("info_muted_when") => $page->millis_to_date($row['time']),
$page->t("info_muted_expiry") => $page->expiry($row),
);
}
}
@ -85,11 +85,11 @@ class WarnInfo extends Info {
function basic_info($row, $player_name) {
$page = $this->page;
return array(
$page->lang->info_warn_player => $this->punished_avatar($player_name, $row),
$page->lang->info_warn_by => $this->moderator_avatar($row),
$page->lang->info_warn_reason => $page->clean($row['reason']),
$page->lang->info_warn_when => $page->millis_to_date($row['time']),
$page->lang->info_warn_expiry => $page->expiry($row),
$page->t("info_warn_player") => $this->punished_avatar($player_name, $row),
$page->t("info_warn_by") => $this->moderator_avatar($row),
$page->t("info_warn_reason") => $page->clean($row['reason']),
$page->t("info_warn_when") => $page->millis_to_date($row['time']),
$page->t("info_warn_expiry") => $page->expiry($row),
);
}
}
@ -98,10 +98,10 @@ class KickInfo extends Info {
function basic_info($row, $player_name) {
$page = $this->page;
return array(
$page->lang->info_kick_player => $this->punished_avatar($player_name, $row),
$page->lang->info_kick_by => $this->moderator_avatar($row),
$page->lang->info_kick_reason => $page->clean($row['reason']),
$page->lang->info_kick_when => $page->millis_to_date($row['time']),
$page->t("info_kick_player") => $this->punished_avatar($player_name, $row),
$page->t("info_kick_by") => $this->moderator_avatar($row),
$page->t("info_kick_reason") => $page->clean($row['reason']),
$page->t("info_kick_when") => $page->millis_to_date($row['time']),
);
}
}
@ -111,15 +111,15 @@ if ((substr($_SERVER['SCRIPT_NAME'], -strlen("info.php"))) !== "info.php") {
return;
}
isset($_GET['type'], $_GET['id']) && is_string($_GET['type']) && is_string($_GET['id']) or die($page->lang->info_error_missingarg);
isset($_GET['type'], $_GET['id']) && is_string($_GET['type']) && is_string($_GET['id']) or die($page->t("info_error_missingarg"));
$type = $_GET['type'];
$id = $_GET['id'];
$page = new Page($type);
($page->type !== null) or die($page->lang->info_error_unknown);
($page->type !== null) or die($page->t("info_error_unknown"));
filter_var($id, FILTER_VALIDATE_INT) or die($page->lang->info_error_invalidid);
filter_var($id, FILTER_VALIDATE_INT) or die($page->t("info_error_invalidid"));
$id = (int)$id;
@ -131,12 +131,12 @@ $query = "SELECT $sel FROM $table WHERE id=? LIMIT 1";
$st = $page->conn->prepare($query);
if ($st->execute(array($id))) {
($row = $st->fetch()) or die($page->lang->info_error_notfound1 . $type . $page->lang->info_error_notfound2);
($row = $st->fetch()) or die($page->t("info_error_notfound1") . $type . $page->t("info_error_notfound2"));
$st->closeCursor();
$player_name = $page->get_name($row['uuid']);
($player_name !== null) or die($page->lang->info_error_notplayer);
($player_name !== null) or die($page->t("info_error_notplayer"));
$info = Info::create($row, $page, $type);
@ -170,7 +170,7 @@ if ($st->execute(array($id))) {
foreach ($map as $key => $val) {
if ($permanent &&
($key === $page->lang->info_banned_expiry || $key === $page->lang->info_muted_expiry || $key === $page->lang->info_warn_expiry) &&
($key === $page->t("info_banned_expiry") || $key === $page->t("info_muted_expiry") || $key === $page->t("info_warn_expiry")) &&
$val === $permanent_val
) {
// skip "Expires" row if punishment is permanent

View File

@ -16,10 +16,10 @@ foreach ($rows as $row) {
if ($player_name === null) continue;
$page->print_table_rows($row, array(
$page->lang->kicks_player => $page->get_avatar($player_name, $row['uuid']),
$page->lang->kicks_by => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->lang->kicks_reason => $page->clean($row['reason']),
$page->lang->kicks_when => $page->millis_to_date($row['time']),
$page->t("kicks_player") => $page->get_avatar($player_name, $row['uuid']),
$page->t("kicks_by") => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->t("kicks_reason") => $page->clean($row['reason']),
$page->t("kicks_when") => $page->millis_to_date($row['time']),
));
}
$page->table_end();

View File

@ -2,87 +2,89 @@
class Lang {
public function __construct() {
$this->index_welcome1 = 'Vítej na ';
$this->index_welcome2 = '.';
$this->index_allsins = 'Zde nalezneš vypsány všechny své tresty.';
$this->header_index = 'Úvod';
$this->header_bans = 'Bany';
$this->header_mutes = 'Umlčení';
$this->header_warnings = 'Varování';
$this->header_kicks = 'Vyhození';
$this->page_perm_ban = 'Trvalý ban';
$this->page_perm_mute = 'Umlčen navždy';
$this->page_perm_warn = 'Trvalé varování';
$this->page_expire_ban = '(Odbanován)';
$this->page_expire_ban_by = '(Odbanován kým {name})';
$this->page_expire_mute = '(Odmlčen)';
$this->page_expire_mute_by = '(Odmlčen kým {name})';
$this->page_expire = '(Vypršel)';
$this->page_title_ban = 'Bany';
$this->page_title_mute = 'Umlčení';
$this->page_title_warn = 'Varování';
$this->page_title_kick = 'Vyhození';
$this->page_check_user = "Hráč";
$this->page_check_submit = "Ověřit";
$this->page_page = "Strana";
$this->check_invalid = "Neplatné zadání";
$this->check_notjoin = "u nás ještě nebyl";
$this->history_missinguuid = "Chybějící argument (uuid)";
$this->history_playernotfound = "Hráč nenalezen v databázi";
$this->history_recentby = "Nedávné tresty od ";
$this->history_recentfor = "Nedávne tresty pro ";
$this->history_tabletype = "Typ";
$this->history_tableplayer = "Hráč";
$this->history_tablemoderator = "Admin";
$this->history_tablereason = "Důvod";
$this->history_tabledate = "Datum";
$this->history_tableexpires = "Vyprší";
$this->history_nopunishments = "Nenalezeny žádné tresty";
$this->history_returnto = "Vrátit se na";
$this->info_banned_player = "Zabanovaný hráč";
$this->info_banned_by = "Zabanován kým";
$this->info_banned_reason = "Důvod banu";
$this->info_banned_when = "Zabanován do";
$this->info_banned_expiry = "Zabanován do kdy";
$this->info_muted_player = "Umlčený hráč";
$this->info_muted_by = "Umlčen kým";
$this->info_muted_reason = "Důvod umlčení";
$this->info_muted_when = "Umlčen kdy";
$this->info_muted_expiry = "Umlčen do kdy";
$this->info_warn_name = "Varování";
$this->info_warn_player = "Varovaný hráč";
$this->info_warn_by = "Varován kým";
$this->info_warn_reason = "Důvod varování";
$this->info_warn_when = "Varován kdy";
$this->info_warn_expiry = "Varování vyprší";
$this->info_kick_player = "Vyhozený hráč";
$this->info_kick_by = "Vyhozen kým";
$this->info_kick_reason = "Důvod vyhození";
$this->info_kick_when = "Vyhozen kdy";
$this->info_error_missingarg = "Neplatné argumenty (typ, id)";
$this->info_error_unknown = "Vyžádána neznámá stránka";
$this->info_error_invalidid = "Neplatné ID";
$this->info_error_notfound1 = "Chyba: ";
$this->info_error_notfound2 = " nenalezen v databázi";
$this->info_error_notplayer = "Chyba: Jméno hráče nenalezeno";
$this->bans_player = "Jméno";
$this->bans_by = "Zabanován kým";
$this->bans_reason = "Důvod banu";
$this->bans_when = "Zabanován kdy";
$this->bans_expiry = "Zabanován do kdy";
$this->kicks_player = "Jméno";
$this->kicks_by = "Vyhozen kým";
$this->kicks_reason = "Důvod vyhození";
$this->kicks_when = "Vyhozen kdy";
$this->mutes_player = "Jméno";
$this->mutes_by = "Umlčen kým";
$this->mutes_reason = "Důvod umlčení";
$this->mutes_when = "Umlčen kdy";
$this->mutes_expiry = "Umlčen do kdy";
$this->warns_player = "Jméno";
$this->warns_by = "Varován kým";
$this->warns_reason = "Důvod varování";
$this->warns_when = "Varován kdy";
$this->warns_receive = "Varování doručeno";
$array = array();
$this->array = &$array;
$array["index_welcome"] = 'Vítej na {server}.';
$array["index_welcome2"] = 'Zde nalezneš vypsány všechny své tresty.';
$array["header_index"] = 'Úvod';
$array["header_bans"] = 'Bany';
$array["header_mutes"] = 'Umlčení';
$array["header_warnings"] = 'Varování';
$array["header_kicks"] = 'Vyhození';
$array["page_perm_ban"] = 'Trvalý ban';
$array["page_perm_mute"] = 'Umlčen navždy';
$array["page_perm_warn"] = 'Trvalé varování';
$array["page_expire_ban"] = '(Odbanován)';
$array["page_expire_ban_by"] = '(Odbanován kým {name})';
$array["page_expire_mute"] = '(Odmlčen)';
$array["page_expire_mute_by"] = '(Odmlčen kým {name})';
$array["page_expire"] = '(Vypršel)';
$array["page_title_ban"] = 'Bany';
$array["page_title_mute"] = 'Umlčení';
$array["page_title_warn"] = 'Varování';
$array["page_title_kick"] = 'Vyhození';
$array["page_check_user"] = "Hráč";
$array["page_check_submit"] = "Ověřit";
$array["page_page"] = "Strana";
$array["check_invalid"] = "Neplatné zadání";
$array["check_notjoin"] = "u nás ještě nebyl";
$array["history_missinguuid"] = "Chybějící argument (uuid)";
$array["history_playernotfound"] = "Hráč nenalezen v databázi";
$array["history_recentby"] = "Nedávné tresty od ";
$array["history_recentfor"] = "Nedávne tresty pro ";
$array["history_tabletype"] = "Typ";
$array["history_tableplayer"] = "Hráč";
$array["history_tablemoderator"] = "Admin";
$array["history_tablereason"] = "Důvod";
$array["history_tabledate"] = "Datum";
$array["history_tableexpires"] = "Vyprší";
$array["history_nopunishments"] = "Nenalezeny žádné tresty";
$array["history_returnto"] = "Vrátit se na";
$array["info_banned_player"] = "Zabanovaný hráč";
$array["info_banned_by"] = "Zabanován kým";
$array["info_banned_reason"] = "Důvod banu";
$array["info_banned_when"] = "Zabanován do";
$array["info_banned_expiry"] = "Zabanován do kdy";
$array["info_muted_player"] = "Umlčený hráč";
$array["info_muted_by"] = "Umlčen kým";
$array["info_muted_reason"] = "Důvod umlčení";
$array["info_muted_when"] = "Umlčen kdy";
$array["info_muted_expiry"] = "Umlčen do kdy";
$array["info_warn_name"] = "Varování";
$array["info_warn_player"] = "Varovaný hráč";
$array["info_warn_by"] = "Varován kým";
$array["info_warn_reason"] = "Důvod varování";
$array["info_warn_when"] = "Varován kdy";
$array["info_warn_expiry"] = "Varování vyprší";
$array["info_kick_player"] = "Vyhozený hráč";
$array["info_kick_by"] = "Vyhozen kým";
$array["info_kick_reason"] = "Důvod vyhození";
$array["info_kick_when"] = "Vyhozen kdy";
$array["info_error_missingarg"] = "Neplatné argumenty (typ, id)";
$array["info_error_unknown"] = "Vyžádána neznámá stránka";
$array["info_error_invalidid"] = "Neplatné ID";
$array["info_error_notfound1"] = "Chyba: ";
$array["info_error_notfound2"] = " nenalezen v databázi";
$array["info_error_notplayer"] = "Chyba: Jméno hráče nenalezeno";
$array["bans_player"] = "Jméno";
$array["bans_by"] = "Zabanován kým";
$array["bans_reason"] = "Důvod banu";
$array["bans_when"] = "Zabanován kdy";
$array["bans_expiry"] = "Zabanován do kdy";
$array["kicks_player"] = "Jméno";
$array["kicks_by"] = "Vyhozen kým";
$array["kicks_reason"] = "Důvod vyhození";
$array["kicks_when"] = "Vyhozen kdy";
$array["mutes_player"] = "Jméno";
$array["mutes_by"] = "Umlčen kým";
$array["mutes_reason"] = "Důvod umlčení";
$array["mutes_when"] = "Umlčen kdy";
$array["mutes_expiry"] = "Umlčen do kdy";
$array["warns_player"] = "Jméno";
$array["warns_by"] = "Varován kým";
$array["warns_reason"] = "Důvod varování";
$array["warns_when"] = "Varován kdy";
$array["warns_receive"] = "Varování doručeno";
}
}

View File

@ -2,98 +2,99 @@
class Lang {
public function __construct() {
$this->index_welcome1 = 'Velkommen Til ';
$this->index_welcome2 = '\'s Ban Liste.';
$this->index_allsins = 'Her er all dine afstraffelser listed.';
$array = array();
$this->array = &$array;
$array["index_welcome"] = "Velkommen Til {server}'s Ban Liste.";
$array["index_welcome2"] = 'Her er all dine afstraffelser listed.';
$this->header_index = 'Hjem';
$this->header_bans = 'Forbud';
$this->header_mutes = 'Dæmpelser';
$this->header_warnings = 'Advarelser';
$this->header_kicks = 'Spark';
$array["header_index"] = 'Hjem';
$array["header_bans"] = 'Forbud';
$array["header_mutes"] = 'Dæmpelser';
$array["header_warnings"] = 'Advarelser';
$array["header_kicks"] = 'Spark';
$this->page_perm_ban = 'Permanent Forbud';
$this->page_perm_mute = 'Permanent Dæmpelse';
$this->page_perm_warn = 'Permanent';
$this->page_expire_ban = '(Forbud Ophævet)';
$this->page_expire_ban_by = '(Forbud Ophævet af {name})';
$this->page_expire_mute = '(Dæmpelse Fjernet)';
$this->page_expire_mute_by = '(Dæmpelse Fjernet af {name})';
$this->page_expire = '(Udløbet)';
$this->page_title_ban = 'Forbud';
$this->page_title_mute = 'Dæmpelser';
$this->page_title_warn = 'Advarelser';
$this->page_title_kick = 'Spark';
$this->page_check_user = "Spiller";
$this->page_check_submit = "Tjek";
$this->page_page = "Side";
$array["page_perm_ban"] = 'Permanent Forbud';
$array["page_perm_mute"] = 'Permanent Dæmpelse';
$array["page_perm_warn"] = 'Permanent';
$array["page_expire_ban"] = '(Forbud Ophævet)';
$array["page_expire_ban_by"] = '(Forbud Ophævet af {name})';
$array["page_expire_mute"] = '(Dæmpelse Fjernet)';
$array["page_expire_mute_by"] = '(Dæmpelse Fjernet af {name})';
$array["page_expire"] = '(Udløbet)';
$array["page_title_ban"] = 'Forbud';
$array["page_title_mute"] = 'Dæmpelser';
$array["page_title_warn"] = 'Advarelser';
$array["page_title_kick"] = 'Spark';
$array["page_check_user"] = "Spiller";
$array["page_check_submit"] = "Tjek";
$array["page_page"] = "Side";
$this->check_notjoin = "har ikke været på serveren.";
$array["check_notjoin"] = "har ikke været på serveren.";
$this->history_recentby = "Seneste Straffe af ";
$this->history_recentfor = "Senseste for ";
$this->history_tabletype = "Type";
$this->history_tableplayer = "Spiller";
$this->history_tablemoderator = "Moderator";
$this->history_tablereason = "Grund";
$this->history_tabledate = "Dato";
$this->history_tableexpires = "Udløber";
$this->history_nopunishments = "Ingen straf fundet.";
$this->history_returnto = "Retuner til";
$array["history_recentby"] = "Seneste Straffe af ";
$array["history_recentfor"] = "Senseste for ";
$array["history_tabletype"] = "Type";
$array["history_tableplayer"] = "Spiller";
$array["history_tablemoderator"] = "Moderator";
$array["history_tablereason"] = "Grund";
$array["history_tabledate"] = "Dato";
$array["history_tableexpires"] = "Udløber";
$array["history_nopunishments"] = "Ingen straf fundet.";
$array["history_returnto"] = "Retuner til";
$this->info_banned_player = "Forbudt Spiller";
$this->info_banned_by = "Forbud Af";
$this->info_banned_reason = "Grund For Forbud";
$this->info_banned_when = "Forbud Påført";
$this->info_banned_expiry = "Forbud Udløber";
$this->info_muted_player = "Afdæmpet Spiller";
$this->info_muted_by = "Afdæmpet Af";
$this->info_muted_reason = "Grund For Afdæmpelse";
$this->info_muted_when = "Afdæmpelse Påført";
$this->info_muted_expiry = "Afdæmpelse Udløber";
$this->info_warn_name = "Advarelse";
$this->info_warn_player = "Advaret Spiller";
$this->info_warn_by = "Advaret Af";
$this->info_warn_reason = "Advaret Fordi";
$this->info_warn_when = "Advarelse Påført";
$this->info_warn_expiry = "Advarelse Udløber";
$this->info_kick_player = "Sparket Spiller";
$this->info_kick_by = "Sparket Af";
$this->info_kick_reason = "Sparket Fordi";
$this->info_kick_when = "Spark Påført";
$array["info_banned_player"] = "Forbudt Spiller";
$array["info_banned_by"] = "Forbud Af";
$array["info_banned_reason"] = "Grund For Forbud";
$array["info_banned_when"] = "Forbud Påført";
$array["info_banned_expiry"] = "Forbud Udløber";
$array["info_muted_player"] = "Afdæmpet Spiller";
$array["info_muted_by"] = "Afdæmpet Af";
$array["info_muted_reason"] = "Grund For Afdæmpelse";
$array["info_muted_when"] = "Afdæmpelse Påført";
$array["info_muted_expiry"] = "Afdæmpelse Udløber";
$array["info_warn_name"] = "Advarelse";
$array["info_warn_player"] = "Advaret Spiller";
$array["info_warn_by"] = "Advaret Af";
$array["info_warn_reason"] = "Advaret Fordi";
$array["info_warn_when"] = "Advarelse Påført";
$array["info_warn_expiry"] = "Advarelse Udløber";
$array["info_kick_player"] = "Sparket Spiller";
$array["info_kick_by"] = "Sparket Af";
$array["info_kick_reason"] = "Sparket Fordi";
$array["info_kick_when"] = "Spark Påført";
$this->bans_player = "Navn";
$this->bans_by = "Forbud Af";
$this->bans_reason = "Forbudt Fordi";
$this->bans_when = "Forbud Påført";
$this->bans_expiry = "Forbudt Indtil";
$array["bans_player"] = "Navn";
$array["bans_by"] = "Forbud Af";
$array["bans_reason"] = "Forbudt Fordi";
$array["bans_when"] = "Forbud Påført";
$array["bans_expiry"] = "Forbudt Indtil";
$this->kicks_player = "Navn";
$this->kicks_by = "Sparket Af";
$this->kicks_reason = "Sparket Fordi";
$this->kicks_when = "Sparket Indtil";
$array["kicks_player"] = "Navn";
$array["kicks_by"] = "Sparket Af";
$array["kicks_reason"] = "Sparket Fordi";
$array["kicks_when"] = "Sparket Indtil";
$this->mutes_player = "Navn";
$this->mutes_by = "Afdæmpet Af";
$this->mutes_reason = "Afdæmpet Fordi";
$this->mutes_when = "Afdæmpelse Påført";
$this->mutes_expiry = "Afdæmpet Indtil";
$array["mutes_player"] = "Navn";
$array["mutes_by"] = "Afdæmpet Af";
$array["mutes_reason"] = "Afdæmpet Fordi";
$array["mutes_when"] = "Afdæmpelse Påført";
$array["mutes_expiry"] = "Afdæmpet Indtil";
$this->warns_player = "Navn";
$this->warns_by = "Advaret Af";
$this->warns_reason = "Advaret Fordi";
$this->warns_when = "Advaret Indtil";
$this->warns_receive = "Modtog Advarelse";
$array["warns_player"] = "Navn";
$array["warns_by"] = "Advaret Af";
$array["warns_reason"] = "Advaret Fordi";
$array["warns_when"] = "Advaret Indtil";
$array["warns_receive"] = "Modtog Advarelse";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "Ugyldigt Navn.";
$this->history_missinguuid = "Mangler argumenter (uuid).";
$this->info_error_missingarg = "Mangler argumenter (type, id).";
$this->info_error_unknown = "Ukendt side type anmodet.";
$this->info_error_invalidid = "Ugyldigt ID";
$this->info_error_notfound1 = "Fejl: ";
$this->info_error_notfound2 = " blev ikke fundet i databasen.";
$this->info_error_notplayer = "Fejl: Spiller ikke fundet.";
$this->history_playernotfound = "Spiller blev ikke fundet i databasen.";
$array["check_invalid"] = "Ugyldigt Navn.";
$array["history_missinguuid"] = "Mangler argumenter (uuid).";
$array["info_error_missingarg"] = "Mangler argumenter (type, id).";
$array["info_error_unknown"] = "Ukendt side type anmodet.";
$array["info_error_invalidid"] = "Ugyldigt ID";
$array["info_error_notfound1"] = "Fejl: ";
$array["info_error_notfound2"] = " blev ikke fundet i databasen.";
$array["info_error_notplayer"] = "Fejl: Spiller ikke fundet.";
$array["history_playernotfound"] = "Spiller blev ikke fundet i databasen.";
}
}

View File

@ -1,99 +1,100 @@
<?php
class Lang {
class DefaultLang {
public function __construct() {
$this->index_welcome1 = 'Welcome to ';
$this->index_welcome2 = '\'s Ban List.';
$this->index_allsins = 'Here is where all of our punishments are listed.';
$array = array();
$this->array = &$array;
$array["index_welcome"] = "Welcome to {server}'s Ban List.";
$array["index_welcome2"] = "Here is where all of our punishments are listed.";
$this->header_index = 'Home';
$this->header_bans = 'Bans';
$this->header_mutes = 'Mutes';
$this->header_warnings = 'Warnings';
$this->header_kicks = 'Kicks';
$array["header_index"] = 'Home';
$array["header_bans"] = 'Bans';
$array["header_mutes"] = 'Mutes';
$array["header_warnings"] = 'Warnings';
$array["header_kicks"] = 'Kicks';
$this->page_perm_ban = 'Permanent Ban';
$this->page_perm_mute = 'Permanent Mute';
$this->page_perm_warn = 'Permanent';
$this->page_expire_ban = '(Unbanned)';
$this->page_expire_ban_by = '(Unbanned by {name})';
$this->page_expire_mute = '(Unmuted)';
$this->page_expire_mute_by = '(Unmuted by {name})';
$this->page_expire = '(Expired)';
$this->page_title_ban = 'Bans';
$this->page_title_mute = 'Mutes';
$this->page_title_warn = 'Warnings';
$this->page_title_kick = 'Kicks';
$this->page_check_user = "Player";
$this->page_check_submit = "Check";
$this->page_page = "Page";
$array["page_perm_ban"] = 'Permanent Ban';
$array["page_perm_mute"] = 'Permanent Mute';
$array["page_perm_warn"] = 'Permanent';
$array["page_expire_ban"] = '(Unbanned)';
$array["page_expire_ban_by"] = '(Unbanned by {name})';
$array["page_expire_mute"] = '(Unmuted)';
$array["page_expire_mute_by"] = '(Unmuted by {name})';
$array["page_expire"] = '(Expired)';
$array["page_title_ban"] = 'Bans';
$array["page_title_mute"] = 'Mutes';
$array["page_title_warn"] = 'Warnings';
$array["page_title_kick"] = 'Kicks';
$array["page_check_user"] = "Player";
$array["page_check_submit"] = "Check";
$array["page_page"] = "Page";
$this->check_notjoin = "has not joined before.";
$array["check_notjoin"] = "has not joined before.";
$this->history_recentby = "Recent Punishments by ";
$this->history_recentfor = "Recent Punishments for ";
$this->history_tabletype = "Type";
$this->history_tableplayer = "Player";
$this->history_tablemoderator = "Moderator";
$this->history_tablereason = "Reason";
$this->history_tabledate = "Date";
$this->history_tableexpires = "Expires";
$this->history_nopunishments = "No punishments found.";
$this->history_returnto = "Return to";
$array["history_recentby"] = "Recent Punishments by ";
$array["history_recentfor"] = "Recent Punishments for ";
$array["history_tabletype"] = "Type";
$array["history_tableplayer"] = "Player";
$array["history_tablemoderator"] = "Moderator";
$array["history_tablereason"] = "Reason";
$array["history_tabledate"] = "Date";
$array["history_tableexpires"] = "Expires";
$array["history_nopunishments"] = "No punishments found.";
$array["history_returnto"] = "Return to";
$this->info_banned_player = "Banned Player";
$this->info_banned_by = "Banned By";
$this->info_banned_reason = "Ban Reason";
$this->info_banned_when = "Ban Placed";
$this->info_banned_expiry = "Expires";
$this->info_muted_player = "Muted Player";
$this->info_muted_by = "Muted By";
$this->info_muted_reason = "Mute Reason";
$this->info_muted_when = "Mute Placed";
$this->info_muted_expiry = "Expires";
$this->info_warn_name = "Warning";
$this->info_warn_player = "Warned Player";
$this->info_warn_by = "Warned By";
$this->info_warn_reason = "Warning Reason";
$this->info_warn_when = "Warning Placed";
$this->info_warn_expiry = "Expires";
$this->info_kick_player = "Kicked Player";
$this->info_kick_by = "Kicked By";
$this->info_kick_reason = "Kick Reason";
$this->info_kick_when = "Kick Date";
$array["info_banned_player"] = "Banned Player";
$array["info_banned_by"] = "Banned By";
$array["info_banned_reason"] = "Ban Reason";
$array["info_banned_when"] = "Ban Placed";
$array["info_banned_expiry"] = "Expires";
$array["info_muted_player"] = "Muted Player";
$array["info_muted_by"] = "Muted By";
$array["info_muted_reason"] = "Mute Reason";
$array["info_muted_when"] = "Mute Placed";
$array["info_muted_expiry"] = "Expires";
$array["info_warn_name"] = "Warning";
$array["info_warn_player"] = "Warned Player";
$array["info_warn_by"] = "Warned By";
$array["info_warn_reason"] = "Warning Reason";
$array["info_warn_when"] = "Warning Placed";
$array["info_warn_expiry"] = "Expires";
$array["info_kick_player"] = "Kicked Player";
$array["info_kick_by"] = "Kicked By";
$array["info_kick_reason"] = "Kick Reason";
$array["info_kick_when"] = "Kick Date";
$this->bans_player = "Name";
$this->bans_by = "Banned By";
$this->bans_reason = "Reason";
$this->bans_when = "Banned On";
$this->bans_expiry = "Banned Until";
$array["bans_player"] = "Name";
$array["bans_by"] = "Banned By";
$array["bans_reason"] = "Reason";
$array["bans_when"] = "Banned On";
$array["bans_expiry"] = "Banned Until";
$this->kicks_player = "Name";
$this->kicks_by = "Kicked By";
$this->kicks_reason = "Reason";
$this->kicks_when = "Date";
$array["kicks_player"] = "Name";
$array["kicks_by"] = "Kicked By";
$array["kicks_reason"] = "Reason";
$array["kicks_when"] = "Date";
$this->mutes_player = "Name";
$this->mutes_by = "Muted By";
$this->mutes_reason = "Reason";
$this->mutes_when = "Muted On";
$this->mutes_expiry = "Muted Until";
$array["mutes_player"] = "Name";
$array["mutes_by"] = "Muted By";
$array["mutes_reason"] = "Reason";
$array["mutes_when"] = "Muted On";
$array["mutes_expiry"] = "Muted Until";
$this->warns_player = "Name";
$this->warns_by = "Warned By";
$this->warns_reason = "Reason";
$this->warns_when = "Warned Until";
$this->warns_receive = "Received Warning";
$array["warns_player"] = "Name";
$array["warns_by"] = "Warned By";
$array["warns_reason"] = "Reason";
$array["warns_when"] = "Warned Until";
$array["warns_receive"] = "Received Warning";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "Invalid name.";
$this->history_missinguuid = "Missing arguments (uuid).";
$this->info_error_missingarg = "Missing arguments (type, id).";
$this->info_error_unknown = "Unknown page type requested.";
$this->info_error_invalidid = "Invalid ID";
$this->info_error_notfound1 = "Error: ";
$this->info_error_notfound2 = " not found in database.";
$this->info_error_notplayer = "Error: Player name not found.";
$this->history_playernotfound = "Player not found in database.";
$array["check_invalid"] = "Invalid name.";
$array["history_missinguuid"] = "Missing arguments (uuid).";
$array["info_error_missingarg"] = "Missing arguments (type, id).";
$array["info_error_unknown"] = "Unknown page type requested.";
$array["info_error_invalidid"] = "Invalid ID";
$array["info_error_notfound1"] = "Error: ";
$array["info_error_notfound2"] = " not found in database.";
$array["info_error_notplayer"] = "Error: Player name not found.";
$array["history_playernotfound"] = "Player not found in database.";
}
}

View File

@ -1,97 +1,99 @@
<?php
class Lang {
public function __construct() {
$this->index_welcome1 = 'Bienvenido a la Lista de Sanciones de ';
$this->index_welcome2 = '.';
$this->index_allsins = 'Aquí se encuntran todas las Sanciones del Servidor.';
$this->header_index = 'Inicio';
$this->header_bans = 'Baneos';
$this->header_mutes = 'Muteos';
$this->header_warnings = 'Advertencias';
$this->header_kicks = 'Expulsiones';
$array = array();
$this->array = &$array;
$array["index_welcome"] = 'Bienvenido a la Lista de Sanciones de {server}.';
$array["index_welcome2"] = 'Aquí se encuntran todas las Sanciones del Servidor.';
$this->page_perm_ban = 'Baneo Permanente';
$this->page_perm_mute = 'Muteo Permanente';
$this->page_perm_warn = 'Permanente';
$this->page_expire_ban = '(Desbaneado)';
$this->page_expire_ban_by = '(Desbaneado por {name})';
$this->page_expire_mute = '(Desmuteado)';
$this->page_expire_mute_by = '(Desmuteado por {name})';
$this->page_expire = '(Expirado)';
$this->page_title_ban = 'Baneos';
$this->page_title_mute = 'Muteos';
$this->page_title_warn = 'Advertencias';
$this->page_title_kick = 'Expulsiones';
$this->page_check_user = "Jugador";
$this->page_check_submit = "Buscar";
$this->page_page = "Página";
$array["header_index"] = 'Inicio';
$array["header_bans"] = 'Baneos';
$array["header_mutes"] = 'Muteos';
$array["header_warnings"] = 'Advertencias';
$array["header_kicks"] = 'Expulsiones';
$this->check_notjoin = "no existe.";
$array["page_perm_ban"] = 'Baneo Permanente';
$array["page_perm_mute"] = 'Muteo Permanente';
$array["page_perm_warn"] = 'Permanente';
$array["page_expire_ban"] = '(Desbaneado)';
$array["page_expire_ban_by"] = '(Desbaneado por {name})';
$array["page_expire_mute"] = '(Desmuteado)';
$array["page_expire_mute_by"] = '(Desmuteado por {name})';
$array["page_expire"] = '(Expirado)';
$array["page_title_ban"] = 'Baneos';
$array["page_title_mute"] = 'Muteos';
$array["page_title_warn"] = 'Advertencias';
$array["page_title_kick"] = 'Expulsiones';
$array["page_check_user"] = "Jugador";
$array["page_check_submit"] = "Buscar";
$array["page_page"] = "Página";
$this->history_recentby = "Sanciones Recientes por ";
$this->history_recentfor = "Sanciones Recientes para ";
$this->history_tabletype = "Sanción";
$this->history_tableplayer = "Jugador";
$this->history_tablemoderator = "Moderador";
$this->history_tablereason = "Razón";
$this->history_tabledate = "Fecha";
$this->history_tableexpires = "Expira";
$this->history_nopunishments = "Castigos No Encontrados.";
$this->history_returnto = "Volver a";
$array["check_notjoin"] = "no existe.";
$this->info_banned_player = "Jugador Baneado";
$this->info_banned_by = "Baneado por";
$this->info_banned_reason = "Razón del Baneo";
$this->info_banned_when = "Baneado el";
$this->info_banned_expiry = "Expira";
$this->info_muted_player = "Jugador Muteado";
$this->info_muted_by = "Muteado por";
$this->info_muted_reason = "Razón del Muteo";
$this->info_muted_when = "Muteado el";
$this->info_muted_expiry = "Expira";
$this->info_warn_name = "Advertencia";
$this->info_warn_player = "Jugador Advertido";
$this->info_warn_by = "Advertido por";
$this->info_warn_reason = "Razón de la Advertencia";
$this->info_warn_when = "Advertido el";
$this->info_warn_expiry = "Expira";
$this->info_kick_player = "Jugador Expulsado";
$this->info_kick_by = "Expulsado por";
$this->info_kick_reason = "Razón de la Expulsión";
$this->info_kick_when = "Fecha de la Expulsión";
$array["history_recentby"] = "Sanciones Recientes por ";
$array["history_recentfor"] = "Sanciones Recientes para ";
$array["history_tabletype"] = "Sanción";
$array["history_tableplayer"] = "Jugador";
$array["history_tablemoderator"] = "Moderador";
$array["history_tablereason"] = "Razón";
$array["history_tabledate"] = "Fecha";
$array["history_tableexpires"] = "Expira";
$array["history_nopunishments"] = "Castigos No Encontrados.";
$array["history_returnto"] = "Volver a";
$this->bans_player = "Nombre";
$this->bans_by = "Baneado por";
$this->bans_reason = "Razón";
$this->bans_when = "Baneado el";
$this->bans_expiry = "Baneado hasta";
$array["info_banned_player"] = "Jugador Baneado";
$array["info_banned_by"] = "Baneado por";
$array["info_banned_reason"] = "Razón del Baneo";
$array["info_banned_when"] = "Baneado el";
$array["info_banned_expiry"] = "Expira";
$array["info_muted_player"] = "Jugador Muteado";
$array["info_muted_by"] = "Muteado por";
$array["info_muted_reason"] = "Razón del Muteo";
$array["info_muted_when"] = "Muteado el";
$array["info_muted_expiry"] = "Expira";
$array["info_warn_name"] = "Advertencia";
$array["info_warn_player"] = "Jugador Advertido";
$array["info_warn_by"] = "Advertido por";
$array["info_warn_reason"] = "Razón de la Advertencia";
$array["info_warn_when"] = "Advertido el";
$array["info_warn_expiry"] = "Expira";
$array["info_kick_player"] = "Jugador Expulsado";
$array["info_kick_by"] = "Expulsado por";
$array["info_kick_reason"] = "Razón de la Expulsión";
$array["info_kick_when"] = "Fecha de la Expulsión";
$this->kicks_player = "Nombre";
$this->kicks_by = "Expulsado por";
$this->kicks_reason = "Razón";
$this->kicks_when = "Fecha";
$array["bans_player"] = "Nombre";
$array["bans_by"] = "Baneado por";
$array["bans_reason"] = "Razón";
$array["bans_when"] = "Baneado el";
$array["bans_expiry"] = "Baneado hasta";
$this->mutes_player = "Nombre";
$this->mutes_by = "Muteado por";
$this->mutes_reason = "Razón";
$this->mutes_when = "Muteado el";
$this->mutes_expiry = "Muteado hasta";
$array["kicks_player"] = "Nombre";
$array["kicks_by"] = "Expulsado por";
$array["kicks_reason"] = "Razón";
$array["kicks_when"] = "Fecha";
$this->warns_player = "Nombre";
$this->warns_by = "Advertido por";
$this->warns_reason = "Razón";
$this->warns_when = "Advertido el";
$this->warns_receive = "¿Advertencia Recibida?";
$array["mutes_player"] = "Nombre";
$array["mutes_by"] = "Muteado por";
$array["mutes_reason"] = "Razón";
$array["mutes_when"] = "Muteado el";
$array["mutes_expiry"] = "Muteado hasta";
$array["warns_player"] = "Nombre";
$array["warns_by"] = "Advertido por";
$array["warns_reason"] = "Razón";
$array["warns_when"] = "Advertido el";
$array["warns_receive"] = "¿Advertencia Recibida?";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "Nombre Inválido.";
$this->history_missinguuid = "Argumentos Inválidos (uuid).";
$this->info_error_missingarg = "Argumentos Inválidos (tipo, id).";
$this->info_error_unknown = "La página que deseas visitar no existe.";
$this->info_error_invalidid = "ID Inválida";
$this->info_error_notfound1 = "Error: ";
$this->info_error_notfound2 = " no encontrado en la Base de Datos.";
$this->info_error_notplayer = "Error: Jugador no Encontrado.";
$this->history_playernotfound = "Jugador No Encontrado en la Base de Datos.";
$array["check_invalid"] = "Nombre Inválido.";
$array["history_missinguuid"] = "Argumentos Inválidos (uuid).";
$array["info_error_missingarg"] = "Argumentos Inválidos (tipo, id).";
$array["info_error_unknown"] = "La página que deseas visitar no existe.";
$array["info_error_invalidid"] = "ID Inválida";
$array["info_error_notfound1"] = "Error: ";
$array["info_error_notfound2"] = " no encontrado en la Base de Datos.";
$array["info_error_notplayer"] = "Error: Jugador no Encontrado.";
$array["history_playernotfound"] = "Jugador No Encontrado en la Base de Datos.";
}
}

View File

@ -1,97 +1,99 @@
<?php
class Lang {
public function __construct() {
$this->index_welcome1 = 'Bienvenido a la Lista de Sanciones de ';
$this->index_welcome2 = '.';
$this->index_allsins = 'Aquí se encuntran todas las Sanciones del Servidor.';
$this->header_index = 'Inicio';
$this->header_bans = 'Baneos';
$this->header_mutes = 'Muteos';
$this->header_warnings = 'Advertencias';
$this->header_kicks = 'Kickeos';
$array = array();
$this->array = &$array;
$array["index_welcome"] = 'Bienvenido a la Lista de Sanciones de {server}.';
$array["index_allsins"] = 'Aquí se encuntran todas las Sanciones del Servidor.';
$array["header_index"] = 'Inicio';
$array["header_bans"] = 'Baneos';
$array["header_mutes"] = 'Muteos';
$array["header_warnings"] = 'Advertencias';
$array["header_kicks"] = 'Kickeos';
$this->page_perm_ban = 'Baneo Permanente';
$this->page_perm_mute = 'Muteo Permanente';
$this->page_perm_warn = 'Permanente';
$this->page_expire_ban = '(Desbaneado)';
$this->page_expire_ban_by = '(Desbaneado por {name})';
$this->page_expire_mute = '(Desmuteado)';
$this->page_expire_mute_by = '(Desmuteado por {name})';
$this->page_expire = '(Expirado)';
$this->page_title_ban = 'Baneos';
$this->page_title_mute = 'Muteos';
$this->page_title_warn = 'Advertencias';
$this->page_title_kick = 'Kickeos';
$this->page_check_user = "Jugador";
$this->page_check_submit = "Buscar";
$this->page_page = "Página";
$array["page_perm_ban"] = 'Baneo Permanente';
$array["page_perm_mute"] = 'Muteo Permanente';
$array["page_perm_warn"] = 'Permanente';
$array["page_expire_ban"] = '(Desbaneado)';
$array["page_expire_ban_by"] = '(Desbaneado por {name})';
$array["page_expire_mute"] = '(Desmuteado)';
$array["page_expire_mute_by"] = '(Desmuteado por {name})';
$array["page_expire"] = '(Expirado)';
$array["page_title_ban"] = 'Baneos';
$array["page_title_mute"] = 'Muteos';
$array["page_title_warn"] = 'Advertencias';
$array["page_title_kick"] = 'Kickeos';
$array["page_check_user"] = "Jugador";
$array["page_check_submit"] = "Buscar";
$array["page_page"] = "Página";
$this->check_notjoin = "no existe.";
$array["check_notjoin"] = "no existe.";
$this->history_recentby = "Sanciones Recientes por ";
$this->history_recentfor = "Sanciones Recientes para ";
$this->history_tabletype = "Sanción";
$this->history_tableplayer = "Jugador";
$this->history_tablemoderator = "Moderador";
$this->history_tablereason = "Razón";
$this->history_tabledate = "Fecha";
$this->history_tableexpires = "Expira";
$this->history_nopunishments = "Sanciones no Encontradas.";
$this->history_returnto = "Volver a";
$array["history_recentby"] = "Sanciones Recientes por ";
$array["history_recentfor"] = "Sanciones Recientes para ";
$array["history_tabletype"] = "Sanción";
$array["history_tableplayer"] = "Jugador";
$array["history_tablemoderator"] = "Moderador";
$array["history_tablereason"] = "Razón";
$array["history_tabledate"] = "Fecha";
$array["history_tableexpires"] = "Expira";
$array["history_nopunishments"] = "Sanciones no Encontradas.";
$array["history_returnto"] = "Volver a";
$this->info_banned_player = "Jugador Baneado";
$this->info_banned_by = "Baneado por";
$this->info_banned_reason = "Razón del Baneo";
$this->info_banned_when = "Baneado el";
$this->info_banned_expiry = "Expira";
$this->info_muted_player = "Jugador Muteado";
$this->info_muted_by = "Muteado por";
$this->info_muted_reason = "Razón del Muteo";
$this->info_muted_when = "Muteado el";
$this->info_muted_expiry = "Expira";
$this->info_warn_name = "Advertencia";
$this->info_warn_player = "Jugador Advertido";
$this->info_warn_by = "Advertido por";
$this->info_warn_reason = "Razón de la Advertencia";
$this->info_warn_when = "Advertido el";
$this->info_warn_expiry = "Expira";
$this->info_kick_player = "Jugador Kickeado";
$this->info_kick_by = "Kickeado por";
$this->info_kick_reason = "Razón del Kickeo";
$this->info_kick_when = "Fecha del Kickeo";
$array["info_banned_player"] = "Jugador Baneado";
$array["info_banned_by"] = "Baneado por";
$array["info_banned_reason"] = "Razón del Baneo";
$array["info_banned_when"] = "Baneado el";
$array["info_banned_expiry"] = "Expira";
$array["info_muted_player"] = "Jugador Muteado";
$array["info_muted_by"] = "Muteado por";
$array["info_muted_reason"] = "Razón del Muteo";
$array["info_muted_when"] = "Muteado el";
$array["info_muted_expiry"] = "Expira";
$array["info_warn_name"] = "Advertencia";
$array["info_warn_player"] = "Jugador Advertido";
$array["info_warn_by"] = "Advertido por";
$array["info_warn_reason"] = "Razón de la Advertencia";
$array["info_warn_when"] = "Advertido el";
$array["info_warn_expiry"] = "Expira";
$array["info_kick_player"] = "Jugador Kickeado";
$array["info_kick_by"] = "Kickeado por";
$array["info_kick_reason"] = "Razón del Kickeo";
$array["info_kick_when"] = "Fecha del Kickeo";
$this->bans_player = "Nombre";
$this->bans_by = "Baneado por";
$this->bans_reason = "Razón";
$this->bans_when = "Baneado el";
$this->bans_expiry = "Baneado hasta";
$array["bans_player"] = "Nombre";
$array["bans_by"] = "Baneado por";
$array["bans_reason"] = "Razón";
$array["bans_when"] = "Baneado el";
$array["bans_expiry"] = "Baneado hasta";
$this->kicks_player = "Nombre";
$this->kicks_by = "Kickeado por";
$this->kicks_reason = "Razón";
$this->kicks_when = "Fecha";
$array["kicks_player"] = "Nombre";
$array["kicks_by"] = "Kickeado por";
$array["kicks_reason"] = "Razón";
$array["kicks_when"] = "Fecha";
$this->mutes_player = "Nombre";
$this->mutes_by = "Muteado por";
$this->mutes_reason = "Razón";
$this->mutes_when = "Muteado el";
$this->mutes_expiry = "Muteado hasta";
$array["mutes_player"] = "Nombre";
$array["mutes_by"] = "Muteado por";
$array["mutes_reason"] = "Razón";
$array["mutes_when"] = "Muteado el";
$array["mutes_expiry"] = "Muteado hasta";
$this->warns_player = "Nombre";
$this->warns_by = "Advertido por";
$this->warns_reason = "Razón";
$this->warns_when = "Advertido el";
$this->warns_receive = "¿Advertencia Recibida?";
$array["warns_player"] = "Nombre";
$array["warns_by"] = "Advertido por";
$array["warns_reason"] = "Razón";
$array["warns_when"] = "Advertido el";
$array["warns_receive"] = "¿Advertencia Recibida?";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "Nombre Inválido.";
$this->history_missinguuid = "Argumentos Inválidos (uuid).";
$this->info_error_missingarg = "Argumentos Inválidos (tipo, id).";
$this->info_error_unknown = "La página que deseas visitar no existe.";
$this->info_error_invalidid = "ID Inválida";
$this->info_error_notfound1 = "Error: ";
$this->info_error_notfound2 = " no encontrado en la Base de Datos.";
$this->info_error_notplayer = "Error: Jugador no Encontrado.";
$this->history_playernotfound = "Jugador No Encontrado en la Base de Datos.";
$array["check_invalid"] = "Nombre Inválido.";
$array["history_missinguuid"] = "Argumentos Inválidos (uuid).";
$array["info_error_missingarg"] = "Argumentos Inválidos (tipo, id).";
$array["info_error_unknown"] = "La página que deseas visitar no existe.";
$array["info_error_invalidid"] = "ID Inválida";
$array["info_error_notfound1"] = "Error: ";
$array["info_error_notfound2"] = " no encontrado en la Base de Datos.";
$array["info_error_notplayer"] = "Error: Jugador no Encontrado.";
$array["history_playernotfound"] = "Jugador No Encontrado en la Base de Datos.";
}
}

View File

@ -2,98 +2,99 @@
class Lang {
public function __construct() {
$this->index_welcome1 = 'Benvenuto nella lista ban di ';
$this->index_welcome2 = '.';
$this->index_allsins = 'Qui ci saranno tutte le punizioni dei giocatori.';
$array = array();
$this->array = &$array;
$array["index_welcome"] = 'Benvenuto nella lista ban di {server}.';
$array["index_allsins"] = 'Qui ci saranno tutte le punizioni dei giocatori.';
$this->header_index = 'Home';
$this->header_bans = 'Ban';
$this->header_mutes = 'Mute';
$this->header_warnings = 'Warning';
$this->header_kicks = 'Kick';
$array["header_index"] = 'Home';
$array["header_bans"] = 'Ban';
$array["header_mutes"] = 'Mute';
$array["header_warnings"] = 'Warning';
$array["header_kicks"] = 'Kick';
$this->page_perm_ban = 'Ban Permanente';
$this->page_perm_mute = 'Mute Permanente';
$this->page_perm_warn = 'Permanente';
$this->page_expire_ban = '(Sbannato)';
$this->page_expire_ban_by = '(Sbannato da {name})';
$this->page_expire_mute = '(Smutato)';
$this->page_expire_mute_by = '(Smutato da {name})';
$this->page_expire = '(Terminato)';
$this->page_title_ban = 'Ban';
$this->page_title_mute = 'Mute';
$this->page_title_warn = 'Warning';
$this->page_title_kick = 'Kick';
$this->page_check_user = "Giocatore";
$this->page_check_submit = "Controlla";
$this->page_page = "Pagina";
$array["page_perm_ban"] = 'Ban Permanente';
$array["page_perm_mute"] = 'Mute Permanente';
$array["page_perm_warn"] = 'Permanente';
$array["page_expire_ban"] = '(Sbannato)';
$array["page_expire_ban_by"] = '(Sbannato da {name})';
$array["page_expire_mute"] = '(Smutato)';
$array["page_expire_mute_by"] = '(Smutato da {name})';
$array["page_expire"] = '(Terminato)';
$array["page_title_ban"] = 'Ban';
$array["page_title_mute"] = 'Mute';
$array["page_title_warn"] = 'Warning';
$array["page_title_kick"] = 'Kick';
$array["page_check_user"] = "Giocatore";
$array["page_check_submit"] = "Controlla";
$array["page_page"] = "Pagina";
$this->check_notjoin = "non è mai entrato nel server.";
$array["check_notjoin"] = "non è mai entrato nel server.";
$this->history_recentby = "punizioni recenti di ";
$this->history_recentfor = "punizioni recenti per ";
$this->history_tabletype = "Tipo";
$this->history_tableplayer = "Giocatore";
$this->history_tablemoderator = "Moderatore";
$this->history_tablereason = "Motivo";
$this->history_tabledate = "Data";
$this->history_tableexpires = "Termina";
$this->history_nopunishments = "Nessuna punizione trovata.";
$this->history_returnto = "Torna a";
$array["history_recentby"] = "punizioni recenti di ";
$array["history_recentfor"] = "punizioni recenti per ";
$array["history_tabletype"] = "Tipo";
$array["history_tableplayer"] = "Giocatore";
$array["history_tablemoderator"] = "Moderatore";
$array["history_tablereason"] = "Motivo";
$array["history_tabledate"] = "Data";
$array["history_tableexpires"] = "Termina";
$array["history_nopunishments"] = "Nessuna punizione trovata.";
$array["history_returnto"] = "Torna a";
$this->info_banned_player = "Giocatore bannato";
$this->info_banned_by = "Bannato da";
$this->info_banned_reason = "Motivo Ban";
$this->info_banned_when = "Banato il";
$this->info_banned_expiry = "Termina il";
$this->info_muted_player = "Giocatore mutato";
$this->info_muted_by = "Mutato da";
$this->info_muted_reason = "Motivo mute";
$this->info_muted_when = "Mutato il";
$this->info_muted_expiry = "Termina il";
$this->info_warn_name = "Warning";
$this->info_warn_player = "Player Ammonito";
$this->info_warn_by = "Ammonito da";
$this->info_warn_reason = "Motivo ammonizione";
$this->info_warn_when = "Ammonito il";
$this->info_warn_expiry = "Termina il";
$this->info_kick_player = "Giocatore kickato";
$this->info_kick_by = "Kickato da";
$this->info_kick_reason = "Motivo Kick";
$this->info_kick_when = "Data Kick";
$array["info_banned_player"] = "Giocatore bannato";
$array["info_banned_by"] = "Bannato da";
$array["info_banned_reason"] = "Motivo Ban";
$array["info_banned_when"] = "Banato il";
$array["info_banned_expiry"] = "Termina il";
$array["info_muted_player"] = "Giocatore mutato";
$array["info_muted_by"] = "Mutato da";
$array["info_muted_reason"] = "Motivo mute";
$array["info_muted_when"] = "Mutato il";
$array["info_muted_expiry"] = "Termina il";
$array["info_warn_name"] = "Warning";
$array["info_warn_player"] = "Player Ammonito";
$array["info_warn_by"] = "Ammonito da";
$array["info_warn_reason"] = "Motivo ammonizione";
$array["info_warn_when"] = "Ammonito il";
$array["info_warn_expiry"] = "Termina il";
$array["info_kick_player"] = "Giocatore kickato";
$array["info_kick_by"] = "Kickato da";
$array["info_kick_reason"] = "Motivo Kick";
$array["info_kick_when"] = "Data Kick";
$this->bans_player = "Nome";
$this->bans_by = "Bannato da";
$this->bans_reason = "Motivo";
$this->bans_when = "Bannato il";
$this->bans_expiry = "Durata ban";
$array["bans_player"] = "Nome";
$array["bans_by"] = "Bannato da";
$array["bans_reason"] = "Motivo";
$array["bans_when"] = "Bannato il";
$array["bans_expiry"] = "Durata ban";
$this->kicks_player = "Nome";
$this->kicks_by = "Kickato da";
$this->kicks_reason = "Motivo";
$this->kicks_when = "Data";
$array["kicks_player"] = "Nome";
$array["kicks_by"] = "Kickato da";
$array["kicks_reason"] = "Motivo";
$array["kicks_when"] = "Data";
$this->mutes_player = "Nome";
$this->mutes_by = "Mutato da";
$this->mutes_reason = "Motivo";
$this->mutes_when = "Mutato il";
$this->mutes_expiry = "Durata mute";
$array["mutes_player"] = "Nome";
$array["mutes_by"] = "Mutato da";
$array["mutes_reason"] = "Motivo";
$array["mutes_when"] = "Mutato il";
$array["mutes_expiry"] = "Durata mute";
$this->warns_player = "Nome";
$this->warns_by = "Avvertito da";
$this->warns_reason = "Motivo";
$this->warns_when = "Avvertuti il";
$this->warns_receive = "Avvertimento ricevuto";
$array["warns_player"] = "Nome";
$array["warns_by"] = "Avvertito da";
$array["warns_reason"] = "Motivo";
$array["warns_when"] = "Avvertuti il";
$array["warns_receive"] = "Avvertimento ricevuto";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "Nome invalido.";
$this->history_missinguuid = "Argomenti mancanti (uuid).";
$this->info_error_missingarg = "Argomenti mancanti (type, id).";
$this->info_error_unknown = "Pagina richiesta sconosciuta.";
$this->info_error_invalidid = "ID Invalido";
$this->info_error_notfound1 = "Errore: ";
$this->info_error_notfound2 = " Non trovato nel database.";
$this->info_error_notplayer = "Errore: Giocatore non trovato";
$this->history_playernotfound = "Giocatore non trovato nel database.";
$array["check_invalid"] = "Nome invalido.";
$array["history_missinguuid"] = "Argomenti mancanti (uuid).";
$array["info_error_missingarg"] = "Argomenti mancanti (type, id).";
$array["info_error_unknown"] = "Pagina richiesta sconosciuta.";
$array["info_error_invalidid"] = "ID Invalido";
$array["info_error_notfound1"] = "Errore: ";
$array["info_error_notfound2"] = " Non trovato nel database.";
$array["info_error_notplayer"] = "Errore: Giocatore non trovato";
$array["history_playernotfound"] = "Giocatore non trovato nel database.";
}
}

View File

@ -2,98 +2,99 @@
class Lang {
public function __construct() {
$this->index_welcome1 = 'ようこそ! ';
$this->index_welcome2 = 'の BANリストへ';
$this->index_allsins = 'ここには全ての処罰が公開されています';
$array = array();
$this->array = &$array;
$array["index_welcome"] = 'ようこそ! {server} の BANリストへ';
$array["index_welcome2"] = 'ここには全ての処罰が公開されています';
$this->header_index = 'ホーム';
$this->header_bans = 'BAN';
$this->header_mutes = 'ミュート';
$this->header_warnings = '警告';
$this->header_kicks = 'キック';
$array["header_index"] = 'ホーム';
$array["header_bans"] = 'BAN';
$array["header_mutes"] = 'ミュート';
$array["header_warnings"] = '警告';
$array["header_kicks"] = 'キック';
$this->page_perm_ban = '無期限BAN';
$this->page_perm_mute = '無期限ミュート';
$this->page_perm_warn = '無期限';
$this->page_expire_ban = '(解除済み)';
$this->page_expire_ban_by = '({name}によって解除されました)';
$this->page_expire_mute = '(解除済み)';
$this->page_expire_mute_by = '({name}によって解除されました)';
$this->page_expire = '(期限が終わりました)';
$this->page_title_ban = 'BAN';
$this->page_title_mute = 'ミュート';
$this->page_title_warn = '警告';
$this->page_title_kick = 'キック';
$this->page_check_user = "プレイヤー";
$this->page_check_submit = "検索";
$this->page_page = "ページ";
$array["page_perm_ban"] = '無期限BAN';
$array["page_perm_mute"] = '無期限ミュート';
$array["page_perm_warn"] = '無期限';
$array["page_expire_ban"] = '(解除済み)';
$array["page_expire_ban_by"] = '({name}によって解除されました)';
$array["page_expire_mute"] = '(解除済み)';
$array["page_expire_mute_by"] = '({name}によって解除されました)';
$array["page_expire"] = '(期限が終わりました)';
$array["page_title_ban"] = 'BAN';
$array["page_title_mute"] = 'ミュート';
$array["page_title_warn"] = '警告';
$array["page_title_kick"] = 'キック';
$array["page_check_user"] = "プレイヤー";
$array["page_check_submit"] = "検索";
$array["page_page"] = "ページ";
$this->check_notjoin = "このプレイヤーはサーバーに参加していません";
$array["check_notjoin"] = "このプレイヤーはサーバーに参加していません";
$this->history_recentby = "最近の発行:";
$this->history_recentfor = "最近の処罰:";
$this->history_tabletype = "タイプ";
$this->history_tableplayer = "プレイヤー";
$this->history_tablemoderator = "発行";
$this->history_tablereason = "理由";
$this->history_tabledate = "日時";
$this->history_tableexpires = "期限";
$this->history_nopunishments = "処罰データはありません";
$this->history_returnto = "戻る";
$array["history_recentby"] = "最近の発行:";
$array["history_recentfor"] = "最近の処罰:";
$array["history_tabletype"] = "タイプ";
$array["history_tableplayer"] = "プレイヤー";
$array["history_tablemoderator"] = "発行";
$array["history_tablereason"] = "理由";
$array["history_tabledate"] = "日時";
$array["history_tableexpires"] = "期限";
$array["history_nopunishments"] = "処罰データはありません";
$array["history_returnto"] = "戻る";
$this->info_banned_player = "BANされたプレイヤー";
$this->info_banned_by = "BANしたプレイヤー";
$this->info_banned_reason = "BAN理由";
$this->info_banned_when = "BANされた日時";
$this->info_banned_expiry = "期限";
$this->info_muted_player = "ミュートされたプレイヤー";
$this->info_muted_by = "ミュートにしたプレイヤー";
$this->info_muted_reason = "ミュート理由";
$this->info_muted_when = "ミュートされた日時";
$this->info_muted_expiry = "期限";
$this->info_warn_name = "警告";
$this->info_warn_player = "警告されたプレイヤー";
$this->info_warn_by = "警告したプレイヤー";
$this->info_warn_reason = "警告理由";
$this->info_warn_when = "警告された日時";
$this->info_warn_expiry = "期限";
$this->info_kick_player = "キックされたプレイヤー";
$this->info_kick_by = "キックしたプレイヤー";
$this->info_kick_reason = "キック理由";
$this->info_kick_when = "キックされた日時";
$array["info_banned_player"] = "BANされたプレイヤー";
$array["info_banned_by"] = "BANしたプレイヤー";
$array["info_banned_reason"] = "BAN理由";
$array["info_banned_when"] = "BANされた日時";
$array["info_banned_expiry"] = "期限";
$array["info_muted_player"] = "ミュートされたプレイヤー";
$array["info_muted_by"] = "ミュートにしたプレイヤー";
$array["info_muted_reason"] = "ミュート理由";
$array["info_muted_when"] = "ミュートされた日時";
$array["info_muted_expiry"] = "期限";
$array["info_warn_name"] = "警告";
$array["info_warn_player"] = "警告されたプレイヤー";
$array["info_warn_by"] = "警告したプレイヤー";
$array["info_warn_reason"] = "警告理由";
$array["info_warn_when"] = "警告された日時";
$array["info_warn_expiry"] = "期限";
$array["info_kick_player"] = "キックされたプレイヤー";
$array["info_kick_by"] = "キックしたプレイヤー";
$array["info_kick_reason"] = "キック理由";
$array["info_kick_when"] = "キックされた日時";
$this->bans_player = "プレイヤー名";
$this->bans_by = "発行者";
$this->bans_reason = "理由";
$this->bans_when = "日時";
$this->bans_expiry = "期限";
$array["bans_player"] = "プレイヤー名";
$array["bans_by"] = "発行者";
$array["bans_reason"] = "理由";
$array["bans_when"] = "日時";
$array["bans_expiry"] = "期限";
$this->kicks_player = "プレイヤー名";
$this->kicks_by = "発行者";
$this->kicks_reason = "理由";
$this->kicks_when = "日時";
$array["kicks_player"] = "プレイヤー名";
$array["kicks_by"] = "発行者";
$array["kicks_reason"] = "理由";
$array["kicks_when"] = "日時";
$this->mutes_player = "プレイヤー名";
$this->mutes_by = "発行者";
$this->mutes_reason = "理由";
$this->mutes_when = "日時";
$this->mutes_expiry = "期限";
$array["mutes_player"] = "プレイヤー名";
$array["mutes_by"] = "発行者";
$array["mutes_reason"] = "理由";
$array["mutes_when"] = "日時";
$array["mutes_expiry"] = "期限";
$this->warns_player = "プレイヤー名";
$this->warns_by = "発行者";
$this->warns_reason = "理由";
$this->warns_when = "日時";
$this->warns_receive = "受け取った警告";
$array["warns_player"] = "プレイヤー名";
$array["warns_by"] = "発行者";
$array["warns_reason"] = "理由";
$array["warns_when"] = "日時";
$array["warns_receive"] = "受け取った警告";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "プレイヤー名が無効です";
$this->history_missinguuid = "引数がありません (uuid).";
$this->info_error_missingarg = "引数がありません (type, id).";
$this->info_error_unknown = "無効なページタイプが要求されました";
$this->info_error_invalidid = "無効なID";
$this->info_error_notfound1 = "エラー: ";
$this->info_error_notfound2 = " はデータベースで見つかりません";
$this->info_error_notplayer = "エラー: プレイヤーが見つかりません";
$this->history_playernotfound = "データベースでプレイヤーは見つかりません";
$array["check_invalid"] = "プレイヤー名が無効です";
$array["history_missinguuid"] = "引数がありません (uuid).";
$array["info_error_missingarg"] = "引数がありません (type, id).";
$array["info_error_unknown"] = "無効なページタイプが要求されました";
$array["info_error_invalidid"] = "無効なID";
$array["info_error_notfound1"] = "エラー: ";
$array["info_error_notfound2"] = " はデータベースで見つかりません";
$array["info_error_notplayer"] = "エラー: プレイヤーが見つかりません";
$array["history_playernotfound"] = "データベースでプレイヤーは見つかりません";
}
}

View File

@ -2,98 +2,99 @@
class Lang {
public function __construct() {
$this->index_welcome1 = 'Welkom op ';
$this->index_welcome2 = '\'s Ban Lijst.';
$this->index_allsins = 'Hier staan al onze uitgedeelde straffen.';
$array = array();
$this->array = &$array;
$array["index_welcome1"] = "Welkom op {server}'s Ban Lijst.";
$array["index_welcome2"] = 'Hier staan al onze uitgedeelde straffen.';
$this->header_index = 'Home';
$this->header_bans = 'Bans';
$this->header_mutes = 'Mutes';
$this->header_warnings = 'Waarschuwingen';
$this->header_kicks = 'Kicks';
$array["header_index"] = 'Home';
$array["header_bans"] = 'Bans';
$array["header_mutes"] = 'Mutes';
$array["header_warnings"] = 'Waarschuwingen';
$array["header_kicks"] = 'Kicks';
$this->page_perm_ban = 'Permanente Ban';
$this->page_perm_mute = 'Permanente Mute';
$this->page_perm_warn = 'Permanent';
$this->page_expire_ban = '(Unbanned)';
$this->page_expire_ban_by = '(Unbanned door {name})';
$this->page_expire_mute = '(Unmuted)';
$this->page_expire_mute_by = '(Unmuted door {name})';
$this->page_expire = '(Verlopen)';
$this->page_title_ban = 'Bans';
$this->page_title_mute = 'Mutes';
$this->page_title_warn = 'Waarschuwingen';
$this->page_title_kick = 'Kicks';
$this->page_check_user = "Player";
$this->page_check_submit = "Check";
$this->page_page = "Pagina";
$array["page_perm_ban"] = 'Permanente Ban';
$array["page_perm_mute"] = 'Permanente Mute';
$array["page_perm_warn"] = 'Permanent';
$array["page_expire_ban"] = '(Unbanned)';
$array["page_expire_ban_by"] = '(Unbanned door {name})';
$array["page_expire_mute"] = '(Unmuted)';
$array["page_expire_mute_by"] = '(Unmuted door {name})';
$array["page_expire"] = '(Verlopen)';
$array["page_title_ban"] = 'Bans';
$array["page_title_mute"] = 'Mutes';
$array["page_title_warn"] = 'Waarschuwingen';
$array["page_title_kick"] = 'Kicks';
$array["page_check_user"] = "Player";
$array["page_check_submit"] = "Check";
$array["page_page"] = "Pagina";
$this->check_notjoin = "heeft niet eerder deelgenomen.";
$array["check_notjoin"] = "heeft niet eerder deelgenomen.";
$this->history_recentby = "Recente straffen door ";
$this->history_recentfor = "Recente straffen voor ";
$this->history_tabletype = "Type";
$this->history_tableplayer = "Player";
$this->history_tablemoderator = "Moderator";
$this->history_tablereason = "Rede";
$this->history_tabledate = "Datum";
$this->history_tableexpires = "Verloopt";
$this->history_nopunishments = "Geen straffen gevonden.";
$this->history_returnto = "Terug naar";
$array["history_recentby"] = "Recente straffen door ";
$array["history_recentfor"] = "Recente straffen voor ";
$array["history_tabletype"] = "Type";
$array["history_tableplayer"] = "Player";
$array["history_tablemoderator"] = "Moderator";
$array["history_tablereason"] = "Rede";
$array["history_tabledate"] = "Datum";
$array["history_tableexpires"] = "Verloopt";
$array["history_nopunishments"] = "Geen straffen gevonden.";
$array["history_returnto"] = "Terug naar";
$this->info_banned_player = "Verbannen speler";
$this->info_banned_by = "Geband door";
$this->info_banned_reason = "Ban rede";
$this->info_banned_when = "Ban datum";
$this->info_banned_expiry = "Verloopt";
$this->info_muted_player = "Muted speler";
$this->info_muted_by = "Gemute door";
$this->info_muted_reason = "Mute rede";
$this->info_muted_when = "Mute datum";
$this->info_muted_expiry = "Verloopt";
$this->info_warn_name = "Waarschuwing";
$this->info_warn_player = "Gewaarschuwde speler";
$this->info_warn_by = "Gewaarschuwd door";
$this->info_warn_reason = "Waarschuwing rede";
$this->info_warn_when = "Waarschuwing datum";
$this->info_warn_expiry = "Verloopt";
$this->info_kick_player = "Kicked speler";
$this->info_kick_by = "Kicked door";
$this->info_kick_reason = "Kick rede";
$this->info_kick_when = "Kick datum";
$array["info_banned_player"] = "Verbannen speler";
$array["info_banned_by"] = "Geband door";
$array["info_banned_reason"] = "Ban rede";
$array["info_banned_when"] = "Ban datum";
$array["info_banned_expiry"] = "Verloopt";
$array["info_muted_player"] = "Muted speler";
$array["info_muted_by"] = "Gemute door";
$array["info_muted_reason"] = "Mute rede";
$array["info_muted_when"] = "Mute datum";
$array["info_muted_expiry"] = "Verloopt";
$array["info_warn_name"] = "Waarschuwing";
$array["info_warn_player"] = "Gewaarschuwde speler";
$array["info_warn_by"] = "Gewaarschuwd door";
$array["info_warn_reason"] = "Waarschuwing rede";
$array["info_warn_when"] = "Waarschuwing datum";
$array["info_warn_expiry"] = "Verloopt";
$array["info_kick_player"] = "Kicked speler";
$array["info_kick_by"] = "Kicked door";
$array["info_kick_reason"] = "Kick rede";
$array["info_kick_when"] = "Kick datum";
$this->bans_player = "Naam";
$this->bans_by = "Geband door";
$this->bans_reason = "Rede";
$this->bans_when = "Geband door";
$this->bans_expiry = "Geband tot";
$array["bans_player"] = "Naam";
$array["bans_by"] = "Geband door";
$array["bans_reason"] = "Rede";
$array["bans_when"] = "Geband door";
$array["bans_expiry"] = "Geband tot";
$this->kicks_player = "Naam";
$this->kicks_by = "Gekickt door";
$this->kicks_reason = "Rede";
$this->kicks_when = "Gekickt op";
$array["kicks_player"] = "Naam";
$array["kicks_by"] = "Gekickt door";
$array["kicks_reason"] = "Rede";
$array["kicks_when"] = "Gekickt op";
$this->mutes_player = "Naam";
$this->mutes_by = "Muted door";
$this->mutes_reason = "Rede";
$this->mutes_when = "Gemute op";
$this->mutes_expiry = "Gemute tot";
$array["mutes_player"] = "Naam";
$array["mutes_by"] = "Muted door";
$array["mutes_reason"] = "Rede";
$array["mutes_when"] = "Gemute op";
$array["mutes_expiry"] = "Gemute tot";
$this->warns_player = "Naam";
$this->warns_by = "Gewaarschuwd door";
$this->warns_reason = "Rede";
$this->warns_when = "Gewaarschuwing tot";
$this->warns_receive = "Waarschuwing ontvangen";
$array["warns_player"] = "Naam";
$array["warns_by"] = "Gewaarschuwd door";
$array["warns_reason"] = "Rede";
$array["warns_when"] = "Gewaarschuwing tot";
$array["warns_receive"] = "Waarschuwing ontvangen";
// Errors which are only accessible from invalid user input or removed pages.
$this->check_invalid = "Ongeldige naam.";
$this->history_missinguuid = "Missende parameter (uuid).";
$this->info_error_missingarg = "Missende parameter (type, id).";
$this->info_error_unknown = "Ongebekende pagina type opgevraagd.";
$this->info_error_invalidid = "Ongeldig ID";
$this->info_error_notfound1 = "Error: ";
$this->info_error_notfound2 = " niet gevonden in de database.";
$this->info_error_notplayer = "Error: Spelernaam niet gevonden.";
$this->history_playernotfound = "Speler niet gevonden in de database.";
$array["check_invalid"] = "Ongeldige naam.";
$array["history_missinguuid"] = "Missende parameter (uuid).";
$array["info_error_missingarg"] = "Missende parameter (type, id).";
$array["info_error_unknown"] = "Ongebekende pagina type opgevraagd.";
$array["info_error_invalidid"] = "Ongeldig ID";
$array["info_error_notfound1"] = "Error: ";
$array["info_error_notfound2"] = " niet gevonden in de database.";
$array["info_error_notplayer"] = "Error: Spelernaam niet gevonden.";
$array["history_playernotfound"] = "Speler niet gevonden in de database.";
}
}

View File

@ -16,11 +16,11 @@ foreach ($rows as $row) {
if ($player_name === null) continue;
$page->print_table_rows($row, array(
$page->lang->mutes_player => $page->get_avatar($player_name, $row['uuid']),
$page->lang->mutes_by => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->lang->mutes_reason => $page->clean($row['reason']),
$page->lang->mutes_when => $page->millis_to_date($row['time']),
$page->lang->mutes_expiry => $page->expiry($row),
$page->t("mutes_player") => $page->get_avatar($player_name, $row['uuid']),
$page->t("mutes_by") => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->t("mutes_reason") => $page->clean($row['reason']),
$page->t("mutes_when") => $page->millis_to_date($row['time']),
$page->t("mutes_expiry") => $page->expiry($row),
));
}
$page->table_end();

View File

@ -16,11 +16,11 @@ foreach ($rows as $row) {
if ($player_name === null) continue;
$page->print_table_rows($row, array(
$page->lang->warns_player => $page->get_avatar($player_name, $row['uuid']),
$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) ? "1" : "0"),
$page->t("warns_player") => $page->get_avatar($player_name, $row['uuid']),
$page->t("warns_by") => $page->get_avatar($page->get_banner_name($row), $row['banned_by_uuid']),
$page->t("warns_reason") => $page->clean($row['reason']),
$page->t("warns_when") => $page->expiry($row),
$page->t("warns_receive") => (($page->active($row, 'warned') === true) ? "1" : "0"),
));
}
$page->table_end();