mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
adds/adapts translation context markers
all nescessary in folder: Cura/plugins Contributes to: issue CURA-116
This commit is contained in:
parent
79f69f30f5
commit
4a9bf2b4d6
17 changed files with 42 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue