License field translation fix + Portuguese update (both by dsa) + Polish update.

This commit is contained in:
swiergot 2006-09-14 19:30:16 +00:00
parent 97be226334
commit 0967bc72ee
4 changed files with 11 additions and 1 deletions

View file

@ -147,4 +147,8 @@ $_t["en"]["Unsafe"] = "Unsafe";
$_t["en"]["Status"] = "Status";
$_t["en"]["License"] = "License";
$_t["en"]["unknown"] = "unknown";
?>

View file

@ -119,4 +119,6 @@ $_t["pl"]["Unsafe"] = "Nie bezpieczne";
$_t["pl"]["License"] = "Licencja";
$_t["pl"]["unknown"] = "nieznana";
?>

View file

@ -147,4 +147,8 @@ $_t["pt"]["Unsafe"] = "Não Seguro";
$_t["pt"]["Status"] = "Status";
$_t["pt"]["License"] = "Licença";
$_t["pt"]["unknown"] = "Desconhecida";
?>

View file

@ -336,7 +336,7 @@ function package_details($id=0, $SID="") {
# In case of wanting to put a custom message
# Added by: dsa <dsandrade@gmail.com>
$msg = "unknown";
$msg = __("unknown");
$license = $row["License"] == "" ? $msg : $row["License"];
print "<tr>\n";