Page MenuHome

I18n: translate datablock group names when linking datablocks
Changes PlannedPublic

Authored by Damien Picard (pioverfour) on Sep 17 2022, 8:49 PM.

Details

Summary

When browsing for assets to link or append, it makes sense that
they're translated if that is what one is used to in the interface.


I've got two issues with this patch:

  • I'm not sure whether those should be IFACE_ or TIP_; when following a tutorial, one may want to see the same names, but they also are definitely part of the interface.
  • The names use the MainCollectionDef->type values, which never get extracted for some types (FreeStyleLineStyle, WorkSpace). Should these simply be extracted through N_tags in RNA_def_main(), or automatically in the RNA dumping function?...

Diff Detail

Event Timeline

Damien Picard (pioverfour) requested review of this revision.Sep 17 2022, 8:49 PM
Damien Picard (pioverfour) created this revision.
Damien Picard (pioverfour) planned changes to this revision.Oct 10 2022, 2:31 PM

I don’t think what I want to achieve is easy to do right now: I couldn’t find a way to know whether a “file” entry is an actual file system directory, or a fake directory inside a .blend file.