From 214f4aa9469eb27264699b2564d8e41108290de4 Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Tue, 7 Oct 2025 13:37:19 +0200 Subject: [PATCH] I18n: Translate "Storyboarding" file template File template names are only extracted in the `blo_is_builtin_template()` versioning function, not the template files themselves. This commit adds the recent "Storyboarding" template to the list of built-in templates, which allows extracting it for translation. Reported by Ye Gui in #43295. --- source/blender/blenloader/intern/versioning_defaults.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/blender/blenloader/intern/versioning_defaults.cc b/source/blender/blenloader/intern/versioning_defaults.cc index c139b3632ea..18cd6984e8f 100644 --- a/source/blender/blenloader/intern/versioning_defaults.cc +++ b/source/blender/blenloader/intern/versioning_defaults.cc @@ -77,9 +77,12 @@ static bool blo_is_builtin_template(const char *app_template) { /* For all builtin templates shipped with Blender. */ - return ( - !app_template || - STR_ELEM(app_template, N_("2D_Animation"), N_("Sculpting"), N_("VFX"), N_("Video_Editing"))); + return (!app_template || STR_ELEM(app_template, + N_("2D_Animation"), + N_("Storyboarding"), + N_("Sculpting"), + N_("VFX"), + N_("Video_Editing"))); } static void blo_update_defaults_screen(bScreen *screen,