diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_output.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_output.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_output.py b/release/scripts/startup/bl_ui/properties_output.py index 7a05f13b9f2..9a710fd9419 100644 --- a/release/scripts/startup/bl_ui/properties_output.py +++ b/release/scripts/startup/bl_ui/properties_output.py @@ -22,6 +22,8 @@ import bpy from bpy.types import Menu, Panel, UIList from bl_ui.utils import PresetPanel +from bpy.app.translations import pgettext_tip as tip_ + class RENDER_PT_presets(PresetPanel, Panel): bl_label = "Render Presets" @@ -81,10 +83,10 @@ class RENDER_PT_dimensions(RenderOutputButtonsPanel, Panel): custom_framerate = (fps_rate not in {23.98, 24, 25, 29.97, 30, 50, 59.94, 60}) if custom_framerate is True: - fps_label_text = f"Custom ({fps_rate!r} fps)" + fps_label_text = tip_("Custom (%.4g fps)") % fps_rate show_framerate = True else: - fps_label_text = f"{fps_rate!r} fps" + fps_label_text = tip_("%.4g fps") % fps_rate show_framerate = (preset_label == "Custom") RENDER_PT_dimensions._frame_rate_args_prev = args |