mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Add strings to clarify the manual printer UI
Also adds resuming/pausing states strings and a "Print Again" to use elsewhere.
This commit is contained in:
parent
e6570884fc
commit
8a6d125478
2 changed files with 38 additions and 8 deletions
|
@ -804,6 +804,13 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
self.setErrorText(i18n_catalog.i18nc("@label:MonitorStatus", "Print aborted. Please check the printer"))
|
||||
state = "error"
|
||||
|
||||
# NB/TODO: the following two states are intentionally added for future proofing the i18n strings
|
||||
# but are currently non-functional
|
||||
if state == "!pausing":
|
||||
self.setErrorText(i18n_catalog.i18nc("@label:MonitorStatus", "Pausing print..."))
|
||||
if state == "!resuming":
|
||||
self.setErrorText(i18n_catalog.i18nc("@label:MonitorStatus", "Resuming print..."))
|
||||
|
||||
self._updateJobState(state)
|
||||
self.setTimeElapsed(json_data["time_elapsed"])
|
||||
self.setTimeTotal(json_data["time_total"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue