mirror of https://git.48k.eu/ogcp
Add missing gettext functions
Otherwise, this strings are not translatable.multi-ogserver
parent
ee6880a9f2
commit
62feecad1f
|
@ -19,11 +19,11 @@
|
|||
<table class="table">
|
||||
<tbody class="text-center">
|
||||
<tr>
|
||||
<th>Partition</th>
|
||||
<th>Type</th>
|
||||
<th>Filesytem</th>
|
||||
<th>Size (MB)</th>
|
||||
<th>Image</th>
|
||||
<th>{{_('Partition')}}</th>
|
||||
<th>{{_('Type')}}</th>
|
||||
<th>{{_('Filesystem')}}</th>
|
||||
<th>{{_('Size')}} (MB)</th>
|
||||
<th>{{_('Image')}}</th>
|
||||
<th colspan="2"></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
|
||||
<h1 class="m-5">{{_('Create a partition image')}}</h1>
|
||||
|
||||
<h2 class="mx-5">Selected client: {{ form.ip.data }}</h1>
|
||||
<h2 class="mx-5">
|
||||
{{ _('Selected client') }}: {{ form.ip.data }}
|
||||
</h1>
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_image_create'),
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
|
||||
{% set ip_list = form.ips.data.split(' ') %}
|
||||
{% set ip_count = ip_list | length %}
|
||||
<h1 class="m-5">Restore partition image to {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1>
|
||||
<h1 class="m-5">
|
||||
{{ _('Restore partition image to %(ip_count)d computer(s)', ip_count=ip_count) }}
|
||||
</h1>
|
||||
|
||||
{{ macros.cmd_selected_clients(selected_clients) }}
|
||||
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
|
||||
{% set ip_list = form.ips.data.split(' ') %}
|
||||
{% set ip_count = ip_list | length %}
|
||||
<h1 class="m-5">Changing boot mode of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1>
|
||||
<h1 class="m-5">
|
||||
{{ _('Changing boot mode of %(ip_count)d computer(s)', ip_count=ip_count) }}
|
||||
</h1>
|
||||
|
||||
{{ macros.cmd_selected_clients(selected_clients) }}
|
||||
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
|
||||
{% set ip_list = form.ips.data.split(' ') %}
|
||||
{% set ip_count = ip_list | length %}
|
||||
<h1 class="m-5">Changing ogLive of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1>
|
||||
<h1 class="m-5">
|
||||
{{ _('Changing ogLive of %(ip_count)d computer(s)', ip_count=ip_count) }}
|
||||
</h1>
|
||||
|
||||
{{ macros.cmd_selected_clients(selected_clients) }}
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
<table class="table">
|
||||
<thead class="text-center">
|
||||
<tr>
|
||||
<th>Partition Table Type</th>
|
||||
<th>Total Disk Size (MB)</th>
|
||||
<th>{{ _('Partition Table Type') }}</th>
|
||||
<th>{{ _('Total Disk Size') }} (MB)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
@ -29,11 +29,11 @@
|
|||
<table class="table">
|
||||
<thead class="text-center">
|
||||
<tr>
|
||||
<th>Partition</th>
|
||||
<th>Type</th>
|
||||
<th>Filesytem</th>
|
||||
<th>Size (MB)</th>
|
||||
<th>Format?</th>
|
||||
<th>{{ _('Partition') }}</th>
|
||||
<th>{{ _('Type') }}</th>
|
||||
<th>{{ _('Filesystem') }}</th>
|
||||
<th>{{ _('Size') }} (MB)</th>
|
||||
<th>{{ _('Format?') }}</th>
|
||||
<th colspan="2"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
|
||||
{% set ip_list = form.ips.data.split(' ') %}
|
||||
{% set ip_count = ip_list | length %}
|
||||
<h1 class="m-5">Powering on {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}</h1>
|
||||
<h1 class="m-5">
|
||||
{{ _('Powering on %(ip_count)d computer(s)', ip_count=ip_count) }}
|
||||
</h1>
|
||||
|
||||
{{ macros.cmd_selected_clients(selected_clients) }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue