From 8fb8a6529fa64d6e17042cdf469d9920eb939660 Mon Sep 17 00:00:00 2001 From: Aras Pranckevicius Date: Mon, 4 Jul 2022 19:10:13 +0300 Subject: OBJ: remove "experimental" from C++ based importer/exporter, mark Python legacy By now I'm not aware of any serious regressions or missing functionality in the C++ based OBJ importer/exporter. They have more features (vertex colors support), and are way faster than the Python based importer/exporter. Reviewed By: Thomas Dinges, Howard Trickey Differential Revision: https://developer.blender.org/D15360 --- release/scripts/startup/bl_ui/space_topbar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_topbar.py') diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index d8bd724f554..31ecd67eb08 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -457,7 +457,7 @@ class TOPBAR_MT_file_import(Menu): self.layout.operator("wm.gpencil_import_svg", text="SVG as Grease Pencil") if bpy.app.build_options.io_wavefront_obj: - self.layout.operator("wm.obj_import", text="Wavefront (.obj) (experimental)") + self.layout.operator("wm.obj_import", text="Wavefront (.obj)") if bpy.app.build_options.io_stl: self.layout.operator("wm.stl_import", text="STL (.stl) (experimental)") @@ -485,7 +485,7 @@ class TOPBAR_MT_file_export(Menu): self.layout.operator("wm.gpencil_export_pdf", text="Grease Pencil as PDF") if bpy.app.build_options.io_wavefront_obj: - self.layout.operator("wm.obj_export", text="Wavefront (.obj) (experimental)") + self.layout.operator("wm.obj_export", text="Wavefront (.obj)") class TOPBAR_MT_file_external_data(Menu): -- cgit v1.2.3 From aa53eca6b5984f94b8ab151492355d448abf7d86 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Thu, 4 Aug 2022 16:13:18 +0200 Subject: I18n: make several parts of the UI translatable - batch rename - keyframe settings - tool name in Tool properties header - tool name in Tool properties Drag (fake) enum - new file templates - new preset - new text datablock - new collection datablock - new geometry nodes (modifier and node group) - new grease pencil data (layers and materials) Ref. T43295 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15533 --- release/scripts/startup/bl_ui/space_topbar.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'release/scripts/startup/bl_ui/space_topbar.py') diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 31ecd67eb08..da089ea23b0 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -2,6 +2,8 @@ import bpy from bpy.types import Header, Menu, Panel +from bpy.app.translations import pgettext_iface as iface_ + class TOPBAR_HT_upper_bar(Header): bl_space_type = 'TOPBAR' @@ -363,7 +365,7 @@ class TOPBAR_MT_file_new(Menu): for d in paths: props = layout.operator( "wm.read_homefile", - text=bpy.path.display_name(d), + text=bpy.path.display_name(iface_(d)), icon=icon, ) props.app_template = d -- cgit v1.2.3