Changeset 2627 for pykota/trunk

Show
Ignore:
Timestamp:
01/19/06 16:47:25 (19 years ago)
Author:
jerome
Message:

Now pkbanner handles new print (un-)limiting modes correctly.

Location:
pykota/trunk
Files:
17 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkbanner

    r2622 r2627  
    209209        if limitby == "balance" :   
    210210            ypos -= self.printVar(c, xcenter, ypos, _("Account balance"), self.getVar("PYKOTABALANCE"), 14, savetoner)  
    211         else : 
     211        elif limitby == "quota" : 
    212212            ypos -= self.printVar(c, xcenter, ypos, _("Soft Limit"), self.getVar("PYKOTASOFTLIMIT"), 14, savetoner)  
    213213            ypos -= self.printVar(c, xcenter, ypos, _("Hard Limit"), self.getVar("PYKOTAHARDLIMIT"), 14, savetoner)  
    214214            ypos -= self.printVar(c, xcenter, ypos, _("Date Limit"), self.getVar("PYKOTADATELIMIT"), 14, savetoner)  
     215        else : 
     216            if limitby == "noquota" : 
     217                msg = _("No Limit") 
     218            elif limitby == "nochange" :     
     219                msg = _("No Accounting") 
     220            elif limitby == "noprint" :     
     221                msg = _("Forbidden") 
     222            else :     
     223                msg = _("Unknown") 
     224            ypos -= self.printVar(c, xcenter, ypos, _("Printing Mode"), msg, 14, savetoner) 
    215225             
    216226        # URL 
  • pykota/trunk/NEWS

    r2624 r2627  
    2424    - 1.24alpha7 : 
    2525      
     26        - pkbanner now handles new print limiting modes correctly. 
     27         
    2628        - The cupspykota backend wrapper now accepts to be interrupted 
    2729          with a kill -INT. This causes an immediate and clean abort 
  • pykota/trunk/po/de/pykota.po

    r2554 r2627  
    20462046 
    20472047msgid "Printing not limited, no accounting." 
     2048msgstr "" 
     2049 
     2050msgid "No Accounting" 
     2051msgstr "" 
     2052 
     2053msgid "No Limit" 
     2054msgstr "" 
     2055 
     2056msgid "Forbidden" 
     2057msgstr "" 
     2058 
     2059msgid "Printing Mode" 
    20482060msgstr "" 
    20492061 
  • pykota/trunk/po/el_GR/pykota.po

    r2554 r2627  
    20372037msgstr "" 
    20382038 
     2039msgid "No Accounting" 
     2040msgstr "" 
     2041 
     2042msgid "No Limit" 
     2043msgstr "" 
     2044 
     2045msgid "Forbidden" 
     2046msgstr "" 
     2047 
     2048msgid "Printing Mode" 
     2049msgstr "" 
     2050 
    20392051#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20402052#~ msgstr "" 
  • pykota/trunk/po/es/pykota.po

    r2554 r2627  
    20812081 
    20822082msgid "Printing not limited, no accounting." 
     2083msgstr "" 
     2084 
     2085msgid "No Accounting" 
     2086msgstr "" 
     2087 
     2088msgid "No Limit" 
     2089msgstr "" 
     2090 
     2091msgid "Forbidden" 
     2092msgstr "" 
     2093 
     2094msgid "Printing Mode" 
    20832095msgstr "" 
    20842096 
  • pykota/trunk/po/fr/pykota.po

    r2554 r2627  
    29712971msgid "Printing not limited, no accounting." 
    29722972msgstr "Impression illimit� aucun d�mpte." 
     2973 
     2974msgid "No Accounting" 
     2975msgstr "Aucun D�mpte" 
     2976 
     2977msgid "No Limit" 
     2978msgstr "Aucune Limite" 
     2979 
     2980msgid "Forbidden" 
     2981msgstr "Interdit" 
     2982 
     2983msgid "Printing Mode" 
     2984msgstr "Mode d'Impression" 
  • pykota/trunk/po/it/pykota.po

    r2554 r2627  
    20482048msgstr "" 
    20492049 
     2050msgid "No Accounting" 
     2051msgstr "" 
     2052 
     2053msgid "No Limit" 
     2054msgstr "" 
     2055 
     2056msgid "Forbidden" 
     2057msgstr "" 
     2058 
     2059msgid "Printing Mode" 
     2060msgstr "" 
     2061 
    20502062#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20512063#~ msgstr "Numero file %s rimosso due volte dall'oggetto polling, ignorato." 
  • pykota/trunk/po/nb_NO/pykota.po

    r2554 r2627  
    20412041msgstr "" 
    20422042 
     2043msgid "No Accounting" 
     2044msgstr "" 
     2045 
     2046msgid "No Limit" 
     2047msgstr "" 
     2048 
     2049msgid "Forbidden" 
     2050msgstr "" 
     2051 
     2052msgid "Printing Mode" 
     2053msgstr "" 
     2054 
    20432055#~ msgid "Job is a duplicate. Printing is denied." 
    20442056#~ msgstr "Utskriften er en duplikat. Utskriften blir ikke skrevet." 
  • pykota/trunk/po/pl/pykota.po

    r2554 r2627  
    30503050msgid "Printing not limited, no accounting." 
    30513051msgstr "" 
     3052 
     3053msgid "No Accounting" 
     3054msgstr "" 
     3055 
     3056msgid "No Limit" 
     3057msgstr "" 
     3058 
     3059msgid "Forbidden" 
     3060msgstr "" 
     3061 
     3062msgid "Printing Mode" 
     3063msgstr "" 
  • pykota/trunk/po/pt_BR/pykota.po

    r2554 r2627  
    20352035msgstr "" 
    20362036 
     2037msgid "No Accounting" 
     2038msgstr "" 
     2039 
     2040msgid "No Limit" 
     2041msgstr "" 
     2042 
     2043msgid "Forbidden" 
     2044msgstr "" 
     2045 
     2046msgid "Printing Mode" 
     2047msgstr "" 
     2048 
    20372049#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20382050#~ msgstr "" 
  • pykota/trunk/po/pt/pykota.po

    r2554 r2627  
    20432043msgstr "" 
    20442044 
     2045msgid "No Accounting" 
     2046msgstr "" 
     2047 
     2048msgid "No Limit" 
     2049msgstr "" 
     2050 
     2051msgid "Forbidden" 
     2052msgstr "" 
     2053 
     2054msgid "Printing Mode" 
     2055msgstr "" 
     2056 
    20452057#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20462058#~ msgstr "" 
  • pykota/trunk/po/pykota.pot

    r2554 r2627  
    19901990msgid "Printing not limited, no accounting." 
    19911991msgstr "" 
     1992 
     1993msgid "No Accounting" 
     1994msgstr "" 
     1995 
     1996msgid "No Limit" 
     1997msgstr "" 
     1998 
     1999msgid "Forbidden" 
     2000msgstr "" 
     2001 
     2002msgid "Printing Mode" 
     2003msgstr "" 
     2004 
  • pykota/trunk/po/sv_SE/pykota.po

    r2554 r2627  
    20542054msgstr "" 
    20552055 
     2056msgid "No Accounting" 
     2057msgstr "" 
     2058 
     2059msgid "No Limit" 
     2060msgstr "" 
     2061 
     2062msgid "Forbidden" 
     2063msgstr "" 
     2064 
     2065msgid "Printing Mode" 
     2066msgstr "" 
     2067 
    20562068#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20572069#~ msgstr "" 
  • pykota/trunk/po/th/pykota.po

    r2554 r2627  
    20152015msgstr "" 
    20162016 
     2017msgid "No Accounting" 
     2018msgstr "" 
     2019 
     2020msgid "No Limit" 
     2021msgstr "" 
     2022 
     2023msgid "Forbidden" 
     2024msgstr "" 
     2025 
     2026msgid "Printing Mode" 
     2027msgstr "" 
     2028 
    20172029#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20182030#~ msgstr "������� %s ������ŧ����� 2 ��駨ҡ������� ,��� 
  • pykota/trunk/po/tr/pykota.po

    r2554 r2627  
    20542054msgstr "" 
    20552055 
     2056msgid "No Accounting" 
     2057msgstr "" 
     2058 
     2059msgid "No Limit" 
     2060msgstr "" 
     2061 
     2062msgid "Forbidden" 
     2063msgstr "" 
     2064 
     2065msgid "Printing Mode" 
     2066msgstr "" 
     2067 
    20562068#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20572069#~ msgstr "%s dosya numarası yoklama nesnesinde kayıtlı değil, yok sayılıyor." 
  • pykota/trunk/po/zh_TW/pykota.po

    r2554 r2627  
    20092009msgstr "" 
    20102010 
     2011msgid "No Accounting" 
     2012msgstr "" 
     2013 
     2014msgid "No Limit" 
     2015msgstr "" 
     2016 
     2017msgid "Forbidden" 
     2018msgstr "" 
     2019 
     2020msgid "Printing Mode" 
     2021msgstr "" 
     2022 
    20112023#~ msgid "File number %s unregistered twice from polling object, ignored." 
    20122024#~ msgstr "檔案編號 %s 在polling object上已兩次未能成功註冊,因此被忽略"