[Kst] extragear/graphics/kst/src/extdate

George Staikos staikos at kde.org
Fri Jun 2 14:14:19 CEST 2006


SVN commit 547512 by staikos:

fix build with older KDE installs


 M  +4 -0      kstextdatetime.cpp  


--- trunk/extragear/graphics/kst/src/extdate/kstextdatetime.cpp #547511:547512
@@ -46,6 +46,10 @@
 uint ExtDate::m_monthLength[] = {31, 28, 31, 30,  31,  30,  31,  31,  30,  31,  30,  31};
 uint ExtDate::m_monthOrigin[] = { 0, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334};
 
+#ifndef I18N_NOOP2
+#define I18N_NOOP2(x, y) I18N_NOOP(y)
+#endif
+
 const char* const ExtDate::m_shortMonthNames[12] = {
 	I18N_NOOP("Jan"), I18N_NOOP("Feb"), I18N_NOOP("Mar"), I18N_NOOP("Apr"), I18N_NOOP2("Short form may", "May"), I18N_NOOP("Jun"),
 	I18N_NOOP("Jul"), I18N_NOOP("Aug"), I18N_NOOP("Sep"), I18N_NOOP("Oct"), I18N_NOOP("Nov"), I18N_NOOP("Dec")


More information about the Kst mailing list