mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Change SyncRow copy
CURA-7290
This commit is contained in:
parent
de0ef8ae62
commit
6caa0360b9
2 changed files with 9 additions and 4 deletions
|
@ -50,7 +50,7 @@ Row // sync state icon + message
|
|||
Label
|
||||
{
|
||||
id: stateLabel
|
||||
text: catalog.i18nc("@state", "Checking...")
|
||||
text: catalog.i18nc("@state", catalog.i18nc("@label", "You are in sync with your account"))
|
||||
color: UM.Theme.getColor("text")
|
||||
font: UM.Theme.getFont("medium")
|
||||
renderType: Text.NativeRendering
|
||||
|
@ -83,7 +83,7 @@ Row // sync state icon + message
|
|||
stateLabel.text = catalog.i18nc("@label", "Checking...")
|
||||
} else if (newState == Cura.AccountSyncState.SUCCESS) {
|
||||
icon.source = UM.Theme.getIcon("checked")
|
||||
stateLabel.text = catalog.i18nc("@label", "You are up to date")
|
||||
stateLabel.text = catalog.i18nc("@label", "You are in sync with your account")
|
||||
} else if (newState == Cura.AccountSyncState.ERROR) {
|
||||
icon.source = UM.Theme.getIcon("warning_light")
|
||||
stateLabel.text = catalog.i18nc("@label", "Something went wrong...")
|
||||
|
|
|
@ -9,7 +9,10 @@ import Cura 1.1 as Cura
|
|||
|
||||
Column
|
||||
{
|
||||
width: Math.max(title.width, accountButton.width) + 2 * UM.Theme.getSize("default_margin").width
|
||||
width: Match.max(
|
||||
Math.max(title.width, accountButton.width) + 2 * UM.Theme.getSize("default_margin").width,
|
||||
syncRow.width
|
||||
)
|
||||
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
|
@ -29,7 +32,9 @@ Column
|
|||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
SyncState {}
|
||||
SyncState {
|
||||
id: syncRow
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue