Skip to content

Commit

Permalink
Make the date help string translatable
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23608 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
jralls committed Dec 24, 2013
1 parent e20d5c8 commit a098695
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/business/business-ledger/gncEntryLedgerModel.c
Expand Up @@ -591,7 +591,7 @@ static char * get_date_help (VirtualLocation virt_loc, gpointer user_data)
gnc_date_cell_get_date ((DateCell *) cell, &ts);
tt = ts.tv_sec;
gnc_localtime_r (&tt, &tm);
qof_strftime (string, sizeof(string), "%A %d %B %Y", &tm);
qof_strftime (string, sizeof(string), _("%A %d %B %Y"), &tm);

return g_strdup (string);
}
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-utils/gnc-tree-util-split-reg.c
Expand Up @@ -457,7 +457,7 @@ gnc_tree_util_split_reg_get_date_help (GDate *date)
struct tm tm;
memset (&tm, 0, sizeof (tm));
g_date_to_struct_tm (date, &tm);
qof_strftime (string, sizeof (string), "%A %d %B %Y", &tm);
qof_strftime (string, sizeof (string), _("%A %d %B %Y"), &tm);
return g_strdup (string);
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/register/ledger-core/split-register-model.c
Expand Up @@ -919,7 +919,7 @@ gnc_split_register_get_date_help (VirtualLocation virt_loc,

gnc_localtime_r (&tt, &tm);

qof_strftime (string, sizeof (string), "%A %d %B %Y", &tm);
qof_strftime (string, sizeof (string), _("%A %d %B %Y"), &tm);

return g_strdup (string);
}
Expand Down

0 comments on commit a098695

Please sign in to comment.