diff src/xs_stil.c @ 424:faf12767a6f1

Preparing for internationalization.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 31 Dec 2006 21:43:04 +0000
parents d2e6682d3ef8
children a991d1fe7e94
line wrap: on
line diff
--- a/src/xs_stil.c	Sat Dec 30 07:40:05 2006 +0000
+++ b/src/xs_stil.c	Sun Dec 31 21:43:04 2006 +0000
@@ -42,7 +42,7 @@
 			(nsubTunes + 1) * sizeof(t_xs_stil_subnode **));
 
 		if (!pNode->subTunes) {
-			xs_error("SubTune pointer structure realloc failed.\n");
+			xs_error(_("SubTune pointer structure realloc failed.\n"));
 			return FALSE;
 		}
 		
@@ -60,7 +60,7 @@
 			g_malloc0(sizeof(t_xs_stil_subnode));
 		
 		if (!pNode->subTunes[nsubTunes]) {
-			xs_error("SubTune structure malloc failed!\n");
+			xs_error(_("SubTune structure malloc failed!\n"));
 			return FALSE;
 		}
 	}
@@ -165,7 +165,8 @@
 
 	/* Try to open the file */
 	if ((inFile = fopen(dbFilename, "ra")) == NULL) {
-		xs_error("Could not open STILDB '%s'\n", dbFilename);
+		xs_error(_("Could not open STILDB '%s'\n"),
+			dbFilename);
 		return -1;
 	}