[Bf-blender-cvs] [c655146b87f] master: Fix T96584: Properly translate operator on splash screen

Jesse Yurkovich noreply at git.blender.org
Sat Mar 19 04:36:14 CET 2022


Commit: c655146b87fe20853e52b87991b46732a04d749e
Author: Jesse Yurkovich
Date:   Fri Mar 18 20:31:24 2022 -0700
Branches: master
https://developer.blender.org/rBc655146b87fe20853e52b87991b46732a04d749e

Fix T96584: Properly translate operator on splash screen

The previous fix looks to have been accidentally removed as part of
rB7aec5b06227.

Restore the change.

===================================================================

M	release/scripts/startup/bl_operators/wm.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index a7f401afad1..d6e5604fde0 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -2996,7 +2996,7 @@ class WM_MT_splash_quick_setup(Menu):
 
         old_version = bpy.types.PREFERENCES_OT_copy_prev.previous_version()
         if bpy.types.PREFERENCES_OT_copy_prev.poll(context) and old_version:
-            sub.operator("preferences.copy_prev", text="Load %d.%d Settings" % old_version)
+            sub.operator("preferences.copy_prev", text=iface_("Load %d.%d Settings", "Operator") % old_version)
             sub.operator("wm.save_userpref", text="Save New Settings")
         else:
             sub.label()



More information about the Bf-blender-cvs mailing list