[GRASS-SVN] r67080 - grass/branches/releasebranch_7_0/general/g.mkfontcap

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 12 05:37:01 PST 2015


Author: martinl
Date: 2015-12-12 05:37:01 -0800 (Sat, 12 Dec 2015)
New Revision: 67080

Modified:
   grass/branches/releasebranch_7_0/general/g.mkfontcap/freetype_fonts.c
   grass/branches/releasebranch_7_0/general/g.mkfontcap/main.c
Log:
g.mkfontcap: i18n cosmetics
             (merge r67079 from trunk)


Modified: grass/branches/releasebranch_7_0/general/g.mkfontcap/freetype_fonts.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.mkfontcap/freetype_fonts.c	2015-12-12 13:34:30 UTC (rev 67079)
+++ grass/branches/releasebranch_7_0/general/g.mkfontcap/freetype_fonts.c	2015-12-12 13:37:01 UTC (rev 67080)
@@ -6,7 +6,7 @@
  * PURPOSE:      Generates the font configuration file by scanning various
  *               directories for GRASS stroke and Freetype-compatible fonts.
  *              
- * COPYRIGHT:    (C) 2007 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2007-215 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS
@@ -23,6 +23,7 @@
 
 #include <grass/gis.h>
 #include <grass/fontcap.h>
+#include <grass/glocale.h>
 
 #include "local_proto.h"
 
@@ -51,7 +52,7 @@
     int i;
 
     if (FT_Init_FreeType(&ftlibrary) != 0)
-	G_fatal_error("Unable to initialise Freetype");
+        G_fatal_error(_("Unable to initialise Freetype"));
 
     for (i = 0; i < numsearchdirs; i++)
 	find_fonts(searchdirs[i]);

Modified: grass/branches/releasebranch_7_0/general/g.mkfontcap/main.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.mkfontcap/main.c	2015-12-12 13:34:30 UTC (rev 67079)
+++ grass/branches/releasebranch_7_0/general/g.mkfontcap/main.c	2015-12-12 13:37:01 UTC (rev 67080)
@@ -6,7 +6,7 @@
  * PURPOSE:      Generates the font configuration file by scanning various
  *               directories for GRASS stroke and Freetype-compatible fonts.
  *              
- * COPYRIGHT:    (C) 2007 by the GRASS Development Team
+ * COPYRIGHT:    (C) 2007-2015 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
  *               License (>=v2). Read the file COPYING that comes with GRASS



More information about the grass-commit mailing list