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:
Jesse Yurkovich 2022-03-18 20:31:24 -07:00
parent 7fed213ba4
commit c655146b87
Notes: blender-bot 2023-02-14 10:04:50 +01:00
Referenced by issue #96584, Quick Setup window displays English text even when a translation is available
1 changed files with 1 additions and 1 deletions

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