diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-02 16:36:58 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-02 17:20:06 +0300 |
commit | 820522d5140901bb0706b2f30a41d5606fffb9aa (patch) | |
tree | 9b98904cd61563cd80b01126f9cf828e71e07418 /release/scripts | |
parent | 15b848ef60cba216c52bb7fa301c1eb4cf8b83b4 (diff) |
Fix (unreported) missing/broken translations in Text space.
As a reminder, no new fancy python string formatting is just
not working (tm) with i18n translations system...
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index 1c37e028199..cf264bf6149 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -82,19 +82,19 @@ class TEXT_HT_footer(Header): if text.filepath: if text.is_dirty: row.label( - text=iface_(f"File: *{text.filepath:s} (unsaved)"), + text=iface_("File: *%s (unsaved)" % text.filepath), translate=False, ) else: row.label( - text=iface_(f"File: {text.filepath:s}"), + text=iface_("File: %s" % text.filepath), translate=False, ) else: row.label( - text="Text: External" + text=iface_("Text: External") if text.library - else "Text: Internal", + else iface_("Text: Internal"), ) |