aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-24 22:21:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-24 22:21:14 +0000
commit9334e28a804b6db8a360ece0fb3a40aa05822ff4 (patch)
tree2145e3f00d1ef7ae15963b0c50e98fc98e3d1200 /hooks
parentda5a575351c8636a694954c5efed2b6866dfeb1d (diff)
downloadpaludis-9334e28a804b6db8a360ece0fb3a40aa05822ff4.tar.gz
paludis-9334e28a804b6db8a360ece0fb3a40aa05822ff4.tar.xz
Make select news support multiple languages. Better 'you have unread news' message. Fixes: ticket:147
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/news.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/news.bash b/hooks/news.bash
index 8e656efa8..1fd5a4220 100755
--- a/hooks/news.bash
+++ b/hooks/news.bash
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set et sw=4 sts=4 :
-# Copyright (c) 2006 Ciaran McCreesh <ciaranm@ciaranm.org>
+# Copyright (c) 2006, 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
#
# This file is part of the Paludis package manager. Paludis is free software;
# you can redistribute it and/or modify it under the terms of the GNU General
@@ -40,7 +40,7 @@ done
if [[ ${count} -gt 0 ]] ; then
[[ -z "${done_echo}" ]] && echo ; done_echo=yes
- ewarn "You have ${count} unread news items"
+ ewarn "You have ${count} unread news items (use 'eselect news' to read)"
elif [[ "${HOOK/pretend}" == "${HOOK}" ]] ; then
[[ -z "${done_echo}" ]] && echo ; done_echo=yes
einfo_unhooked "No unread news items found"