While checking the current german tanslations I noticed that mep_validate_vliw passes the syntax description directly to inform and thus they appear in the message catalogue which is IMO bogus. This patch makes the syntax descriptions untanslkatable.
OK to check in? 2011-05-04 Philipp Thomas <p...@suse.de> * config/mep/mep.c (mep_validate_vliw): Syntax description should not be translated. Index: config/mep/mep.c =================================================================== --- config/mep/mep.c (Revision 173334) +++ config/mep/mep.c (Arbeitskopie) @@ -4122,16 +4122,16 @@ if (TREE_CODE (*node) == POINTER_TYPE && !gave_pointer_note) { - inform (input_location, "to describe a pointer to a VLIW function, use syntax like this:"); - inform (input_location, " typedef int (__vliw *vfuncptr) ();"); + inform (input_location, "to describe a pointer to a VLIW function, use syntax like this: %s", + " typedef int (__vliw *vfuncptr) ();"); gave_pointer_note = 1; } if (TREE_CODE (*node) == ARRAY_TYPE && !gave_array_note) { - inform (input_location, "to describe an array of VLIW function pointers, use syntax like this:"); - inform (input_location, " typedef int (__vliw *vfuncptr[]) ();"); + inform (input_location, "to describe an array of VLIW function pointers, use syntax like this: %s", + " typedef int (__vliw *vfuncptr[]) ();"); gave_array_note = 1; } }