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

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

public class TranslationRequiredIssue
extends L10nIssue

Translation is required. This issue represents a key that has been marked in the reference file as required to be translated (i.e. #+TRANS but the translation is either missing in the localisation file or the translation is there but the value has not been translated:

Examples:


Field Summary
 
Fields inherited from class org.tigris.scarab.util.build.l10nchecker.L10nIssue
MESSAGE_ERROR, MESSAGE_IGNORE, MESSAGE_INFO, MESSAGE_WARNING
 
Constructor Summary
TranslationRequiredIssue(java.lang.String key)
          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

TranslationRequiredIssue

public TranslationRequiredIssue(java.lang.String key)
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.