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:
John Ralls 2013-12-24 15:05:00 +00:00
parent e20d5c8d1c
commit a098695219
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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

View File

@ -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);
}