mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 07:25:09 +08:00
Rename property bannerBody
to bannerText
CURA-8564
This commit is contained in:
parent
7e1247b171
commit
f7720d2a0d
@ -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);
|
||||
|
@ -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"
|
||||
|
@ -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