You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by zo...@apache.org on 2003/04/11 01:08:41 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/res XSLTErrorResources.java

zongaro     2003/04/10 16:08:41

  Modified:    java/src/org/apache/xalan/res XSLTErrorResources.java
  Log:
  Added comments before a couple of messages to assist translators, and fixed a typo in the class name mentioned in a message.
  
  Revision  Changes    Path
  1.38      +16 -3     xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.java
  
  Index: XSLTErrorResources.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- XSLTErrorResources.java	25 Mar 2003 19:45:16 -0000	1.37
  +++ XSLTErrorResources.java	10 Apr 2003 23:08:41 -0000	1.38
  @@ -1940,16 +1940,29 @@
        "ErrorListener"},
   
   
  +// Note to translators:  The following message should not normally be displayed
  +//   to users.  It describes a situation in which the processor has detected
  +//   an internal consistency problem in itself, and it provides this message
  +//   for the developer to help diagnose the problem.  The name
  +//   'ElemTemplateElement' is the name of a class, and should not be
  +//   translated.
   // Programmer's error! expr has no ElemTemplateElement parent!
   //  public static final int ER_ASSERT_NO_TEMPLATE_PARENT = 233;
       { ER_ASSERT_NO_TEMPLATE_PARENT,
  -     "Programmer's error! expr has no ElemTemplateElement parent!"},
  +     "Programmer's error! The expression has no ElemTemplateElement parent!"},
   
   
  -// Programmer''s assertion in RundundentExprEliminator: {0}
  +// Note to translators:  The following message should not normally be displayed
  +//   to users.  It describes a situation in which the processor has detected
  +//   an internal consistency problem in itself, and it provides this message
  +//   for the developer to help diagnose the problem.  The substitution text
  +//   provides further information in order to diagnose the problem.  The name
  +//   'RedundentExprEliminator' is the name of a class, and should not be
  +//   translated.
  +// Programmer''s assertion in RedundentExprEliminator: {0}
   //  public static final int ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR = 234;
       { ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
  -     "Programmer''s assertion in RundundentExprEliminator: {0}"},
  +     "Programmer''s assertion in RedundentExprEliminator: {0}"},
   
   // Axis traverser not supported: {0}
   //  public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org