|
@@ -98,7 +98,10 @@ int open_file(char *name)
|
|
|
|
|
|
n_rows = Rast_window_rows();
|
|
|
n_cols = Rast_window_cols();
|
|
|
- G_message(_("File %s -- %d rows X %d columns"), name, n_rows, n_cols);
|
|
|
+ /* GTC First is the file name, second and third - number of rows and cols */
|
|
|
+ G_message(_("File %s -- %s X %s"), name,
|
|
|
+ _n("%d row", "%d rows", n_rows),
|
|
|
+ _n("%d column", "%d columns", n_cols));
|
|
|
n_cols += (PAD << 1);
|
|
|
|
|
|
/* copy raster map into our read/write file */
|
|
@@ -158,9 +161,15 @@ int close_file(char *name)
|
|
|
|
|
|
row_count = n_rows - (PAD << 1);
|
|
|
col_count = n_cols - (PAD << 1);
|
|
|
- G_message(_("Output file %d rows X %d columns"), row_count, col_count);
|
|
|
- G_message(_("Window %d rows X %d columns"), Rast_window_rows(),
|
|
|
- Rast_window_cols());
|
|
|
+ /* GTC %s will be replaced with number of rows and columns */
|
|
|
+ G_message(_("Output file %s X %s"),
|
|
|
+ _n("%d row", "%d rows", row_count),
|
|
|
+ _n("%d column", "%d columns", col_count));
|
|
|
+
|
|
|
+ /* GTC %s will be replaced with number of rows and columns */
|
|
|
+ G_message(_("Window %s X %s"),
|
|
|
+ _n("%d row", "%d rows", Rast_window_rows()),
|
|
|
+ _n("%d column", "%d columns", Rast_window_cols()));
|
|
|
|
|
|
for (row = 0, k = PAD; row < row_count; row++, k++) {
|
|
|
buf = get_a_row(k);
|