summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.c
diff options
context:
space:
mode:
authorkraymer <kraymer@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-19 22:35:17 +0000
committerkraymer <kraymer@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-19 22:35:17 +0000
commitb973f6aec3bb522c72fd44697c9868515a013a20 (patch)
tree310f35c69a152b573ec1b6636fb1f80fde13ae35 /libass/ass_cache.c
parentd3a8f7b09d06e2965b1157e920c38e773e8cb5a4 (diff)
downloadlibass-b973f6aec3bb522c72fd44697c9868515a013a20.tar.bz2
libass-b973f6aec3bb522c72fd44697c9868515a013a20.tar.xz
MSGTRs for libass
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21082 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_cache.c')
-rw-r--r--libass/ass_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_cache.c b/libass/ass_cache.c
index ada9519..d7d5e9f 100644
--- a/libass/ass_cache.c
+++ b/libass/ass_cache.c
@@ -96,7 +96,7 @@ int ass_new_face(FT_Library library, void* fontconfig_priv, face_desc_t* desc, /
}
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 @@ int ass_new_face(FT_Library library, void* fontconfig_priv, face_desc_t* desc, /
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;
}