Commit 224943aa authored by root's avatar root
Browse files

Improve I18N strings

Added references to templates
parent 9c95fa6f
......@@ -878,3 +878,157 @@ msgstr ""
msgid "Yes, shutwdown all the clones"
msgstr ""
msgid "Admin users can still log in from /login"
msgstr ""
msgid "-- choose hardware --"
msgstr ""
msgid "Clones created from this machine will be removed on shutdown."
msgstr ""
msgid "Close all clones"
msgstr ""
msgid "Confirm disable node"
msgstr ""
msgid "Connection"
msgstr ""
msgid "CPUs"
msgstr ""
msgid "Current memory"
msgstr ""
msgid "Disable"
msgstr ""
msgid "Disabled"
msgstr ""
msgid "Display Port"
msgstr ""
msgid "Internal IP"
msgstr ""
msgid "Machine Information"
msgstr ""
msgid "Maintenance"
msgstr ""
msgid "Max memory"
msgstr ""
msgid "New name"
msgstr ""
msgid "New Node"
msgstr ""
msgid "New user"
msgstr ""
msgid "Open ports"
msgstr ""
msgid "Pool"
msgstr ""
msgid "Public Port"
msgstr ""
msgid "Rebase all the clones to a new base"
msgstr ""
msgid "Refresh"
msgstr ""
msgid "Remove Base"
msgstr ""
msgid "Remove Clones"
msgstr ""
msgid "Remove the base prepared from this machine"
msgstr ""
msgid "Restricted"
msgstr ""
msgid "Shutdown disconnected"
msgstr ""
msgid "This base has clones"
msgstr ""
msgid "This machine is base and it can't be modified."
msgstr ""
msgid "This machine will shut down"
msgstr ""
msgid "This node is local"
msgstr ""
msgid "Timeout"
msgstr ""
msgid "Type"
msgstr ""
msgid "Type the name of the volume disk to confirm"
msgstr ""
msgid "Virtual machines in the pool."
msgstr ""
msgid "Virtual machines pre-started"
msgstr ""
msgid "Virtual Machine will be shut down when user disconnects."
msgstr ""
msgid "Waiting for machine to start"
msgstr ""
msgid "waiting for network to come up"
msgstr ""
msgid "This machine is running and can't be modified."
msgstr ""
msgid "Yes, rebase"
msgstr ""
msgid "No, cancel"
msgstr ""
msgid "Are you sure ?"
msgstr ""
msgid "Only remote client can access this port if restricted"
msgstr ""
msgid "Only remote client can access this port"
msgstr ""
msgid "Any remote client can access this port"
msgstr ""
msgid "Danger: This will destroy all the disk data permantently."
msgstr ""
msgid "Type the name of the volume disk to confirm:"
msgstr ""
msgid ""
"Changing the base of a virtual machine is potentially dangerous"
" and can't be undone."
msgstr ""
......@@ -18,7 +18,7 @@
<%=l 'A viewer is required to run the virtual machines.' %>
<a href="/requirements"><%=l 'Read more.' %></a>
</div>
<div ng-hide="request.status == 'done'">Waiting for machine to start <i class="fas fa-sync-alt fa-spin"></i></div>
<div ng-hide="request.status == 'done'"><%=l 'Waiting for machine to start' %> {{dots}}</div>
<div ng-show="domain">
<div ng-show="domain.description ||(domain.is_active && domain.msg_timeout)">
<span ng-bind-html="domain.description"
......@@ -31,7 +31,7 @@
</span>
</div>
<div "panel-body" ng-show="domain.is_active">
<h3>Connection</h3>
<h3><%=l 'Connection' %></h3>
<ul ng-show="domain.is_active">
<li ng-show="domain.spice_password">
<%=l 'The password for this virtual machine connection is :'%>
......@@ -44,23 +44,23 @@
<i ng-show="password_clipboard"><%=l 'copied to clipboard' %></i>
</li>
<li><b>Display URL :</b>
<li><b><%=l 'Display URL' %> :</b>
<a ng-click="copy_password(); redirect()"
href="{{domain.display_url}}">{{domain.display_url}}</a></li>
</li>
<li><b>Display IP :</b> {{domain.display.ip}} </li>
<li><b>Display Port :</b> {{domain.display.port}} </li>
<li><b><%=l 'Display IP' %> :</b> {{domain.display.ip}} </li>
<li><b><%=l 'Display Port' %> :</b> {{domain.display.port}} </li>
</ul>
<h3>Machine Information</h3>
<h3><%=l 'Machine Information' %></h3>
<ul>
<li><b>Internal IP:</b><span ng-show="domain.ip"> {{domain.ip}}</span>
<span ng-hide="domain.ip"><i>waiting for network to come up</i></span>
<li><b><%=l 'Internal IP' %>:</b><span ng-show="domain.ip"> {{domain.ip}}</span>
<span ng-hide="domain.ip"><i><%=l 'waiting for network to come up' %></i></span>
</li>
<li><b>Max Memory:</b> {{domain.max_mem}}</li>
<li><b>Memory:</b> {{domain.memory}}</li>
<li><b>CPUs:</b> {{domain.nrVirtCpu}}</li>
<li><b><%=l 'Max Memory' %>:</b> {{domain.max_mem}}</li>
<li><b><%=l 'Memory' %>:</b> {{domain.memory}}</li>
<li><b><%=l 'CPUs' %>:</b> {{domain.nrVirtCpu}}</li>
</ul>
<h3 ng-show="domain.ports.length">Open ports</h3>
<h3 ng-show="domain.ports.length">><%=l 'Open ports' %></h3>
<ul ng-show="domain.ports.length">
<li ng-repeat="port in domain.ports">
<b>{{port.name}}</b>
......@@ -90,7 +90,7 @@
<span ng-show="view_clicked_tls"><%=l 'If you can not see the machine screen in a few seconds check for a file called' %> <b>{{domain.id}}-tls.vv</b> <%=l 'in your downloads folder.' %>
</span>
<br/>
<i><%=l 'Press SHIFT + F12 to exit the virtual machine' %></i>
<i><%=l 'Press SHIFT + F12 to exit' %></i>
</div>
</div>
</div>
......@@ -109,4 +109,5 @@
</div>
%= include 'bootstrap/scripts'
</body>
</html>
<div class="panel-body" ng-show="showmachine.is_active || showmachine.is_base">
<div ng-show="showmachine.is_active" class="alert alert-danger" role="alert">
This machine is running and can't be modified.
<%=l 'This machine is running and can\'t be modified.' %>
</div>
<div ng-show="showmachine.is_base" class="alert alert-danger" role="alert">
This machine is base and can't be modified.
<%=l This machine is base and can\'t be modified.' %>
</div>
</div>
<div class="panel-body">
......
<div class="panel-body">
<div class="panel panel-warning">
<div class="panel-heading">This machine is base and it can't be modified.</div>
<div class="panel-heading"><%=l 'This machine is base and it can\'t be modified.' %></div>
</div>
</div>
<div class="card-body">
<div class="row">
<div class="col-lg-2 mt-2">Action</div>
<div class="col-lg-2 mt-2"><%=l 'Action' %></div>
<div class="col-lg-2 mt-2">
Port
<%=l 'Port' %>
</div>
<div class="col-lg-2 mt-2">
Restricted
<%=l 'Restricted' %>
</div>
<div class="col-lg-4 mt-2">
Name
<%=l 'Name' %>
</div>
<div class="col-lg-2 mt-2">
Public Port
<%=l 'Public Port' %>
</div>
</div>
......
......@@ -23,8 +23,8 @@
<div class="col-md-1">
</div>
<div class="col-md-11">
<p ng-show="showmachine.is_base">Rebase all the clones to a new base</p>
<p ng-show="showmachine.id_base">Rebase this machine to another virtual machine</p>
<p ng-show="showmachine.is_base"><%=l 'Rebase all the clones to a new base' %></p>
<p ng-show="showmachine.id_base"><%=l 'Rebase this machine to another virtual machine' %></p>
</div>
</div>
<div ng-show="bases" class="row">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment