I18n: Translate "Subprocesses" label in System preferences

Reported by Ye Gui in #43295.
This commit is contained in:
Damien Picard
2025-09-23 14:44:24 +02:00
committed by Bastien Montagne
parent 6983b97640
commit 0ef4320362

View File

@@ -838,8 +838,8 @@ class USERPREF_PT_system_memory(SystemPanel, CenterAlignMixIn, Panel):
col = layout.column(align=True)
col.active = system.gpu_backend != 'VULKAN'
col.row().prop(system, "shader_compilation_method", expand=True)
label = "Threads" if system.shader_compilation_method == 'THREAD' else "Subprocesses"
col.prop(system, "gpu_shader_workers", text=label)
label = iface_("Threads") if system.shader_compilation_method == 'THREAD' else iface_("Subprocesses")
col.prop(system, "gpu_shader_workers", text=label, translate=False)
class USERPREF_PT_system_video_sequencer(SystemPanel, CenterAlignMixIn, Panel):