[GRASS-CVS] carlos: grass6/raster/r.sunmask main.c,2.13,2.14
grass at intevation.de
grass at intevation.de
Fri Nov 23 10:49:09 EST 2007
Author: carlos
Update of /grassrepository/grass6/raster/r.sunmask
In directory doto:/tmp/cvs-serv18355/raster/r.sunmask
Modified Files:
main.c
Log Message:
Message standardization
Index: main.c
===================================================================
RCS file: /grassrepository/grass6/raster/r.sunmask/main.c,v
retrieving revision 2.13
retrieving revision 2.14
diff -u -d -r2.13 -r2.14
--- main.c 9 Mar 2007 13:04:34 -0000 2.13
+++ main.c 23 Nov 2007 15:49:07 -0000 2.14
@@ -213,14 +213,14 @@
parm.east->key_desc = "value";
parm.east->type = TYPE_STRING;
parm.east->required = NO;
- parm.east->description = _("east coordinate (point of interest, default: map center)");
+ parm.east->description = _("East coordinate (point of interest, default: map center)");
parm.north = G_define_option();
parm.north->key = "north";
parm.north->key_desc = "value";
parm.north->type = TYPE_STRING;
parm.north->required = NO;
- parm.north->description = _("north coordinate (point of interest, default: map center)");
+ parm.north->description = _("North coordinate (point of interest, default: map center)");
flag1 = G_define_flag();
flag1->key = 'z' ;
@@ -228,11 +228,11 @@
flag2 = G_define_flag();
flag2->key = 'v' ;
- flag2->description = _("verbose output (also print out sun position etc.)") ;
+ flag2->description = _("Verbose output (also print out sun position etc.)") ;
flag3 = G_define_flag();
flag3->key = 's' ;
- flag3->description = _("calculate sun position only and exit") ;
+ flag3->description = _("Calculate sun position only and exit") ;
flag4 = G_define_flag();
flag4->key = 'g' ;
@@ -319,7 +319,7 @@
- timezone: DO NOT ADJUST FOR DAYLIGHT SAVINGS TIME.
- timezone: negative for zones west of Greenwich
- lat/long: east and north positive
- - the atmospheric refraction is calculated for 1013hPa, 15°C
+ - the atmospheric refraction is calculated for 1013hPa, 15�C
- time: local time from your watch
Order of parameters:
@@ -380,7 +380,7 @@
current_time=pdat->hour + (pdat->minute/60.) + (pdat->second/3600.);
}
else /* fatal error in G_calc_solar_position() */
- G_fatal_error( _("Please correct settings."));
+ G_fatal_error( _("Please correct settings"));
}
if (use_solpos)
@@ -432,9 +432,9 @@
mapset = G_find_cell2 (name, "") ;
if((elev_fd = G_open_cell_old (name, mapset)) < 0)
- G_fatal_error( _("can't open %s"), name);
+ G_fatal_error( _("Unable to open raster map <%s>"), name);
if((output_fd = G_open_cell_new(outname)) < 0)
- G_fatal_error( _("can't open %s"), outname);
+ G_fatal_error( _("Unable to create raster map <%s>"), outname);
data_type = G_get_raster_map_type(elev_fd);
elevbuf.v = G_allocate_raster_buf(data_type);
@@ -444,7 +444,7 @@
if(data_type == CELL_TYPE)
{
if ((G_read_range(name, mapset,&range))<0)
- G_fatal_error( _("can't open range file for %s"),name);
+ G_fatal_error( _("Can't open range file for %s"),name);
G_get_range_min_max(&range,&min,&max);
dmin = (double) min;
dmax = (double) max;
@@ -469,7 +469,7 @@
col1=0;
drow=-1;
if (G_get_raster_row(elev_fd, elevbuf.v, row1, data_type) < 0)
- G_fatal_error( _("can't read row in input elevation map"));
+ G_fatal_error( _("Can't read row in input elevation map"));
while (col1<window.cols)
{
More information about the grass-commit
mailing list