Add POT and MO files plus script to generate POT file

This commit is contained in:
Grégory Soutadé 2014-12-17 20:39:19 +01:00
parent ccab40b4e1
commit 14c1686d98
4 changed files with 509 additions and 0 deletions

245
iwla.pot Normal file
View File

@ -0,0 +1,245 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR ORGANIZATION
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: iwla\n"
"POT-Creation-Date: 2014-12-16 21:36+CET\n"
"PO-Revision-Date: 2014-12-17 19:07+0100\n"
"Last-Translator: Soutadé <soutade@gmail.com>\n"
"Language-Team: iwla <iwla>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: en\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: iwla.py:343
msgid "Statistics"
msgstr ""
#: iwla.py:349
msgid "By day"
msgstr ""
#: iwla.py:349
msgid "Day"
msgstr ""
#: iwla.py:349 iwla.py:402
msgid "Not viewed Bandwidth"
msgstr ""
#: iwla.py:349 iwla.py:402
msgid "Visits"
msgstr ""
#: iwla.py:349 iwla.py:402 plugins/display/all_visits.py:51
#: plugins/display/referers.py:78 plugins/display/referers.py:118
#: plugins/display/top_downloads.py:74 plugins/display/top_visitors.py:53
msgid "Hits"
msgstr ""
#: iwla.py:349 iwla.py:402 plugins/display/all_visits.py:51
#: plugins/display/referers.py:78 plugins/display/referers.py:118
#: plugins/display/top_visitors.py:53
msgid "Pages"
msgstr ""
#: iwla.py:349 iwla.py:402 plugins/display/all_visits.py:51
#: plugins/display/top_visitors.py:53
msgid "Bandwidth"
msgstr ""
#: iwla.py:386
msgid "Average"
msgstr ""
#: iwla.py:391 iwla.py:429
msgid "Total"
msgstr ""
#: iwla.py:400
msgid "Apr"
msgstr ""
#: iwla.py:400
msgid "Aug"
msgstr ""
#: iwla.py:400
msgid "Dec"
msgstr ""
#: iwla.py:400
msgid "Feb"
msgstr ""
#: iwla.py:400
msgid "Jan"
msgstr ""
#: iwla.py:400
msgid "July"
msgstr ""
#: iwla.py:400
msgid "June"
msgstr ""
#: iwla.py:400
msgid "Mar"
msgstr ""
#: iwla.py:400
msgid "May"
msgstr ""
#: iwla.py:400
msgid "Nov"
msgstr ""
#: iwla.py:400
msgid "Oct"
msgstr ""
#: iwla.py:400
msgid "Sep"
msgstr ""
#: iwla.py:401
msgid "Summary"
msgstr ""
#: iwla.py:402
msgid "Month"
msgstr ""
#: iwla.py:402
msgid "Visitors"
msgstr ""
#: iwla.py:402 iwla.py:412
msgid "Details"
msgstr ""
#: iwla.py:436
msgid "Statistics for"
msgstr ""
#: iwla.py:443
msgid "Last update"
msgstr ""
#: plugins/display/all_visits.py:45 plugins/display/all_visits.py:73
msgid "All visits"
msgstr ""
#: plugins/display/all_visits.py:51 plugins/display/top_visitors.py:53
msgid "Host"
msgstr ""
#: plugins/display/all_visits.py:51 plugins/display/top_visitors.py:53
msgid "Last seen"
msgstr ""
#: plugins/display/all_visits.py:74 plugins/display/top_visitors.py:53
msgid "Top visitors"
msgstr ""
#: plugins/display/referers.py:72 plugins/display/referers.py:78
msgid "Connexion from"
msgstr ""
#: plugins/display/referers.py:78 plugins/display/referers.py:118
msgid "Origin"
msgstr ""
#: plugins/display/referers.py:82 plugins/display/referers.py:121
msgid "Search Engine"
msgstr ""
#: plugins/display/referers.py:91 plugins/display/referers.py:132
msgid "External URL"
msgstr ""
#: plugins/display/referers.py:100 plugins/display/referers.py:143
msgid "External URL (robot)"
msgstr ""
#: plugins/display/referers.py:112
msgid "Top Referers"
msgstr ""
#: plugins/display/referers.py:114
msgid "All Referers"
msgstr ""
#: plugins/display/referers.py:128 plugins/display/referers.py:139
#: plugins/display/referers.py:150 plugins/display/referers.py:187
#: plugins/display/top_downloads.py:80 plugins/display/top_hits.py:79
#: plugins/display/top_pages.py:79 plugins/display/top_visitors.py:73
msgid "Others"
msgstr ""
#: plugins/display/referers.py:158
msgid "Key Phrases"
msgstr ""
#: plugins/display/referers.py:165 plugins/display/referers.py:175
msgid "Top key phrases"
msgstr ""
#: plugins/display/referers.py:165 plugins/display/referers.py:181
msgid "Key phrase"
msgstr ""
#: plugins/display/referers.py:165 plugins/display/referers.py:181
msgid "Search"
msgstr ""
#: plugins/display/referers.py:177
msgid "All key phrases"
msgstr ""
#: plugins/display/top_downloads.py:51 plugins/display/top_downloads.py:54
#: plugins/display/top_downloads.py:68
msgid "All Downloads"
msgstr ""
#: plugins/display/top_downloads.py:54
msgid "Hit"
msgstr ""
#: plugins/display/top_downloads.py:54 plugins/display/top_downloads.py:74
#: plugins/display/top_hits.py:54 plugins/display/top_hits.py:73
#: plugins/display/top_pages.py:54 plugins/display/top_pages.py:73
msgid "URI"
msgstr ""
#: plugins/display/top_downloads.py:66
msgid "Top Downloads"
msgstr ""
#: plugins/display/top_hits.py:49 plugins/display/top_hits.py:54
#: plugins/display/top_hits.py:67
msgid "All Hits"
msgstr ""
#: plugins/display/top_hits.py:54 plugins/display/top_hits.py:73
#: plugins/display/top_pages.py:54 plugins/display/top_pages.py:73
msgid "Entrance"
msgstr ""
#: plugins/display/top_pages.py:49 plugins/display/top_pages.py:54
#: plugins/display/top_pages.py:67
msgid "All Pages"
msgstr ""
#: plugins/display/top_pages.py:65
msgid "Top Pages"
msgstr ""

