File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11/* -----------------------------------------------------------------------
22 * formatting.c
33 *
4- * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.115 2006/11/24 22:25:56 momjian Exp $
4+ * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.116 2006/11/28 12:53:44 petere Exp $
55 *
66 *
77 * Portions Copyright (c) 1999-2006, PostgreSQL Global Development Group
@@ -163,7 +163,6 @@ struct FormatNode
163163
164164/* ----------
165165 * Full months
166- * This needs to be NLS-localized someday.
167166 * ----------
168167 */
169168static char * months_full [] = {
@@ -2928,7 +2927,13 @@ localize_month(int index)
29282927 m = _ ("Apr" );
29292928 break ;
29302929 case 4 :
2931- m = _ ("May" );
2930+ /*------
2931+ translator: Translate this as the abbreviation of "May".
2932+ In English, it is both the full month name and the
2933+ abbreviation, so this hack is needed to distinguish
2934+ them. The translation also needs to start with S:,
2935+ which will be stripped at run time. */
2936+ m = _ ("S:May" ) + 2 ;
29322937 break ;
29332938 case 5 :
29342939 m = _ ("Jun" );
You can’t perform that action at this time.
0 commit comments