I18n: Translate the name of newly-created collections

This commit is contained in:
Damien Picard
2025-09-23 16:16:25 +02:00
committed by Bastien Montagne
parent c6f3936c0a
commit 13135a6bfa

View File

@@ -446,8 +446,7 @@ void COLLECTION_OT_create(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
RNA_def_string(
ot->srna, "name", "Collection", MAX_ID_NAME - 2, "Name", "Name of the new collection");
RNA_def_string(ot->srna, "name", nullptr, MAX_ID_NAME - 2, "Name", "Name of the new collection");
}
static bool collection_exporter_common_check(const Collection *collection)