From 8abd92caf098aa0b04e8e61bd52c66a68c97e1ef Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Sun, 14 Sep 2025 21:37:45 +0200 Subject: [PATCH] I18n: Translate file working colorspace operator menu in properties The items in this operator menu are extracted using the default translation context, so this commit changes the UI to use the same context. --- scripts/startup/bl_ui/properties_render.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/properties_render.py b/scripts/startup/bl_ui/properties_render.py index 8b290570b2a..e26f2859c4b 100644 --- a/scripts/startup/bl_ui/properties_render.py +++ b/scripts/startup/bl_ui/properties_render.py @@ -3,6 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later from bpy.types import Panel +from bpy.app.translations import contexts as i18n_contexts from bl_ui.properties_grease_pencil_common import GreasePencilSimplifyPanel from bl_ui.space_view3d import ( VIEW3D_PT_shading_lighting, @@ -112,7 +113,12 @@ class RENDER_PT_color_management_working_space(RenderButtonsPanel, Panel): row = split.row() row.label(text="File") row.alignment = 'RIGHT' - split.operator_menu_enum("wm.set_working_color_space", "working_space", text=blend_colorspace.working_space) + split.operator_menu_enum( + "wm.set_working_color_space", + "working_space", + text=blend_colorspace.working_space, + text_ctxt=i18n_contexts.default, + ) col.prop(scene.sequencer_colorspace_settings, "name", text="Sequencer")