Get divelist headers localized, too
This fixes an oversight in commit 881a2df83616 ("Conversion to gettext to
allow localization") - string literals that are marked with N_ need to be
converted when the corresponding variables are used at runtime. This was
missed for the divelist headers.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f5de37dbcf
commit
d4a3ecedb0
@ -1273,7 +1273,7 @@ static struct divelist_column {
|
||||
static GtkTreeViewColumn *divelist_column(struct DiveList *dl, struct divelist_column *col)
|
||||
{
|
||||
int index = col - &dl_column[0];
|
||||
const char *title = col->header;
|
||||
const char *title = _(col->header);
|
||||
data_func_t data_func = col->data;
|
||||
sort_func_t sort_func = col->sort;
|
||||
unsigned int flags = col->flags;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user