Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2022-04-19 12:19:58 +0300
committerJaime van Kessel <nallath@gmail.com>2022-04-19 12:19:58 +0300
commit3aff3d5825d1de932d0443a3eee447b45c078189 (patch)
treef425a771b42cdffa1ddef6c3862d4db61e5b1862 /plugins/Marketplace/resources
parent05263b9a5869a28f3d7d90329e6c0cfe31ed2f03 (diff)
Fix "read more" not being translated
Yeah, i know, this breaks the stringfreeze. But this wasn't translated in the first place. So the actual effect here is zero (but at least it will be translated in the next round!) CURA-9146
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r--plugins/Marketplace/resources/qml/OnboardBanner.qml11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Marketplace/resources/qml/OnboardBanner.qml b/plugins/Marketplace/resources/qml/OnboardBanner.qml
index 278c50ab57..cd98f7df68 100644
--- a/plugins/Marketplace/resources/qml/OnboardBanner.qml
+++ b/plugins/Marketplace/resources/qml/OnboardBanner.qml
@@ -19,7 +19,6 @@ Rectangle
implicitHeight: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
color: UM.Theme.getColor("action_panel_secondary")
- // Icon
UM.ColorImage
{
id: onboardingIcon
@@ -33,7 +32,6 @@ Rectangle
height: UM.Theme.getSize("banner_icon_size").height
}
- // Close button
UM.SimpleButton
{
id: onboardingClose
@@ -52,8 +50,8 @@ Rectangle
onClicked: onRemove()
}
- // Body
- Label {
+ UM.Label
+ {
id: infoText
anchors
{
@@ -63,11 +61,8 @@ Rectangle
margins: UM.Theme.getSize("default_margin").width
}
- font: UM.Theme.getFont("default")
-
renderType: Text.NativeRendering
color: UM.Theme.getColor("primary_text")
- wrapMode: Text.Wrap
elide: Text.ElideRight
onLineLaidOut: (line) =>
@@ -102,7 +97,7 @@ Rectangle
id: readMoreButton
anchors.left: infoText.left
anchors.bottom: infoText.bottom
- text: "Learn More"
+ text: catalog.i18nc("@button:label", "Learn More")
textFont: UM.Theme.getFont("default")
textColor: infoText.color
leftPadding: 0