From 0967bc72ee2f76a82718af6461a922d89dbeaa86 Mon Sep 17 00:00:00 2001 From: swiergot Date: Thu, 14 Sep 2006 19:30:16 +0000 Subject: License field translation fix + Portuguese update (both by dsa) + Polish update. --- web/lang/en/pkgfuncs_po.inc | 4 ++++ web/lang/pl/pkgfuncs_po.inc | 2 ++ web/lang/pt/pkgfuncs_po.inc | 4 ++++ web/lib/pkgfuncs.inc | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/lang/en/pkgfuncs_po.inc b/web/lang/en/pkgfuncs_po.inc index 74697a8b..592b6969 100644 --- a/web/lang/en/pkgfuncs_po.inc +++ b/web/lang/en/pkgfuncs_po.inc @@ -147,4 +147,8 @@ $_t["en"]["Unsafe"] = "Unsafe"; $_t["en"]["Status"] = "Status"; +$_t["en"]["License"] = "License"; + +$_t["en"]["unknown"] = "unknown"; + ?> \ No newline at end of file diff --git a/web/lang/pl/pkgfuncs_po.inc b/web/lang/pl/pkgfuncs_po.inc index 51ba68ee..63ccccfa 100644 --- a/web/lang/pl/pkgfuncs_po.inc +++ b/web/lang/pl/pkgfuncs_po.inc @@ -119,4 +119,6 @@ $_t["pl"]["Unsafe"] = "Nie bezpieczne"; $_t["pl"]["License"] = "Licencja"; +$_t["pl"]["unknown"] = "nieznana"; + ?> \ No newline at end of file diff --git a/web/lang/pt/pkgfuncs_po.inc b/web/lang/pt/pkgfuncs_po.inc index 0339b8f8..9f0065ff 100644 --- a/web/lang/pt/pkgfuncs_po.inc +++ b/web/lang/pt/pkgfuncs_po.inc @@ -147,4 +147,8 @@ $_t["pt"]["Unsafe"] = "Não Seguro"; $_t["pt"]["Status"] = "Status"; +$_t["pt"]["License"] = "Licença"; + +$_t["pt"]["unknown"] = "Desconhecida"; + ?> \ No newline at end of file diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 34e89edb..daeb8f13 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -336,7 +336,7 @@ function package_details($id=0, $SID="") { # In case of wanting to put a custom message # Added by: dsa - $msg = "unknown"; + $msg = __("unknown"); $license = $row["License"] == "" ? $msg : $row["License"]; print "\n"; -- cgit v1.2.3-24-g4f1b