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 1
1
/* -----------------------------------------------------------------------
2
2
* formatting.c
3
3
*
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 $
5
5
*
6
6
*
7
7
* Portions Copyright (c) 1999-2006, PostgreSQL Global Development Group
@@ -163,7 +163,6 @@ struct FormatNode
163
163
164
164
/* ----------
165
165
* Full months
166
- * This needs to be NLS-localized someday.
167
166
* ----------
168
167
*/
169
168
static char * months_full [] = {
@@ -2928,7 +2927,13 @@ localize_month(int index)
2928
2927
m = _ ("Apr" );
2929
2928
break ;
2930
2929
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 ;
2932
2937
break ;
2933
2938
case 5 :
2934
2939
m = _ ("Jun" );
You can’t perform that action at this time.
0 commit comments