[GRASS-SVN] r50804 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 13 16:59:09 EST 2012


Author: huhabla
Date: 2012-02-13 13:59:09 -0800 (Mon, 13 Feb 2012)
New Revision: 50804

Modified:
   grass/trunk/lib/gis/units.c
Log:
Fixed wrong plural unit definition


Modified: grass/trunk/lib/gis/units.c
===================================================================
--- grass/trunk/lib/gis/units.c	2012-02-13 21:56:34 UTC (rev 50803)
+++ grass/trunk/lib/gis/units.c	2012-02-13 21:59:09 UTC (rev 50804)
@@ -250,27 +250,27 @@
 	break;  
         
     case U_YEARS:
-	return plural ? _("year") : _("years");
+	return plural ? _("years") : _("year");
 	break;
 	
     case U_MONTHS:
-	return plural ? _("month") : _("months");
+	return plural ? _("months") : _("month");
 	break;
 	
     case U_DAYS:
-	return plural ? _("day") : _("days");
+	return plural ? _("days") : _("day");
 	break;
 	
     case U_HOURS:
-	return plural ? _("hour") : _("hours");
+	return plural ? _("hours") : _("hour");
 	break;
 	
     case U_MINUTES:
-	return plural ? _("minute") : _("minutes");
+	return plural ? _("minutes") : _("minute");
 	break;
 	
     case U_SECONDS:
-	return plural ? _("second") : _("seconds");
+	return plural ? _("seconds") : _("second");
 	break;
     }
     



More information about the grass-commit mailing list