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++
Fix the captitalization of the text properties tool tips a little.
Wolthera van Hövell tot Westerflierf15d8264350b
diff --git a/plugins/dockers/textproperties/qml/AlignmentBaseline.qml b/plugins/dockers/textproperties/qml/AlignmentBaseline.qmlindex dcb7181102..140316c078 100644--- a/plugins/dockers/textproperties/qml/AlignmentBaseline.qml+++ b/plugins/dockers/textproperties/qml/AlignmentBaseline.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "alignment-baseline";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Alignment Baseline allows controlling how this range of text is aligned to the parent text.");+ "Alignment baseline allows controlling how this range of text is aligned to the parent text.");searchTerms: i18nc("comma separated search terms for the alignment-baseline property, matching is case-insensitive","alignment-baseline, mojisoroe");property int baselineSelection;diff --git a/plugins/dockers/textproperties/qml/BaselineShift.qml b/plugins/dockers/textproperties/qml/BaselineShift.qmlindex 6fb625e7e2..deb177743b 100644--- a/plugins/dockers/textproperties/qml/BaselineShift.qml+++ b/plugins/dockers/textproperties/qml/BaselineShift.qml@@ -11,7 +11,7 @@ import org.krita.components 1.0 as KisTextPropertyBase {id: baselineShiftBase;- propertyTitle: i18nc("@label", "Baseline-Shift");+ propertyTitle: i18nc("@label", "Baseline Shift");propertyName: "baseline-shift";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",diff --git a/plugins/dockers/textproperties/qml/DominantBaseline.qml b/plugins/dockers/textproperties/qml/DominantBaseline.qmlindex ff874eea52..1a6c02f630 100644--- a/plugins/dockers/textproperties/qml/DominantBaseline.qml+++ b/plugins/dockers/textproperties/qml/DominantBaseline.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "dominant-baseline";propertyType: TextPropertyConfigModel.Mixed;toolTip: i18nc("@info:tooltip",- "Dominant Baseline specifies how stretches of text of different sizes are aligned, it is also the default for Alignment Baseline.");+ "Dominant baseline specifies how stretches of text of different sizes are aligned, it is also the default for Alignment Baseline.");searchTerms: i18nc("comma separated search terms for the dominant-baseline property, matching is case-insensitive","dominant-baseline, mojisoroe");property int baselineSelectiondiff --git a/plugins/dockers/textproperties/qml/FontKerning.qml b/plugins/dockers/textproperties/qml/FontKerning.qmlindex e893879e64..7733bbca7e 100644--- a/plugins/dockers/textproperties/qml/FontKerning.qml+++ b/plugins/dockers/textproperties/qml/FontKerning.qml@@ -17,7 +17,7 @@ TextPropertyBase {propertyName: "font-kerning";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Turn font kerning on or off. Font kerning enables per-glyph spacing adjustments.");+ "Turn font kerning on or off. Font kerning enables per-glyph spacing adjustments as determined by the font.");searchTerms: i18nc("comma separated search terms for the font-kerning property, matching is case-insensitive","font-kerning, tracking");diff --git a/plugins/dockers/textproperties/qml/LineBreak.qml b/plugins/dockers/textproperties/qml/LineBreak.qmlindex e87dee7fbe..632b5b815e 100644--- a/plugins/dockers/textproperties/qml/LineBreak.qml+++ b/plugins/dockers/textproperties/qml/LineBreak.qml@@ -14,7 +14,7 @@ TextPropertyBase {propertyTitle: i18nc("@label:listbox", "Line Break");propertyName: "line-break";toolTip: i18nc("@info:tooltip",- "Line Break allows choosing a strictness for the line breaking algorithm. Mostly used for CJK scripts, requires language being set.");+ "Line break allows choosing a strictness for the line breaking algorithm. Mostly used for CJK scripts, requires language being set.");searchTerms: i18nc("comma separated search terms for the line-break property, matching is case-insensitive","line-break, line breaking, strictness, kinsoku");propertyType: TextPropertyConfigModel.Character;diff --git a/plugins/dockers/textproperties/qml/LineHeight.qml b/plugins/dockers/textproperties/qml/LineHeight.qmlindex 7e1564bd02..fa507939af 100644--- a/plugins/dockers/textproperties/qml/LineHeight.qml+++ b/plugins/dockers/textproperties/qml/LineHeight.qml@@ -15,7 +15,7 @@ TextPropertyBase {propertyName: "line-height";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Line Height controls the line height used for the range of text.");+ "Line height controls the line height used for the range of text.");searchTerms: i18nc("comma separated search terms for the line-height property, matching is case-insensitive","line-height, line-spacing");property alias isNormal: lineHeightNormalCbx.checked;diff --git a/plugins/dockers/textproperties/qml/OTCaps.qml b/plugins/dockers/textproperties/qml/OTCaps.qmlindex f8917ebb99..ea1258c420 100644--- a/plugins/dockers/textproperties/qml/OTCaps.qml+++ b/plugins/dockers/textproperties/qml/OTCaps.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "ot-capitals";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Enable opentype features related to capitals");+ "Enable OpenType features related to capitals.");searchTerms: i18nc("comma separated search terms for the font-variant-caps property, matching is case-insensitive","font-variant-caps, Small caps, Petite Caps, Unicase, Titling, Capitals");diff --git a/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml b/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qmlindex 89cd5b4b3e..e61d58e489 100644--- a/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml+++ b/plugins/dockers/textproperties/qml/OpenTypeFeatureSettings.qml@@ -15,7 +15,7 @@ TextPropertyBase {propertyName: "ot-features";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Configure Open Type features.");+ "Configure OpenType features.");searchTerms: i18nc("comma separated search terms for the font-feature-settings property, matching is case-insensitive","font-feature-settings, OpenType");diff --git a/plugins/dockers/textproperties/qml/TabSize.qml b/plugins/dockers/textproperties/qml/TabSize.qmlindex 7e6c0338aa..e1726a3fb7 100644--- a/plugins/dockers/textproperties/qml/TabSize.qml+++ b/plugins/dockers/textproperties/qml/TabSize.qml@@ -15,7 +15,7 @@ TextPropertyBase {propertyName: "tab-size";propertyType: TextPropertyConfigModel.Paragraph;toolTip: i18nc("@info:tooltip",- "Tab Size allows defining the size of tabulation characters.");+ "Tab size allows defining the size of tabulation characters.");searchTerms: i18nc("comma separated search terms for the tab-size property, matching is case-insensitive","tab-size");property alias tabSize: converter.dataValue;diff --git a/plugins/dockers/textproperties/qml/TextAlign.qml b/plugins/dockers/textproperties/qml/TextAlign.qmlindex fa45d44b12..e77c30cbd7 100644--- a/plugins/dockers/textproperties/qml/TextAlign.qml+++ b/plugins/dockers/textproperties/qml/TextAlign.qml@@ -15,8 +15,8 @@ CollapsibleGroupProperty {propertyType: TextPropertyConfigModel.Paragraph;visibilityState: TextPropertyConfigModel.AlwaysVisible;toolTip: i18nc("@info:tooltip",- "Text Align sets the alignment for the given block of characters.");- searchTerms: i18nc("comma separated search terms for the text-anchor property, matching is case-insensitive",+ "Text align sets the alignment for the given block of characters.");+ searchTerms: i18nc("comma separated search terms for the text-align property, matching is case-insensitive","text-align, justification, text-anchor");property int textAlignAll: 1;diff --git a/plugins/dockers/textproperties/qml/TextDecoration.qml b/plugins/dockers/textproperties/qml/TextDecoration.qmlindex a47538c86f..3743895310 100644--- a/plugins/dockers/textproperties/qml/TextDecoration.qml+++ b/plugins/dockers/textproperties/qml/TextDecoration.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "text-decoration";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Text Decoration allows drawing underlines, overlines and striking through text.");+ "Text decoration allows drawing underlines, overlines and striking through text.");searchTerms: i18nc("comma separated search terms for the text-decoration property, matching is case-insensitive","underline, overline, strikethrough, line-through");diff --git a/plugins/dockers/textproperties/qml/TextIndent.qml b/plugins/dockers/textproperties/qml/TextIndent.qmlindex 8be8bd50b6..f969e9145a 100644--- a/plugins/dockers/textproperties/qml/TextIndent.qml+++ b/plugins/dockers/textproperties/qml/TextIndent.qml@@ -15,7 +15,7 @@ CollapsibleGroupProperty {propertyName: "text-indent";propertyType: TextPropertyConfigModel.Paragraph;toolTip: i18nc("@info:tooltip",- "Text Indent allows setting indentation at the line start. Only works when the text is wrapping.");+ "Text indent allows setting indentation at the line start. Only works when the text is wrapping.");searchTerms: i18nc("comma separated search terms for the text-indent property, matching is case-insensitive","text-indent");diff --git a/plugins/dockers/textproperties/qml/TextRendering.qml b/plugins/dockers/textproperties/qml/TextRendering.qmlindex 37d16dadf3..1b21791f5f 100644--- a/plugins/dockers/textproperties/qml/TextRendering.qml+++ b/plugins/dockers/textproperties/qml/TextRendering.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "text-rendering";propertyType: TextPropertyConfigModel.Paragraph;toolTip: i18nc("@info:tooltip",- "Text Rendering controls the hinting and rendering style for the property");+ "Text rendering controls the hinting and rendering style for the property");searchTerms: i18nc("comma separated search terms for the text-rendering property, matching is case-insensitive","text-rendering, hinting, anti-aliasing");property int textRendering;diff --git a/plugins/dockers/textproperties/qml/TextTransform.qml b/plugins/dockers/textproperties/qml/TextTransform.qmlindex a09a840c07..c824a37c18 100644--- a/plugins/dockers/textproperties/qml/TextTransform.qml+++ b/plugins/dockers/textproperties/qml/TextTransform.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "text-transform";propertyType: TextPropertyConfigModel.Character;toolTip: i18nc("@info:tooltip",- "Text Transform allows transforming the given range of characters, for example, by setting them uppercase, or switching out half-width forms for full-width forms.");+ "Text transform allows transforming the given range of characters, for example, by setting them uppercase, or switching out half-width forms for full-width forms.");searchTerms: i18nc("comma separated search terms for the text-transform property, matching is case-insensitive","text-transform, uppercase, capitalization, lowercase, full-width, full-size kana");property alias fullWidth: fullWidthChk.checked;diff --git a/plugins/dockers/textproperties/qml/WritingMode.qml b/plugins/dockers/textproperties/qml/WritingMode.qmlindex 84d2d4cf1b..0ecf72ee3b 100644--- a/plugins/dockers/textproperties/qml/WritingMode.qml+++ b/plugins/dockers/textproperties/qml/WritingMode.qml@@ -13,7 +13,7 @@ TextPropertyBase {propertyName: "writing-mode";propertyType: TextPropertyConfigModel.Paragraph;toolTip: i18nc("@info:tooltip",- "Writing Mode sets whether the text flows horizontally or vertically, and in the latter case, whether the block flows right to left or left to right.");+ "Writing mode sets whether the text flows horizontally or vertically, and in the latter case, whether the block flows right to left or left to right.");searchTerms: i18nc("comma separated search terms for the writing-mode property, matching is case-insensitive","writing-mode, horizontal, vertical, top-to-bottom");property int writingMode;