From 85a13b7ad7d10c5ff431090cb1de63b84e68ff08 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 18 Aug 2015 15:18:56 +0200 Subject: [PATCH] Add proper translation contexts to RemovableDriveOutputDevice --- .../RemovableDriveOutputDevice.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py b/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py index 2728dfd90b..9c9afa4246 100644 --- a/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py +++ b/plugins/RemovableDriveOutputDevice/RemovableDriveOutputDevice.py @@ -17,8 +17,8 @@ class RemovableDriveOutputDevice(OutputDevice): super().__init__(device_id) self.setName(device_name) - self.setShortDescription(catalog.i18nc("", "Save to Removable Drive")) - self.setDescription(catalog.i18nc("", "Save to Removable Drive {0}").format(device_name)) + self.setShortDescription(catalog.i18nc("@action:button", "Save to Removable Drive")) + self.setDescription(catalog.i18nc("@info:tooltip", "Save to Removable Drive {0}").format(device_name)) self.setIconName("save_sd") self.setPriority(1) @@ -49,7 +49,7 @@ class RemovableDriveOutputDevice(OutputDevice): job.progress.connect(self._onProgress) job.finished.connect(self._onFinished) - message = Message(catalog.i18nc("", "Saving to Removable Drive {0}").format(self.getName()), 0, False, -1) + message = Message(catalog.i18nc("@info:status", "Saving to Removable Drive {0}").format(self.getName()), 0, False, -1) message.show() job._message = message