diff options
-rw-r--r-- | core/subsurfacestartup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index 1210004cb..f234ac86f 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -114,8 +114,7 @@ struct units *get_units() /* random helper functions, used here or elsewhere */ const char *monthname(int mon) { - static const char month_array[12][7] = { - /*++GETTEXT: these are three letter months - we allow up to six code bytes*/ + static const char month_array[12][4] = { QT_TRANSLATE_NOOP("gettextFromC", "Jan"), QT_TRANSLATE_NOOP("gettextFromC", "Feb"), QT_TRANSLATE_NOOP("gettextFromC", "Mar"), QT_TRANSLATE_NOOP("gettextFromC", "Apr"), QT_TRANSLATE_NOOP("gettextFromC", "May"), QT_TRANSLATE_NOOP("gettextFromC", "Jun"), QT_TRANSLATE_NOOP("gettextFromC", "Jul"), QT_TRANSLATE_NOOP("gettextFromC", "Aug"), QT_TRANSLATE_NOOP("gettextFromC", "Sep"), QT_TRANSLATE_NOOP("gettextFromC", "Oct"), QT_TRANSLATE_NOOP("gettextFromC", "Nov"), QT_TRANSLATE_NOOP("gettextFromC", "Dec"), }; |