Skip to content
Browse files

Models i18n

  • Loading branch information...
1 parent 7816774 commit 9a7d77f8549121c524f2b3266e808b9724a9c165 @rsaikali committed Sep 16, 2012
View
BIN skwissh/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
View
196 skwissh/locale/en/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Skwissh-0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-09-09 12:26+0200\n"
+"POT-Creation-Date: 2012-09-16 21:03+0200\n"
"PO-Revision-Date: 2012-08-12 10:35+0200\n"
"Last-Translator: Roland SAIKALI <roland@saikali.fr>\n"
"Language-Team: Roland SAIKALI <roland@saikali.fr>\n"
@@ -17,23 +17,30 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: forms.py:10 models.py:31 templates/section-probe.html:48
+#: forms.py:10
+#: models.py:31
+#: templates/section-probe.html:48
msgid "Utilise 'sudo' ?"
msgstr "Use 'sudo' ?"
-#: forms.py:10 templates/modal-delete-probe.html:21
+#: forms.py:10
+#: templates/modal-delete-probe.html:21
#: templates/modal-delete-server-group.html:18
-#: templates/modal-delete-server.html:21 templates/section-probe.html:52
+#: templates/modal-delete-server.html:21
+#: templates/section-probe.html:52
msgid "Oui"
msgstr "Yes"
-#: forms.py:10 templates/modal-delete-probe.html:22
+#: forms.py:10
+#: templates/modal-delete-probe.html:22
#: templates/modal-delete-server-group.html:19
-#: templates/modal-delete-server.html:22 templates/section-probe.html:54
+#: templates/modal-delete-server.html:22
+#: templates/section-probe.html:54
msgid "Non"
msgstr "No"
-#: forms.py:18 templates/index.html:27
+#: forms.py:18
+#: templates/index.html:27
msgid "Mot de passe"
msgstr "Password"
@@ -45,14 +52,28 @@ msgstr "Name"
msgid "Options jqPlot"
msgstr "jqPlot options"
-#: models.py:11 models.py:36 models.py:57 models.py:75
+#: models.py:11
+#: models.py:36
+#: models.py:57
+#: models.py:75
msgid "Date de création"
msgstr "Creation date"
-#: models.py:12 models.py:37 models.py:58 models.py:76
+#: models.py:12
+#: models.py:37
+#: models.py:58
+#: models.py:76
msgid "Date de modification"
msgstr "Modification date"
+#: models.py:18
+msgid "type de graphique"
+msgstr "graph type"
+
+#: models.py:19
+msgid "types de graphiques"
+msgstr "graph types"
+
#: models.py:28
msgid "Nom de la sonde"
msgstr "Sensor name"
@@ -61,7 +82,8 @@ msgstr "Sensor name"
msgid "Infos complémentaires (version linux...)"
msgstr "Additional information (linux version...)"
-#: models.py:30 templates/section-probe.html:40
+#: models.py:30
+#: templates/section-probe.html:40
msgid "Commande SSH"
msgstr "SSH command"
@@ -81,6 +103,10 @@ msgstr "Unit"
msgid "Labels des valeurs"
msgstr "Legend labels"
+#: models.py:46
+msgid "sonde"
+msgstr "sensor"
+
#: models.py:51
msgid "Nom du serveur"
msgstr "Server name"
@@ -105,10 +131,15 @@ msgstr "SSH username"
msgid "Mot de passe SSH"
msgstr "SSH password"
-#: models.py:59 templates/base/navigation.html:61
+#: models.py:59
+#: templates/base/navigation.html:61
msgid "Sondes"
msgstr "Sensors"
+#: models.py:69
+msgid "serveur"
+msgstr "server"
+
#: models.py:74
msgid "Nom du groupe"
msgstr "Group name"
@@ -117,23 +148,80 @@ msgstr "Group name"
msgid "Serveurs"
msgstr "Servers"
-#: models.py:89 models.py:104 models.py:119 models.py:134 models.py:149
+#: models.py:83
+msgid "groupe de serveurs"
+msgstr "servers group"
+
+#: models.py:84
+msgid "groupes de serveurs"
+msgstr "servers groups"
+
+#: models.py:89
+#: models.py:104
+#: models.py:119
+#: models.py:134
+#: models.py:149
msgid "Date et heure"
msgstr "Date & Time"
-#: models.py:90 models.py:105 models.py:120 models.py:135 models.py:150
-#: models.py:151 templates/cronlog_list.html:32
+#: models.py:90
+#: models.py:105
+#: models.py:120
+#: models.py:135
+#: models.py:150
+#: models.py:151
+#: templates/cronlog_list.html:32
msgid "Serveur"
msgstr "Server"
-#: models.py:91 models.py:106 models.py:121 models.py:136
+#: models.py:91
+#: models.py:106
+#: models.py:121
+#: models.py:136
msgid "Sonde"
msgstr "Sensor"
-#: models.py:92 models.py:107 models.py:122 models.py:137
+#: models.py:92
+#: models.py:107
+#: models.py:122
+#: models.py:137
msgid "Valeur mesurée"
msgstr "Sensor value"
+#: models.py:98
+msgid "mesure"
+msgstr "measure"
+
+#: models.py:99
+#: templates/base/navigation.html:44
+#: templates/base/navigation.html.py:46
+msgid "mesures"
+msgstr "measures"
+
+#: models.py:113
+msgid "mesure (vue journalière)"
+msgstr "measure (daily averages)"
+
+#: models.py:114
+msgid "mesures (vue journalière)"
+msgstr "measures (daily averages)"
+
+#: models.py:128
+msgid "mesure (vue hebdomadaire)"
+msgstr "measure (weekly averages)"
+
+#: models.py:129
+msgid "mesures (vue hebdomadaire)"
+msgstr "measures (weekly averages)"
+
+#: models.py:143
+msgid "mesure (vue mensuelle)"
+msgstr "measure (monthly averages)"
+
+#: models.py:144
+msgid "mesures (vue mensuelle)"
+msgstr "measures (monthly averages)"
+
#: models.py:152
msgid "Succès de l'exécution ?"
msgstr "Successfull execution ?"
@@ -146,6 +234,14 @@ msgstr "Message"
msgid "Durée en secondes"
msgstr "Duration (seconds)"
+#: models.py:160
+msgid "exécution de tâches cron"
+msgstr "Sensors report"
+
+#: models.py:161
+msgid "exécutions de tâches cron"
+msgstr "Sensors reports"
+
#: templates/404.html:8
msgid "Erreur 404 - Ressource non trouvée"
msgstr "404 Error - Not found"
@@ -158,8 +254,7 @@ msgstr "The page you're trying to access doesn't exist."
msgid ""
"Si un lien du site vous a mené à cette page, merci de nous contacter afin de "
"corriger cette erreur."
-msgstr ""
-"If you arrived here through normal application navigation, please contact us "
+msgstr "If you arrived here through normal application navigation, please contact us "
"so we can try to fix the problem."
#: templates/500.html:8
@@ -170,19 +265,18 @@ msgstr "500 Error - Internal server error"
msgid ""
"Une erreur interne du serveur est survenue alors que vous tentiez d'accéder "
"à une fonctionnalité."
-msgstr ""
-"An internal server error occured while you were trying to access a "
+msgstr "An internal server error occured while you were trying to access a "
"functionality."
#: templates/500.html:21
msgid ""
"Si cette erreur se reproduit, merci de nous contacter afin que nous "
"puissions la corriger."
-msgstr ""
-"If this error happens again, please contact us so we could try to fix the "
+msgstr "If this error happens again, please contact us so we could try to fix the "
"problem."
-#: templates/cronlog_list.html:9 templates/base/navigation.html:68
+#: templates/cronlog_list.html:9
+#: templates/base/navigation.html:68
msgid "Rapport des sondes"
msgstr "Sensors report"
@@ -218,7 +312,8 @@ msgstr "Error"
msgid "Voir les détails..."
msgstr "See details..."
-#: templates/index.html:11 templates/base/navigation.html:116
+#: templates/index.html:11
+#: templates/base/navigation.html:116
msgid "Connexion"
msgstr "Connexion"
@@ -234,7 +329,8 @@ msgstr "On this demo site, you can connect with credentials"
msgid "Nom d'utilisateur"
msgstr "Username"
-#: templates/index.html:29 templates/base/navigation.html:125
+#: templates/index.html:29
+#: templates/base/navigation.html:125
msgid "Se connecter"
msgstr "Login"
@@ -250,16 +346,14 @@ msgstr "What is Skwissh ?"
msgid ""
"Skwissh est une application Django pour monitorer vos serveurs à distance en "
"utilisant du SSH."
-msgstr ""
-"Skwissh is a Django application for remotely monitoring servers using SSH."
+msgstr "Skwissh is a Django application for remotely monitoring servers using SSH."
#: templates/index.html:95
msgid ""
"En arrière plan, Skwissh utilise Python Fabric (http://fabfile.org) pour "
"exécuter des commandes SSH, récupérer leurs sorties et historiser les "
"résultats. Les mesures sont prises toutes les minutes."
-msgstr ""
-"In background (crontabed jobs) Skwissh uses Python Fabric (http://fabfile."
+msgstr "In background (crontabed jobs) Skwissh uses Python Fabric (http://fabfile."
"org) to execute SSH commands, aka. \"sensors\", get the output and store "
"timestamped values. Measures are taken every minute."
@@ -268,35 +362,38 @@ msgid ""
"Côté application web, Skwissh permet de présenter toutes les historiques des "
"mesures sous différentes formes (graphiques en ligne, histogrammes, "
"camemberts, sorties textuelles)."
-msgstr ""
-"On the web application side, Skwissh is able to display nice charts "
+msgstr "On the web application side, Skwissh is able to display nice charts "
"(linechart, barchart, piechart or simple text) with aggregated measures."
#: templates/index.html:101
msgid ""
"Plusieurs sondes sont fournies avec Skwissh (testées sous Ubuntu 12.04) : "
"CPU, Swap, WaitIO, mémoire, réseau..."
-msgstr ""
-"Many sensors are available 'out of the box' (tested under Ubuntu 12.04) : "
+msgstr "Many sensors are available 'out of the box' (tested under Ubuntu 12.04) : "
"CPU, Swap, WaitIO, memory, network..."
#: templates/index.html:104
msgid "Mais vous pouvez également ajouter vos propres sondes personnalisées"
msgstr "But you can also easily add your own custom sensors"
-#: templates/modal-add-probe.html:5 templates/base/navigation.html:87
+#: templates/modal-add-probe.html:5
+#: templates/base/navigation.html:87
msgid "Ajouter une sonde"
msgstr "Add a sensor"
-#: templates/modal-add-probe.html:12 templates/modal-add-server-group.html:12
-#: templates/modal-add-server.html:12 templates/modal-edit-server.html:12
+#: templates/modal-add-probe.html:12
+#: templates/modal-add-server-group.html:12
+#: templates/modal-add-server.html:12
+#: templates/modal-edit-server.html:12
#: templates/modal-update-probe.html:16
#: templates/modal-update-server-group.html:14
msgid "Sauvegarder"
msgstr "Save"
-#: templates/modal-add-probe.html:13 templates/modal-add-server-group.html:13
-#: templates/modal-add-server.html:13 templates/modal-edit-server.html:13
+#: templates/modal-add-probe.html:13
+#: templates/modal-add-server-group.html:13
+#: templates/modal-add-server.html:13
+#: templates/modal-edit-server.html:13
#: templates/modal-update-probe.html:17
#: templates/modal-update-server-group.html:15
msgid "Annuler"
@@ -321,12 +418,14 @@ msgid ""
"mesures associées."
msgstr "Deleting this sensor will automatically purge all associated measures."
-#: templates/modal-delete-probe.html:14 templates/modal-delete-server.html:13
+#: templates/modal-delete-probe.html:14
+#: templates/modal-delete-server.html:13
#, python-format
msgid "%(count)s mesures seront définitivement perdues."
msgstr "%(count)s measures will be definitely lost."
-#: templates/modal-delete-probe.html:15 templates/modal-delete-server.html:14
+#: templates/modal-delete-probe.html:15
+#: templates/modal-delete-server.html:14
msgid "Cette opération est irréversible."
msgstr "This operation is irreversible."
@@ -412,23 +511,26 @@ msgstr "Download chart image..."
msgid "Chargement des données en cours..."
msgstr "Loading data..."
-#: templates/section-group.html:6 templates/base/navigation.html:22
+#: templates/section-group.html:6
+#: templates/base/navigation.html:22
msgid "Non classé"
msgstr "Uncategorized"
#: templates/section-group.html:15
msgid "Editer ce groupe de serveurs"
msgstr "Edit this server group"
-#: templates/section-group.html:15 templates/section-probe.html:9
+#: templates/section-group.html:15
+#: templates/section-probe.html:9
msgid "Editer"
msgstr "Edit"
#: templates/section-group.html:18
msgid "Supprimer ce groupe de serveurs"
msgstr "Delete this server group"
-#: templates/section-group.html:18 templates/section-probe.html:10
+#: templates/section-group.html:18
+#: templates/section-probe.html:10
msgid "Supprimer"
msgstr "Delete"
@@ -507,8 +609,7 @@ msgstr "No server found"
#: templates/server-list.html:35
msgid ""
"Veuillez ajouter un serveur via le menu 'Options' puis 'Ajouter un serveur'."
-msgstr ""
-"Please add a server by selecting 'Options' menu and then 'Add a server'."
+msgstr "Please add a server by selecting 'Options' menu and then 'Add a server'."
#: templates/base/footer.html:14
msgid "Développé par"
@@ -529,10 +630,6 @@ msgid_plural "%(nb)s sondes disponibles"
msgstr[0] "%(nb)s available sensor"
msgstr[1] "%(nb)s available sensors"
-#: templates/base/navigation.html:44 templates/base/navigation.html.py:46
-msgid "mesures"
-msgstr "measures"
-
#: templates/base/navigation.html:55
msgid "Configuration"
msgstr "Configuration"
@@ -584,3 +681,4 @@ msgstr "Logout"
#: templates/base/navigation.html:125
msgid "Se connecter de Skwissh"
msgstr "Login to Skwissh"
+
View
BIN skwissh/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
View
71 skwissh/locale/fr/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-09-09 12:26+0200\n"
+"POT-Creation-Date: 2012-09-16 21:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -54,6 +54,14 @@ msgstr ""
msgid "Date de modification"
msgstr ""
+#: models.py:18
+msgid "type de graphique"
+msgstr ""
+
+#: models.py:19
+msgid "types de graphiques"
+msgstr ""
+
#: models.py:28
msgid "Nom de la sonde"
msgstr ""
@@ -82,6 +90,10 @@ msgstr ""
msgid "Labels des valeurs"
msgstr ""
+#: models.py:46
+msgid "sonde"
+msgstr ""
+
#: models.py:51
msgid "Nom du serveur"
msgstr ""
@@ -110,6 +122,10 @@ msgstr ""
msgid "Sondes"
msgstr ""
+#: models.py:69
+msgid "serveur"
+msgstr ""
+
#: models.py:74
msgid "Nom du groupe"
msgstr ""
@@ -118,6 +134,14 @@ msgstr ""
msgid "Serveurs"
msgstr ""
+#: models.py:83
+msgid "groupe de serveurs"
+msgstr ""
+
+#: models.py:84
+msgid "groupes de serveurs"
+msgstr ""
+
#: models.py:89 models.py:104 models.py:119 models.py:134 models.py:149
msgid "Date et heure"
msgstr ""
@@ -135,6 +159,39 @@ msgstr ""
msgid "Valeur mesurée"
msgstr ""
+#: models.py:98
+msgid "mesure"
+msgstr ""
+
+#: models.py:99 templates/base/navigation.html:44
+#: templates/base/navigation.html.py:46
+msgid "mesures"
+msgstr ""
+
+#: models.py:113
+msgid "mesure (vue journalière)"
+msgstr ""
+
+#: models.py:114
+msgid "mesures (vue journalière)"
+msgstr ""
+
+#: models.py:128
+msgid "mesure (vue hebdomadaire)"
+msgstr ""
+
+#: models.py:129
+msgid "mesures (vue hebdomadaire)"
+msgstr ""
+
+#: models.py:143
+msgid "mesure (vue mensuelle)"
+msgstr ""
+
+#: models.py:144
+msgid "mesures (vue mensuelle)"
+msgstr ""
+
#: models.py:152
msgid "Succès de l'exécution ?"
msgstr ""
@@ -147,6 +204,14 @@ msgstr ""
msgid "Durée en secondes"
msgstr ""
+#: models.py:160
+msgid "exécution de tâches cron"
+msgstr ""
+
+#: models.py:161
+msgid "exécutions de tâches cron"
+msgstr ""
+
#: templates/404.html:8
msgid "Erreur 404 - Ressource non trouvée"
msgstr ""
@@ -515,10 +580,6 @@ msgid_plural "%(nb)s sondes disponibles"
msgstr[0] ""
msgstr[1] ""
-#: templates/base/navigation.html:44 templates/base/navigation.html.py:46
-msgid "mesures"
-msgstr ""
-
#: templates/base/navigation.html:55
msgid "Configuration"
msgstr ""
View
32 skwissh/models.py
@@ -15,8 +15,8 @@ def __unicode__(self):
return u"%s" % self.name
class Meta:
- verbose_name = u"type de graphique"
- verbose_name_plural = u"types de graphiques"
+ verbose_name = _(u"type de graphique")
+ verbose_name_plural = _(u"types de graphiques")
ordering = ['name']
@@ -43,7 +43,7 @@ def __unicode__(self):
return u"%s" % self.display_name
class Meta:
- verbose_name = u"sonde"
+ verbose_name = _(u"sonde")
ordering = ['display_name', 'addon_name']
@@ -66,7 +66,7 @@ def get_absolute_url(self):
return ('server-detail', [self.id])
class Meta:
- verbose_name = u"serveur"
+ verbose_name = _(u"serveur")
ordering = ['hostname', 'ip']
@@ -80,8 +80,8 @@ def __unicode__(self):
return u"%s" % self.name
class Meta:
- verbose_name = u"groupe de serveurs"
- verbose_name_plural = u"groupes de serveurs"
+ verbose_name = _(u"groupe de serveurs")
+ verbose_name_plural = _(u"groupes de serveurs")
ordering = ['name']
@@ -95,8 +95,8 @@ def __unicode__(self):
return u"%s %s %s" % (self.timestamp, self.server.hostname, self.probe.display_name)
class Meta:
- verbose_name = "mesure"
- verbose_name_plural = u"mesures"
+ verbose_name = _(u"mesure")
+ verbose_name_plural = _(u"mesures")
ordering = ['-timestamp', 'server', 'probe']
@@ -110,8 +110,8 @@ def __unicode__(self):
return u"%s" % self.value
class Meta:
- verbose_name = "mesure (vue journalière)"
- verbose_name_plural = u"mesures (vue journalière)"
+ verbose_name = _(u"mesure (vue journalière)")
+ verbose_name_plural = _(u"mesures (vue journalière)")
ordering = ['-timestamp', 'server', 'probe']
@@ -125,8 +125,8 @@ def __unicode__(self):
return u"%s" % self.value
class Meta:
- verbose_name = "mesure (vue hebdomadaire)"
- verbose_name_plural = u"mesures (vue hebdomadaire)"
+ verbose_name = _(u"mesure (vue hebdomadaire)")
+ verbose_name_plural = _(u"mesures (vue hebdomadaire)")
ordering = ['-timestamp', 'server', 'probe']
@@ -140,8 +140,8 @@ def __unicode__(self):
return u"%s" % self.value
class Meta:
- verbose_name = "mesure (vue mensuelle)"
- verbose_name_plural = u"mesures (vue mensuelle)"
+ verbose_name = _(u"mesure (vue mensuelle)")
+ verbose_name_plural = _(u"mesures (vue mensuelle)")
ordering = ['-timestamp', 'server', 'probe']
@@ -157,6 +157,6 @@ def __unicode__(self):
return u"%s %s %s %s" % (self.timestamp, self.server.hostname, self.success, self.duration)
class Meta:
- verbose_name = u"exécution de tâches cron"
- verbose_name_plural = u"exécutions de tâches cron"
+ verbose_name = _(u"exécution de tâches cron")
+ verbose_name_plural = _(u"exécutions de tâches cron")
ordering = ['-timestamp', '-server', '-action', ]

0 comments on commit 9a7d77f

Please sign in to comment.
Something went wrong with that request. Please try again.