mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 19:03:11 +00:00
Fix some translations in topologie/
This commit is contained in:
parent
6abe2ea960
commit
d4da12dda9
2 changed files with 3 additions and 8 deletions
|
@ -84,7 +84,7 @@ class Stack(AclMixin, RevMixin, models.Model):
|
|||
super(Stack, self).save(*args, **kwargs)
|
||||
|
||||
def clean(self):
|
||||
""" Verification que l'id_max < id_min"""
|
||||
"""Check if id_max < id_min."""
|
||||
if self.member_id_max < self.member_id_min:
|
||||
raise ValidationError(
|
||||
{"member_id_max": _("The maximum ID is less than the minimum ID.")}
|
||||
|
@ -310,8 +310,6 @@ class Switch(Machine):
|
|||
)
|
||||
|
||||
def create_ports(self, begin, end):
|
||||
""" Crée les ports de begin à end si les valeurs données
|
||||
sont cohérentes. """
|
||||
"""Create ports for the switch if the values are consistent.
|
||||
|
||||
Args:
|
||||
|
|
|
@ -19,11 +19,8 @@
|
|||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
"""
|
||||
Definition des urls de l'application topologie.
|
||||
Inclu dans urls de re2o.
|
||||
|
||||
Fait référence aux fonctions du views
|
||||
"""topologie.urls
|
||||
The defined URLs for topologie app. Included in re2o.urls.
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
|
Loading…
Reference in a new issue