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
This commit is contained in:
@@ -56,6 +56,8 @@
|
||||
|
||||
#include "BLO_readfile.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "versioning_common.h"
|
||||
|
||||
/* Make preferences read-only, use versioning_userdef.c. */
|
||||
@@ -65,7 +67,7 @@ static bool blo_is_builtin_template(const char *app_template)
|
||||
{
|
||||
/* For all builtin templates shipped with Blender. */
|
||||
return (!app_template ||
|
||||
STR_ELEM(app_template, "2D_Animation", "Sculpting", "VFX", "Video_Editing"));
|
||||
STR_ELEM(app_template, N_("2D_Animation"), N_("Sculpting"), N_("VFX"), N_("Video_Editing")));
|
||||
}
|
||||
|
||||
static void blo_update_defaults_screen(bScreen *screen,
|
||||
|
||||
Reference in New Issue
Block a user