mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Make the date help string translatable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23608 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e20d5c8d1c
commit
a098695219
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user