From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 30 May 2012 07:30:44 -0400
Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons).

---
 interface/web/vm/lib/lang/tr_openvz_vm.lng |   65 ++++++++++++++++++++------------
 1 files changed, 40 insertions(+), 25 deletions(-)

diff --git a/interface/web/vm/lib/lang/tr_openvz_vm.lng b/interface/web/vm/lib/lang/tr_openvz_vm.lng
index ac350b0..f2be022 100644
--- a/interface/web/vm/lib/lang/tr_openvz_vm.lng
+++ b/interface/web/vm/lib/lang/tr_openvz_vm.lng
@@ -1,25 +1,40 @@
-<?php
-$wb["diskspace_txt"] = 'Diskspace';
-$wb["ram_txt"] = 'RAM (guaranteed)';
-$wb["ram_burst_txt"] = 'RAM (burst)';
-$wb["cpu_units_txt"] = 'CPU units';
-$wb["cpu_num_txt"] = 'CPU number';
-$wb["cpu_limit_txt"] = 'CPU limit';
-$wb["io_priority_txt"] = 'I/O priority';
-$wb["nameserver_txt"] = 'Nameserver(s)';
-$wb["nameserver_desc_txt"] = '(separated by whitespace)';
-$wb["capability_txt"] = 'Capability';
-$wb["server_id_txt"] = 'Hostserver';
-$wb["ostemplate_id_txt"] = 'OSTemplate';
-$wb["template_id_txt"] = 'Template';
-$wb["ip_address_txt"] = 'IP address';
-$wb["hostname_txt"] = 'Hostname';
-$wb["vm_password_txt"] = 'VM Password';
-$wb["start_boot_txt"] = 'Start at boot';
-$wb["active_txt"] = 'Active';
-$wb["description_txt"] = 'Description';
-$wb["client_group_id_txt"] = 'Client';
-$wb["veid_txt"] = 'VEID';
-$wb["create_dns_txt"] = 'Create DNS for hostname';
-$wb["active_until_date_txt"] = 'Active until date';
-?>
\ No newline at end of file
+<?php
+$wb['diskspace_txt'] = 'Diskspace';
+$wb['ram_txt'] = 'RAM (guaranteed)';
+$wb['ram_burst_txt'] = 'RAM (burst)';
+$wb['cpu_units_txt'] = 'CPU units';
+$wb['cpu_num_txt'] = 'CPU number';
+$wb['cpu_limit_txt'] = 'CPU limit';
+$wb['io_priority_txt'] = 'I/O priority';
+$wb['nameserver_txt'] = 'Nameserver(s)';
+$wb['nameserver_desc_txt'] = '(separated by whitespace)';
+$wb['capability_txt'] = 'Capability';
+$wb['server_id_txt'] = 'Hostserver';
+$wb['ostemplate_id_txt'] = 'OSTemplate';
+$wb['template_id_txt'] = 'Template';
+$wb['ip_address_txt'] = 'IP address';
+$wb['hostname_txt'] = 'Hostname';
+$wb['vm_password_txt'] = 'VM Password';
+$wb['start_boot_txt'] = 'Start at boot';
+$wb['active_txt'] = 'Active';
+$wb['description_txt'] = 'Description';
+$wb['client_group_id_txt'] = 'Client';
+$wb['veid_txt'] = 'VEID';
+$wb['create_dns_txt'] = 'Create DNS for hostname';
+$wb['active_until_date_txt'] = 'Active until date';
+$wb['ip_address_error_empty'] = 'IP address is empty.';
+$wb['hostname_error_empty'] = 'Hostname is empty.';
+$wb['vm_password_error_empty'] = 'VM Password is empty.';
+$wb['veid_error_empty'] = 'VEID is empty.';
+$wb['veid_error_unique'] = 'VEID does already exist.';
+$wb['diskspace_error_empty'] = 'Diskspace is empty.';
+$wb['ram_error_empty'] = 'RAM (guaranteed) is empty.';
+$wb['ram_burst_error_empty'] = 'RAM (burst) is empty.';
+$wb['cpu_units_error_empty'] = 'CPU units is empty.';
+$wb['cpu_num_error_empty'] = 'CPU number is empty.';
+$wb['cpu_limit_error_empty'] = 'CPU limit is empty.';
+$wb['io_priority_error_empty'] = 'I/O priority is empty.';
+$wb['template_nameserver_error_empty'] = 'Nameserver(s) is empty.';
+$wb['Virtual server'] = 'Virtual server';
+$wb['Advanced'] = 'Advanced';
+?>

--
Gitblit v1.9.1