Skip to content

Commit

Permalink
translate error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm committed Nov 26, 2024
1 parent da5e499 commit ab9df91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vector/v.out.ogr/export_areas_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ int export_areas_single(struct Map_info *In, int field, int donocat,
cat = ci->cat[cat_index][0];
/* make sure the cidx is ordered by cat */
if (cat < last_cat)
G_fatal_error("Categor index is not sorted ascending by cat!");
G_fatal_error(_("Category index is not sorted ascending by cat!"));
last_cat = cat;

centroid = ci->cat[cat_index][2];
Expand Down Expand Up @@ -323,7 +323,7 @@ int export_areas_multi(struct Map_info *In, int field, int donocat,

/* make sure the cidx is ordered by cat */
if (cat < last_cat)
G_fatal_error("Category index is not sorted ascending by cat!");
G_fatal_error(_("Category index is not sorted ascending by cat!"));
last_cat = cat;

/* collect all features with current cat */
Expand Down
4 changes: 2 additions & 2 deletions vector/v.out.ogr/export_lines_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int export_lines_single(struct Map_info *In, int field, int otype, int donocat,
cat = ci->cat[cat_index][0];
/* make sure the cidx is ordered by cat */
if (cat < last_cat)
G_fatal_error("Category index is not sorted ascending by cat!");
G_fatal_error(_("Category index is not sorted ascending by cat!"));
last_cat = cat;

i = ci->cat[cat_index][2];
Expand Down Expand Up @@ -318,7 +318,7 @@ int export_lines_multi(struct Map_info *In, int field, int otype, int donocat,
cat = ci->cat[cat_index][0];
/* make sure the cidx is ordered by cat */
if (cat < last_cat)
G_fatal_error("Category index is not sorted ascending by cat!");
G_fatal_error(_("Category index is not sorted ascending by cat!"));
last_cat = cat;

/* collect all features with current cat */
Expand Down

0 comments on commit ab9df91

Please sign in to comment.