mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
changing the i18n call so that the actual string is shown instead of the context ;)
fixes #369
This commit is contained in:
parent
2ea0a3c02a
commit
506180fff9
1 changed files with 2 additions and 2 deletions
|
@ -39,10 +39,10 @@ class RemovableDrivePlugin(OutputDevicePlugin):
|
||||||
def ejectDevice(self, device):
|
def ejectDevice(self, device):
|
||||||
result = self.performEjectDevice(device)
|
result = self.performEjectDevice(device)
|
||||||
if result:
|
if result:
|
||||||
message = Message(catalog.i18n("@info:status", "Ejected {0}. You can now safely remove the drive.").format(device.getName()))
|
message = Message(catalog.i18nc("@info:status", "Ejected {0}. You can now safely remove the drive.").format(device.getName()))
|
||||||
message.show()
|
message.show()
|
||||||
else:
|
else:
|
||||||
message = Message(catalog.i18n("@info:status", "Failed to eject {0}. Maybe it is still in use?").format(device.getName()))
|
message = Message(catalog.i18nc("@info:status", "Failed to eject {0}. Maybe it is still in use?").format(device.getName()))
|
||||||
message.show()
|
message.show()
|
||||||
|
|
||||||
def performEjectDevice(self, device):
|
def performEjectDevice(self, device):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue