[Bf-blender-cvs] [322b6ac52bd] master: UI: Save Preferences Button Not Translating

Harley Acheson noreply at git.blender.org
Wed Oct 28 13:05:03 CET 2020


Commit: 322b6ac52bdc4d3f5082d46412f475663e29a1d9
Author: Harley Acheson
Date:   Wed Oct 28 22:56:49 2020 +1100
Branches: master
https://developer.blender.org/rB322b6ac52bdc4d3f5082d46412f475663e29a1d9

UI: Save Preferences Button Not Translating

Ref D9338

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

M	release/scripts/startup/bl_ui/space_userpref.py

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

diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 10b52e1fe3a..798f5363f9d 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -45,7 +45,8 @@ class USERPREF_HT_header(Header):
             # Show '*' to let users know the preferences have been modified.
             layout.operator(
                 "wm.save_userpref",
-                text="Save Preferences" + (" *" if prefs.is_dirty else ""),
+                text=iface_("Save Preferences") + (" *" if prefs.is_dirty else ""),
+                translate=False,
             )
 
     def draw(self, context):



More information about the Bf-blender-cvs mailing list