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