plug-ins: Xmp.plus.ImageSupplierName can only have one value
as used in metadata-editor: Change from MODE_MULTI to MODE_SINGLE.
This commit is contained in:
parent
c633091d54
commit
b97f96249a
2 changed files with 3 additions and 3 deletions
|
|
@ -556,7 +556,7 @@ static const me_widget_info iptc_extension_tab_data[] =
|
|||
{ 17, N_("Model Release Identifier"), ME_WIDGET_TREE_GRID, "Xmp.plus.ModelReleaseID",
|
||||
"add_model_rel_id_button", "rem_model_rel_id_button" },
|
||||
{ 18, "", ME_WIDGET_SEPARATOR, "" },
|
||||
{ 19, N_("Image Supplier Name"), ME_WIDGET_TEXT, "Xmp.plus.ImageSupplierName" },
|
||||
{ 19, N_("Image Supplier Name"), ME_WIDGET_ENTRY, "Xmp.plus.ImageSupplierName" },
|
||||
{ 20, N_("Image Supplier ID"), ME_WIDGET_ENTRY, "Xmp.plus.ImageSupplierID" },
|
||||
{ 21, N_("Supplier's Image ID"), ME_WIDGET_ENTRY, "Xmp.plus.ImageSupplierImageID" },
|
||||
{ 22, N_("Registry Entry"), ME_WIDGET_TREE_GRID, "Xmp.iptcExt.RegistryId",
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ const metadata_tag default_metadata_tags[] =
|
|||
{ "Xmp.plus.MinorModelAgeDisclosure", MODE_COMBO, -1, TAG_TYPE_XMP, GIMP_XMP_NONE }, // 45
|
||||
{ "Xmp.plus.ModelReleaseStatus", MODE_COMBO, -1, TAG_TYPE_XMP, GIMP_XMP_NONE }, // 46
|
||||
{ "Xmp.plus.ModelReleaseID", MODE_LIST, -1, TAG_TYPE_XMP, GIMP_XMP_NONE }, // 47
|
||||
{ "Xmp.plus.ImageSupplierName", MODE_MULTI, -1, TAG_TYPE_XMP, GIMP_XMP_TEXT }, // 48
|
||||
{ "Xmp.plus.ImageSupplierName", MODE_SINGLE, -1, TAG_TYPE_XMP, GIMP_XMP_TEXT }, // 48
|
||||
{ "Xmp.plus.ImageSupplierID", MODE_SINGLE, -1, TAG_TYPE_XMP, GIMP_XMP_TEXT }, // 49
|
||||
{ "Xmp.plus.ImageSupplierImageID", MODE_SINGLE, -1, TAG_TYPE_XMP, GIMP_XMP_TEXT }, // 50
|
||||
{ "Xmp.plus.ImageCreator", MODE_LIST, -1, TAG_TYPE_XMP, GIMP_XMP_NONE }, // 51
|
||||
|
|
@ -338,7 +338,7 @@ const gint n_locationCreationInfoTags = G_N_ELEMENTS (locationCreationInfoTags);
|
|||
|
||||
const TranslateTag imageSupplierInfoTags[] =
|
||||
{
|
||||
{ "Xmp.plus.ImageSupplierName", "Xmp.plus.ImageSupplier[1]/plus:ImageSupplierName", MODE_MULTI, -1, TAG_TYPE_XMP },
|
||||
{ "Xmp.plus.ImageSupplierName", "Xmp.plus.ImageSupplier[1]/plus:ImageSupplierName", MODE_SINGLE, -1, TAG_TYPE_XMP },
|
||||
{ "Xmp.plus.ImageSupplierID", "Xmp.plus.ImageSupplier[1]/plus:ImageSupplierID", MODE_SINGLE, -1, TAG_TYPE_XMP }
|
||||
};
|
||||
const gint n_imageSupplierInfoTags = G_N_ELEMENTS (imageSupplierInfoTags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue