Changeset 1796 for pykota/trunk

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

Renders help translatable

Location:
pykota/trunk/bin
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/autopykota

    r1780 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.4  2004/10/11 12:49:05  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.3  2004/10/06 07:51:07  jalet 
    2730# Now autopykota uses 0.0 as the default value for initial account balance 
     
    4245 
    4346from pykota import version 
    44 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     47from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    4548 
    46 __doc__ = """autopykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     49__doc__ = N_("""autopykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    4750A tool to automate user account creation and initial balance setting. 
    4851 
     
    7982Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    8083 
    81 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     84Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    8285 
    8386class AutoPyKota(PyKotaTool) : 
  • pykota/trunk/bin/dumpykota

    r1790 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.13  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.12  2004/10/07 21:14:28  jalet 
    2730# Hopefully final fix for data encoding to and from the database 
     
    8285 
    8386from pykota import version 
    84 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     87from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    8588from pykota.config import PyKotaConfigError 
    8689from pykota.storage import PyKotaStorageError 
    8790 
    88 __doc__ = """dumpykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     91__doc__ = N_("""dumpykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    8992 
    9093Dumps PyKota database's content. 
     
    154157Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    155158 
    156 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     159Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    157160         
    158161class DumPyKota(PyKotaTool) :         
  • pykota/trunk/bin/edpykota

    r1789 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.79  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.78  2004/10/07 14:35:40  jalet 
    2730# Now edpykota refuses to launch if the user is not a PyKota administrator. 
     
    280283 
    281284from pykota import version 
    282 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     285from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    283286from pykota.config import PyKotaConfigError 
    284287from pykota.storage import PyKotaStorageError 
    285288 
    286 __doc__ = """edpykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     289__doc__ = N_("""edpykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    287290A Print Quota editor for PyKota. 
    288291 
     
    456459Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    457460 
    458 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     461Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    459462         
    460463class EdPyKota(PyKotaTool) :         
  • pykota/trunk/bin/pkhint

    r1740 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.18  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.17  2004/09/23 19:29:36  jalet 
    2730# If SNMP accounting is possible, pkhint now suggests to use the internal 
     
    8891 
    8992from pykota import version 
    90 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     93from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    9194from pykota.config import PyKotaConfigError 
    9295from pykota.storage import PyKotaStorageError 
     
    98101    hasSNMP = 1 
    99102 
    100 __doc__ = """pkhint v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     103__doc__ = N_("""pkhint v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    101104A tool to give hints on what accounting method is best for each printer. 
    102105 
     
    135138Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    136139 
    137 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     140Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    138141         
    139142SNMPTESTS = [ \ 
  • pykota/trunk/bin/pkprinters

    r1605 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.15  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.14  2004/07/19 22:37:13  jalet 
    2730# pykosd is now a very good tool 
     
    7578 
    7679from pykota import version 
    77 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
    78  
    79 __doc__ = """pkprinters v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     80from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
     81 
     82__doc__ = N_("""pkprinters v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    8083A Printers Manager for PyKota. 
    8184 
     
    169172Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    170173 
    171 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     174Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    172175         
    173176class PKPrinters(PyKotaTool) :         
  • pykota/trunk/bin/pykosd

    r1785 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.9  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.8  2004/10/06 10:05:47  jalet 
    2730# Minor changes to allow any PyKota administrator to launch enhanced versions 
     
    6467 
    6568from pykota import version 
    66 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
    67  
    68 __doc__ = """pykosd v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     69from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
     70 
     71__doc__ = N_("""pykosd v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    6972An OSD quota monitor for PyKota. 
    7073 
     
    117120Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    118121 
    119 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     122Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    120123 
    121124 
  • pykota/trunk/bin/pykotme

    r1785 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.15  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.14  2004/10/06 10:05:47  jalet 
    2730# Minor changes to allow any PyKota administrator to launch enhanced versions 
     
    8285 
    8386from pykota import version 
    84 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     87from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    8588from pykota.config import PyKotaConfigError 
    8689from pykota.storage import PyKotaStorageError 
    8790from pykota.pdlanalyzer import PDLAnalyzer, PDLAnalyzerError 
    8891 
    89 __doc__ = """pykotme v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     92__doc__ = N_("""pykotme v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    9093 
    9194Gives print quotes to users. 
     
    128131  would cost on each printer. 
    129132 
    130  
    131133This program is free software; you can redistribute it and/or modify 
    132134it under the terms of the GNU General Public License as published by 
     
    143145Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    144146 
    145 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     147Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    146148         
    147149         
  • pykota/trunk/bin/repykota

    r1785 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.51  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.50  2004/10/06 10:05:47  jalet 
    2730# Minor changes to allow any PyKota administrator to launch enhanced versions 
     
    196199 
    197200from pykota import version 
    198 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     201from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    199202from pykota.config import PyKotaConfigError 
    200203from pykota.storage import PyKotaStorageError 
     
    202205from pykota import reporter 
    203206 
    204 __doc__ = """repykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     207__doc__ = N_("""repykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    205208 
    206209Generates print quota reports. 
     
    261264Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    262265 
    263 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     266Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    264267         
    265268class RePyKota(PyKotaTool) :         
  • pykota/trunk/bin/warnpykota

    r1785 r1796  
    2424# 
    2525# $Log$ 
     26# Revision 1.31  2004/10/11 12:49:06  jalet 
     27# Renders help translatable 
     28# 
    2629# Revision 1.30  2004/10/06 10:05:47  jalet 
    2730# Minor changes to allow any PyKota administrator to launch enhanced versions 
     
    128131 
    129132from pykota import version 
    130 from pykota.tool import PyKotaTool, PyKotaToolError, crashed 
     133from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 
    131134from pykota.config import PyKotaConfigError 
    132135from pykota.storage import PyKotaStorageError 
    133136 
    134 __doc__ = """warnpykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
     137__doc__ = N_("""warnpykota v%s (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 
    135138 
    136139Sends mail to users over print quota. 
     
    193196Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
    194197 
    195 Please e-mail bugs to: %s""" % (version.__version__, version.__author__) 
     198Please e-mail bugs to: %s""") % (version.__version__, version.__author__) 
    196199         
    197200class WarnPyKota(PyKotaTool) :