[GRASS-SVN] r33546 - grass-addons/raster/r.sun_horizon/r.sun2
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 25 16:28:00 EDT 2008
Author: neteler
Date: 2008-09-25 16:28:00 -0400 (Thu, 25 Sep 2008)
New Revision: 33546
Modified:
grass-addons/raster/r.sun_horizon/r.sun2/main.c
Log:
fix oddly formatted gettext strings
Modified: grass-addons/raster/r.sun_horizon/r.sun2/main.c
===================================================================
--- grass-addons/raster/r.sun_horizon/r.sun2/main.c 2008-09-25 20:08:12 UTC (rev 33545)
+++ grass-addons/raster/r.sun_horizon/r.sun2/main.c 2008-09-25 20:28:00 UTC (rev 33546)
@@ -227,8 +227,7 @@
module = G_define_module();
module->description =
- _
- ("Computes direct (beam), diffuse and reflected solar irradiation raster "
+ _("Computes direct (beam), diffuse and reflected solar irradiation raster "
"maps for given day, latitude, surface and atmospheric conditions. Solar "
"parameters (e.g. sunrise, sunset times, declination, extraterrestrial "
"irradiance, daylight length) are saved in a local text file. "
@@ -526,8 +525,7 @@
longin = parm.longin->answer;
if (longin == NULL) {
- G_fatal_error(_
- ("You must give the longitude raster if you use civil time"));
+ G_fatal_error(_("You must give the longitude raster if you use civil time"));
}
sscanf(parm.civilTime->answer, "%lf", &civilTime);
@@ -579,8 +577,7 @@
if (parm.ltime->answer != NULL) {
if (insol_time != NULL)
G_fatal_error(_("time and insol_time are incompatible options"));
- G_message(_
- ("Mode 1: instantaneous solar incidence angle & irradiance using a set local time"));
+ G_message(_("Mode 1: instantaneous solar incidence angle & irradiance using a set local time"));
sscanf(parm.ltime->answer, "%lf", &timo);
}
else {
@@ -649,8 +646,7 @@
/* If you calculate shadows on the fly, the number of partitions
* must be one.
*/
- G_fatal_error(_
- ("If you use -s and no horizon rasters, numpartitions must be =1"));
+ G_fatal_error(_("If you use -s and no horizon rasters, numpartitions must be =1"));
}
@@ -664,8 +660,7 @@
* shadows pre-calculated, there is no problem. */
if (saveMemory && useShadow() && (!useHorizonData()))
- G_fatal_error(_
- ("If you want to save memory and to use shadows, you must use pre-calculated horizons."));
+ G_fatal_error(_("If you want to save memory and to use shadows, you must use pre-calculated horizons."));
if (parm.declin->answer == NULL)
declination = com_declin(day);
@@ -714,8 +709,7 @@
if ((in_proj_info = G_get_projinfo()) == NULL)
G_fatal_error
- (_
- ("Can't get projection info of current location: please set latitude via 'lat' or 'latin' option!"));
+ (_("Can't get projection info of current location: please set latitude via 'lat' or 'latin' option!"));
if ((in_unit_info = G_get_projunits()) == NULL)
G_fatal_error(_("Can't get projection units of current location"));
More information about the grass-commit
mailing list