Changeset 1665

Show
Ignore:
Timestamp:
08/06/04 15:45:51 (20 years ago)
Author:
jalet
Message:

Fixed french translation problem.
Fixed problem with group quotas and strict enforcement.

Location:
pykota/trunk
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r1664 r1665  
    2222PyKota NEWS : 
    2323 
     24    - 1.20alpha1 :  
     25     
     26        - Fixed problem on first print for user group quota when 
     27          "enforcement: strict" is used. 
     28         
     29        - Fixed interpolation problem in french translation. 
     30         
    2431    - 1.19 : 
    2532     
  • pykota/trunk/po/fr/pykota.po

    r1646 r1665  
    366366#, python-format 
    367367msgid "Software accounter %s exit code is %s" 
    368 msgstr "Le code de sortie du compteur software est %s" 
     368msgstr "Le code de sortie du compteur software %s est %s" 
    369369 
    370370#, python-format 
  • pykota/trunk/pykota/accounters/software.py

    r1584 r1665  
    2222# 
    2323# $Log$ 
     24# Revision 1.7  2004/08/06 13:45:51  jalet 
     25# Fixed french translation problem. 
     26# Fixed problem with group quotas and strict enforcement. 
     27# 
    2428# Revision 1.6  2004/07/01 19:56:43  jalet 
    2529# Better dispatching of error messages 
     
    8690            else :     
    8791                status = retcode 
    88             self.filter.printInfo(_("Software accounter %s exit code is %s") % (self.arguments, repr(retcode))) 
     92            self.filter.printInfo(_("Software accounter %s exit code is %s") % (self.arguments, str(status))) 
    8993        self.filter.logdebug("Software accounter %s said job is %s pages long." % (self.arguments, pagecount)) 
    9094        return pagecount     
  • pykota/trunk/pykota/tool.py

    r1637 r1665  
    2222# 
    2323# $Log$ 
     24# Revision 1.117  2004/08/06 13:45:51  jalet 
     25# Fixed french translation problem. 
     26# Fixed problem with group quotas and strict enforcement. 
     27# 
    2428# Revision 1.116  2004/07/24 20:20:29  jalet 
    2529# Unitialized variable 
     
    716720                action = "WARN" # we can still print until account is 0 
    717721        else : 
    718             val = grouppquota.PageCounter 
     722            val = grouppquota.PageCounter or 0 
    719723            if enforcement == "STRICT" : 
    720724                val += self.softwareJobSize 
  • pykota/trunk/pykota/version.py

    r1664 r1665  
    2222# 
    2323 
    24 __version__ = "1.19_unofficial" 
     24__version__ = "1.20alpha1_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""