cfdisk: actually translate the table headers and the bottom line
The printout of the table headers and the bottomline descriptions were lacking calls to gettext(). Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
parent
e993b9c8e5
commit
b6e3c61464
1 changed files with 2 additions and 2 deletions
|
@ -334,7 +334,7 @@ static char *table_to_string(struct cfdisk *cf, struct fdisk_table *tb)
|
|||
fl |= SCOLS_FL_TREE;
|
||||
|
||||
if (!scols_table_new_column(table,
|
||||
fdisk_field_get_name(field),
|
||||
_(fdisk_field_get_name(field)),
|
||||
fdisk_field_get_width(field), fl))
|
||||
goto done;
|
||||
}
|
||||
|
@ -1009,7 +1009,7 @@ static void ui_draw_menuitem(struct cfdisk *cf,
|
|||
if (cf->menu->idx == idx) {
|
||||
standend();
|
||||
if (d->desc)
|
||||
ui_hint(d->desc);
|
||||
ui_hint(_(d->desc));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue