diff --git a/ogcp/templates/actions/client_details.html b/ogcp/templates/actions/client_details.html
index 8d869f8..4b83c21 100644
--- a/ogcp/templates/actions/client_details.html
+++ b/ogcp/templates/actions/client_details.html
@@ -19,11 +19,11 @@
- Partition |
- Type |
- Filesytem |
- Size (MB) |
- Image |
+ {{_('Partition')}} |
+ {{_('Type')}} |
+ {{_('Filesystem')}} |
+ {{_('Size')}} (MB) |
+ {{_('Image')}} |
|
diff --git a/ogcp/templates/actions/image_create.html b/ogcp/templates/actions/image_create.html
index 4c8ac43..3fb93c7 100644
--- a/ogcp/templates/actions/image_create.html
+++ b/ogcp/templates/actions/image_create.html
@@ -10,7 +10,9 @@
{{_('Create a partition image')}}
-Selected client: {{ form.ip.data }}
+
+ {{ _('Selected client') }}: {{ form.ip.data }}
+
{{ wtf.quick_form(form,
action=url_for('action_image_create'),
diff --git a/ogcp/templates/actions/image_restore.html b/ogcp/templates/actions/image_restore.html
index 8a5d22e..939ab74 100644
--- a/ogcp/templates/actions/image_restore.html
+++ b/ogcp/templates/actions/image_restore.html
@@ -11,7 +11,9 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
-Restore partition image to {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}
+
+ {{ _('Restore partition image to %(ip_count)d computer(s)', ip_count=ip_count) }}
+
{{ macros.cmd_selected_clients(selected_clients) }}
diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html
index 44de8ac..131097a 100644
--- a/ogcp/templates/actions/mode.html
+++ b/ogcp/templates/actions/mode.html
@@ -11,7 +11,9 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
-Changing boot mode of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}
+
+ {{ _('Changing boot mode of %(ip_count)d computer(s)', ip_count=ip_count) }}
+
{{ macros.cmd_selected_clients(selected_clients) }}
diff --git a/ogcp/templates/actions/oglive.html b/ogcp/templates/actions/oglive.html
index 9a4467f..6b8e8b3 100644
--- a/ogcp/templates/actions/oglive.html
+++ b/ogcp/templates/actions/oglive.html
@@ -11,7 +11,9 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
-Changing ogLive of {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}
+
+ {{ _('Changing ogLive of %(ip_count)d computer(s)', ip_count=ip_count) }}
+
{{ macros.cmd_selected_clients(selected_clients) }}
diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html
index 559be84..5dd3528 100644
--- a/ogcp/templates/actions/setup.html
+++ b/ogcp/templates/actions/setup.html
@@ -13,8 +13,8 @@
- Partition Table Type |
- Total Disk Size (MB) |
+ {{ _('Partition Table Type') }} |
+ {{ _('Total Disk Size') }} (MB) |
@@ -29,11 +29,11 @@
- Partition |
- Type |
- Filesytem |
- Size (MB) |
- Format? |
+ {{ _('Partition') }} |
+ {{ _('Type') }} |
+ {{ _('Filesystem') }} |
+ {{ _('Size') }} (MB) |
+ {{ _('Format?') }} |
|
diff --git a/ogcp/templates/actions/wol.html b/ogcp/templates/actions/wol.html
index e93927b..adeb2e0 100644
--- a/ogcp/templates/actions/wol.html
+++ b/ogcp/templates/actions/wol.html
@@ -11,7 +11,9 @@
{% set ip_list = form.ips.data.split(' ') %}
{% set ip_count = ip_list | length %}
-Powering on {{ip_count}} {%if ip_count > 1%}computers{% else %}computer{% endif %}
+
+ {{ _('Powering on %(ip_count)d computer(s)', ip_count=ip_count) }}
+
{{ macros.cmd_selected_clients(selected_clients) }}