UI: Save Preferences Button Not Translating

Ref D9338
This commit is contained in:
Harley Acheson 2020-10-28 22:56:49 +11:00 committed by Campbell Barton
parent 70040e7b0b
commit 322b6ac52b
1 changed files with 2 additions and 1 deletions

View File

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