[GRASS-SVN] r47406 - grass/trunk/general/g.parser
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 3 16:09:05 EDT 2011
Author: martinl
Date: 2011-08-03 13:09:05 -0700 (Wed, 03 Aug 2011)
New Revision: 47406
Modified:
grass/trunk/general/g.parser/main.c
Log:
g.parser: i18n
Modified: grass/trunk/general/g.parser/main.c
===================================================================
--- grass/trunk/general/g.parser/main.c 2011-08-03 19:58:22 UTC (rev 47405)
+++ grass/trunk/general/g.parser/main.c 2011-08-03 20:09:05 UTC (rev 47406)
@@ -81,7 +81,7 @@
if (strcasecmp(arg, "no") == 0)
return NO;
- fprintf(stderr, "Unknown boolean value \"%s\" at line %d\n",
+ fprintf(stderr, _("Unknown boolean value \"%s\" at line %d\n"),
arg, ctx->line);
return NO;
@@ -111,7 +111,7 @@
return;
}
- fprintf(stderr, "Unknown command \"%s\" at line %d\n", cmd, ctx->line);
+ fprintf(stderr, _("Unknown command \"%s\" at line %d\n"), cmd, ctx->line);
}
static void parse_module(struct context *ctx, const char *cmd,
@@ -139,7 +139,7 @@
return;
}
- fprintf(stderr, "Unknown module parameter \"%s\" at line %d\n",
+ fprintf(stderr, _("Unknown module parameter \"%s\" at line %d\n"),
cmd, ctx->line);
}
@@ -181,7 +181,7 @@
return;
}
- fprintf(stderr, "Unknown flag parameter \"%s\" at line %d\n",
+ fprintf(stderr, _("Unknown flag parameter \"%s\" at line %d\n"),
cmd, ctx->line);
}
@@ -196,7 +196,7 @@
if (strcasecmp(arg, "string") == 0)
return TYPE_STRING;
- fprintf(stderr, "Unknown type \"%s\" at line %d\n", arg, ctx->line);
+ fprintf(stderr, _("Unknown type \"%s\" at line %d\n"), arg, ctx->line);
return TYPE_STRING;
}
More information about the grass-commit
mailing list