printNVA(pool_item.resolvable());
Product::constPtr product = asKind<Product>(pool_item.resolvable());
- cout << _("Category") << ": " << product->type() << endl;
- cout << _("Flavor") << ": " << product->flavor() << endl;
- cout << _("Installed") << ": " << (pool_item.status().isInstalled() ? "Yes" : "No") << endl;
- cout << _("Short Name") << ": " << product->shortName() << endl;
+ cout << _("Is Base") << ": "
+ << (product->isTargetDistribution() ? _("Yes") : _("No")) << endl;
+ cout << _("Flavor") << ": "
+ << product->flavor() << endl;
+ cout << _("Installed") << ": "
+ << (pool_item.status().isInstalled() ? _("Yes") : _("No")) << endl;
+ cout << _("Short Name")
+ << ": " << product->shortName() << endl;
printSummaryDesc(pool_item.resolvable());
}
}
th << _("Name");
th << _("Version");
if (zypper.globalOpts().is_rug_compatible)
- // translators: product category (the rug term)
+ // translators: product category (base/addon), the rug term
th << _("Category");
else
- // translators: product type (addon/base) (rug calls it Category)
- th << _("Type");
+ th << _("Is Base");
tbl << th;
bool installed_only = zypper.cOpts().count("installed-only");
tr << "";
}
tr << product->name () << product->edition().asString();
- tr << product->type();
+ if (zypper.globalOpts().is_rug_compatible)
+ tr << (product->isTargetDistribution() ? "base" : "");
+ else
+ tr << (product->isTargetDistribution() ? _("Yes") : _("No"));
tbl << tr;
}
tbl.sort(1); // Name