From 2e9a0e1254657e704beb1e856fbed8b89e512476 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 28 Aug 2018 10:17:58 -0300 Subject: Fix space text script - keyboard for labels I guess multi-line ui elements were not covered in the cleanup scripts. --- release/scripts/startup/bl_ui/space_text.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_text.py') diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index 8e370326d8c..9ef165a36a6 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -60,17 +60,17 @@ class TEXT_HT_header(Header): if text.filepath: if text.is_dirty: row.label( - iface_(f"File: *{text.filepath:s} (unsaved)"), + text=iface_(f"File: *{text.filepath:s} (unsaved)"), translate=False, ) else: row.label( - iface_(f"File: {text.filepath:s}"), + text=iface_(f"File: {text.filepath:s}"), translate=False, ) else: row.label( - "Text: External" + text="Text: External" if text.library else "Text: Internal" ) -- cgit v1.2.3