r23608 - gnucash/trunk/src - Make the date help string translatable
John Ralls
jralls at code.gnucash.org
Tue Dec 24 10:05:00 EST 2013
Author: jralls
Date: 2013-12-24 10:05:00 -0500 (Tue, 24 Dec 2013)
New Revision: 23608
Trac: http://svn.gnucash.org/trac/changeset/23608
Modified:
gnucash/trunk/src/business/business-ledger/gncEntryLedgerModel.c
gnucash/trunk/src/gnome-utils/gnc-tree-util-split-reg.c
gnucash/trunk/src/register/ledger-core/split-register-model.c
Log:
Make the date help string translatable
Modified: gnucash/trunk/src/business/business-ledger/gncEntryLedgerModel.c
===================================================================
--- gnucash/trunk/src/business/business-ledger/gncEntryLedgerModel.c 2013-12-23 23:52:00 UTC (rev 23607)
+++ gnucash/trunk/src/business/business-ledger/gncEntryLedgerModel.c 2013-12-24 15:05:00 UTC (rev 23608)
@@ -591,7 +591,7 @@
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);
}
Modified: gnucash/trunk/src/gnome-utils/gnc-tree-util-split-reg.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-util-split-reg.c 2013-12-23 23:52:00 UTC (rev 23607)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-util-split-reg.c 2013-12-24 15:05:00 UTC (rev 23608)
@@ -457,7 +457,7 @@
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
Modified: gnucash/trunk/src/register/ledger-core/split-register-model.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-model.c 2013-12-23 23:52:00 UTC (rev 23607)
+++ gnucash/trunk/src/register/ledger-core/split-register-model.c 2013-12-24 15:05:00 UTC (rev 23608)
@@ -919,7 +919,7 @@
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);
}
More information about the gnucash-changes
mailing list