Changeset 1795 for pykota/trunk

Show
Ignore:
Timestamp:
10/11/04 14:48:38 (20 years ago)
Author:
jalet
Message:

Adds fake translation marker

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r1776 r1795  
    2222# 
    2323# $Log$ 
     24# Revision 1.127  2004/10/11 12:48:38  jalet 
     25# Adds fake translation marker 
     26# 
    2427# Revision 1.126  2004/10/05 09:41:13  jalet 
    2528# Small fix for errors caused by unknown locale 
     
    480483 
    481484from pykota import version, config, storage, logger, accounter, pdlanalyzer 
     485 
     486def N_(message) : 
     487    """Fake translation marker for translatable strings extraction.""" 
     488    return message 
    482489 
    483490class PyKotaToolError(Exception): 
     
    575582        """Displays command line usage, then exists successfully.""" 
    576583        self.clean() 
    577         print self.documentation 
     584        print _(self.documentation) 
    578585        sys.exit(0) 
    579586