Commit 86a41447 authored by Gábor Lehel's avatar Gábor Lehel

L*a*b -> L*a*b*, and consistency fixes

svn path=/trunk/koffice/; revision=496535
parent 28e25c3a
......@@ -76,7 +76,7 @@ public:
* Krita definition for use in .kra files and internally: unchanging name +
* i18n'able description.
*/
virtual KisID id() const { return KisID("CMYK", i18n("CMYK")); };
virtual KisID id() const { return KisID("CMYK", i18n("CMYK (8-bit integer/channel)")); };
/**
* lcms colorspace type definition.
......
......@@ -86,7 +86,7 @@ public:
* Krita definition for use in .kra files and internally: unchanging name +
* i18n'able description.
*/
virtual KisID id() const { return KisID("GRAYA", i18n("Grayscale")); };
virtual KisID id() const { return KisID("GRAYA", i18n("Grayscale (8-bit integer/channel)")); };
/**
* lcms colorspace type definition.
......
......@@ -45,7 +45,7 @@ namespace {
}
KisRgbColorSpace::KisRgbColorSpace(KisColorSpaceFactoryRegistry * parent, KisProfile *p) :
KisU8BaseColorSpace(KisID("RGBA", i18n("RGB (8 bits/channel)")), TYPE_BGRA_8, icSigRgbData, parent, p)
KisU8BaseColorSpace(KisID("RGBA", i18n("RGB (8-bit integer/channel)")), TYPE_BGRA_8, icSigRgbData, parent, p)
{
m_channels.push_back(new KisChannelInfo(i18n("Red"), 2, KisChannelInfo::COLOR, KisChannelInfo::UINT8, 1, QColor(255,0,0)));
m_channels.push_back(new KisChannelInfo(i18n("Green"), 1, KisChannelInfo::COLOR, KisChannelInfo::UINT8, 1, QColor(0,255,0)));
......
......@@ -102,7 +102,7 @@ public:
* Krita definition for use in .kra files and internally: unchanging name +
* i18n'able description.
*/
virtual KisID id() const { return KisID("RGBA", i18n("RGB (8 bits/channel)")); };
virtual KisID id() const { return KisID("RGBA", i18n("RGB (8-bit integer/channel)")); };
/**
* lcms colorspace type definition.
......
......@@ -35,7 +35,7 @@
#include "kis_integer_maths.h"
KisLabColorSpace::KisLabColorSpace(KisColorSpaceFactoryRegistry * parent, KisProfile *p)
: KisAbstractColorSpace(KisID("LABA", i18n("L*a*b (16-bit integer/channel)")),
: KisAbstractColorSpace(KisID("LABA", i18n("L*a*b* (16-bit integer/channel)")),
COLORSPACE_SH(PT_Lab)|CHANNELS_SH(3)|BYTES_SH(2)|EXTRA_SH(1),
icSigLabData, parent, p)
......
......@@ -109,7 +109,7 @@ public:
* Krita definition for use in .kra files and internally: unchanging name +
* i18n'able description.
*/
virtual KisID id() const { return KisID("LABA", i18n("L*a*b (16-bit integer/channel)")); };
virtual KisID id() const { return KisID("LABA", i18n("L*a*b* (16-bit integer/channel)")); };
/**
* lcms colorspace type definition.
......
......@@ -58,7 +58,7 @@ KisColorSpaceFactoryRegistry::KisColorSpaceFactoryRegistry(QStringList profileFi
/* XXX where to put this
KisHistogramProducerFactoryRegistry::instance() -> add(
new KisBasicHistogramProducerFactory<KisBasicU16HistogramProducer>
(KisID("LABAHISTO", i18n("L*a*b Histogram")), new KisLabColorSpace(this, 0);) );
(KisID("LABAHISTO", i18n("L*a*b* Histogram")), new KisLabColorSpace(this, 0);) );
*/
// Load all colorspace modules
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment