Fix T96584: Properly translate operator on splash screen
The previous fix looks to have been accidentally removed as part of rB7aec5b06227. Restore the change.
This commit is contained in:
@@ -2996,7 +2996,7 @@ class WM_MT_splash_quick_setup(Menu):
|
|||||||
|
|
||||||
old_version = bpy.types.PREFERENCES_OT_copy_prev.previous_version()
|
old_version = bpy.types.PREFERENCES_OT_copy_prev.previous_version()
|
||||||
if bpy.types.PREFERENCES_OT_copy_prev.poll(context) and old_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")
|
sub.operator("wm.save_userpref", text="Save New Settings")
|
||||||
else:
|
else:
|
||||||
sub.label()
|
sub.label()
|
||||||
|
|||||||
Reference in New Issue
Block a user