summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswiergot <swiergot>2006-09-14 19:30:16 +0000
committerswiergot <swiergot>2006-09-14 19:30:16 +0000
commit0967bc72ee2f76a82718af6461a922d89dbeaa86 (patch)
treedc70987d3df00e7957ed626c626ecb603f3dbca5
parent97be2263346e976dc6606971d16f6af7af1b4de9 (diff)
License field translation fix + Portuguese update (both by dsa) + Polish update.
-rw-r--r--web/lang/en/pkgfuncs_po.inc4
-rw-r--r--web/lang/pl/pkgfuncs_po.inc2
-rw-r--r--web/lang/pt/pkgfuncs_po.inc4
-rw-r--r--web/lib/pkgfuncs.inc2
4 files changed, 11 insertions, 1 deletions
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 <dsandrade@gmail.com>
- $msg = "unknown";
+ $msg = __("unknown");
$license = $row["License"] == "" ? $msg : $row["License"];
print "<tr>\n";