summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.c
diff options
context:
space:
mode:
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 ada9519e9c..d7d5e9f21e 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;
}