8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 11:53:12 +00:00

Fix some translations in preferences/

This commit is contained in:
Laouen Fernet 2020-05-30 11:22:55 +02:00 committed by Gabriel Detraz
parent a4f50f62d2
commit 98784da411
4 changed files with 17 additions and 17 deletions

View file

@ -21,7 +21,7 @@
# with this program; if not, write to the Free Software Foundation, Inc., # with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 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 from __future__ import unicode_literals
@ -46,79 +46,79 @@ from .models import (
class OptionalUserAdmin(VersionAdmin): class OptionalUserAdmin(VersionAdmin):
"""Class admin options user""" """Admin class for user options."""
pass pass
class OptionalTopologieAdmin(VersionAdmin): class OptionalTopologieAdmin(VersionAdmin):
"""Class admin options topologie""" """Admin class for topology options."""
pass pass
class OptionalMachineAdmin(VersionAdmin): class OptionalMachineAdmin(VersionAdmin):
"""Class admin options machines""" """Admin class for machines options."""
pass pass
class GeneralOptionAdmin(VersionAdmin): class GeneralOptionAdmin(VersionAdmin):
"""Class admin options générales""" """Admin class for general options."""
pass pass
class ServiceAdmin(VersionAdmin): class ServiceAdmin(VersionAdmin):
"""Class admin gestion des services de la page d'accueil""" """Admin class for services (on the homepage)."""
pass pass
class MailContactAdmin(VersionAdmin): class MailContactAdmin(VersionAdmin):
"""Admin class for contact email adresses""" """Admin class for contact email addresses."""
pass pass
class AssoOptionAdmin(VersionAdmin): class AssoOptionAdmin(VersionAdmin):
"""Class admin options de l'asso""" """Admin class for organisation options."""
pass pass
class MailMessageOptionAdmin(VersionAdmin): class MailMessageOptionAdmin(VersionAdmin):
"""Class admin options mail""" """Admin class for email messages options."""
pass pass
class HomeOptionAdmin(VersionAdmin): class HomeOptionAdmin(VersionAdmin):
"""Class admin options home""" """Admin class for home options."""
pass pass
class RadiusKeyAdmin(VersionAdmin): class RadiusKeyAdmin(VersionAdmin):
"""Class radiuskey""" """Admin class for RADIUS keys options."""
pass pass
class SwitchManagementCredAdmin(VersionAdmin): class SwitchManagementCredAdmin(VersionAdmin):
"""Class managementcred for switch""" """Admin class for switch management credentials options."""
pass pass
class ReminderAdmin(VersionAdmin): class ReminderAdmin(VersionAdmin):
"""Class reminder for switch""" """Admin class for reminder options."""
pass pass
class DocumentTemplateAdmin(VersionAdmin): class DocumentTemplateAdmin(VersionAdmin):
"""Admin class for DocumentTemplate""" """Admin class for document templates."""
pass pass

View file

@ -20,7 +20,7 @@
# with this program; if not, write to the Free Software Foundation, Inc., # with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 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 from __future__ import unicode_literals

View file

@ -21,7 +21,8 @@
# with this program; if not, write to the Free Software Foundation, Inc., # with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 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 from __future__ import unicode_literals
import os import os

View file

@ -340,7 +340,6 @@ def del_radiuskey(request, radiuskey_instance, **_kwargs):
@login_required @login_required
@can_create(SwitchManagementCred) @can_create(SwitchManagementCred)
def add_switchmanagementcred(request): def add_switchmanagementcred(request):
"""Ajout de creds de management"""
"""View used to add switch management credentials.""" """View used to add switch management credentials."""
switchmanagementcred = SwitchManagementCredForm(request.POST or None) switchmanagementcred = SwitchManagementCredForm(request.POST or None)
if switchmanagementcred.is_valid(): if switchmanagementcred.is_valid():