Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Update 4 files

Emir SARI28b562454a22
diff --git a/libs/resources/KisTagModel.cpp b/libs/resources/KisTagModel.cpp
index cea5ef506d..2df9bc0a34 100644
--- a/libs/resources/KisTagModel.cpp
+++ b/libs/resources/KisTagModel.cpp
@@ -149,7 +149,7 @@ QVariant KisAllTagsModel::data(const QModelIndex &index, int role) const
case Qt::StatusTipRole: // fallthrough
case Qt::WhatsThisRole:
case Qt::UserRole + Name:
- return i18n("All Untagged");
+ return i18n("All untagged");
case Qt::UserRole + Id:
return QString::number(KisAllTagsModel::AllUntagged);
case Qt::UserRole + Url: {
@@ -301,17 +301,17 @@ KisTagSP KisAllTagsModel::tagForIndex(QModelIndex index) const
tag->setName(i18n("All"));
tag->setResourceType(d->resourceType);
tag->setUrl(urlAll());
- tag->setComment(i18n("All Resources"));
+ tag->setComment(i18n("All resources"));
tag->setId(KisAllTagsModel::All);
tag->setActive(true);
tag->setValid(true);
}
else if (index.row() == KisAllTagsModel::AllUntagged + s_fakeRowsCount) {
tag.reset(new KisTag());
- tag->setName(i18n("All Untagged"));
+ tag->setName(i18n("All untagged"));
tag->setResourceType(d->resourceType);
tag->setUrl(urlAllUntagged());
- tag->setComment(i18n("All Untagged Resources"));
+ tag->setComment(i18n("All untagged resources"));
tag->setId(KisAllTagsModel::AllUntagged);
tag->setActive(true);
tag->setValid(true);
diff --git a/plugins/paintops/libpaintop/KisPredefinedBrushModel.cpp b/plugins/paintops/libpaintop/KisPredefinedBrushModel.cpp
index 62a9049ad9..1279150270 100644
--- a/plugins/paintops/libpaintop/KisPredefinedBrushModel.cpp
+++ b/plugins/paintops/libpaintop/KisPredefinedBrushModel.cpp
@@ -23,15 +23,15 @@ ComboBoxState calcApplicationSwitchState(enumBrushType brushType, bool supportsH
{
QStringList values;
QStringList toolTips;
- values << i18n("Alpha Mask");
+ values << i18n("Alpha mask");
toolTips << i18nc("@info:tooltip", "Luminosity of the brush tip image is used as alpha channel for the stroke");
if (brushType == IMAGE || brushType == PIPE_IMAGE) {
- values << i18n("Color Image");
+ values << i18n("Color image");
toolTips << i18nc("@info:tooltip", "The brush tip image is painted as it is");
if (supportsHSLBrushTips) {
- values << i18n("Lightness Map");
+ values << i18n("Lightness map");
toolTips << i18nc("@info:tooltip", "Luminosity of the brush tip image is used as lightness correction for the painting color. Alpha channel of the brush tip image is used as alpha for the final stroke");
- values << i18n("Gradient Map");
+ values << i18n("Gradient map");
toolTips << i18nc("@info:tooltip", "The brush tip maps its value to the currently selected gradient. Alpha channel of the brush tip image is used as alpha for the final stroke");
}
}
@@ -54,13 +54,13 @@ QString calcBrushDetails(PredefinedBrushData data)
} else if (data.brushType == IMAGE) {
brushTypeString = i18n("Image");
} else if (data.brushType == PIPE_MASK ) {
- brushTypeString = i18n("Animated Mask"); // GIH brush
+ brushTypeString = i18n("Animated mask"); // GIH brush
animatedBrushTipSelectionMode = data.parasiteSelection;
} else if (data.brushType == PIPE_IMAGE ) {
- brushTypeString = i18n("Animated Image");
+ brushTypeString = i18n("Animated image");
}
- const QString brushDetailsText = QString("%1 (%2 x %3) %4")
+ const QString brushDetailsText = QString("%1 (%2 × %3) %4")
.arg(brushTypeString)
.arg(data.baseSize.width())
.arg(data.baseSize.height())
diff --git a/plugins/paintops/libpaintop/forms/wdgpredefinedbrushchooser.ui b/plugins/paintops/libpaintop/forms/wdgpredefinedbrushchooser.ui
index fea6b1fecd..bb238b8d50 100644
--- a/plugins/paintops/libpaintop/forms/wdgpredefinedbrushchooser.ui
+++ b/plugins/paintops/libpaintop/forms/wdgpredefinedbrushchooser.ui
@@ -189,7 +189,7 @@
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="preserveBrushPresetSettings">
<property name="text">
- <string>Preserve Brush Preset Settings</string>
+ <string>Preserve brush preset settings</string>
</property>
<property name="checked">
<bool>true</bool>
diff --git a/plugins/paintops/libpaintop/forms/wdgtexturechooser.ui b/plugins/paintops/libpaintop/forms/wdgtexturechooser.ui
index 3a081218ba..b70ff61f67 100644
--- a/plugins/paintops/libpaintop/forms/wdgtexturechooser.ui
+++ b/plugins/paintops/libpaintop/forms/wdgtexturechooser.ui
@@ -70,7 +70,7 @@
</sizepolicy>
</property>
<property name="text">
- <string>Contrast:</string>
+ <string>Contrast: </string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -80,7 +80,7 @@
<item row="4" column="0">
<widget class="QLabel" name="lblNeutralPoint">
<property name="text">
- <string>Neutral Point:</string>
+ <string>Neutral point: </string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -96,7 +96,7 @@
</sizepolicy>
</property>
<property name="text">
- <string>Brightness:</string>
+ <string>Brightness: </string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -112,7 +112,7 @@
</sizepolicy>
</property>
<property name="text">
- <string>Scale:</string>
+ <string>Scale: </string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>