20
iwla_get.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
rm -f mega_log
for i in `seq 53 -1 2` ; do
[ ! -f "cybelle/soutade.fr_access.log.$i.gz" ] && continue
zcat "cybelle/soutade.fr_access.log.$i.gz" >> mega_log
echo "cybelle/soutade.fr_access.log.$i.gz"
done
#cat "cybelle/soutade.fr_access.log.2" >> mega_log
echo "cybelle/soutade.fr_access.log.1"
cat "cybelle/soutade.fr_access.log.1" >> mega_log
# cat "cybelle/soutade.fr_access.log" >> mega_log
cat mega_log | ./iwla.py -i -c
# cat "cybelle/soutade.fr_access.log.1" | ./iwla.py -i
# cat "cybelle/soutade.fr_access.log" | ./iwla.py -i
# TODO : reverse analysis
# -f option
# other when pages truncated

Binary file not shown.

View File

@ -0,0 +1,244 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR ORGANIZATION
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: iwla\n"
"POT-Creation-Date: 2014-12-16 21:36+CET\n"
"PO-Revision-Date: 2014-12-17 19:06+0100\n"
"Last-Translator: Soutadé <soutade@gmail.com>\n"
"Language-Team: iwla\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"Language: fr_FR\n"
"X-Generator: Poedit 1.6.10\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: iwla.py:343
msgid "Statistics"
msgstr "Statistiques"
#: iwla.py:349
msgid "By day"
msgstr "Par jour"
#: iwla.py:349
msgid "Day"
msgstr "Jour"
#: iwla.py:349 iwla.py:402
msgid "Not viewed Bandwidth"
msgstr "Traffic non vu"
#: iwla.py:349 iwla.py:402
msgid "Visits"
msgstr "Visites"
#: iwla.py:349 iwla.py:402 plugins/display/all_visits.py:51
#: plugins/display/referers.py:78 plugins/display/referers.py:118
#: plugins/display/top_downloads.py:74 plugins/display/top_visitors.py:53
msgid "Hits"
msgstr "Hits"
#: iwla.py:349 iwla.py:402 plugins/display/all_visits.py:51
#: plugins/display/referers.py:78 plugins/display/referers.py:118
#: plugins/display/top_visitors.py:53
msgid "Pages"
msgstr "Pages"
#: iwla.py:349 iwla.py:402 plugins/display/all_visits.py:51
#: plugins/display/top_visitors.py:53
msgid "Bandwidth"
msgstr "Bande passante"
#: iwla.py:386
msgid "Average"
msgstr "Moyenne"
#: iwla.py:391 iwla.py:429
msgid "Total"
msgstr "Total"
#: iwla.py:400
msgid "Apr"
msgstr "Avr"
#: iwla.py:400
msgid "Aug"
msgstr "Août"
#: iwla.py:400
msgid "Dec"
msgstr "Déc"
#: iwla.py:400
msgid "Feb"
msgstr "Fév"
#: iwla.py:400
msgid "Jan"
msgstr "Jan"
#: iwla.py:400
msgid "July"
msgstr "Jui"
#: iwla.py:400
msgid "June"
msgstr "Juin"
#: iwla.py:400
msgid "Mar"
msgstr "Mars"
#: iwla.py:400
msgid "May"
msgstr "Mai"
#: iwla.py:400
msgid "Nov"
msgstr "Nov"
#: iwla.py:400
msgid "Oct"
msgstr "Oct"
#: iwla.py:400
msgid "Sep"
msgstr "Sep"
#: iwla.py:401
msgid "Summary"
msgstr "Résumé"
#: iwla.py:402
msgid "Month"
msgstr "Mois"
#: iwla.py:402
msgid "Visitors"
msgstr "Visiteurs"
#: iwla.py:402 iwla.py:412
msgid "Details"
msgstr "Détails"
#: iwla.py:436
msgid "Statistics for"
msgstr "Statistiques pour"
#: iwla.py:443
msgid "Last update"
msgstr "Dernière mise à jour"
#: plugins/display/all_visits.py:45 plugins/display/all_visits.py:73
msgid "All visits"
msgstr "Toutes les visites"
#: plugins/display/all_visits.py:51 plugins/display/top_visitors.py:53
msgid "Host"
msgstr "Hôte"
#: plugins/display/all_visits.py:51 plugins/display/top_visitors.py:53
msgid "Last seen"
msgstr "Dernière visite"
#: plugins/display/all_visits.py:74 plugins/display/top_visitors.py:53
msgid "Top visitors"
msgstr "Top visiteurs"
#: plugins/display/referers.py:72 plugins/display/referers.py:78
msgid "Connexion from"
msgstr "Connexion depuis"
#: plugins/display/referers.py:78 plugins/display/referers.py:118
msgid "Origin"
msgstr "Origine"
#: plugins/display/referers.py:82 plugins/display/referers.py:121
msgid "Search Engine"
msgstr "Moteur de recherche"
#: plugins/display/referers.py:91 plugins/display/referers.py:132
msgid "External URL"
msgstr "URL externe"
#: plugins/display/referers.py:100 plugins/display/referers.py:143
msgid "External URL (robot)"
msgstr "URL externe (robot)"
#: plugins/display/referers.py:112
msgid "Top Referers"
msgstr "Top Origines"
#: plugins/display/referers.py:114
msgid "All Referers"
msgstr "Toutes les origines"
#: plugins/display/referers.py:128 plugins/display/referers.py:139
#: plugins/display/referers.py:150 plugins/display/referers.py:187
#: plugins/display/top_downloads.py:80 plugins/display/top_hits.py:79
#: plugins/display/top_pages.py:79 plugins/display/top_visitors.py:73
msgid "Others"
msgstr "Autres"
#: plugins/display/referers.py:158
msgid "Key Phrases"
msgstr "Phrases clé"
#: plugins/display/referers.py:165 plugins/display/referers.py:175
msgid "Top key phrases"
msgstr "Top phrases clé"
#: plugins/display/referers.py:165 plugins/display/referers.py:181
msgid "Key phrase"
msgstr "Phrase clé"
#: plugins/display/referers.py:165 plugins/display/referers.py:181
msgid "Search"
msgstr "Recherche"
#: plugins/display/referers.py:177
msgid "All key phrases"
msgstr "Toutes les phrases clé"
#: plugins/display/top_downloads.py:51 plugins/display/top_downloads.py:54
#: plugins/display/top_downloads.py:68
msgid "All Downloads"
msgstr "Tous les téléchargements"
#: plugins/display/top_downloads.py:54
msgid "Hit"
msgstr "Hit"
#: plugins/display/top_downloads.py:54 plugins/display/top_downloads.py:74
#: plugins/display/top_hits.py:54 plugins/display/top_hits.py:73
#: plugins/display/top_pages.py:54 plugins/display/top_pages.py:73
msgid "URI"
msgstr "URI"
#: plugins/display/top_downloads.py:66
msgid "Top Downloads"
msgstr "Top Téléchargements"
#: plugins/display/top_hits.py:49 plugins/display/top_hits.py:54
#: plugins/display/top_hits.py:67
msgid "All Hits"
msgstr "Tous les hits"
#: plugins/display/top_hits.py:54 plugins/display/top_hits.py:73
#: plugins/display/top_pages.py:54 plugins/display/top_pages.py:73
msgid "Entrance"
msgstr "Entrées"
#: plugins/display/top_pages.py:49 plugins/display/top_pages.py:54
#: plugins/display/top_pages.py:67
msgid "All Pages"
msgstr "Toutes les pages"
#: plugins/display/top_pages.py:65
msgid "Top Pages"
msgstr "Top Pages"