Core: Rename ID name and plural_name for annotations

This resolves a bug #143101 caused by 20383e4d82
`outliner_idcode_to_plural` fails to find correcty idtype with old
plural name. Fix this so it matches with `MainCollectionDef`.

Pull Request: https://projects.blender.org/blender/blender/pulls/143179
This commit is contained in:
Pratik Borhade
2025-07-30 11:41:44 +02:00
committed by Pratik Borhade
parent cf27df45f8
commit 3bfd4c83f6

View File

@@ -267,8 +267,8 @@ IDTypeInfo IDType_ID_GD_LEGACY = {
/*dependencies_id_types*/ FILTER_ID_MA,
/*main_listbase_index*/ INDEX_ID_GD_LEGACY,
/*struct_size*/ sizeof(bGPdata),
/*name*/ "GPencil",
/*name_plural*/ N_("grease_pencils"),
/*name*/ "Annotation",
/*name_plural*/ N_("annotations"),
/*translation_context*/ BLT_I18NCONTEXT_ID_GPENCIL,
/*flags*/ IDTYPE_FLAGS_APPEND_IS_REUSABLE,
/*asset_type_info*/ nullptr,