From dbf7485107d8df2f69b27ec17641ecb351fc8c6f Mon Sep 17 00:00:00 2001 From: Laouen Fernet Date: Sat, 30 May 2020 11:22:55 +0200 Subject: [PATCH] Fix some translations in preferences/ --- preferences/admin.py | 28 ++++++++++++++-------------- preferences/forms.py | 2 +- preferences/models.py | 3 ++- preferences/views.py | 1 - 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/preferences/admin.py b/preferences/admin.py index f4475c14..d3e4a22d 100644 --- a/preferences/admin.py +++ b/preferences/admin.py @@ -21,7 +21,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ -Classes admin pour les models de preferences +Admin classes for models of preferences app. """ from __future__ import unicode_literals @@ -46,79 +46,79 @@ from .models import ( class OptionalUserAdmin(VersionAdmin): - """Class admin options user""" + """Admin class for user options.""" pass class OptionalTopologieAdmin(VersionAdmin): - """Class admin options topologie""" + """Admin class for topology options.""" pass class OptionalMachineAdmin(VersionAdmin): - """Class admin options machines""" + """Admin class for machines options.""" pass class GeneralOptionAdmin(VersionAdmin): - """Class admin options générales""" + """Admin class for general options.""" pass class ServiceAdmin(VersionAdmin): - """Class admin gestion des services de la page d'accueil""" + """Admin class for services (on the homepage).""" pass class MailContactAdmin(VersionAdmin): - """Admin class for contact email adresses""" + """Admin class for contact email addresses.""" pass class AssoOptionAdmin(VersionAdmin): - """Class admin options de l'asso""" + """Admin class for organisation options.""" pass class MailMessageOptionAdmin(VersionAdmin): - """Class admin options mail""" + """Admin class for email messages options.""" pass class HomeOptionAdmin(VersionAdmin): - """Class admin options home""" + """Admin class for home options.""" pass class RadiusKeyAdmin(VersionAdmin): - """Class radiuskey""" + """Admin class for RADIUS keys options.""" pass class SwitchManagementCredAdmin(VersionAdmin): - """Class managementcred for switch""" + """Admin class for switch management credentials options.""" pass class ReminderAdmin(VersionAdmin): - """Class reminder for switch""" + """Admin class for reminder options.""" pass class DocumentTemplateAdmin(VersionAdmin): - """Admin class for DocumentTemplate""" + """Admin class for document templates.""" pass diff --git a/preferences/forms.py b/preferences/forms.py index dc16d8c0..2a5d5ac9 100644 --- a/preferences/forms.py +++ b/preferences/forms.py @@ -20,7 +20,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ -Formulaire d'edition des réglages : user, machine, topologie, asso... +Forms to edit preferences: users, machines, topology, organisation etc. """ from __future__ import unicode_literals diff --git a/preferences/models.py b/preferences/models.py index d475498b..b012b12b 100644 --- a/preferences/models.py +++ b/preferences/models.py @@ -21,7 +21,8 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ -Reglages généraux, machines, utilisateurs, mail, general pour l'application. +Models defining the preferences for users, machines, emails, general settings +etc. """ from __future__ import unicode_literals import os diff --git a/preferences/views.py b/preferences/views.py index 1f8b6b2e..129e17ff 100644 --- a/preferences/views.py +++ b/preferences/views.py @@ -340,7 +340,6 @@ def del_radiuskey(request, radiuskey_instance, **_kwargs): @login_required @can_create(SwitchManagementCred) def add_switchmanagementcred(request): - """Ajout de creds de management""" """View used to add switch management credentials.""" switchmanagementcred = SwitchManagementCredForm(request.POST or None) if switchmanagementcred.is_valid():