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 74697a8..592b696 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 51ba68e..63ccccf 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 0339b8f..9f0065f 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 34e89ed..daeb8f1 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-70-g09d2