diff options
author | Jesse Yurkovich <jesse.y@gmail.com> | 2021-11-29 13:04:32 +0300 |
---|---|---|
committer | Jesse Yurkovich <jesse.y@gmail.com> | 2021-11-29 13:04:32 +0300 |
commit | b31250feba4c89856fd08e62850ddf80b5262ad0 (patch) | |
tree | 4df4688c056cbf3264bc7e1c319c1dd96ee19327 /release/scripts | |
parent | d2e608733507add9ecc77c122d9f542a80adccbf (diff) |
Fix T93456: Properly translate operator on splash screen
Use the translation API to lookup the string before formatting occurs.
Differential Revision: https://developer.blender.org/D13400
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 28bb0a58c02..65692062f48 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -2970,7 +2970,7 @@ class WM_MT_splash_quick_setup(Menu): sub = row.row() 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() |