Quellcode durchsuchen

g.mkfontcap: i18n cosmetics
(merge https://trac.osgeo.org/grass/changeset/67079 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@67080 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa vor 9 Jahren
Ursprung
Commit
94adc7bb2b
2 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 3 2
      general/g.mkfontcap/freetype_fonts.c
  2. 1 1
      general/g.mkfontcap/main.c

+ 3 - 2
general/g.mkfontcap/freetype_fonts.c

@@ -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 @@ void find_freetype_fonts(void)
     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]);

+ 1 - 1
general/g.mkfontcap/main.c

@@ -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