diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-06-22 20:57:07 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-06-22 20:57:07 +0200 |
commit | 58907e0bffb5a7d2d0bfc05cec28f366432bb3e8 (patch) | |
tree | d0567e509e8769d2b1363af45c1b48cf18563715 /web/template/actions_form.php | |
parent | adbb59308024bfb6386eaa4a9d1a2eb6591b8456 (diff) | |
download | aur-gettext.tar.gz aur-gettext.tar.xz |
use php's gettext modulegettext
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'web/template/actions_form.php')
-rw-r--r-- | web/template/actions_form.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php index 058002f8..97177313 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -12,10 +12,10 @@ if ($result) { if (!mysql_num_rows($result)) { echo " <input type='submit' class='button' name='do_Vote'"; - echo " value='".__("Vote")."' /> "; + echo " value='"._("Vote")."' /> "; } else { echo "<input type='submit' class='button' name='do_UnVote'"; - echo " value='".__("UnVote")."' /> "; + echo " value='"._("UnVote")."' /> "; } } @@ -27,35 +27,35 @@ if ($result) { if (!mysql_num_rows($result)) { echo "<input type='submit' class='button' name='do_Notify'"; - echo " value='".__("Notify")."' title='".__("New Comment Notification")."' /> "; + echo " value='"._("Notify")."' title='"._("New Comment Notification")."' /> "; } else { echo "<input type='submit' class='button' name='do_UnNotify'"; - echo " value='".__("UnNotify")."' title='".__("No New Comment Notification")."' /> "; + echo " value='"._("UnNotify")."' title='"._("No New Comment Notification")."' /> "; } } if ($row["OutOfDateTS"] === NULL) { echo "<input type='submit' class='button' name='do_Flag'"; - echo " value='".__("Flag Out-of-date")."' />\n"; + echo " value='"._("Flag Out-of-date")."' />\n"; } else { echo "<input type='submit' class='button' name='do_UnFlag'"; - echo " value='".__("UnFlag Out-of-date")."' />\n"; + echo " value='"._("UnFlag Out-of-date")."' />\n"; } if ($row["MaintainerUID"] === NULL) { echo "<input type='submit' class='button' name='do_Adopt'"; - echo " value='".__("Adopt Packages")."' />\n"; + echo " value='"._("Adopt Packages")."' />\n"; } else if ($uid == $row["MaintainerUID"] || $atype == "Trusted User" || $atype == "Developer") { echo "<input type='submit' class='button' name='do_Disown'"; - echo " value='".__("Disown Packages")."' />\n"; + echo " value='"._("Disown Packages")."' />\n"; } if ($atype == "Trusted User" || $atype == "Developer") { echo "<input type='submit' class='button' name='do_Delete'"; - echo " value='".__("Delete Packages")."' />\n"; + echo " value='"._("Delete Packages")."' />\n"; echo "<input type='checkbox' name='confirm_Delete' value='1' /> "; - echo __("Confirm")."\n"; + echo _("Confirm")."\n"; } ?> </fieldset> |