[aur-dev] [PATCH] logged before - logged in before in web/lib/pkgfuncs.inc

2011-02-21 Thread Wieland Hoffmann
This fixes a small message telling people they had to be logged to edit package
information into telling them they need to be logged _in_.

---
 web/lib/pkgfuncs.inc |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index f5591f3..fd855ac 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -994,7 +994,7 @@ function pkg_notify ($atype, $ids, $action = True) {
  */
 function pkg_delete_comment($atype) {
 	if (!$atype) {
-		return __(You must be logged before you can edit package information.);
+		return __(You must be logged in before you can edit package information.);
 	}
 
 	# Get ID of comment to be removed
@@ -1026,7 +1026,7 @@ function pkg_delete_comment($atype) {
  */
 function pkg_change_category($atype) {
 	if (!$atype)  {
-		return __(You must be logged before you can edit package information.);
+		return __(You must be logged in before you can edit package information.);
 	}
 
 	# Get ID of the new category


Re: [aur-dev] [PATCH] logged before - logged in before in web/lib/pkgfuncs.inc

2011-02-21 Thread Lukas Fleischer
On Mon, Feb 21, 2011 at 05:18:57PM +0100, Wieland Hoffmann wrote:
 This fixes a small message telling people they had to be logged to edit 
 package
 information into telling them they need to be logged _in_.
 
 ---
  web/lib/pkgfuncs.inc |4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
 

 diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
 index f5591f3..fd855ac 100644
 --- a/web/lib/pkgfuncs.inc
 +++ b/web/lib/pkgfuncs.inc
 @@ -994,7 +994,7 @@ function pkg_notify ($atype, $ids, $action = True) {
   */
  function pkg_delete_comment($atype) {
   if (!$atype) {
 - return __(You must be logged before you can edit package 
 information.);
 + return __(You must be logged in before you can edit package 
 information.);
   }
  
   # Get ID of comment to be removed
 @@ -1026,7 +1026,7 @@ function pkg_delete_comment($atype) {
   */
  function pkg_change_category($atype) {
   if (!$atype)  {
 - return __(You must be logged before you can edit package 
 information.);
 + return __(You must be logged in before you can edit package 
 information.);
   }
  
   # Get ID of the new category

Thanks.