[Bf-blender-cvs] [9fb2ce70d69] master: Cleanup: remove f-string use

Campbell Barton noreply at git.blender.org
Fri Oct 16 05:07:33 CEST 2020


Commit: 9fb2ce70d69eb8d36a814ea5a430c3da4cc73551
Author: Campbell Barton
Date:   Fri Oct 16 14:06:47 2020 +1100
Branches: master
https://developer.blender.org/rB9fb2ce70d69eb8d36a814ea5a430c3da4cc73551

Cleanup: remove f-string use

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

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 f2934c8c5e8..77b0f17a937 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1036,7 +1036,7 @@ class USERPREF_PT_theme_collection_colors(ThemePanel, CenterAlignMixIn, Panel):
 
         flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False)
         for i, ui in enumerate(theme.collection_color, 1):
-            flow.prop(ui, "color", text=iface_(f"Color {i:d}"), translate=False)
+            flow.prop(ui, "color", text=iface_("Color %d") % i, translate=False)
 
 
 # Base class for dynamically defined theme-space panels.



More information about the Bf-blender-cvs mailing list