In
2e97450425e we've mistakenly removed gettext macro for
translating static strings. This results in table header being
printed in English regardless of user locale.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
/* print table header in legacy mode */
if (optTable) {
if (optTitle)
- table = vshTableNew("Id", "Name", "State", "Title", NULL);
+ table = vshTableNew(_("Id"), _("Name"), _("State"), _("Title"), NULL);
else
- table = vshTableNew("Id", "Name", "State", NULL);
+ table = vshTableNew(_("Id"), _("Name"), _("State"), NULL);
if (!table)
goto cleanup;