Project

General

Profile

Revision 9a31cbd1

ID9a31cbd12f0ca738c468c0af6d39a8c2f3ac1636
Parent 222bbb37
Child 5b2869b1

Added by Francois POIROTTE about 14 years ago

Diverses améliorations/corrections dans VigiGraph.
Les points restants à traiter sont indiqués par des "@TODO" ou "@XXX" dans le code.

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@2782 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigigraph/lib/graphs.py
5 5

  
6 6
import urllib
7 7
import urllib2
8
from pylons.i18n import lazy_ugettext as l_
8
from pylons.i18n import ugettext as _
9 9

  
10 10
from time import gmtime, strftime
11 11
from datetime import datetime
......
21 21
    graphslist = []
22 22
    
23 23
    if kwargs is not None:
24
        # TRANSLATORS: Format Python de date avec heure.
25
        format = l_("%d-%m-%Y %H:%M")
24
        # TRANSLATORS: Format Python de date/heure, lisible par un humain.
25
        format = _("%a, %d %b %Y %H:%M:%S")
26 26
        for key in kwargs:
27 27
            # titre
28
            title = l_("Unknown")
28
            title = _("Unknown")
29 29
            graph = ""
30 30
            server = ""
31 31
            # recherche arguments (apres ?) -> cle1=valeur1&cle2=valeur2&...

Also available in: Unified diff