summaryrefslogtreecommitdiffstats
path: root/pixels.c
diff options
context:
space:
mode:
authorHenning Makholm <henning@makholm.net>2006-02-19 18:00:00 (EST)
committer Julien Jorge <julien.jorge@stuff-o-matic.com>2013-01-10 16:05:04 (EST)
commit4877693228e5f942db451c5f2b0ccabb5b050813 (patch)
tree72b1f863eaa746e6aac955172e7081e40ee0418c /pixels.c
parent00a8b13b5bf8cf2c367a0db3ae09086e45230968 (diff)
downloadxcftools-4877693228e5f942db451c5f2b0ccabb5b050813.zip
xcftools-4877693228e5f942db451c5f2b0ccabb5b050813.tar.gz
xcftools-4877693228e5f942db451c5f2b0ccabb5b050813.tar.bz2
Import of release 1.0.0
Diffstat (limited to 'pixels.c')
-rw-r--r--pixels.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/pixels.c b/pixels.c
index 918423f..65891f9 100644
--- a/pixels.c
+++ b/pixels.c
@@ -131,9 +131,10 @@ initLayer(struct xcfLayer *layer) {
DEF(INDEXED);
DEF(INDEXEDA);
default:
- FatalUnsupportedXCF(_("Layer type %s"),showGimpImageType(layer->type));
+ FatalUnsupportedXCF(_("Layer type %s"),_(showGimpImageType(layer->type)));
}
- initTileDirectory(&layer->dim,&layer->pixels,showGimpImageType(layer->type));
+ initTileDirectory(&layer->dim,&layer->pixels,
+ _(showGimpImageType(layer->type)));
layer->mask.params = &convertChannel ;
initTileDirectory(&layer->dim,&layer->mask,"layer mask");
}
@@ -183,7 +184,7 @@ struct Tile *
forkTile(struct Tile* tile)
{
if( ++tile->refcount <= 0 )
- FatalUnsupportedXCF(_("Unbelievably many layers?"
+ FatalUnsupportedXCF(_("Unbelievably many layers?\n"
"More likely to be a bug in %s"),progname);
return tile ;
}
@@ -337,7 +338,7 @@ copyTilePixels(struct Tile *dest, uint32_t ptr,convertParams *params)
break ;
default:
FatalUnsupportedXCF(_("%s compression"),
- showXcfCompressionType(XCF.compression));
+ _(showXcfCompressionType(XCF.compression)));
}
}