Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2020-10-28 14:56:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-28 14:57:54 +0300
commit4921b5d1c9471dcde666a43fb991cb5d218d62af (patch)
tree97870efc0ed0ba8dc30848618b94afab802412b0 /release/scripts
parent0d772221c64187b5004dd687888042f44603257d (diff)
UI: Save Preferences Button Not Translating
Ref D9338
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index b4b8a631b93..b96e317e2e9 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):