[aur-dev] [PATCH] English translation for tu.php

Callan Barrett wizzomafizzo at gmail.com
Sun Oct 5 18:09:22 EDT 2008


Signed-off-by: Callan Barrett <wizzomafizzo at gmail.com>
---
 web/html/tu.php       |    2 +-
 web/lang/en/tu_po.inc |   34 ++++++++++++++++++++++++++++++++++
 web/lang/tu_po.inc    |    6 ++++++
 3 files changed, 41 insertions(+), 1 deletions(-)
 create mode 100644 web/lang/en/tu_po.inc
 create mode 100644 web/lang/tu_po.inc

diff --git a/web/html/tu.php b/web/html/tu.php
index 09808d4..32f764b 100644
--- a/web/html/tu.php
+++ b/web/html/tu.php
@@ -2,7 +2,7 @@
 
 set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
 
-include("pkgfuncs_po.inc");
+include("tu_po.inc");
 include("aur.inc");
 set_lang();
 check_sid();
diff --git a/web/lang/en/tu_po.inc b/web/lang/en/tu_po.inc
new file mode 100644
index 0000000..9fe789d
--- /dev/null
+++ b/web/lang/en/tu_po.inc
@@ -0,0 +1,34 @@
+<?php
+
+include_once("translator.inc");
+global $_t;
+
+$_t["en"]["Vote ID not valid."] = "Vote ID not valid.";
+
+$_t["en"]["Abstain"] = "Abstain";
+
+$_t["en"]["No"] = "No";
+
+$_t["en"]["You are not allowed to access this area."] = "You are not allowed to access this area.";
+
+$_t["en"]["Voting is closed for this proposal."] = "Voting is closed for this proposal.";
+
+$_t["en"]["Back"] = "Back";
+
+$_t["en"]["Next"] = "Next";
+
+$_t["en"]["Add"] = "Add";
+
+$_t["en"]["All Votes"] = "All Votes";
+
+$_t["en"]["You've already voted for this proposal."] = "You've already voted for this proposal.";
+
+$_t["en"]["Could not retrieve proposal details."] = "Could not retrieve proposal details.";
+
+$_t["en"]["Current Votes"] = "Current Votes";
+
+$_t["en"]["Yes"] = "Yes";
+
+$_t["en"]["You cannot vote in an proposal about you."] = "You cannot vote in an proposal about you.";
+
+$_t["en"]["You've already voted in this proposal."] = "You've already voted in this proposal.";
diff --git a/web/lang/tu_po.inc b/web/lang/tu_po.inc
new file mode 100644
index 0000000..5b1735a
--- /dev/null
+++ b/web/lang/tu_po.inc
@@ -0,0 +1,6 @@
+<?php
+
+include_once("translator.inc");
+global $_t;
+
+include_once("en/tu_po.inc");
-- 
1.6.0.2




More information about the aur-dev mailing list