@@ -116,19 +116,19 @@ class RouteForm(forms.ModelForm):
ifIPNetwork(destination)innet:
mynetwork=True
ifnotmynetwork:
raiseforms.ValidationError('Destination address/network should belong to your administrative address space. Check My Profile to review your networks')
raiseforms.ValidationError(_('Destination address/network should belong to your administrative address space. Check My Profile to review your networks'))
if(sourceportsandports):
raiseforms.ValidationError('Cannot create rule for source ports and ports at the same time. Select either ports or source ports')
raiseforms.ValidationError(_('Cannot create rule for source ports and ports at the same time. Select either ports or source ports'))
if(destinationportsandports):
raiseforms.ValidationError('Cannot create rule for destination ports and ports at the same time. Select either ports or destination ports')
raiseforms.ValidationError(_('Cannot create rule for destination ports and ports at the same time. Select either ports or destination ports'))
ifsourceportsandnotsource:
raiseforms.ValidationError('Once source port is matched, source has to be filled as well. Either deselect source port or fill source address')
raiseforms.ValidationError(_('Once source port is matched, source has to be filled as well. Either deselect source port or fill source address'))
ifdestinationportsandnotdestination:
raiseforms.ValidationError('Once destination port is matched, destination has to be filled as well. Either deselect destination port or fill destination address')
raiseforms.ValidationError(_('Once destination port is matched, destination has to be filled as well. Either deselect destination port or fill destination address'))
error="User account <strong>%s</strong> is pending activation. Administrators have been notified and will activate this account within the next days. <br>If this account has remained inactive for a long time contact your technical coordinator or GRNET Helpdesk"%user.username
error=_("User account <strong>%s</strong> is pending activation. Administrators have been notified and will activate this account within the next days. <br>If this account has remained inactive for a long time contact your technical coordinator or GRNET Helpdesk")%user.username