Commit 8d004e78 by Őry Máté

Merge branch 'feature-improve-templates'

Feature: Improve Templates

* add missing i18n markings to templates
* show hostname on vm list
* change console tab to always accessible
* updating hungarian translation
parents 2a1ce8f5 920d1272
......@@ -10,7 +10,7 @@ from django.db.models import (
DateTimeField,
)
from django.template.loader import render_to_string
from django.utils.translation import ugettext_lazy as _, override
from django.utils.translation import ugettext_lazy as _, override, ugettext
from model_utils.models import TimeStampedModel
from model_utils.fields import StatusField
......@@ -50,7 +50,7 @@ class Notification(TimeStampedModel):
with override(language):
context['user'] = user
rendered = render_to_string(template, context)
subject = unicode(subject)
subject = ugettext(unicode(subject))
return cls.objects.create(to=user, subject=subject, message=rendered,
valid_until=valid_until)
......
......@@ -7,7 +7,7 @@
{% if not d.failed %}
{% if d.size %}{{ d.size|filesize }}{% endif %}
{% else %}
<div class="label label-danger"{% if user.is_superuser %} title="{{ d.get_latest_activity_result }}"{% endif %}>failed</div>
<div class="label label-danger"{% if user.is_superuser %} title="{{ d.get_latest_activity_result }}"{% endif %}>{% trans "failed" %}</div>
{% endif %}
{% else %}<span class="disk-list-disk-percentage" data-disk-pk="{{ d.pk }}">{{ d.get_download_percentage }}</span>%{% endif %}
<a href="{% url "dashboard.views.disk-remove" pk=d.pk %}?next={{ request.path }}"
......
......@@ -50,7 +50,7 @@
</span>
</li>
<li>
<i class="icon-hand-right"></i> Description:
<i class="icon-hand-right"></i> {% trans "Description" %}:
<span style="float: right; max-width: 350px;">
{{ t.description }}
</span>
......
......@@ -75,7 +75,7 @@
<footer>
<a href="#">{% trans "Legal notice" %}</a> | <a href="#">{% trans "Policy" %}</a> | <a href="#">{% trans "Help" %}</a> |
<a href="#">{% trans "Support" %}</a>
<span class="pull-right">&copy; {{ COMPANY_NAME }}</span>
<span class="pull-right">{{ COMPANY_NAME }}</span>
</footer>
</body>
{% block extra_js %}
......
......@@ -12,8 +12,8 @@
{% endif %}
<br />
<div class="pull-right" style="margin-top: 15px;">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button id="confirmation-modal-button" type="button" class="btn btn-danger">Delete</button>
<button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel" %}</button>
<button id="confirmation-modal-button" type="button" class="btn btn-danger">{% trans "Delete" %}</button>
</div>
<div class="clearfix"></div>
</div>
......
......@@ -9,7 +9,7 @@
{% if title %}
{{ title }}
{% else %}
Delete confirmation
{% trans "Delete confirmation" %}
{% endif %}
</h3>
</div>
......@@ -24,9 +24,9 @@
<div class="pull-right">
<form action="" method="POST">
{% csrf_token %}
<a class="btn btn-default">Back</a>
<a class="btn btn-default">{% trans "Cancel" %}</a>
<input type="hidden" name="next" value="{{ request.GET.next }}"/>
<button class="btn btn-danger">Yes</button>
<button class="btn btn-danger">{% trans "Yes" %}</button>
</form>
</div>
</div>
......
......@@ -2,14 +2,13 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
Are you sure you want to delete these objects<br />
{% trans "Are you sure you want to delete the following objects?" %}<br />
{% for o in objects %}
<strong>{{ o }}</strong>{% if not forloop.last %},{% endif %}
{% endfor %}
?
<div class="pull-right" style="margin-top: 40px;">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button id="confirmation-modal-button" type="button" class="btn btn-danger">Delete</button>
<button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel" %}</button>
<button id="confirmation-modal-button" type="button" class="btn btn-danger">{% trans "Delete" %}</button>
</div>
<div class="clearfix"></div>
</div>
......
......@@ -9,7 +9,7 @@
{% if title %}
{{ title }}
{% else %}
Status changing confirmation
{% trans "Status changing confirmation" %}
{% endif %}
</h3>
</div>
......@@ -24,9 +24,10 @@
<div class="pull-right">
<form action="" method="POST">
{% csrf_token %}
<a class="btn btn-default">Back</a>
<a class="btn btn-default">{% trans "Cancel" %}</a>
<button type="button" class="btn btn-default" data-dismiss="modal"></button>
<input type="hidden" name="change_status" value=""/>
<button class="btn btn-warning">Yes, {{ status }}</button>
<button class="btn btn-warning">{% blocktrans with status=status %}Yes, {{status}}{% endblocktrans %}</button>
</form>
</div>
</div>
......
<a class="btn btn-info btn-xs group-list-details" href="#"
>Member list</a>
{% load i18n %}
<a class="btn btn-info btn-xs group-list-details" href="#">{% trans "Members" %}</a>
......@@ -4,7 +4,7 @@
<div class="pull-right toolbar">
<span class="btn btn-default btn-xs infobtn" title="{% trans "Help" %}"><i class="icon-info-sign"></i></span>
</div>
<h3 class="no-margin"><i class="icon-group"></i> Groups</h3>
<h3 class="no-margin"><i class="icon-group"></i> {% trans "Groups" %}</h3>
</div>
<div class="list-group" id="vm-list-view">
{% for i in groups %}
......@@ -15,7 +15,7 @@
<div href="#" class="list-group-item list-group-footer text-right">
<div class="row">
<div class="col-sm-6 col-xs-6 input-group input-group-sm">
<input type="text" class="form-control" placeholder="Search..." />
<input type="text" class="form-control" placeholder="{% trans "Search..." %}" />
<div class="input-group-btn">
<button type="submit" class="form-control btn btn-primary" title="search"><i class="icon-search"></i></button>
</div>
......@@ -26,7 +26,7 @@
<i class="icon-chevron-sign-right"></i> <strong>{{ more_groups }}</strong> more
</a>
{% endif %}
<a class="btn btn-success btn-xs group-create" href="#"><i class="icon-upload-alt"></i> upload </a>
<a class="btn btn-success btn-xs group-create" href="#"><i class="icon-upload-alt"></i> {% trans "new" %} </a>
</div>
</div>
</div>
......
......@@ -7,10 +7,10 @@
<a href="#index-list-view" data-index-box="node" class="btn btn-default btn-xs disabled"><i class="icon-list"></i></a>
</div>
<span class="btn btn-default btn-xs infobtn" title="{% trans "Help" %}"><i class="icon-info-sign"></i></span>
<span class="btn btn-default btn-xs infobtn" title="{% trans "List of compute nodes, also called worker nodes or hypervisors, which run the virtual machines." %}"><i class="icon-info-sign"></i></span>
</div>
<h3 class="no-margin">
<i class="icon-sitemap"></i> {% trans "Compute nodes" %}
<i class="icon-sitemap"></i> {% trans "Nodes" %}
</h3>
</div >
<div class="list-group" id="node-list-view">
......@@ -22,7 +22,7 @@
<div href="#" class="list-group-item list-group-footer">
<div class="row">
<div class="col-sm-6 col-xs-6 input-group input-group-sm">
<input type="text" class="form-control" placeholder="Search..." />
<input type="text" class="form-control" placeholder="{% trans "Search..." %}" />
<div class="input-group-btn">
<button type="submit" class="form-control btn btn-primary" title="search"><i class="icon-search"></i></button>
</div>
......@@ -56,7 +56,7 @@
<div class="clearfix"></div>
<div class="row">
<div class="col-sm-6 col-xs-6 input-group input-group-sm">
<input type="text" class="form-control" placeholder="Search..." />
<input type="text" class="form-control" placeholder="{% trans "Search..." %}" />
<div class="input-group-btn">
<button type="submit" class="form-control btn btn-primary" title="search"><i class="icon-search"></i></button>
</div>
......@@ -64,7 +64,7 @@
<div class="col-sm-6 text-right">
{% if more_nodes >= 0 %}
<a class="btn btn-primary btn-xs" href="{% url "dashboard.views.node-list" %}">
<i class="icon-chevron-sign-right"></i> <strong>{{ more_nodes }}</strong> more
<i class="icon-chevron-sign-right"></i> {% blocktrans with count=more_nodes %}<strong>{{count}}</strong> more{% endblocktrans %}
</a>
{% endif %}
<a class="btn btn-success btn-xs node-create" href="{% url "dashboard.views.node-create" %}"><i class="icon-plus-sign"></i> {% trans "new" %}</a>
......
......@@ -4,7 +4,7 @@
<span class="btn btn-default btn-xs infobtn pull-right" title="{% trans "Help" %}">
<i class="icon-info-sign"></i>
</span>
<h3 class="no-margin"><i class="icon-puzzle-piece"></i> Templates
<h3 class="no-margin"><i class="icon-puzzle-piece"></i> {% trans "Templates" %}
</h3>
</div>
<div class="list-group" id="vm-list-view">
......
......@@ -9,19 +9,20 @@
<span class="btn btn-default btn-xs infobtn" title="{% trans "Help" %}"><i class="icon-info-sign"></i></span>
</div>
<h3 class="no-margin">
<i class="icon-desktop"></i> Virtual machines
<i class="icon-desktop"></i> {% trans "Virtual machines" %}
</h3>
</div>
<div class="list-group" id="vm-list-view">
<div id="dashboard-vm-list">
{% for i in instances %}
<a href="{{ i.get_absolute_url }}" class="list-group-item">
<i class="icon-{% if i.state == "RUNNING" %}play-sign{% else %}pause{% endif %}"></i> {{ i.name }}
<i class="{{ i.get_status_icon }}" title="{{ i.get_status_display }}"></i> {{ i.name }}
<small class="text-muted">{{ i.primary_host.hostname }}</small>
<div class="pull-right dashboard-vm-favourite" data-vm="{{ i.pk }}">
{% if i.fav %}
<i class="icon-star text-primary title-favourite" title="Unfavourite"></i>
<i class="icon-star text-primary title-favourite" title="{% trans "Unfavourite" %}"></i>
{% else %}
<i class="icon-star-empty text-primary title-favourite" title="Mark as favorite"></i>
<i class="icon-star-empty text-primary title-favourite" title="{% trans "Mark as favorite" %}"></i>
{% endif %}
</div>
</a>
......@@ -38,7 +39,7 @@
<div class="col-sm-6 text-right">
{% if more_instances > 0 %}
<a class="btn btn-primary btn-xs" href="{% url "dashboard.views.vm-list" %}">
<i class="icon-chevron-sign-right"></i> {% blocktrans with more_instances=more_instances %}<strong>{{ more_instances }}</strong> more{% endblocktrans %}
<i class="icon-chevron-sign-right"></i> {% blocktrans with count=more_instances %}<strong>{{ count }}</strong> more{% endblocktrans %}
</a>
{% endif %}
<a class="btn btn-success btn-xs vm-create" href="{% url "dashboard.views.vm-create" %}"><i class="icon-plus-sign"></i> {% trans "new" %}</a>
......@@ -48,14 +49,16 @@
</div>
<div class="panel-body" id="vm-graph-view" style="display: none">
<p class="pull-right"> <input class="knob" data-fgColor="chartreuse" data-thickness=".4" data-max="{{ request.user.profile.instance_limit }}" data-width="100" data-height="100" data-readOnly="true" value="{{ instances|length|add:more_instances }}"></p>
<p><span class="bigbig"><big>{{ running_vm_num }}</big> running </span>
<p><span class="bigbig">{% blocktrans with count=running_vm_num %}<big>{{ count }}</big> running{% endblocktrans %}</span>
<ul class="list-inline">
{% for vm in running_vms %}
<li class="label label-success"><i class="icon-play-sign"></i> {{ vm.name}}</li>
<li class="label label-success">
<a href="vm.get_absolute_url" title="{{vm.primary_host.get_fqdn}}"><i class="{{vm.get_status_icon}}"></i> {{vm.name}}</a>
</li>
{% endfor %}
</ul>
</p>
<p class="big text-warning"><big>{{ stopped_vm_num }}</big> stopped</p>
<p class="big text-warning">{% blocktrans with count=stopped_vm_num %}<big>{{ count }}</big> stopped{% endblocktrans %}</p>
<div class="clearfix"></div>
<div class="text-right">
......
......@@ -26,14 +26,14 @@
{% elif node.state == 'OFFLINE' %}label-warning
{% endif %}">{{ node.get_status_display|upper }}</span>
<div class="btn-group">
<button type="button" class="btn {{ btn_size }} btn-warning nojs-dropdown-toogle dropdown-toggle" data-toggle="dropdown">Action <i class="icon-caret-down"></i></button>
<button type="button" class="btn {{ btn_size }} btn-warning nojs-dropdown-toogle dropdown-toggle" data-toggle="dropdown">{% trans "Action" %} <i class="icon-caret-down"></i></button>
<ul class="dropdown-menu nojs-dropdown-toogle" role="menu">
<li><a href="#" class="node-details-rename-button"><i class="icon-pencil"></i> {% trans "Rename" %}</a></li>
<li><a data-node-pk="{{ node.pk }}" class="real-link node-flush" href="{% url "dashboard.views.flush-node" pk=node.pk %}"><i class="icon-cloud-upload"></i>{% trans "Flush" %}</a>
<li>
<a style="display:{% if node.enabled %}none{% else %}block{% endif %}" data-node-pk="{{ node.pk }}" class="real-link node-enable" href="{% url "dashboard.views.status-node" pk=node.pk %}?next={{ request.path }}"><i class="icon-check"></i>{% trans "Enable" %}</a>
<a style="display:{% if not node.enabled %}none{% else %}block{% endif %}" data-node-pk="{{ node.pk }}" class="real-link node-enable" href="{% url "dashboard.views.status-node" pk=node.pk %}?next={{ request.path }}"><i class="icon-remove"></i>{% trans "Disable" %}</a></li>
<li><a data-node-pk="{{ node.pk }}" class="real-link node-delete" href="{% url "dashboard.views.delete-node" pk=node.pk %}?next={{ request.path }}"><i class="icon-trash"></i> Delete</a></li>
<li><a data-node-pk="{{ node.pk }}" class="real-link node-delete" href="{% url "dashboard.views.delete-node" pk=node.pk %}?next={{ request.path }}"><i class="icon-trash"></i> {% trans "Delete" %}</a></li>
</ul>
</div>
</div>
......
{% load i18n %}
<div class="row">
<div class="col-md-4">
<dl>
<dt>System:</dt>
<dd><i class="icon-linux"></i> Uhu Binux Optikai Rendszer</dd>
<dt>Description:</dt>
<dd><small>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est libero, hendrerit at posuere sed, molestie congue quam. </small></dd>
</dl>
<div style="font-weight: bold;">{% trans "Traits" %}</div>
<div style="font-weight: bold;">{% trans "Traits the node provides" %}</div>
<div id="node-details-traits" style="margin-bottom: 20px;">
<div id="node-details-traits-list">
{% if node.traits.all %}
......
......@@ -3,30 +3,12 @@
{% load render_table from django_tables2 %}
{% block content %}
<div class="alert alert-info">
Tip #1: you can select multiple vm instances while holding down the <strong>CTRL</strong> key!
</div>
<div class="alert alert-info">
Tip #2: if you want to select multiple instances by one click select an instance then hold down <strong>SHIFT</strong> key and select another one!
</div>
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="no-margin"><i class="icon-desktop"></i> Your nodes</h3>
<h3 class="no-margin"><i class="icon-desktop"></i> {% trans "Compute nodes" %}</h3>
</div>
<div class="panel-body node-list-group-control">
<p>
<strong>Group actions</strong>
<button id="node-list-group-select-all" class="btn btn-info btn-xs">Select all</button>
<a class="btn btn-default btn-xs" id="node-list-group-migrate" disabled><i class="icon-truck"></i> Migrate</a>
<a disabled href="#" class="btn btn-default btn-xs"><i class="icon-refresh"></i> Reboot</a>
<a disabled href="#" class="btn btn-default btn-xs"><i class="icon-off"></i> Shutdown</a>
<a id="node-list-group-delete" disabled href="#" class="btn btn-danger btn-xs"><i class="icon-remove"></i> Discard</a>
</p>
</div>
<div id="table_container">
<div id="rendered_table" class="panel-body">
......
<a class="btn btn-default btn-xs" title data-original-title="Flush">
<a class="btn btn-default btn-xs" title="{% trans "Flush" %}">
<i class="icon-cloud-upload"></i>
</a>
<a id="node-list-rename-button" class="btn btn-default btn-xs" title data-original-title="Rename">
<a id="node-list-rename-button" class="btn btn-default btn-xs" title="{% trans "Rename" %}">
<i class="icon-pencil"></i>
</a>
</a>
......@@ -8,7 +8,7 @@
<div class="col-md-8">
<div class="panel panel-default">
<div class="panel-heading">
<a class="pull-right btn btn-default btn-xs" href="{% url "dashboard.views.template-list" %}">Back</a>
<a class="pull-right btn btn-default btn-xs" href="{% url "dashboard.views.template-list" %}">{% trans "Back" %}</a>
<h3 class="no-margin"><i class="icon-puzzle-piece"></i> {% trans "Edit template" %}</h3>
</div>
<div class="panel-body">
......
......@@ -36,6 +36,7 @@
</div>
</div>
{% comment %}
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
......@@ -46,6 +47,7 @@
</div>
</div>
</div>
{% endcomment %}
</div>
{% endblock %}
......
{% load i18n %}
<a href="{% url "dashboard.views.template-create" %}?parent={{ record.pk }}" id="template-list-clone-button" class="btn btn-default btn-xs" title data-original-title="{% trans "Clone" %}">
<a href="{% url "dashboard.views.template-create" %}?parent={{ record.pk }}" id="template-list-clone-button" class="btn btn-default btn-xs" title="{% trans "Clone" %}">
<i class="icon-copy"></i>
</a>
<a href="{% url "dashboard.views.template-detail" pk=record.pk%}" id="template-list-edit-button" class="btn btn-default btn-xs" title data-original-title="{% trans "Edit" %}">
<a href="{% url "dashboard.views.template-detail" pk=record.pk%}" id="template-list-edit-button" class="btn btn-default btn-xs" title="{% trans "Edit" %}">
<i class="icon-edit"></i>
</a>
<a data-template-pk="{{ record.pk }}" href="{% url "dashboard.views.template-delete" pk=record.pk %}" class="btn btn-danger btn-xs template-delete" title="{% trans "Delete" %}">
......
......@@ -74,7 +74,7 @@
</li>
<li>
<strong>{% trans "Wake up" %}:</strong>
{% trans "?" %}
{% trans "Wake up suspended machine." %}
</li>
<li>
<strong>{% trans "Shutdown" %}:</strong>
......@@ -98,7 +98,7 @@
</li>
<li>
<strong>{% trans "Save as template" %}:</strong>
{% trans "?" %}
{% trans "Shut down the virtual machine, and save it as a new template." %}
</li>
<li>
<strong>{% trans "Destroy" %}:</strong>
......@@ -113,7 +113,7 @@
<div class="big">
<span id="vm-details-state" class="label label-success">{{ instance.state }}</span>
<div class="btn-group">
<button type="button" class="btn btn-warning nojs-dropdown-toogle dropdown-toggle" data-toggle="dropdown">Action <i class="icon-caret-down"></i></button>
<button type="button" class="btn btn-warning nojs-dropdown-toogle dropdown-toggle" data-toggle="dropdown">{% trans "Action" %} <i class="icon-caret-down"></i></button>
<ul class="nojs-dropdown-menu dropdown-menu" role="menu">
<li><a href="#" class="vm-details-rename-button"><i class="icon-pencil"></i> {% trans "Rename" %}</a></li>
<li><a data-vm-pk="{{ instance.pk }}" href="#" class="vm-details-save-as-button"><i class="icon-save"></i> {% trans "Save as" %}</a></li>
......@@ -126,7 +126,7 @@
<h3>{% trans "Connection" %}</h3>
<input type="text" value="{{ instance.get_connect_command }}" class="form-control" readonly />
<dl class="dl-horizontal vm-details-pw">
<dt>Password:</dt>
<dt>{% trans "Password" %}:</dt>
<dd>
<div class="input-group">
<input type="text" id="vm-details-pw-input" class="form-control input-sm input-tags" value="{{ instance.pw }}"/>
......@@ -136,15 +136,15 @@
</div>
</dd>
<dd style="font-size: 10px; text-align: right; padding-top: 8px;">
<a id="vm-details-pw-change" href="#">Generate new password!</a>
<a id="vm-details-pw-change" href="#">{% trans "Generate new password!" %}</a>
</dd>
<div id="vm-details-pw-confirm">
<div id="vm-details-pw-confirm"> {% comment %} TODO Couldn't this use a modal? {% endcomment%}
<dt>
Are you sure?
{% trans "Are you sure?" %}
</dt>
<dd>
<a href="#" class="vm-details-pw-confirm-choice label label-success" data-choice="1" data-vm="{{ instance.pk }}">Yes</a> /
<a href="#" class="vm-details-pw-confirm-choice label label-danger" data-choice="0">No</a>
<a href="#" class="vm-details-pw-confirm-choice label label-success" data-choice="1" data-vm="{{ instance.pk }}">{% trans "Yes" %}</a> /
<a href="#" class="vm-details-pw-confirm-choice label label-danger" data-choice="0">{% trans "No" %}</a>
</dd>
</div>
</dl>
......@@ -162,11 +162,8 @@
<i class="icon-tasks icon-2x"></i><br>
{% trans "Resources" %}</a>
</li>
<li {% if not instance.is_console_available %}class="disabled">
<a href="#" data-toggle="pill_" data-target="#_console" class="text-center">
{% else %}>
<li{% if not instance.is_console_available %} class="disabled"{% endif %}>
<a href="#console" data-toggle="pill" data-target="#_console" class="text-center">
{% endif %}
<i class="icon-desktop icon-2x"></i><br>
{% trans "Console" %}</a></li>
<li>
......
{% load i18n %}
<div class="btn-toolbar">
<button id="sendCtrlAltDelButton" class="btn btn-danger small">Send CtrlAltDel</button>
<button id="sendPasswordButton" class="btn btn-default small">Type password</button>
<button id="sendCtrlAltDelButton" class="btn btn-danger small">{% trans "Send Ctrl+Alt+Del" %}</button>
<button id="sendPasswordButton" class="btn btn-default small">{% trans "Type password" %}</button>
</div>
<div class="alert alert-info" id="noVNC_status">
</div>
......
......@@ -2,9 +2,9 @@
<div class="row">
<div class="col-md-4">
<dl>
<dt>System:</dt>
<dt>{% trans "System" %}:</dt>
<dd><i class="icon-{{ os_type_icon }}"></i> {{ instance.system }}</dd>
<dt style="margin-top: 5px;">Description:</dt>
<dt style="margin-top: 5px;">{% trans "Description" %}:</dt>
<dd><small>{{ instance.description }}</small></dd>
</dl>
......@@ -29,7 +29,7 @@
</div>
{% endfor %}
{% else %}
<small>No tag added!</small>
<small>{% trans "No tag added!" %}</small>
{% endif %}
</div>
<form action="" method="POST">
......
{% load i18n %}
<h2>
<a href="#" id="vm-details-network-add" class="btn btn-success pull-right no-js-hidden">
<i class="icon-plus"></i> add interface
<i class="icon-plus"></i> {% trans "add interface" %}
</a>
Interfaces
{% trans "Interfaces" %}
</h2>
<div class="row" id="vm-details-network-add-for-form">
......@@ -12,7 +12,7 @@
{% for i in instance.interface_set.all %}
<h3 class="list-group-item-heading dashboard-vm-details-network-h3">
<i class="icon-{% if i.host %}globe{% else %}link{% endif %}"></i> {{ i.vlan.name }}
{% if not i.host %}(unmanaged) <a href="#" class="btn btn-danger btn-xs">remove</a>{% endif %}
{% if not i.host %}(unmanaged) <a href="#" class="btn btn-danger btn-xs">{% trans "remove" %}</a>{% endif %}
</h3>
{% if i.host %}
<div class="row">
......@@ -31,10 +31,10 @@
</div>
<div class="col-md-7">
<ul class="nav nav-pills pull-right">
<li class="active"><a href="#ipv4_{{ i.host.vlan.pk }}" data-toggle="pill" class="text-center">IPv4</a></li>
<li><a href="#ipv6_{{ i.host.vlan.pk }}" data-toggle="pill" class="text-center">IPv6</a></li>
<li class="active"><a href="#ipv4_{{ i.host.vlan.pk }}" data-toggle="pill" class="text-center">{% trans "IPv4" %}</a></li>
<li><a href="#ipv6_{{ i.host.vlan.pk }}" data-toggle="pill" class="text-center">{% trans "IPv6" %}</a></li>
</ul>
<h4>Port access</h4>
<h4>{% trans "Port access" %}</h4>
<div class="tab-content" style="padding-top: 10px;">
<div class="tab-pane active" id="ipv4_{{ i.host.vlan.pk }}">
<table class="table table-striped rule-table">
......
......@@ -6,15 +6,17 @@
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="no-margin">
Transfer ownership
{% trans "Transfer ownership" %}
</h3>
</div>
<div class="panel-body">
<div class="pull-right">
<form action="" method="POST">
{% csrf_token %}
E-mail address or identifier of user:
<input name="name">
<label>
{% trans "E-mail address or identifier of user" %}:
<input name="name">
</label>
<input type="submit">
</form>
</div>
......
......@@ -778,7 +778,7 @@ class TemplateCreate(SuccessMessageMixin, CreateView):
post['max_ram_size'] = post['ram_size']
inst = Instance.create(params=post, disks=[], networks=networks,
tags=tags, req_traits=req_traits)
messages.success(request, _("Your disk has been created, "
messages.success(request, _("The template has been created, "
"you can now add disks to it!"))
return redirect("%s#resources" % inst.get_absolute_url())
......
......@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-03-18 12:45+0100\n"
"PO-Revision-Date: 2014-03-18 15:23+0100\n"
"POT-Creation-Date: 2014-03-21 13:30+0100\n"
"PO-Revision-Date: 2014-03-21 13:30+0100\n"
"Last-Translator: Mate Ory <orymate@ik.bme.hu>\n"
"Language-Team: Hungarian <cloud@ik.bme.hu>\n"
"Language: hu\n"
......@@ -17,68 +17,68 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.4\n"
#: common/models.py:35
#: common/models.py:36
msgid "activity code"
msgstr "tevékenységkód"
#: common/models.py:38
#: common/models.py:39
msgid "Celery task unique identifier."
msgstr "Celery feladat egyedi azonosítója."
#: common/models.py:39
#: common/models.py:40
msgid "task_uuid"
msgstr "feladat uuid"
#: common/models.py:40 firewall/models.py:176 storage/models.py:63
#: vm/models/instance.py:111 vm/models/instance.py:172
#: common/models.py:41 firewall/models.py:177 storage/models.py:64
#: vm/models/instance.py:110 vm/models/instance.py:171
msgid "user"
msgstr "felhasználó"
#: common/models.py:41
#: common/models.py:42
msgid "The person who started this activity."
msgstr "A tevékenységet indító felhasználó."
#: common/models.py:42
#: common/models.py:43
msgid "started at"
msgstr "indítás ideje"
#: common/models.py:44
#: common/models.py:45
msgid "Time of activity initiation."
msgstr "A tevékenység megkezdésének időpontja."
#: common/models.py:45
#: common/models.py:46
msgid "finished at"
msgstr "befejezés ideje"
#: common/models.py:47
#: common/models.py:48
msgid "Time of activity finalization."
msgstr "A tevékenység befejeztének ideje."
#: common/models.py:49
#: common/models.py:50
msgid "True, if the activity has finished successfully."
msgstr "Igaz, ha a tevékenység sikeresen befejeződött."
#: common/models.py:51
#: common/models.py:52
msgid "result"
msgstr "eredmény"
#: common/models.py:52
#: common/models.py:53
msgid "Human readable result of activity."
msgstr "A tevékenység eredménye olvasható formában."
#: dashboard/forms.py:104 dashboard/templates/dashboard/node-detail.html:56
#: dashboard/templates/dashboard/vm-detail.html:163
#: dashboard/forms.py:104 dashboard/templates/dashboard/node-detail.html:51
#: dashboard/templates/dashboard/vm-detail.html:164
msgid "Resources"
msgstr "Erőforrások"
#: dashboard/forms.py:185
#: dashboard/forms.py:185 dashboard/templates/dashboard/template-edit.html:77
#: dashboard/templates/dashboard/vm-detail/resources.html:59
msgid "No disks are added!"
msgstr "Egy lemez sincs hozzáadva!"
#: dashboard/forms.py:225 dashboard/templates/dashboard/_vm-create-1.html:40
#: dashboard/templates/dashboard/base.html:42
#: dashboard/templates/dashboard/vm-detail.html:180
#: dashboard/templates/dashboard/base.html:48
#: dashboard/templates/dashboard/vm-detail.html:178
msgid "Network"
msgstr "Hálózat"
......@@ -94,105 +94,109 @@ msgstr "Gép"
msgid "Node"
msgstr "Csomópont"
#: dashboard/forms.py:533
#: dashboard/forms.py:528
msgid "Resource configuration"
msgstr "Erőforrásbeállítások"
#: dashboard/forms.py:587
#: dashboard/forms.py:582
msgid "External"
msgstr "Külső"
#: dashboard/forms.py:681 dashboard/tables.py:35 dashboard/tables.py:182
#: dashboard/forms.py:675 dashboard/tables.py:35 dashboard/tables.py:183
msgid "Suspend in"
msgstr "Felfüggesztés ideje"
#: dashboard/forms.py:687 dashboard/forms.py:715
#: dashboard/forms.py:681 dashboard/forms.py:709
msgid "hours"
msgstr "óra"
#: dashboard/forms.py:692 dashboard/forms.py:720
#: dashboard/forms.py:686 dashboard/forms.py:714
msgid "days"
msgstr "nap"
#: dashboard/forms.py:697 dashboard/forms.py:725
#: dashboard/forms.py:691 dashboard/forms.py:719
msgid "weeks"
msgstr "hét"
#: dashboard/forms.py:702 dashboard/forms.py:730
#: dashboard/forms.py:696 dashboard/forms.py:724
msgid "months"
msgstr "hónap"
#: dashboard/forms.py:709 dashboard/tables.py:38 dashboard/tables.py:185
#: dashboard/forms.py:703 dashboard/tables.py:38 dashboard/tables.py:186
msgid "Delete in"
msgstr "Törlés ideje"
#: dashboard/forms.py:761
#: dashboard/forms.py:755
msgid "Invalid format, you can use GB or MB!"
msgstr "Érvénytelen formátum. „GB” és „MB” is használható."
#: dashboard/forms.py:771
#: dashboard/forms.py:765
msgid "You have to either specify size or URL"
msgstr "A méret vagy az URL megadása kötelező."
#: dashboard/forms.py:772
#: dashboard/forms.py:766
msgid "Global"
msgstr "Általános"
#: dashboard/forms.py:809 dashboard/templates/dashboard/vm-list.html:33
#: firewall/models.py:188 network/templates/network/index.html:22
#: dashboard/forms.py:803 dashboard/templates/dashboard/vm-list.html:33
#: firewall/models.py:189 network/templates/network/index.html:22
#: network/templates/network/switch-port-edit.html:43
msgid "Name"
msgstr "Név"
#: dashboard/forms.py:810
#: dashboard/forms.py:804
msgid "Disk size (for example: 20GB, 1500MB)"
msgstr "Lemezméret (például 20GB vagy 1500MB)"
#: dashboard/forms.py:812
#: dashboard/forms.py:806
msgid "URL to an ISO image"
msgstr "ISO lemezkép URL-je"
#: dashboard/forms.py:816
#: dashboard/forms.py:810
msgid "Either specify the size for an empty disk or a URL to an ISO image!"
msgstr ""
"Az üres lemez méretének vagy egy ISO lemezkép URL-jének megadása kötelező."
#: dashboard/forms.py:823
#: dashboard/forms.py:817
#: dashboard/templates/dashboard/vm-detail/_network-port-add.html:14
msgid "Add"
msgstr "Hozzáadás"
#: dashboard/forms.py:846
#: dashboard/forms.py:840
msgid "Username"
msgstr "Felhasználónév"
#: dashboard/forms.py:860
#: dashboard/forms.py:854 dashboard/templates/dashboard/vm-detail.html:129
msgid "Password"
msgstr "Jelszó"
#: dashboard/forms.py:865
#: dashboard/forms.py:859
msgid "Sign in"
msgstr "Bejelentkezés"
#: dashboard/forms.py:888
#: dashboard/forms.py:882
msgid "Email address"
msgstr "E-mail cím"
#: dashboard/forms.py:893
#: dashboard/forms.py:887
msgid "Reset password"
msgstr "Új jelszó"
#: dashboard/forms.py:909
#: dashboard/forms.py:903
msgid "Change password"
msgstr "Jelszóváltoztatás"
#: dashboard/forms.py:1007 dashboard/templates/dashboard/group-detail.html:79
#: dashboard/forms.py:1001 dashboard/templates/dashboard/group-detail.html:79
#: dashboard/templates/dashboard/template-edit.html:63
#: dashboard/templates/dashboard/vm-detail/access.html:51
msgid "Save"
msgstr "Mentés"
#: dashboard/models.py:31
#: dashboard/models.py:31 dashboard/templates/dashboard/index-groups.html:29
#: dashboard/templates/dashboard/index-nodes.html:36
#: dashboard/templates/dashboard/index-nodes.html:70
#: dashboard/templates/dashboard/index-templates.html:20
#: dashboard/templates/dashboard/index-vm.html:45
msgid "new"
msgstr "új"
......@@ -212,15 +216,15 @@ msgstr "választott nyelv"
msgid "Unique identifier of the person, e.g. a student number."
msgstr "A személy egyedi azonosítója, például hallgatói azonosító."
#: dashboard/models.py:79 firewall/models.py:177 storage/models.py:64
#: vm/models/instance.py:112 vm/models/instance.py:173
#: dashboard/models.py:79 firewall/models.py:178 storage/models.py:65
#: vm/models/instance.py:111 vm/models/instance.py:172
msgid "operator"
msgstr "operátor"
#: dashboard/models.py:80 firewall/models.py:70 firewall/models.py:265
#: firewall/models.py:352 firewall/models.py:375 firewall/models.py:439
#: firewall/models.py:734 firewall/models.py:763 storage/models.py:65
#: vm/models/instance.py:113 vm/models/instance.py:174
#: dashboard/models.py:80 firewall/models.py:71 firewall/models.py:266
#: firewall/models.py:343 firewall/models.py:366 firewall/models.py:431
#: firewall/models.py:728 firewall/models.py:757 storage/models.py:66
#: vm/models/instance.py:112 vm/models/instance.py:173
msgid "owner"
msgstr "tulajdonos"
......@@ -228,218 +232,249 @@ msgstr "tulajdonos"
msgid "Unique identifier of the group at the organization."
msgstr "A csoport egyedi szervezeti azonosítója."
#: dashboard/tables.py:73
#: dashboard/tables.py:74
#: dashboard/templates/dashboard/node-detail/resources.html:12
msgid "Priority"
msgstr "Prioritás"
#: dashboard/tables.py:205
#: dashboard/tables.py:206
msgid "Cores"
msgstr "Magok száma"
#: dashboard/tables.py:212
#: dashboard/tables.py:213
msgid "Lease"
msgstr "Bérlet"
#: dashboard/tables.py:215 dashboard/tables.py:244
#: dashboard/tables.py:216 dashboard/tables.py:245
msgid "Actions"
msgstr "Műveletek"
#: dashboard/views.py:263
#: dashboard/views.py:264
msgid "Password changed!"
msgstr "A jelszó megváltoztatva."
#: dashboard/views.py:284
#: dashboard/views.py:286
msgid "Resources successfully updated!"
msgstr "Az erőforrások megváltoztatásra kerültek."
#: dashboard/views.py:304
#: dashboard/views.py:306
msgid "VM successfully renamed!"
msgstr "A virtuális gép átnevezésre került."
#: dashboard/views.py:383
#: dashboard/views.py:385
msgid "There is a problem with your input!"
msgstr "A megadott érték nem megfelelő."
#: dashboard/views.py:385
#: dashboard/views.py:387
msgid "Unknown error."
msgstr "Ismeretlen hiba."
#: dashboard/views.py:407
#: dashboard/views.py:409
msgid "Successfully added new interface!"
msgstr "Az interfész hozzáadása sikeres."
#: dashboard/views.py:426
msgid "Instance successfully saved as template, please rename it!"
msgstr "A példány mentésre került sablonként. Nevezze át."
#: dashboard/views.py:428
msgid "Saving instance as template!"
msgstr "Példány mentése sablonként"
#: dashboard/views.py:526
#: dashboard/views.py:525
msgid "Node successfully renamed!"
msgstr "A csomópont átnevezésre került."
#: dashboard/views.py:548 dashboard/views.py:1390
#: dashboard/views.py:547 dashboard/views.py:1405
msgid "Node successfully changed status!"
msgstr "A csomópont állapota megváltoztatásra került."
#: dashboard/views.py:606
#: dashboard/views.py:605
msgid "Group successfully renamed!"
msgstr "A csoport átnevezésre került."
#: dashboard/views.py:663 dashboard/views.py:687 dashboard/views.py:716
#: dashboard/views.py:736
#: dashboard/views.py:662 dashboard/views.py:686 dashboard/views.py:715
#: dashboard/views.py:735
#, python-format
msgid "User or group \"%s\" not found."
msgstr "Nem található „%s” felhasználó vagy csoport."
#: dashboard/views.py:749
#: dashboard/views.py:748
msgid "Successfully created a new template!"
msgstr "A sablon létrehozásra került."
#: dashboard/views.py:786
#: dashboard/views.py:781
msgid "The template has been created, you can now add disks to it!"
msgstr "A sablon létrehozásra került, hozzáadhat lemezeket."
#: dashboard/views.py:801
msgid "Successfully modified template!"
msgstr "A sablon módosításra került."
#: dashboard/views.py:884
#: dashboard/views.py:899
msgid "Template successfully deleted!"
msgstr "A sablon törlésre került."
#: dashboard/views.py:971 dashboard/views.py:1017
#: dashboard/views.py:986 dashboard/views.py:1032
msgid "Group successfully deleted!"
msgstr "A csoport törlésre került."
#: dashboard/views.py:1063
#: dashboard/views.py:1078
msgid "Customize VM"
msgstr "VM testreszabása"
#: dashboard/views.py:1071
#: dashboard/views.py:1086
msgid "Create a VM"
msgstr "VM létrehozása"
#: dashboard/views.py:1126
#: dashboard/views.py:1141
msgid "VM successfully created!"
msgstr "VM létrehozásra került."
#: dashboard/views.py:1147
#: dashboard/views.py:1162
#, python-format
msgid "Instance limit (%d) exceeded."
msgstr "A példányok létrehozási korlátját (%d) túllépte."
#: dashboard/views.py:1215
#: dashboard/views.py:1230
msgid "Node successfully created!"
msgstr "A csomópont létrehozásra került."
#: dashboard/views.py:1258
#: dashboard/views.py:1273
msgid "VM successfully deleted!"
msgstr "A VM törlésre került."
#: dashboard/views.py:1297
#: dashboard/views.py:1312
msgid "Node successfully deleted!"
msgstr "A csomópont törlésre került."
#: dashboard/views.py:1344
#: dashboard/views.py:1359
msgid "Trait successfully added to node."
msgstr "A csomópontjellemző hozzáadásra került."
#: dashboard/views.py:1420
#: dashboard/views.py:1452
msgid "Node successfully flushed!"
msgstr "A csomópont ürítésre kerül."
#: dashboard/views.py:1471
msgid "Port delete confirmation"
msgstr "Porteltávolítás megerősítése"
#: dashboard/views.py:1421
#: dashboard/views.py:1472
#, python-format
msgid "Are you sure you want to close %(port)d/%(proto)s on %(vm)s?"
msgstr "Biztosan bezárja a(z) %(port)d/%(proto)s portot a következőn: %(vm)s?"
#: dashboard/views.py:1436
#: dashboard/views.py:1487
msgid "Port successfully removed!"
msgstr "A port eltávolításra került."
#: dashboard/views.py:1474
#: dashboard/views.py:1525
#, python-format
msgid "Mass delete complete, the following VMs were deleted: %s!"
msgstr "A következő VM-ek törlésre kerültek: %s."
#: dashboard/views.py:1494
#: dashboard/views.py:1545
msgid "Successfully created a new lease!"
msgstr "Új bérlési mód létrehozásra került."
#: dashboard/views.py:1505
#: dashboard/views.py:1556
msgid "Successfully modified lease!"
msgstr "A bérlési mód megváltoztatásra került."
#: dashboard/views.py:1528
#: dashboard/views.py:1579
msgid "Lease successfully deleted!"
msgstr "A bérlési mód törlésre került."
#: dashboard/views.py:1590
#: dashboard/views.py:1641
msgid "Can not find specified user."
msgstr "Nem található a megadott felhasználó."
#: dashboard/views.py:1606
#: dashboard/views.py:1657
msgid "Ownership offer"
msgstr "Átruházási ajánlat"
#: dashboard/views.py:1610
#: dashboard/views.py:1661
msgid "Can not notify selected user."
msgstr "A kiválaszott felhasználó értesítése sikertelen."
#: dashboard/views.py:1613
#: dashboard/views.py:1664
#, python-format
msgid "User %s is notified about the offer."
msgstr "%s felhasználó értesítésre került az ajánlatról."
#: dashboard/views.py:1631
#: dashboard/views.py:1682
msgid "Failed to perform requested action."
msgstr "A kért művelet végrehajtása meghiúsult."
#: dashboard/views.py:1669 dashboard/views.py:1699
#: dashboard/views.py:1720 dashboard/views.py:1750
msgid "The token has expired, please log in."
msgstr "A token lejárt, jelentkezzen be."
#: dashboard/views.py:1681 dashboard/views.py:1710
#: dashboard/views.py:1732 dashboard/views.py:1761
msgid "This token is invalid."
msgstr "A token érvénytelen."
#: dashboard/views.py:1761
#: dashboard/views.py:1812
msgid "Virtual machine is successfully renewed."
msgstr "A virtuális gép megújításra került."
#: dashboard/views.py:1781
#: dashboard/views.py:1832
msgid "Ownership successfully transferred to you."
msgstr "A tulajdon átruházásra került."
#: dashboard/views.py:1794
#: dashboard/views.py:1845
msgid "This token is for an other user."
msgstr "A token más felhasználó nevére szól."
#: dashboard/views.py:1797
#: dashboard/views.py:1848
msgid "This token is invalid or has expired."
msgstr "A token érvénytelen vagy lejárt."
#: dashboard/views.py:1819
#: dashboard/views.py:1870
msgid "Ownership accepted"
msgstr "Átruházás elfogadva"
#: dashboard/views.py:1984
#: dashboard/views.py:2035
#, python-format
msgid "Migrate %(name)s"
msgstr "%(name)s migrálása"
#: dashboard/views.py:2000
#: dashboard/views.py:2051
msgid "You didn't select a node!"
msgstr "Nem választott ki csomópontot."
#: dashboard/views.py:2039
#: dashboard/views.py:2090
msgid "Disk successfully added!"
msgstr "A lemez hozzáadásra került."
#: dashboard/views.py:2041
#: dashboard/views.py:2092
msgid "Disk download started!"
msgstr "A lemez letöltése megkezdődött."
#: dashboard/views.py:2068
#: dashboard/views.py:2119
msgid "You don't have a profile."
msgstr "Nincs profilja."
#: dashboard/views.py:2151
msgid "Disk remove confirmation"
msgstr "Lemez törlésének megerősítése"
#: dashboard/views.py:2152
#, python-format
msgid ""
"Are you sure you want to remove <strong>%(disk)s</strong> from <strong>"
"%(app)s</strong>?"
msgstr ""
"Biztosan eltávolítja a(z) <strong>%(disk)s</strong> lemezt a következőből: "
"%(app)s?"
#: dashboard/views.py:2172
msgid "Disk successfully removed!"
msgstr "A lemez eltávolításra került."
#: dashboard/templates/dashboard/_disk-list-element.html:10
#: dashboard/templates/dashboard/node-detail/_activity-timeline.html:21
#: dashboard/templates/dashboard/vm-detail/_activity-timeline.html:23
msgid "failed"
msgstr "meghiúsult"
#: dashboard/templates/dashboard/_notifications-timeline.html:18
msgid "You have no notifications."
msgstr "Nincs értesítése."
......@@ -462,6 +497,11 @@ msgstr "Lemezek"
msgid "Type"
msgstr "Típus"
#: dashboard/templates/dashboard/_vm-create-1.html:53
#: dashboard/templates/dashboard/vm-detail/home.html:7
msgid "Description"
msgstr "Leírás"
#: dashboard/templates/dashboard/_vm-migrate.html:12
msgid "current"
msgstr "jelenlegi"
......@@ -478,22 +518,51 @@ msgstr "CPU-terhelés"
msgid "RAM usage"
msgstr "RAM-használat"
#: dashboard/templates/dashboard/base.html:40
#: dashboard/templates/dashboard/base.html:38
#: dashboard/templates/dashboard/notifications.html:9
msgid "Notifications"
msgstr "Értesítések"
#: dashboard/templates/dashboard/base.html:41
msgid "Loading..."
msgstr "Betöltés..."
#: dashboard/templates/dashboard/base.html:46
msgid "Log out"
msgstr "Kijelentkezés"
#: dashboard/templates/dashboard/base.html:41
#: dashboard/templates/dashboard/base.html:47
msgid "User profile"
msgstr "Felhasználói profil"
#: dashboard/templates/dashboard/base.html:44
#: dashboard/templates/dashboard/base.html:50
msgid "Admin"
msgstr "Adminisztráció"
#: dashboard/templates/dashboard/base.html:47
#: dashboard/templates/dashboard/base.html:53
msgid "Log in "
msgstr "Bejelentkezés"
#: dashboard/templates/dashboard/base.html:76
msgid "Legal notice"
msgstr "Impresszum"
#: dashboard/templates/dashboard/base.html:76
msgid "Policy"
msgstr "Szabályzat"
#: dashboard/templates/dashboard/base.html:76
#: dashboard/templates/dashboard/index-groups.html:5
#: dashboard/templates/dashboard/index-templates.html:4
#: dashboard/templates/dashboard/index-vm.html:9
#: dashboard/templates/dashboard/vm-detail.html:54
msgid "Help"
msgstr "Súgó"
#: dashboard/templates/dashboard/base.html:77
msgid "Support"
msgstr "Támogatás"
#: dashboard/templates/dashboard/group-detail.html:12
#: dashboard/templates/dashboard/group-detail.html:26
#: dashboard/templates/dashboard/node-detail.html:11
......@@ -501,6 +570,8 @@ msgstr "Bejelentkezés"
#: dashboard/templates/dashboard/vm-detail.html:61
#: dashboard/templates/dashboard/vm-detail.html:118
#: dashboard/templates/dashboard/group-list/column-name.html:7
#: dashboard/templates/dashboard/node-list/column-actions.html:5
#: dashboard/templates/dashboard/node-list/column-admin.html:4
#: dashboard/templates/dashboard/node-list/column-name.html:7
#: dashboard/templates/dashboard/vm-list/column-name.html:7
msgid "Rename"
......@@ -523,6 +594,7 @@ msgstr "Ki"
#: dashboard/templates/dashboard/template-edit.html:49
#: dashboard/templates/dashboard/vm-detail/access.html:28
#: dashboard/templates/dashboard/vm-detail/access.html:37
#: dashboard/templates/dashboard/vm-detail/network.html:15
msgid "remove"
msgstr "eltávolítás"
......@@ -544,33 +616,86 @@ msgstr "Jogosultságok"
msgid "What"
msgstr "Mi"
#: dashboard/templates/dashboard/index-groups.html:7
#: dashboard/templates/dashboard/vm-detail/network.html:24
#: network/templates/network/host-edit.html:30
msgid "Groups"
msgstr "Csoportok"
#: dashboard/templates/dashboard/index-groups.html:18
#: dashboard/templates/dashboard/index-nodes.html:25
#: dashboard/templates/dashboard/index-nodes.html:59
#: dashboard/templates/dashboard/index-vm.html:34
#: dashboard/templates/dashboard/vm-list.html:13
msgid "Search..."
msgstr "Keresés..."
#: dashboard/templates/dashboard/index-nodes.html:10
msgid ""
"List of compute nodes, also called worker nodes or hypervisors, which run "
"the virtual machines."
msgstr ""
"A virtuális gépeket futtató számítási csomópontok (más néven worker node-ok, "
"hypervisorok) listája."
#: dashboard/templates/dashboard/index-nodes.html:13
msgid "Compute nodes"
msgstr "Számítási csomópontok"
msgid "Nodes"
msgstr "Csomópontok"
#: dashboard/templates/dashboard/index-nodes.html:67
#: dashboard/templates/dashboard/index-vm.html:42
#, python-format
msgid "<strong>%(count)s</strong> more"
msgstr "még <strong>%(count)s</strong>"
#: dashboard/templates/dashboard/index-templates.html:7
#: dashboard/templates/dashboard/template-list.html:13
msgid "Templates"
msgstr "Sablonok"
#: dashboard/templates/dashboard/index-templates.html:14
msgid "Start vm instance"
msgstr "VM-példány indítása"
#: dashboard/templates/dashboard/index-templates.html:19
msgid "show all"
msgstr "összes"
#: dashboard/templates/dashboard/index-vm.html:12
#: dashboard/templates/dashboard/vm-list.html:9
msgid "Virtual machines"
msgstr "Virtuális gépek"
#: dashboard/templates/dashboard/index-vm.html:23
msgid "Unfavourite"
msgstr "Kedvencnek jelölés törlése"
#: dashboard/templates/dashboard/index-vm.html:25
msgid "Mark as favorite"
msgstr "Kedvencnek jelölés"
#: dashboard/templates/dashboard/index-vm.html:52
#, python-format
msgid "<big>%(count)s</big> running"
msgstr "<big>%(count)s</big> fut"
#: dashboard/templates/dashboard/index-vm.html:61
#, python-format
msgid "<big>%(count)s</big> stopped"
msgstr "<big>%(count)s</big> leállítva"
#: dashboard/templates/dashboard/index.html:4
#: network/templates/network/index.html:9
msgid "Dashboard"
msgstr "Műszerfal"
#: dashboard/templates/dashboard/index.html:9
#: dashboard/templates/dashboard/notifications.html:9
msgid "Notifications"
msgstr "Értesítések"
#: dashboard/templates/dashboard/index.html:12
msgid "Loading..."
msgstr "Betöltés..."
#: dashboard/templates/dashboard/lease-create.html:10
#: dashboard/templates/dashboard/lease-edit.html:10
#: dashboard/templates/dashboard/profile_form.html:10
#: dashboard/templates/dashboard/template-create.html:10
#: dashboard/templates/dashboard/template-edit.html:11
#: dashboard/templates/dashboard/confirm/base-renew.html:26
#: dashboard/templates/dashboard/confirm/node-flush.html:26
msgid "Back"
msgstr "Vissza"
......@@ -586,29 +711,64 @@ msgstr "Bérlési mód szerkesztése"
msgid "Add Trait"
msgstr "Jellemző hozzáadása"
#: dashboard/templates/dashboard/node-detail.html:52
#: dashboard/templates/dashboard/vm-detail.html:158
#: dashboard/templates/dashboard/node-detail.html:29
#: dashboard/templates/dashboard/vm-detail.html:116
#: network/templates/network/index.html:20
msgid "Action"
msgstr "Művelet"
#: dashboard/templates/dashboard/node-detail.html:32
#: dashboard/templates/dashboard/node-list/column-actions.html:6
#: dashboard/templates/dashboard/node-list/column-admin.html:1
msgid "Flush"
msgstr "Ürítés"
#: dashboard/templates/dashboard/node-detail.html:34
#: dashboard/templates/dashboard/node-list/column-actions.html:7
msgid "Enable"
msgstr "Engedélyezés"
#: dashboard/templates/dashboard/node-detail.html:35
#: dashboard/templates/dashboard/node-list/column-actions.html:8
msgid "Disable"
msgstr "Tiltás"
#: dashboard/templates/dashboard/node-detail.html:36
#: dashboard/templates/dashboard/confirm/ajax-delete.html:16
#: dashboard/templates/dashboard/confirm/mass-delete.html:11
#: dashboard/templates/dashboard/node-list/column-actions.html:9
#: dashboard/templates/dashboard/template-list/column-lease-actions.html:5
#: dashboard/templates/dashboard/template-list/column-template-actions.html:8
msgid "Delete"
msgstr "Törlés"
#: dashboard/templates/dashboard/node-detail.html:47
#: dashboard/templates/dashboard/vm-detail.html:159
msgid "Home"
msgstr "Kezdőoldal"
#: dashboard/templates/dashboard/node-detail.html:60
#: dashboard/templates/dashboard/node-detail.html:55
msgid "Virtual Machines"
msgstr "Virtuális gépek"
#: dashboard/templates/dashboard/node-detail.html:64
#: dashboard/templates/dashboard/vm-detail.html:185
#: dashboard/templates/dashboard/node-detail.html:59
#: dashboard/templates/dashboard/vm-detail.html:183
#: dashboard/templates/dashboard/node-detail/activity.html:3
#: dashboard/templates/dashboard/vm-detail/activity.html:3
msgid "Activity"
msgstr "Tevékenységek"
#: dashboard/templates/dashboard/node-list.html:10
msgid "Compute nodes"
msgstr "Számítási csomópontok"
#: dashboard/templates/dashboard/profile_form.html:11
msgid "My profile"
msgstr "Saját profil"
#: dashboard/templates/dashboard/template-create.html:11
msgid "Create template"
msgstr "Sablon létrehozása"
msgid "Create base VM"
msgstr "Alap VM létrehozása"
#: dashboard/templates/dashboard/template-edit.html:12
msgid "Edit template"
......@@ -622,13 +782,17 @@ msgstr "Jogosultságok kezelése"
msgid "Disk list"
msgstr "Lemezek"
#: dashboard/templates/dashboard/template-edit.html:87
#: dashboard/templates/dashboard/template-edit.html:90
msgid "Create new disk"
msgstr "Új lemez létrehozása"
#: dashboard/templates/dashboard/template-list.html:13
msgid "Templates"
msgstr "Sablonok"
#: dashboard/templates/dashboard/template-list.html:11
msgid "new base vm"
msgstr "alap VM létrehozása"
#: dashboard/templates/dashboard/template-list.html:27
msgid "new lease"
msgstr "bérlési mód létrehozása"
#: dashboard/templates/dashboard/template-list.html:29
msgid "Leases"
......@@ -678,18 +842,13 @@ msgstr "Mentés sablonként"
msgid "Destroy"
msgstr "Megsemmisítés"
#: dashboard/templates/dashboard/vm-detail.html:54
msgid "Help"
msgstr "Súgó"
#: dashboard/templates/dashboard/vm-detail.html:73
msgid "Suspend virtual machine with memory dump."
msgstr "Virtuális gép felfüggesztése memóriamentéssel."
#: dashboard/templates/dashboard/vm-detail.html:77
#: dashboard/templates/dashboard/vm-detail.html:101
msgid "?"
msgstr "?"
msgid "Wake up suspended machine."
msgstr "Felfüggesztett gép felébresztése."
#: dashboard/templates/dashboard/vm-detail.html:80
#: dashboard/templates/dashboard/vm-detail.html:121
......@@ -722,6 +881,10 @@ msgstr "Migrálás"
msgid "Live migrate running vm to another node."
msgstr "Futó VM üzem közbeni migrálása másik csomópontra."
#: dashboard/templates/dashboard/vm-detail.html:101
msgid "Shut down the virtual machine, and save it as a new template."
msgstr "Virtuális gép leállítása, majd mentése új sablonként."
#: dashboard/templates/dashboard/vm-detail.html:105
msgid "Remove virtual machine and its networks."
msgstr "Virtuális gép és hálózatainak eltávolítása."
......@@ -743,22 +906,35 @@ msgstr "Eldobás"
msgid "Connection"
msgstr "Kapcsolat"
#: dashboard/templates/dashboard/vm-detail.html:171
#: dashboard/templates/dashboard/vm-detail.html:139
msgid "Generate new password!"
msgstr "Új jelszó generálása"
#: dashboard/templates/dashboard/vm-detail.html:144
msgid "Are you sure?"
msgstr "Biztos benne?"
#: dashboard/templates/dashboard/vm-detail.html:147
#: dashboard/templates/dashboard/confirm/ajax-node-flush.html:19
#: dashboard/templates/dashboard/confirm/base-delete.html:29
#: dashboard/templates/dashboard/confirm/base-transfer-ownership.html:22
#: dashboard/templates/dashboard/confirm/node-flush.html:28
msgid "Yes"
msgstr "Igen"
#: dashboard/templates/dashboard/vm-detail.html:148
#: dashboard/templates/dashboard/confirm/base-transfer-ownership.html:20
msgid "No"
msgstr "Nem"
#: dashboard/templates/dashboard/vm-detail.html:169
msgid "Console"
msgstr "Konzol"
#: dashboard/templates/dashboard/vm-detail.html:175
#: dashboard/templates/dashboard/vm-detail.html:173
msgid "Access"
msgstr "Hozzáférés"
#: dashboard/templates/dashboard/vm-list.html:9
msgid "Virtual machines"
msgstr "Virtuális gépek"
#: dashboard/templates/dashboard/vm-list.html:13
msgid "Search..."
msgstr "Keresés..."
#: dashboard/templates/dashboard/vm-list.html:21
msgid "Group actions"
msgstr "Csoportos műveletek"
......@@ -811,6 +987,27 @@ msgstr ""
" Biztosan törli a következőt: <strong>%(object)s</strong>?\n"
" "
#: dashboard/templates/dashboard/confirm/ajax-delete.html:15
#: dashboard/templates/dashboard/confirm/ajax-node-flush.html:17
#: dashboard/templates/dashboard/confirm/ajax-node-status.html:17
#: dashboard/templates/dashboard/confirm/base-delete.html:27
#: dashboard/templates/dashboard/confirm/mass-delete.html:10
#: dashboard/templates/dashboard/confirm/node-status.html:27
msgid "Cancel"
msgstr "Mégsem"
#: dashboard/templates/dashboard/confirm/ajax-node-flush.html:10
#: dashboard/templates/dashboard/confirm/node-flush.html:19
#, python-format
msgid ""
"\n"
" Are you sure you want to flush <strong>%(object)s</strong>?\n"
" "
msgstr ""
"\n"
" Biztosan üríti a következőt: <strong>%(object)s</strong>?\n"
" "
#: dashboard/templates/dashboard/confirm/ajax-node-status.html:10
#: dashboard/templates/dashboard/confirm/node-status.html:20
#, python-format
......@@ -825,15 +1022,16 @@ msgstr ""
"%(object)s</strong>?\n"
" "
#: dashboard/templates/dashboard/confirm/ajax-node-status.html:17
msgid "Cancel"
msgstr "Mégsem"
#: dashboard/templates/dashboard/confirm/ajax-node-status.html:19
#: dashboard/templates/dashboard/confirm/node-status.html:30
#, python-format
msgid "Yes, %(status)s"
msgstr "Igen, %(status)s"
#: dashboard/templates/dashboard/confirm/base-delete.html:12
msgid "Delete confirmation"
msgstr "Törlés megerősítése"
#: dashboard/templates/dashboard/confirm/base-delete.html:20
#, python-format
msgid ""
......@@ -903,24 +1101,23 @@ msgstr ""
" Elfogadja a gép birtoklásával járó felelősséget?\n"
" "
#: dashboard/templates/dashboard/confirm/base-transfer-ownership.html:20
msgid "No"
msgstr "Nem"
#: dashboard/templates/dashboard/confirm/mass-delete.html:5
msgid "Are you sure you want to delete the following objects?"
msgstr "Biztosan törli a következő objektumokat?"
#: dashboard/templates/dashboard/confirm/base-transfer-ownership.html:22
msgid "Yes"
msgstr "Igen"
#: dashboard/templates/dashboard/confirm/node-status.html:12
msgid "Status changing confirmation"
msgstr "Állapotváltozás megerősítése"
#: dashboard/templates/dashboard/node-detail/_activity-timeline.html:21
#: dashboard/templates/dashboard/vm-detail/_activity-timeline.html:23
msgid "failed"
msgstr "meghiúsult"
#: dashboard/templates/dashboard/group-list/column-details.html:2
msgid "Members"
msgstr "Tagok"
#: dashboard/templates/dashboard/node-detail/home.html:10
msgid "Traits"
msgstr "Jellemző"
#: dashboard/templates/dashboard/node-detail/home.html:4
msgid "Traits the node provides"
msgstr "A csomópont által biztosított jellemzők"
#: dashboard/templates/dashboard/node-detail/home.html:21
#: dashboard/templates/dashboard/node-detail/home.html:15
msgid "No trait added!"
msgstr "Nincs jellemző."
......@@ -1039,11 +1236,6 @@ msgstr ""
msgid "Edit"
msgstr "Szerkesztés"
#: dashboard/templates/dashboard/template-list/column-lease-actions.html:5
#: dashboard/templates/dashboard/template-list/column-template-actions.html:8
msgid "Delete"
msgstr "Törlés"
#: dashboard/templates/dashboard/template-list/column-template-actions.html:2
msgid "Clone"
msgstr "Klónozás"
......@@ -1067,6 +1259,18 @@ msgstr ""
msgid "Transfer ownership..."
msgstr "Tulajdon átruházása..."
#: dashboard/templates/dashboard/vm-detail/console.html:3
msgid "Send Ctrl+Alt+Del"
msgstr "Ctrl+Alt+Del küldése"
#: dashboard/templates/dashboard/vm-detail/console.html:4
msgid "Type password"
msgstr "Jelszó begépelése"
#: dashboard/templates/dashboard/vm-detail/home.html:5
msgid "System"
msgstr "Rendszer"
#: dashboard/templates/dashboard/vm-detail/home.html:11
msgid "Expiration"
msgstr "Lejárat"
......@@ -1087,17 +1291,29 @@ msgstr "Megsemmisítve:"
msgid "Tags"
msgstr "Címkék"
#: dashboard/templates/dashboard/vm-detail/home.html:32
msgid "No tag added!"
msgstr "Nincs címke."
#: dashboard/templates/dashboard/vm-detail/home.html:43
msgid "Add tag"
msgstr "Címke hozzáadása"
#: dashboard/templates/dashboard/vm-detail/network.html:4
msgid "add interface"
msgstr "új interfész"
#: dashboard/templates/dashboard/vm-detail/network.html:6
msgid "Interfaces"
msgstr "Interfészek"
#: dashboard/templates/dashboard/vm-detail/network.html:21
#: firewall/models.py:411
#: firewall/models.py:403
msgid "IPv4 address"
msgstr "IPv4 cím"
#: dashboard/templates/dashboard/vm-detail/network.html:22
#: firewall/models.py:421
#: firewall/models.py:413
msgid "IPv6 address"
msgstr "IPv6 cím"
......@@ -1105,10 +1321,17 @@ msgstr "IPv6 cím"
msgid "DNS name"
msgstr "DNS név"
#: dashboard/templates/dashboard/vm-detail/network.html:24
#: network/templates/network/host-edit.html:30
msgid "Groups"
msgstr "Csoportok"
#: dashboard/templates/dashboard/vm-detail/network.html:34
msgid "IPv4"
msgstr "IPv4"
#: dashboard/templates/dashboard/vm-detail/network.html:35
msgid "IPv6"
msgstr "IPv6"
#: dashboard/templates/dashboard/vm-detail/network.html:37
msgid "Port access"
msgstr "Portok elérése"
#: dashboard/templates/dashboard/vm-detail/network.html:64
#: dashboard/templates/dashboard/vm-detail/network.html:96
......@@ -1143,6 +1366,14 @@ msgstr "Erőforrások mentése"
msgid "Add new disk"
msgstr "Lemez hozzáadása"
#: dashboard/templates/dashboard/vm-detail/tx-owner.html:9
msgid "Transfer ownership"
msgstr "Tulajdon átruházása"
#: dashboard/templates/dashboard/vm-detail/tx-owner.html:17
msgid "E-mail address or identifier of user"
msgstr "A felhasználó e-mail címe vagy azonosítója"
#: firewall/fields.py:22
msgid "Enter a valid MAC address."
msgstr "Érvénytelen MAC cím."
......@@ -1185,186 +1416,186 @@ msgstr "%s – nem egy IPv6 cím"
msgid "Bad MX address format. Should be: <priority>:<hostname>"
msgstr "Érvénytelen MX címformátum. Elvárt formátum: <prioritás>:<gépnév>"
#: firewall/models.py:41
#: firewall/models.py:42
msgid "direction"
msgstr "irány"
#: firewall/models.py:42
#: firewall/models.py:43
msgid "If the rule matches egress or ingress packets."
msgstr "A szabály kimenő vagy bejövő csomagokra illeszkedik."
#: firewall/models.py:44 firewall/models.py:230 firewall/models.py:349
#: firewall/models.py:372 firewall/models.py:428 firewall/models.py:740
#: firewall/models.py:764 firewall/models.py:834 vm/models/instance.py:118
#: vm/models/instance.py:187
#: firewall/models.py:45 firewall/models.py:231 firewall/models.py:340
#: firewall/models.py:363 firewall/models.py:420 firewall/models.py:734
#: firewall/models.py:758 firewall/models.py:828 vm/models/instance.py:117
#: vm/models/instance.py:186
msgid "description"
msgstr "leírás"
#: firewall/models.py:45
#: firewall/models.py:46
msgid "Why is the rule needed, or how does it work."
msgstr "Miért szükséges a szabály, vagy hogyan működik."
#: firewall/models.py:48
#: firewall/models.py:49
msgid "foreign network"
msgstr "idegen hálózat"
#: firewall/models.py:49
#: firewall/models.py:50
msgid ""
"The group of vlans the matching packet goes to (direction out) or from (in)."
msgstr ""
"A vlanok azon csoportja, amelybe a csomag megy (ki irány) vagy emelyből jön "
"(be irány)."
#: firewall/models.py:53
#: firewall/models.py:54
msgid "dest. port"
msgstr "célport"
#: firewall/models.py:55
#: firewall/models.py:56
msgid "Destination port number of packets that match."
msgstr "Az illeszkedő csomagok célportjának száma."
#: firewall/models.py:57
#: firewall/models.py:58
msgid "source port"
msgstr "forrásport"
#: firewall/models.py:59
#: firewall/models.py:60
msgid "Source port number of packets that match."
msgstr "Az illeszkedő csomagok forrásportjának száma."
#: firewall/models.py:61
#: firewall/models.py:62
msgid "protocol"
msgstr "protokoll"
#: firewall/models.py:62
#: firewall/models.py:63
msgid "Protocol of packets that match."
msgstr "Az illeszkedő csomagok protokollja."
#: firewall/models.py:63
#: firewall/models.py:64
msgid "extra arguments"
msgstr "további argumentumok"
#: firewall/models.py:64
#: firewall/models.py:65
msgid "Additional arguments passed literally to the iptables-rule."
msgstr "Az iptables-szabályhoz változtatás nélkül hozzáadott argumentumok."
#: firewall/models.py:66
#: firewall/models.py:67
msgid "accept"
msgstr "elfogadás"
#: firewall/models.py:67
#: firewall/models.py:68
msgid "Accept the matching packets (or deny if not checked)."
msgstr ""
"Az illeszkedő csomagok elfogadás (vagy elutasítása ha nincs bejelölve)."
#: firewall/models.py:71
#: firewall/models.py:72
msgid "The user responsible for this rule."
msgstr "A szabályért felelős felhasználó."
#: firewall/models.py:73
#: firewall/models.py:74
msgid "NAT"
msgstr "NAT"
#: firewall/models.py:74
#: firewall/models.py:75
msgid "If network address translation should be done."
msgstr "Hálózati címfordítás engedélyezése."
#: firewall/models.py:77
#: firewall/models.py:78
msgid "Rewrite destination port number to this if NAT is needed."
msgstr "Célport számának átírása a megadottra NAT esetén."
#: firewall/models.py:84 firewall/models.py:263 firewall/models.py:354
#: firewall/models.py:377 firewall/models.py:447
#: firewall/models.py:85 firewall/models.py:264 firewall/models.py:345
#: firewall/models.py:368 firewall/models.py:439
msgid "created at"
msgstr "létrehozva"
#: firewall/models.py:87 firewall/models.py:267 firewall/models.py:356
#: firewall/models.py:379 firewall/models.py:449
#: firewall/models.py:88 firewall/models.py:268 firewall/models.py:347
#: firewall/models.py:370 firewall/models.py:441
msgid "modified at"
msgstr "módosítva"
#: firewall/models.py:90 firewall/models.py:436 vm/models/network.py:22
#: firewall/models.py:91 firewall/models.py:428 vm/models/network.py:22
#: vm/models/network.py:47
msgid "vlan"
msgstr "vlan"
#: firewall/models.py:91
#: firewall/models.py:92
msgid "Vlan the rule applies to (if type is vlan)."
msgstr "Erre a vlanra vonatkozik a szabály (ha a típus vlan)."
#: firewall/models.py:95
#: firewall/models.py:96
msgid "vlan group"
msgstr "vlan-csoport"
#: firewall/models.py:96
#: firewall/models.py:97
msgid "Group of vlans the rule applies to (if type is vlan)."
msgstr "Erre a vlan-csoportra vonatkozik a szabály (ha a típus vlan)."
#: firewall/models.py:99 firewall/models.py:757 firewall/models.py:877
#: vm/models/network.py:49 vm/models/node.py:48
#: firewall/models.py:100 firewall/models.py:751 firewall/models.py:871
#: vm/models/network.py:49 vm/models/node.py:51
msgid "host"
msgstr "gép"
#: firewall/models.py:100
#: firewall/models.py:101
msgid "Host the rule applies to (if type is host)."
msgstr "Erre a gépre vonatkozik a szabály (ha a típus gép)."
#: firewall/models.py:103
#: firewall/models.py:104
msgid "host group"
msgstr "gépcsoport"
#: firewall/models.py:104
#: firewall/models.py:105
msgid "Group of hosts the rule applies to (if type is host)."
msgstr "Erre a gépcsoportra vonatkozik a szabály (ha a típus gép)."
#: firewall/models.py:107
#: firewall/models.py:108
msgid "firewall"
msgstr "tűzfal"
#: firewall/models.py:108
#: firewall/models.py:109
msgid "Firewall the rule applies to (if type is firewall)."
msgstr "Erre a tűzfalra vonatkozik a szabály (ha a típus tűzfal)."
#: firewall/models.py:120
#: firewall/models.py:121
msgid "Only one field can be selected."
msgstr "Csak egy mező választható ki."
#: firewall/models.py:150
#: firewall/models.py:151
msgid "rule"
msgstr "szabály"
#: firewall/models.py:151
#: firewall/models.py:152
msgid "rules"
msgstr "szabályok"
#: firewall/models.py:179
#: firewall/models.py:180
msgid "public"
msgstr "nyilvános"
#: firewall/models.py:179
#: firewall/models.py:180
msgid "dmz"
msgstr "dmz"
#: firewall/models.py:180
#: firewall/models.py:181
msgid "portforward"
msgstr "porttovábbítás"
#: firewall/models.py:182
#: firewall/models.py:183
msgid "VID"
msgstr "VID"
#: firewall/models.py:183
#: firewall/models.py:184
msgid "The vlan ID of the subnet."
msgstr "Az alhálózat vlan-azonosítója."
#: firewall/models.py:189
#: firewall/models.py:190
msgid "The short name of the subnet."
msgstr "Az alhálózat rövid neve."
#: firewall/models.py:193
#: firewall/models.py:194
msgid "IPv4 address/prefix"
msgstr "IPv4 cím/prefixhossz"
#: firewall/models.py:195
#: firewall/models.py:196
msgid ""
"The IPv4 address and the prefix length of the gateway. Recommended value is "
"the last valid address of the subnet, for example 10.4.255.254/16 for "
......@@ -1373,19 +1604,19 @@ msgstr ""
"Az útválasztó IPv4 címe és prefixhossza. Az ajánlott érték az alhálózat "
"utolsó érvényes címe, például 10.4.255.254/16 a 10.4.0.0/16 hálózat esetén."
#: firewall/models.py:205
#: firewall/models.py:206
msgid "IPv6 address/prefix"
msgstr "IPv6 cím/prefixhossz"
#: firewall/models.py:207
#: firewall/models.py:208
msgid "The IPv6 address and the prefix length of the gateway."
msgstr "Az útválasztó IPv6 címe és prefixhossza."
#: firewall/models.py:211
#: firewall/models.py:212
msgid "NAT IP address"
msgstr "NAT IP cím"
#: firewall/models.py:213
#: firewall/models.py:214
msgid ""
"Common IPv4 address used for address translation of connections to the "
"networks selected below (typically to the internet)."
......@@ -1393,11 +1624,11 @@ msgstr ""
"Közös címfordításra használt IPv4 cím a kiválasztott hálózatok felé irányuló "
"kapcsolatokhoz (tipikusan az internet felé)."
#: firewall/models.py:219
#: firewall/models.py:220
msgid "NAT to"
msgstr "NAT ide"
#: firewall/models.py:221
#: firewall/models.py:222
msgid ""
"Connections to these networks should be network address translated, i.e. "
"their source address is rewritten to the value of NAT IP address."
......@@ -1405,39 +1636,39 @@ msgstr ""
"A megadott hálózatok felé induló kapcsolatok címfordításra kerülnek: a "
"forráscímük a megadott NAT IP címre lesz átírva."
#: firewall/models.py:227
#: firewall/models.py:228
msgid "network type"
msgstr "hálózat típusa"
#: firewall/models.py:229 vm/models/network.py:24
#: firewall/models.py:230 vm/models/network.py:24
msgid "managed"
msgstr "menedzselt"
#: firewall/models.py:232
#: firewall/models.py:233
msgid "Description of the goals and elements of the vlan network."
msgstr "A vlan hálózat céljainak és elemeinek leírása."
#: firewall/models.py:234
#: firewall/models.py:235
msgid "comment"
msgstr "megjegyzés"
#: firewall/models.py:236
#: firewall/models.py:237
msgid "Notes, comments about the network"
msgstr "Jegyzetek, megjegyzések a hálózatról"
#: firewall/models.py:237
#: firewall/models.py:238
msgid "domain name"
msgstr "tartománynév"
#: firewall/models.py:238
#: firewall/models.py:239
msgid "Domain name of the members of this network."
msgstr "A hálózat tagjainak tartományneve."
#: firewall/models.py:242
#: firewall/models.py:243
msgid "reverse domain"
msgstr "reverz tartomány"
#: firewall/models.py:243
#: firewall/models.py:244
#, python-format
msgid ""
"Template of the IPv4 reverse domain name that should be generated for each "
......@@ -1452,15 +1683,15 @@ msgstr ""
"Például a szabványos reverz név sablonja: \"%(d)d.%(c)d.%(b)d.%(a)d.in-addr."
"arpa\"."
#: firewall/models.py:253
#: firewall/models.py:254
msgid "ipv6 template"
msgstr "ipv6 sablon"
#: firewall/models.py:255
#: firewall/models.py:256
msgid "DHCP pool"
msgstr "DHCP készlet"
#: firewall/models.py:257
#: firewall/models.py:258
msgid ""
"The address range of the DHCP pool: empty for no DHCP service, \"manual\" "
"for no DHCP pool, or the first and last address of the range separated by a "
......@@ -1470,47 +1701,47 @@ msgstr ""
"tiltásához adja meg a „manual” értéket, engedélyezéséhez az első és utolsó "
"érvényes címet szóközzel elválasztva."
#: firewall/models.py:335
#: firewall/models.py:326
msgid "All IP addresses are already in use."
msgstr "Minden IP cím használatban van."
#: firewall/models.py:343 firewall/models.py:370 firewall/models.py:725
#: firewall/models.py:733 firewall/models.py:754 storage/models.py:30
#: storage/models.py:69 vm/models/common.py:41 vm/models/common.py:60
#: vm/models/common.py:129 vm/models/instance.py:116 vm/models/instance.py:185
#: vm/models/node.py:44
#: firewall/models.py:334 firewall/models.py:361 firewall/models.py:719
#: firewall/models.py:727 firewall/models.py:748 storage/models.py:31
#: storage/models.py:70 vm/models/common.py:41 vm/models/common.py:60
#: vm/models/common.py:129 vm/models/instance.py:115 vm/models/instance.py:184
#: vm/models/node.py:46
msgid "name"
msgstr "név"
#: firewall/models.py:344 firewall/models.py:371
#: firewall/models.py:335 firewall/models.py:362
msgid "The name of the group."
msgstr "A csoport neve."
#: firewall/models.py:346
#: firewall/models.py:337
msgid "vlans"
msgstr "vlanok"
#: firewall/models.py:347
#: firewall/models.py:338
msgid "The vlans which are members of the group."
msgstr "A csoport tagjait képező vlanok."
#: firewall/models.py:350 firewall/models.py:373
#: firewall/models.py:341 firewall/models.py:364
msgid "Description of the group."
msgstr "A csoport leírása."
#: firewall/models.py:395 storage/models.py:33
#: firewall/models.py:386 storage/models.py:34
msgid "hostname"
msgstr "gépnév"
#: firewall/models.py:396
#: firewall/models.py:387
msgid "The alphanumeric hostname of the host, the first part of the FQDN."
msgstr "A gép alfanumerikus gépneve, az FQDN első része."
#: firewall/models.py:401
#: firewall/models.py:393
msgid "reverse"
msgstr "reverz"
#: firewall/models.py:402
#: firewall/models.py:394
msgid ""
"The fully qualified reverse hostname of the host, if different than hostname."
"domain."
......@@ -1518,143 +1749,143 @@ msgstr ""
"A gép teljes reverz tartományneve, amennyiben különbözik ettől: gépnév."
"tartomány."
#: firewall/models.py:406
#: firewall/models.py:398
msgid "MAC address"
msgstr "MAC cím"
#: firewall/models.py:407
#: firewall/models.py:399
msgid ""
"The MAC (Ethernet) address of the network interface. For example: 99:AA:BB:"
"CC:DD:EE."
msgstr "A hálózati interfész MAC (Ethernet) címe. Például 99:AA:BB:CC:DD:EE."
#: firewall/models.py:412
#: firewall/models.py:404
msgid "The real IPv4 address of the host, for example 10.5.1.34."
msgstr "A gép valódi IPv4 címe, például 10.5.1.34."
#: firewall/models.py:416
#: firewall/models.py:408
msgid "WAN IPv4 address"
msgstr "WAN IPv4 cím"
#: firewall/models.py:417
#: firewall/models.py:409
msgid ""
"The public IPv4 address of the host on the wide area network, if different."
msgstr "A gép nyilvános IPv4 címe a nagy kiterjedésű hálózaton, ha eltér."
#: firewall/models.py:422
#: firewall/models.py:414
msgid "The global IPv6 address of the host, for example 2001:db:88:200::10."
msgstr "A gép globális IPv6 címe, például 2001:db:88:200::10."
#: firewall/models.py:424
#: firewall/models.py:416
msgid "shared IP"
msgstr "osztott IP"
#: firewall/models.py:426
#: firewall/models.py:418
msgid "If the given WAN IPv4 address is used by multiple hosts."
msgstr "A WAN IPv4 címet több gép használja-e."
#: firewall/models.py:429
#: firewall/models.py:421
msgid "What is this host for, what kind of machine is it."
msgstr "Mi a gép célja, milyen gép ez."
#: firewall/models.py:432
#: firewall/models.py:424
msgid "Notes"
msgstr "Jegyzetek"
#: firewall/models.py:433
#: firewall/models.py:425
msgid "location"
msgstr "elhelyezés"
#: firewall/models.py:435
#: firewall/models.py:427
msgid "The physical location of the machine."
msgstr "A gép fizikai helye."
#: firewall/models.py:438
#: firewall/models.py:430
msgid "Vlan network that the host is part of."
msgstr "Az a vlan hálózat, amelynek a gép része."
#: firewall/models.py:441
#: firewall/models.py:433
msgid "The person responsible for this host."
msgstr "A gépért felelős személy."
#: firewall/models.py:443
#: firewall/models.py:435
msgid "groups"
msgstr "csoportok"
#: firewall/models.py:445
#: firewall/models.py:437
msgid "Host groups the machine is part of."
msgstr "Gépcsoportok, amelyeknek tagja a gép."
#: firewall/models.py:468
#: firewall/models.py:461
msgid "If shared_ip has been checked, pub_ipv4 has to be unique."
msgstr ""
"Amennyiben az osztott IP mező igaz, a WAN IPv4 cím mező egyedi kell legyen."
#: firewall/models.py:471
#: firewall/models.py:464
msgid "You can't use another host's NAT'd address as your own IPv4."
msgstr "Nem használható másik gép NAT-olt címe saját IPv4 címként."
#: firewall/models.py:556
#: firewall/models.py:550
#, python-format
msgid "All %s ports are already in use."
msgstr "Minden %s port használatban van."
#: firewall/models.py:574
#: firewall/models.py:568
#, python-format
msgid "Port %(proto)s %(public)s is already in use."
msgstr "A(z) %(public)s %(proto)s port használatban van."
#: firewall/models.py:589
#: firewall/models.py:583
msgid "Only ports above 1024 can be used."
msgstr "Csak az 1024 feletti portok használhatóak."
#: firewall/models.py:736 firewall/models.py:766 firewall/models.py:836
#: firewall/models.py:864 firewall/models.py:888
#: firewall/models.py:730 firewall/models.py:760 firewall/models.py:830
#: firewall/models.py:858 firewall/models.py:882
msgid "created_at"
msgstr "létrehozva"
#: firewall/models.py:738 firewall/models.py:768 firewall/models.py:838
#: firewall/models.py:866 firewall/models.py:890
#: firewall/models.py:732 firewall/models.py:762 firewall/models.py:832
#: firewall/models.py:860 firewall/models.py:884
msgid "modified_at"
msgstr "módosítva"
#: firewall/models.py:739 firewall/models.py:762
#: firewall/models.py:733 firewall/models.py:756
msgid "ttl"
msgstr "ttl"
#: firewall/models.py:755
#: firewall/models.py:749
msgid "domain"
msgstr "tartomány"
#: firewall/models.py:759 firewall/models.py:885
#: firewall/models.py:753 firewall/models.py:879
msgid "type"
msgstr "típus"
#: firewall/models.py:761
#: firewall/models.py:755
msgid "address"
msgstr "cím"
#: firewall/models.py:783
#: firewall/models.py:777
msgid "Address must be specified!"
msgstr "A cím megadása kötelező."
#: firewall/models.py:796
#: firewall/models.py:790
msgid "Unknown record type."
msgstr "Ismeretlen rekordtípus."
#: firewall/models.py:830
#: firewall/models.py:824
msgid "untagged vlan"
msgstr "untagged vlan"
#: firewall/models.py:833
#: firewall/models.py:827
msgid "tagged vlans"
msgstr "tagged vlanok"
#: firewall/models.py:856
#: firewall/models.py:850
msgid "interface"
msgstr "interfész"
#: firewall/models.py:857
#: firewall/models.py:851
msgid ""
"The name of network interface the gateway should serve this network on. For "
"example eth2."
......@@ -1662,15 +1893,15 @@ msgstr ""
"Azon hálózati interfész nevve, amelyen az útválasztó ezt a hálózatot "
"kiszolgálja. Például eth2."
#: firewall/models.py:862
#: firewall/models.py:856
msgid "switch port"
msgstr "switch port"
#: firewall/models.py:878
#: firewall/models.py:872
msgid "reason"
msgstr "indok"
#: firewall/models.py:880
#: firewall/models.py:874
msgid "short message"
msgstr "rövid üzenet"
......@@ -1992,10 +2223,6 @@ msgstr "MIND"
msgid "Latest modifications"
msgstr "Legutóbbi változások"
#: network/templates/network/index.html:20
msgid "Action"
msgstr "Művelet"
#: network/templates/network/index.html:21
msgid "Model"
msgstr "Modell"
......@@ -2142,39 +2369,39 @@ msgstr "Amennyiben biztos benne, gépelje be az objektum nevét."
msgid "Yes, delete it!"
msgstr "Igen, törlés!"
#: storage/models.py:31
#: storage/models.py:32
msgid "path"
msgstr "útvonal"
#: storage/models.py:37 storage/models.py:72
#: storage/models.py:38 storage/models.py:73
msgid "datastore"
msgstr "adattár"
#: storage/models.py:38
#: storage/models.py:39
msgid "datastores"
msgstr "adattárak"
#: storage/models.py:71
#: storage/models.py:72
msgid "filename"
msgstr "fájlnév"
#: storage/models.py:73
#: storage/models.py:74
msgid "The datastore that holds the disk."
msgstr "A lemezt tároló adattár."
#: storage/models.py:79
#: storage/models.py:80
msgid "device number"
msgstr "eszközazonosító"
#: storage/models.py:84 storage/models.py:474
#: storage/models.py:85 storage/models.py:518
msgid "disk"
msgstr "lemez"
#: storage/models.py:85 vm/models/instance.py:122 vm/models/instance.py:212
#: storage/models.py:86 vm/models/instance.py:121 vm/models/instance.py:211
msgid "disks"
msgstr "lemezek"
#: storage/models.py:473
#: storage/models.py:517
msgid "Disk this activity works on."
msgstr "A lemez, amelyre a művelet vonatkozik."
......@@ -2265,15 +2492,15 @@ msgstr "Adja meg e-mail címét a jelszó visszaállításához."
msgid "Instance this activity works on."
msgstr "A tevékenység tárgyát képező példány."
#: vm/models/activity.py:28 vm/models/instance.py:233 vm/models/network.py:50
#: vm/models/activity.py:28 vm/models/instance.py:232 vm/models/network.py:50
msgid "instance"
msgstr "példány"
#: vm/models/activity.py:99
#: vm/models/activity.py:101
msgid "Node this activity works on."
msgstr "A tevékenység tárgyát képező csomópont."
#: vm/models/activity.py:100
#: vm/models/activity.py:102
msgid "node"
msgstr "csomópont"
......@@ -2301,7 +2528,7 @@ msgstr "Felső memóriaméret-korlát ballooning esetén."
msgid "architecture"
msgstr "architektúra"
#: vm/models/common.py:29 vm/models/node.py:46
#: vm/models/common.py:29 vm/models/node.py:49
msgid "priority"
msgstr "prioritás"
......@@ -2382,160 +2609,160 @@ msgstr "elvárt jellemzők"
msgid "operating system"
msgstr "operációs rendszer"
#: vm/models/instance.py:97
#: vm/models/instance.py:96
#, python-format
msgid "Name of operating system in format like \"%s\"."
msgstr "Az operációs rendszer neve. Például „%s”."
#: vm/models/instance.py:100 vm/models/node.py:56
#: vm/models/instance.py:99 vm/models/node.py:59
msgid "tags"
msgstr "címkék"
#: vm/models/instance.py:117
#: vm/models/instance.py:116
msgid "Human readable name of template."
msgstr "A sablon olvasható neve."
#: vm/models/instance.py:120
#: vm/models/instance.py:119
msgid "parent template"
msgstr "szülősablon"
#: vm/models/instance.py:121
#: vm/models/instance.py:120
msgid "Template which this one is derived of."
msgstr "Az a sablon, amelyből az aktuális származik."
#: vm/models/instance.py:124
#: vm/models/instance.py:123
msgid "Disks which are to be mounted."
msgstr "A csatolandó lemezek."
#: vm/models/instance.py:132
#: vm/models/instance.py:131
msgid "Can create an instance template."
msgstr "Létrehozhat példánysablont."
#: vm/models/instance.py:134 vm/models/instance.py:191 vm/models/network.py:27
#: vm/models/instance.py:133 vm/models/instance.py:190 vm/models/network.py:27
msgid "template"
msgstr "sablon"
#: vm/models/instance.py:135
#: vm/models/instance.py:134
msgid "templates"
msgstr "sablonok"
#: vm/models/instance.py:177
#: vm/models/instance.py:176
msgid "no state"
msgstr "nincs állapot"
#: vm/models/instance.py:178
#: vm/models/instance.py:177
msgid "running"
msgstr "fut"
#: vm/models/instance.py:179
#: vm/models/instance.py:178
msgid "stopped"
msgstr "leállítva"
#: vm/models/instance.py:180
#: vm/models/instance.py:179
msgid "suspended"
msgstr "felfüggesztve"
#: vm/models/instance.py:181
#: vm/models/instance.py:180
msgid "error"
msgstr "hiba"
#: vm/models/instance.py:182
#: vm/models/instance.py:181
msgid "pending"
msgstr "függő"
#: vm/models/instance.py:183
#: vm/models/instance.py:182
msgid "destroyed"
msgstr "megsemmisítve"
#: vm/models/instance.py:186
#: vm/models/instance.py:185
msgid "Human readable name of instance."
msgstr "A példány olvasható neve."
#: vm/models/instance.py:190
#: vm/models/instance.py:189
msgid "Template the instance derives from."
msgstr "Az a sablon, amelyből a példány származik."
#: vm/models/instance.py:192
#: vm/models/instance.py:191
msgid "Original password of the instance."
msgstr "A példány eredeti jelszava."
#: vm/models/instance.py:193
#: vm/models/instance.py:192
msgid "password"
msgstr "jelszó"
#: vm/models/instance.py:195
#: vm/models/instance.py:194
msgid "time of suspend"
msgstr "felfüggesztés ideje"
#: vm/models/instance.py:196
#: vm/models/instance.py:195
msgid "Proposed time of automatic suspension."
msgstr "A felfüggesztés kijelölt ideje."
#: vm/models/instance.py:199
#: vm/models/instance.py:198
msgid "time of delete"
msgstr "törlés ideje"
#: vm/models/instance.py:200
#: vm/models/instance.py:199
msgid "Proposed time of automatic deletion."
msgstr "Automatikus törlés kijelölt ideje."
#: vm/models/instance.py:203
#: vm/models/instance.py:202
msgid "Time stamp of successful boot report."
msgstr "A gép sikeres indításjelzésének ideje."
#: vm/models/instance.py:205
#: vm/models/instance.py:204
msgid "active since"
msgstr "aktív ezóta"
#: vm/models/instance.py:208
#: vm/models/instance.py:207
msgid "Current hypervisor of this instance."
msgstr "A példány jelenlegi hypervisorja."
#: vm/models/instance.py:209
#: vm/models/instance.py:208
msgid "host node"
msgstr "csomópont"
#: vm/models/instance.py:211
#: vm/models/instance.py:210
msgid "Set of mounted disks."
msgstr "1Csatolt lemezek halmaza."
#: vm/models/instance.py:214
#: vm/models/instance.py:213
msgid "TCP port where VNC console listens."
msgstr "Az a TCP port, amelyen a VNC konzol hallgat."
#: vm/models/instance.py:215
#: vm/models/instance.py:214
msgid "vnc_port"
msgstr "VNC port"
#: vm/models/instance.py:218
#: vm/models/instance.py:217
msgid "The virtual machine's time of destruction."
msgstr "A virtuális gép megsemmisítésének ideje."
#: vm/models/instance.py:228
#: vm/models/instance.py:227
msgid "Can access the graphical console of a VM."
msgstr "Elérheti a VM grafikus konzolját."
#: vm/models/instance.py:229
#: vm/models/instance.py:228
msgid "Can change resources of a running VM."
msgstr "Megváltoztathatja a VM erőforrásait."
#: vm/models/instance.py:230
#: vm/models/instance.py:229
msgid "Can change resources of a new VM."
msgstr "Megválaszthatja egy új VM erőforrásait."
#: vm/models/instance.py:231
#: vm/models/instance.py:230
msgid "Can configure port forwards."
msgstr "Beállíthat porttovábbításokat."
#: vm/models/instance.py:234
#: vm/models/instance.py:233
msgid "instances"
msgstr "példányok"
#: vm/models/instance.py:533
#: vm/models/instance.py:540
msgid "None"
msgstr "Nincs"
#: vm/models/instance.py:628
#: vm/models/instance.py:639
#, python-format
msgid "%s expiring soon"
msgstr "%s hamarosan lejár"
......@@ -2560,55 +2787,55 @@ msgstr "interfészsablon"
msgid "interface templates"
msgstr "interfészsablonok"
#: vm/models/node.py:45
#: vm/models/node.py:47
msgid "Human readable name of node."
msgstr "A csomópont olvasható neve."
#: vm/models/node.py:47
#: vm/models/node.py:50
msgid "Node usage priority."
msgstr "Csomóponthasználat prioritása."
#: vm/models/node.py:49
#: vm/models/node.py:52
msgid "Host in firewall."
msgstr "Tűzfalbeli gép."
#: vm/models/node.py:50
#: vm/models/node.py:53
msgid "enabled"
msgstr "engedélyezve"
#: vm/models/node.py:51
#: vm/models/node.py:54
msgid "Indicates whether the node can be used for hosting."
msgstr "A csomópont használható-e gépek fogadására."
#: vm/models/node.py:54
#: vm/models/node.py:57
msgid "Declared traits."
msgstr "Biztosított jellemzők."
#: vm/models/node.py:55
#: vm/models/node.py:58
msgid "traits"
msgstr "jellemzők"
#: vm/models/node.py:57
#: vm/models/node.py:60
msgid "overcommit ratio"
msgstr "túlfoglalási arány"
#: vm/models/node.py:58
#: vm/models/node.py:61
msgid "The ratio of total memory with to without overcommit."
msgstr "Az összes memória és a túlfoglalható memória aránya."
#: vm/models/node.py:94
#: vm/models/node.py:108
msgid "offline"
msgstr "nem elérhető"
#: vm/models/node.py:95
#: vm/models/node.py:109
msgid "disabled"
msgstr "tiltva"
#: vm/models/node.py:96
#: vm/models/node.py:110
msgid "missing"
msgstr "eltűnt"
#: vm/models/node.py:97
#: vm/models/node.py:111
msgid "online"
msgstr "elérhető"
......@@ -2622,4 +2849,20 @@ msgstr "%s megsemmisítve"
msgid "%s suspended"
msgstr "%s felfüggesztve"
#~ msgid "Instance successfully saved as template, please rename it!"
#~ msgstr "A példány mentésre került sablonként. Nevezze át."
#~ msgid "Create template"
#~ msgstr "Sablon létrehozása"
#~ msgid "new template"
#~ msgstr "új sablon"
#~ msgid "Yes, delete"
#~ msgstr "Igen, törlés"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Traits"
#~ msgstr "Jellemző"
......@@ -1200,3 +1200,14 @@ class Instance(AclBase, VirtualMachineDescModel, StatusModel,
**kwargs):
self.shutdown(user, task_uuid)
self.save_as_template(name, **kwargs)
def get_status_icon(self):
return {
'NOSTATE': 'icon-rocket',
'RUNNING': 'icon-play',
'STOPPED': 'icon-stop',
'SUSPENDED': 'icon-pause',
'ERROR': 'icon-warning_sign',
'PENDING': 'icon-rocket',
'DESTROYED': 'icon-trash',
'MIGRATING': 'icon-truck'}.get(self.status, 'icon-question-sign')
......@@ -97,6 +97,13 @@ class InstanceTestCase(TestCase):
self.assertNotIn(call().__enter__().sub_activity(u'scheduling'),
ia.mock_calls)
def test_status_icon(self):
inst = MagicMock(spec=Instance)
inst.status = 'dummy-value'
self.assertEqual(Instance.get_status_icon(inst), 'icon-question-sign')
inst.status = 'RUNNING'
self.assertEqual(Instance.get_status_icon(inst), 'icon-play')
class InterfaceTestCase(TestCase):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment