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:
2022-03-18 20:31:24 -07:00
parent 7fed213ba4
commit c655146b87

View File

@@ -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()