summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_details.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 21:42:08 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 22:33:49 +0200
commit9ede9e0faaf4be0ff5682a7f8603c61fd1e15c9e (patch)
treee8efb037e6e0d2dfc64b910bd251aa0895208372 /web/template/pkg_details.php
parent55f05b3861602252a25acb9094480b913497750c (diff)
downloadaur-9ede9e0faaf4be0ff5682a7f8603c61fd1e15c9e.tar.gz
aur-9ede9e0faaf4be0ff5682a7f8603c61fd1e15c9e.tar.xz
pkg_details.php: Verbose labels for package actions
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r--web/template/pkg_details.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 2e7fc6cc..d4ba828b 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -39,19 +39,19 @@ $sources = package_sources($row["ID"]);
<li><span class="flagged"><?php if ($row["OutOfDateTS"] !== NULL) { echo __('Flagged out-of-date')." (${out_of_date_time})"; } ?></span></li>
<?php if ($USE_VIRTUAL_URLS && $uid): ?>
<?php if (user_voted($uid, $row['ID'])): ?>
- <li><a href="<?php echo get_pkg_uri($row['Name']) . 'unvote/'; ?>"><?php echo __('UnVote'); ?></a></li>
+ <li><a href="<?php echo get_pkg_uri($row['Name']) . 'unvote/'; ?>"><?php echo __('Remove vote'); ?></a></li>
<?php else: ?>
- <li><a href="<?php echo get_pkg_uri($row['Name']) . 'vote/'; ?>"><?php echo __('Vote'); ?></a></li>
+ <li><a href="<?php echo get_pkg_uri($row['Name']) . 'vote/'; ?>"><?php echo __('Vote for this package'); ?></a></li>
<?php endif; ?>
<?php if (user_notify($uid, $row['ID'])): ?>
- <li><a href="<?php echo get_pkg_uri($row['Name']) . 'unnotify/'; ?>"><?php echo __('UnNotify'); ?></a></li>
+ <li><a href="<?php echo get_pkg_uri($row['Name']) . 'unnotify/'; ?>"><?php echo __('Disable notifications'); ?></a></li>
<?php else: ?>
- <li><a href="<?php echo get_pkg_uri($row['Name']) . 'notify/'; ?>"><?php echo __('Notify'); ?></a></li>
+ <li><a href="<?php echo get_pkg_uri($row['Name']) . 'notify/'; ?>"><?php echo __('Notify of new comments'); ?></a></li>
<?php endif; ?>
<?php if ($row["OutOfDateTS"] === NULL): ?>
- <li><a href="<?php echo get_pkg_uri($row['Name']) . 'flag/'; ?>"><?php echo __('Flag'); ?></a></li>
+ <li><a href="<?php echo get_pkg_uri($row['Name']) . 'flag/'; ?>"><?php echo __('Flag package out-of-date'); ?></a></li>
<?php else: ?>
- <li><a href="<?php echo get_pkg_uri($row['Name']) . 'unflag/'; ?>"><?php echo __('UnFlag'); ?></a></li>
+ <li><a href="<?php echo get_pkg_uri($row['Name']) . 'unflag/'; ?>"><?php echo __('Unflag package'); ?></a></li>
<?php endif; ?>
<?php endif; ?>
</ul>