Commit 6a57cf08 authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

Fix naming conventions.

I was using gamut warnings/alarms, and softproofing and soft proofing.

The standard is (Out of )Gamut Warnings and Soft Proofing.

Ref T2337
parent 4faa8b57
......@@ -532,8 +532,8 @@
<icon></icon>
<text>Soft Proofing</text>
<whatsThis></whatsThis>
<toolTip>Turns on Softproofing</toolTip>
<iconText>Turns on Softproofing</iconText>
<toolTip>Turns on Soft Proofing</toolTip>
<iconText>Turns on Soft Proofing</iconText>
<shortcut>Ctrl+Y</shortcut>
<isCheckable>true</isCheckable>
<statusTip></statusTip>
......@@ -542,8 +542,8 @@
<icon></icon>
<text>Out of Gamut Warnings</text>
<whatsThis></whatsThis>
<toolTip>Turns on Warnings for colors our of proofed gamut, needs soft proofing to be turned on.</toolTip>
<iconText>Turns on Warnings for colors our of proofed gamut, needs soft proofing to be turned on.</iconText>
<toolTip>Turns on warnings for colors our of proofed gamut, needs soft proofing to be turned on.</toolTip>
<iconText>Turns on warnings for colors our of proofed gamut, needs soft proofing to be turned on.</iconText>
<shortcut>Ctrl+Shift+Y</shortcut>
<isCheckable>true</isCheckable>
<statusTip></statusTip>
......
......@@ -814,14 +814,14 @@ void KisView::slotSoftProofing(bool softProofing)
QString message;
if (canvasBase()->image()->colorSpace()->colorDepthId().id().contains("F"))
{
message = i18n("Softproofing doesn't work in floating point.");
message = i18n("Soft Proofing doesn't work in floating point.");
viewManager()->showFloatingMessage(message,QIcon());
return;
}
if (softProofing){
message = i18n("Softproofing turned on.");
message = i18n("Soft Proofing turned on.");
} else {
message = i18n("Softproofing turned off.");
message = i18n("Soft Proofing turned off.");
}
viewManager()->showFloatingMessage(message,QIcon());
canvasBase()->slotSoftProofing(softProofing);
......@@ -833,18 +833,18 @@ void KisView::slotGamutCheck(bool gamutCheck)
QString message;
if (canvasBase()->image()->colorSpace()->colorDepthId().id().contains("F"))
{
message = i18n("Gamutwarnings don't work in floating point.");
message = i18n("Gamut Warnings don't work in floating point.");
viewManager()->showFloatingMessage(message,QIcon());
return;
}
if (gamutCheck){
message = i18n("Gamut alarms turned on.");
message = i18n("Gamut Warnings turned on.");
if (!d->softProofing){
message += "\n "+i18n("But softproofing is still off.");
message += "\n "+i18n("But Soft Proofing is still off.");
}
} else {
message = i18n("Gamut alarms turned off.");
message = i18n("Gamut Warnings turned off.");
}
viewManager()->showFloatingMessage(message,QIcon());
canvasBase()->slotGamutCheck(gamutCheck);
......
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