mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-04 17:24:00 +08:00
Rename property bannerBody
to bannerText
CURA-8564
This commit is contained in:
parent
e5c8d5456d
commit
00135e574d
@ -13,7 +13,7 @@ Packages
|
||||
|
||||
bannerVisible: UM.Preferences.getValue("cura/market_place_show_manage_packages_banner");
|
||||
bannerIcon: "ArrowDoubleCircleRight"
|
||||
bannerBody: catalog.i18nc("@text", "Manage your Ultimaker Cura plugins and material profiles here. Make sure to keep your plugins up to date and backup your setup regularly.")
|
||||
bannerText: catalog.i18nc("@text", "Manage your Ultimaker Cura plugins and material profiles here. Make sure to keep your plugins up to date and backup your setup regularly.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
UM.Preferences.setValue("cura/market_place_show_manage_packages_banner", false);
|
||||
|
@ -51,7 +51,7 @@ Window
|
||||
OnboardBanner
|
||||
{
|
||||
bannerVisible: content.item && content.item.bannerVisible
|
||||
bannerBody: content.item && content.item.bannerBody
|
||||
bannerText: content.item && content.item.bannerText
|
||||
bannerIcon: content.item && content.item.bannerIcon
|
||||
onRemoveBanner: content.item && content.item.onRemoveBanner
|
||||
readMoreUrl: content.item.readMoreUrl && content.item.readMoreUrl
|
||||
|
@ -10,7 +10,7 @@ Packages
|
||||
|
||||
bannerVisible: UM.Preferences.getValue("cura/market_place_show_material_banner")
|
||||
bannerIcon: "Spool"
|
||||
bannerBody: catalog.i18nc("@text", "Streamline your workflow and customize your Ultimaker Cura experience with plugins contributed by our amazing community of users.")
|
||||
bannerText: catalog.i18nc("@text", "Streamline your workflow and customize your Ultimaker Cura experience with plugins contributed by our amazing community of users.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
UM.Preferences.setValue("cura/market_place_show_material_banner", false);
|
||||
|
@ -13,7 +13,7 @@ Rectangle
|
||||
{
|
||||
property bool bannerVisible
|
||||
property string bannerIcon
|
||||
property string bannerBody
|
||||
property string bannerText
|
||||
property var onRemoveBanner
|
||||
property string readMoreUrl
|
||||
|
||||
@ -82,7 +82,7 @@ Rectangle
|
||||
}
|
||||
|
||||
font: UM.Theme.getFont("default")
|
||||
text: bannerBody
|
||||
text: bannerText
|
||||
|
||||
renderType: Text.NativeRendering
|
||||
color: "white"
|
||||
|
@ -13,7 +13,7 @@ ListView
|
||||
property string pageTitle
|
||||
property bool bannerVisible
|
||||
property string bannerIcon
|
||||
property string bannerBody
|
||||
property string bannerText
|
||||
property string readMoreUrl
|
||||
property var onRemoveBanner
|
||||
|
||||
|
@ -10,7 +10,7 @@ Packages
|
||||
|
||||
bannerVisible: UM.Preferences.getValue("cura/market_place_show_plugin_banner")
|
||||
bannerIcon: "Shop"
|
||||
bannerBody: catalog.i18nc("@text", "Select and install material profiles optimised for your Ultimaker 3D printers.")
|
||||
bannerText: catalog.i18nc("@text", "Select and install material profiles optimised for your Ultimaker 3D printers.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
UM.Preferences.setValue("cura/market_place_show_plugin_banner", false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user