diff libass/ass_cache.c @ 21066:6196ba31e97e

MSGTRs for libass
author kraymer
date Sun, 19 Nov 2006 22:35:17 +0000
parents d138463e820b
children 4e7a7dea3e1f
line wrap: on
line diff
--- a/libass/ass_cache.c	Sun Nov 19 22:15:59 2006 +0000
+++ b/libass/ass_cache.c	Sun Nov 19 22:35:17 2006 +0000
@@ -96,7 +96,7 @@
 		}
 
 	if (face_cache_size == MAX_FACE_CACHE_SIZE) {
-		mp_msg(MSGT_ASS, MSGL_FATAL, "Too many fonts\n");
+		mp_msg(MSGT_ASS, MSGL_FATAL, MSGTR_LIBASS_TooManyFonts);
 		return 1;
 	}
 
@@ -105,7 +105,7 @@
 	error = FT_New_Face(library, path, index, face);
 	if (error) {
 		if (!no_more_font_messages)
-			mp_msg(MSGT_ASS, MSGL_WARN, "Error opening font: %s, %d\n", path, index);
+			mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_ErrorOpeningFont, path, index);
 		no_more_font_messages = 1;
 		return 1;
 	}