snprintf (buf, sizeof (buf), "%d", finfo->UniqueID);
info->unique_id = buf;
- info->category = finfo->Category;
+ if (finfo->isInstrument) {
+ info->category = X_("Instrument");
+ } else {
+ info->category = finfo->Category;
+ }
info->path = path;
info->creator = finfo->creator;
info->index = 0;
snprintf (buf, sizeof (buf), "%d", finfo->UniqueID);
info->unique_id = buf;
- info->category = finfo->Category;
+ if (finfo->isInstrument) {
+ info->category = X_("Instrument");
+ } else {
+ info->category = finfo->Category;
+ }
info->path = path;
info->creator = finfo->creator;
info->index = 0;
snprintf (buf, sizeof (buf), "%d", finfo->UniqueID);
info->unique_id = buf;
- info->category = finfo->Category;
+ if (finfo->isInstrument) {
+ info->category = X_("Instrument");
+ } else {
+ info->category = finfo->Category;
+ }
info->path = path;
info->creator = finfo->creator;
info->index = 0;