org.tigris.scarab.util.build.l10nchecker.issues
Class TranslatedTwiceIssue

java.lang.Object
  extended byorg.tigris.scarab.util.build.l10nchecker.L10nIssue
      extended byorg.tigris.scarab.util.build.l10nchecker.issues.TranslatedTwiceIssue

public class TranslatedTwiceIssue
extends L10nIssue

The key described here is defined twice (or more) with different descriptions in the localisation file.

Example:

  a=b
  ...
  a=c


Field Summary
 
Fields inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
MESSAGE_ERROR, MESSAGE_IGNORE, MESSAGE_INFO, MESSAGE_WARNING
 
Constructor Summary
TranslatedTwiceIssue(java.lang.String key, int originalLine)
          Construct this issue
 
Method Summary
 java.lang.String getMessageTemplate()
          Return the message template that is used to display the error text.
 java.lang.Object[] getParameters()
          Get the parameters for a message
 
Methods inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
formatMessage, getMessageType, isError, isInfo, isWarning, setMessageType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatedTwiceIssue

public TranslatedTwiceIssue(java.lang.String key,
                            int originalLine)
Construct this issue

Method Detail

getMessageTemplate

public java.lang.String getMessageTemplate()
Description copied from class: L10nIssue
Return the message template that is used to display the error text.

Specified by:
getMessageTemplate in class L10nIssue
Returns:
Returns the messageTemplate.

getParameters

public java.lang.Object[] getParameters()
Description copied from class: L10nIssue
Get the parameters for a message

Specified by:
getParameters in class L10nIssue
Returns:
the parameters. The parameters have to be an array representing objects.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.