Hello,

I have been working on the pt_BR translation and found something I didn't
understand:  in the right panel in lighttable view there is the metadata
editor. When it is exapnded, I see six fields:

title
description
creator
publisher
rights
notes

I have translated all these, except for the last "notes", because it does 
not show up in the .po file! It doesn't seem to show up in the fr.po and
it.po either. It seems to be in src/common/metadata.c on line 50,

static const struct
{
  char *key;
  char *name;
  int type;
  uint32_t display_order;
} dt_metadata_def[] = {
  // clang-format off
  {"Xmp.dc.creator", N_("creator"), DT_METADATA_TYPE_USER, 2},
  {"Xmp.dc.publisher", N_("publisher"), DT_METADATA_TYPE_USER, 3},
  {"Xmp.dc.title", N_("title"), DT_METADATA_TYPE_USER, 0},
  {"Xmp.dc.description", N_("description"), DT_METADATA_TYPE_USER, 1},
  {"Xmp.dc.rights", N_("rights"), DT_METADATA_TYPE_USER, 4},
  {"Xmp.acdsee.notes", N_("notes"), DT_METADATA_TYPE_USER, 5}    //// <== here!
  // clang-format on
};

along with the other fields, which do show up in the .po files!

I have ran intltool-update pt_BR, and I see that other strings are updated
when there is an upstream update.

Did I miss something?

Thanks!
J.

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to