summaryrefslogtreecommitdiff
path: root/riscos/png.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-02-27 17:45:19 +0000
committerJames Bursa <james@netsurf-browser.org>2004-02-27 17:45:19 +0000
commit7f68e012cc9f64bd09a8452e85df9df2a0e9211b (patch)
tree3825cab5266ed7ed24dd7273b40a7b7e0de9e917 /riscos/png.c
parent13787963e26dd2cdb39bbcb28cfaafb1d13ec5ea (diff)
downloadnetsurf-7f68e012cc9f64bd09a8452e85df9df2a0e9211b.tar.gz
netsurf-7f68e012cc9f64bd09a8452e85df9df2a0e9211b.tar.bz2
[project @ 2004-02-27 17:45:19 by bursa]
Move English text to Messages file for translation. svn path=/import/netsurf/; revision=576
Diffstat (limited to 'riscos/png.c')
-rw-r--r--riscos/png.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/png.c b/riscos/png.c
index f2947133d..079c394e3 100644
--- a/riscos/png.c
+++ b/riscos/png.c
@@ -19,6 +19,7 @@
#include "netsurf/content/content.h"
#include "netsurf/riscos/png.h"
#include "netsurf/utils/log.h"
+#include "netsurf/utils/messages.h"
#include "netsurf/utils/utils.h"
#ifdef WITH_PNG
@@ -346,7 +347,7 @@ int nspng_convert(struct content *c, unsigned int width, unsigned int height)
png_destroy_read_struct(&c->data.png.png, &c->data.png.info, 0);
c->title = xcalloc(100, 1);
- sprintf(c->title, "PNG image (%lux%lu)", c->width, c->height);
+ sprintf(c->title, messages_get("PNGTitle"), c->width, c->height);
c->status = CONTENT_STATUS_DONE;
return 0;
}