Changeset 4564 for Serveur


Ignore:
Timestamp:
12/03/10 16:29:32 (8 years ago)
Author:
kent1
Message:

Peut être mieux?

Location:
Serveur/trac/Piwik4Trac/tracext/piwik
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Serveur/trac/Piwik4Trac/tracext/piwik/__init__.py

    r4561 r4564  
    2929        # bind the 'foo' catalog to the specified locale directory
    3030        locale_dir = pkg_resources.resource_filename(__name__, 'locale')
     31        self.log.info("Added domain 'piwik4trac' -> %s",resource_filename(__name__, 'locale'))
    3132        add_domain(self.env.path, locale_dir)
    3233
  • Serveur/trac/Piwik4Trac/tracext/piwik/admin.py

    r4561 r4564  
    4040                            req.args.get('tracking_server'))
    4141            self.config.save()
     42            self.options.tracking_site.description(_('Description tracking_server'))
    4243        self.update_config()
    4344        return 'piwik_admin.html', {'piwik': self.options}
  • Serveur/trac/Piwik4Trac/tracext/piwik/locale/fr/LC_MESSAGES/piwik4trac.po

    r4563 r4564  
    77msgstr ""
    88
     9msgid "Description tracking_server"
     10msgstr "Entrez l'adresse de votre serveur Piwik ici,<br/>sans \"http://\" ni \"https://\" ni sliash final<br/>"
     11
    912msgid "Option tracking_server"
    1013msgstr "Adresse du server Piwik. Sans \"http://\" ni \"https://\" ni slash final."
  • Serveur/trac/Piwik4Trac/tracext/piwik/locale/messages.pot

    r4561 r4564  
    77msgstr ""
    88
     9msgid "Description tracking_server"
     10msgstr "Enter your Piwik's tracking server address there,<br/>without the \"http://\" or \"https://\" and without trailing slash<br/>"
     11
    912msgid "Option tracking_server"
    1013msgstr "Piwik's tracking server address. Without the \"http://\" or \"https://\" and without trailing slash"
  • Serveur/trac/Piwik4Trac/tracext/piwik/templates/piwik_admin.html

    r3998 r4564  
    1616                <label for="tracking_server">Tracking server :</label>
    1717                <input type="text" name="tracking_server" value="${piwik.tracking_server.value}" />
    18                 <p class="help">Enter your Piwik's tracking server address there,<br/>
    19           without the "http://" or "https://" and without trailing slash<br/>
    20         </p>
     18                <p class="help">${piwik.tracking_site.description}</p>
    2119               
    2220        <label for="tracking_site">Tracked Site:</label>
Note: See TracChangeset for help on using the changeset viewer.