summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorswiergot <swiergot>2006-09-14 21:30:16 +0200
committerswiergot <swiergot>2006-09-14 21:30:16 +0200
commit0967bc72ee2f76a82718af6461a922d89dbeaa86 (patch)
treedc70987d3df00e7957ed626c626ecb603f3dbca5 /web
parent97be2263346e976dc6606971d16f6af7af1b4de9 (diff)
downloadaur-0967bc72ee2f76a82718af6461a922d89dbeaa86.tar.gz
aur-0967bc72ee2f76a82718af6461a922d89dbeaa86.tar.xz
License field translation fix + Portuguese update (both by dsa) + Polish update.
Diffstat (limited to 'web')
-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 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 <dsandrade@gmail.com>
- $msg = "unknown";
+ $msg = __("unknown");
$license = $row["License"] == "" ? $msg : $row["License"];
print "<tr>\n";