adds/adapts translation context markers

all nescessary in folder: Cura/plugins

Contributes to: issue CURA-116
This commit is contained in:
Tamara Hogenhout 2015-09-08 15:26:49 +02:00
parent 79f69f30f5
commit 4a9bf2b4d6
17 changed files with 42 additions and 40 deletions

View file

@ -16,7 +16,7 @@ import os
import subprocess
from UM.i18n import i18nCatalog
catalog = i18nCatalog("uranium")
catalog = i18nCatalog("cura")
# WinAPI Constants that we need
# Hardcoded here due to stupid WinDLL stuff that does not give us access to these values.
@ -55,7 +55,7 @@ class WindowsRemovableDrivePlugin(RemovableDrivePlugin.RemovableDrivePlugin):
volume_name = name_buffer.value
if not volume_name:
volume_name = catalog.i18nc("Default name for removable device", "Removable Drive")
volume_name = catalog.i18nc("@item:intext", "Removable Drive")
# Certain readers will report themselves as a volume even when there is no card inserted, but will show an
# "No volume in drive" warning when trying to call GetDiskFreeSpace. However, they will not report a valid