From 37b29231e47a0c4458dc1c15d98588f16f07e1e2 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 06 Aug 2015 03:18:44 -0400
Subject: [PATCH] - don't set password via remoting if field is empty

---
 interface/web/vm/lib/lang/hr_openvz_template.lng |  186 +++++++++++++++++++++++-----------------------
 1 files changed, 94 insertions(+), 92 deletions(-)

diff --git a/interface/web/vm/lib/lang/hr_openvz_template.lng b/interface/web/vm/lib/lang/hr_openvz_template.lng
index 50e7316..69b36b9 100644
--- a/interface/web/vm/lib/lang/hr_openvz_template.lng
+++ b/interface/web/vm/lib/lang/hr_openvz_template.lng
@@ -1,93 +1,95 @@
 <?php
-$wb["numproc_txt"] = 'Numproc';
-$wb["numtcpsock_txt"] = 'Numtcpsock';
-$wb["numothersock_txt"] = 'Numothersock';
-$wb["vmguarpages_txt"] = 'Vmguarpages';
-$wb["kmemsize_txt"] = 'Kmemsize';
-$wb["tcpsndbuf_txt"] = 'Tcpsndbuf';
-$wb["tcprcvbuf_txt"] = 'Tcprcvbuf';
-$wb["othersockbuf_txt"] = 'Othersockbuf';
-$wb["dgramrcvbuf_txt"] = 'Dgramrcvbuf';
-$wb["oomguarpages_txt"] = 'Oomguarpages';
-$wb["privvmpages_txt"] = 'Privvmpages';
-$wb["lockedpages_txt"] = 'Lockedpages';
-$wb["shmpages_txt"] = 'Shmpages';
-$wb["physpages_txt"] = 'Physpages';
-$wb["numfile_txt"] = 'Numfile';
-$wb["avnumproc_txt"] = 'Avnumproc';
-$wb["numflock_txt"] = 'Numflock';
-$wb["numpty_txt"] = 'Numpty';
-$wb["numsiginfo_txt"] = 'Numsiginfo';
-$wb["dcachesize_txt"] = 'Dcachesize';
-$wb["numiptent_txt"] = 'Numiptent';
-$wb["swappages_txt"] = 'Swappages';
-$wb["hostname_txt"] = 'Hostname';
-$wb["nameserver_txt"] = 'Nameserver(s)';
-$wb["nameserver_desc_txt"] = '(separated by whitespace)';
-$wb["capability_txt"] = 'Capability';
-$wb["template_name_txt"] = 'Template name';
-$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 cores';
-$wb["cpu_limit_txt"] = 'CPU limit %';
-$wb["io_priority_txt"] = 'I/O priority';
-$wb["active_txt"] = 'Active';
-$wb["description_txt"] = 'Description';
-$wb["numproc_desc_txt"] = 'Number of processes and threads.';
-$wb["numtcpsock_desc_txt"] = 'Number of TCP sockets.';
-$wb["numothersock_desc_txt"] = 'Number of sockets other than TCP.';
-$wb["vmguarpages_desc_txt"] = 'Memory allocation guarantee, in pages.';
-$wb["kmemsize_desc_txt"] = 'Size of unswappable kernel memory, allocated for processes in this container.';
-$wb["tcpsndbuf_desc_txt"] = 'Total size of TCP send buffers.';
-$wb["tcprcvbuf_desc_txt"] = 'Total size of TCP receive buffers.';
-$wb["othersockbuf_desc_txt"] = 'Total size of UNIX-domain socket buffers, UDP and other datagram protocol send buffers.';
-$wb["dgramrcvbuf_desc_txt"] = 'Receive buffers of UDP and other datagram protocols.';
-$wb["oomguarpages_desc_txt"] = 'The guaranteed amount of memory for the case the memory is "over-booked" (out-of-memory kill guarantee), in pages.';
-$wb["privvmpages_desc_txt"] = 'Memory allocation limit, in pages.';
-$wb["lockedpages_desc_txt"] = 'Process pages not allowed to be swapped out (pages locked by mlock(2)).';
-$wb["shmpages_desc_txt"] = 'Total size of shared memory (IPC, shared anonymous mappings and tmpfs objects), in pages.';
-$wb["physpages_desc_txt"] = 'Total number of RAM pages used by processes.';
-$wb["numfile_desc_txt"] = 'Number of open files.';
-$wb["numflock_desc_txt"] = 'Number of file locks.';
-$wb["numpty_desc_txt"] = 'Number of pseudo-terminals.';
-$wb["numsiginfo_desc_txt"] = 'Number of siginfo structures.';
-$wb["dcachesize_desc_txt"] = 'Total size of dentry and inode structures locked in memory.';
-$wb["numiptent_desc_txt"] = 'Number of NETFILTER (IP packet filtering) entries.';
-$wb["swappages_desc_txt"] = 'Amount of swap space to show in container.';
-$wb["create_dns_txt"] = 'Create DNS for hostname';
-$wb["template_name_error_empty"] = 'Template name is empty.';
-$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 cores 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["numproc_error_empty"] = 'Numproc is empty.';
-$wb["numtcpsock_error_empty"] = 'Numtcpsock is empty.';
-$wb["numothersock_error_empty"] = 'Numothersock is empty.';
-$wb["vmguarpages_error_empty"] = 'Vmguarpages is empty.';
-$wb["kmemsize_error_empty"] = 'Kmemsize is empty.';
-$wb["tcpsndbuf_error_empty"] = 'Tcpsndbuf is empty.';
-$wb["tcprcvbuf_error_empty"] = 'Tcprcvbuf is empty.';
-$wb["othersockbuf_error_empty"] = 'Othersockbuf is empty.';
-$wb["dgramrcvbuf_error_empty"] = 'Dgramrcvbuf is empty.';
-$wb["oomguarpages_error_empty"] = 'Oomguarpages is empty.';
-$wb["privvmpages_error_empty"] = 'Privvmpages is empty.';
-$wb["lockedpages_error_empty"] = 'Lockedpages is empty.';
-$wb["shmpages_error_empty"] = 'Shmpages is empty.';
-$wb["physpages_error_empty"] = 'Physpages is empty.';
-$wb["numfile_error_empty"] = 'Numfile is empty.';
-$wb["avnumproc_error_empty"] = 'Avnumproc is empty.';
-$wb["numflock_error_empty"] = 'Numflock is empty.';
-$wb["numpty_error_empty"] = 'Numpty is empty.';
-$wb["numsiginfo_error_empty"] = 'Numsiginfo is empty.';
-$wb["dcachesize_error_empty"] = 'Dcachesize is empty.';
-$wb["numiptent_error_empty"] = 'Numiptent is empty.';
-$wb["swappages_error_empty"] = 'Swappages is empty.';
-$wb["Template"] = 'Template';
-$wb["Advanced"] = 'Advanced';
-?>
\ No newline at end of file
+$wb['numproc_txt'] = 'Numproc';
+$wb['numtcpsock_txt'] = 'Numtcpsock';
+$wb['numothersock_txt'] = 'Numothersock';
+$wb['vmguarpages_txt'] = 'Vmguarpages';
+$wb['kmemsize_txt'] = 'Kmemsize';
+$wb['tcpsndbuf_txt'] = 'Tcpsndbuf';
+$wb['tcprcvbuf_txt'] = 'Tcprcvbuf';
+$wb['othersockbuf_txt'] = 'Othersockbuf';
+$wb['dgramrcvbuf_txt'] = 'Dgramrcvbuf';
+$wb['oomguarpages_txt'] = 'Oomguarpages';
+$wb['privvmpages_txt'] = 'Privvmpages';
+$wb['lockedpages_txt'] = 'Lockedpages';
+$wb['shmpages_txt'] = 'Shmpages';
+$wb['physpages_txt'] = 'Physpages';
+$wb['numfile_txt'] = 'Numfile';
+$wb['avnumproc_txt'] = 'Avnumproc';
+$wb['numflock_txt'] = 'Numflock';
+$wb['numpty_txt'] = 'Numpty';
+$wb['numsiginfo_txt'] = 'Numsiginfo';
+$wb['dcachesize_txt'] = 'Dcachesize';
+$wb['numiptent_txt'] = 'Numiptent';
+$wb['swappages_txt'] = 'Swappages';
+$wb['hostname_txt'] = 'Hostname';
+$wb['nameserver_txt'] = 'Nameserver(s)';
+$wb['nameserver_desc_txt'] = '(separated by whitespace)';
+$wb['capability_txt'] = 'Capability';
+$wb['template_name_txt'] = 'Template name';
+$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 cores';
+$wb['cpu_limit_txt'] = 'CPU limit %';
+$wb['io_priority_txt'] = 'I/O priority';
+$wb['active_txt'] = 'Aktivno';
+$wb['description_txt'] = 'Opis';
+$wb['numproc_desc_txt'] = 'Broj procesa i thread-ova.';
+$wb['numtcpsock_desc_txt'] = 'Broj TCP socket-a.';
+$wb['numothersock_desc_txt'] = 'Broj socket-a drugačijih od TCP.';
+$wb['vmguarpages_desc_txt'] = 'Memory allocation guarantee, in pages.';
+$wb['kmemsize_desc_txt'] = 'Size of unswappable kernel memory, allocated for processes in this container.';
+$wb['tcpsndbuf_desc_txt'] = 'Total size of TCP send buffers.';
+$wb['tcprcvbuf_desc_txt'] = 'Total size of TCP receive buffers.';
+$wb['othersockbuf_desc_txt'] = 'Total size of UNIX-domain socket buffers, UDP and other datagram protocol send buffers.';
+$wb['dgramrcvbuf_desc_txt'] = 'Receive buffers of UDP and other datagram protocols.';
+$wb['oomguarpages_desc_txt'] = 'The guaranteed amount of memory for the case the memory is over-booked (out-of-memory kill guarantee), in pages.';
+$wb['privvmpages_desc_txt'] = 'Memory allocation limit, in pages.';
+$wb['lockedpages_desc_txt'] = 'Process pages not allowed to be swapped out (pages locked by mlock(2)).';
+$wb['shmpages_desc_txt'] = 'Ukupna veličina dijeljene memorije (IPC, shared anonymous mappings and tmpfs objects), in pages.';
+$wb['physpages_desc_txt'] = 'Ukupna veličina RAM-a korištena od procesa.';
+$wb['numfile_desc_txt'] = 'Broj otvorenih datoteka.';
+$wb['numflock_desc_txt'] = 'Broj zaključanih datoteka.';
+$wb['numpty_desc_txt'] = 'Number of pseudo-terminals.';
+$wb['numsiginfo_desc_txt'] = 'Number of siginfo structures.';
+$wb['dcachesize_desc_txt'] = 'Total size of dentry and inode structures locked in memory.';
+$wb['numiptent_desc_txt'] = 'Number of NETFILTER (IP packet filtering) entries.';
+$wb['swappages_desc_txt'] = 'Amount of swap space to show in container.';
+$wb['create_dns_txt'] = 'Kreiraj DNS za hostname';
+$wb['template_name_error_empty'] = 'Naziv predloška je prazan.';
+$wb['diskspace_error_empty'] = 'Diskovni prostor je prazan.';
+$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 cores 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['numproc_error_empty'] = 'Numproc polje je prazno.';
+$wb['numtcpsock_error_empty'] = 'Numtcpsock polje je prazno.';
+$wb['numothersock_error_empty'] = 'Numothersock polje je prazno.';
+$wb['vmguarpages_error_empty'] = 'Vmguarpages polje je prazno.';
+$wb['kmemsize_error_empty'] = 'Kmemsize polje je prazno.';
+$wb['tcpsndbuf_error_empty'] = 'Tcpsndbuf polje je prazno.';
+$wb['tcprcvbuf_error_empty'] = 'Tcprcvbuf polje je prazno.';
+$wb['othersockbuf_error_empty'] = 'Othersockbuf polje je prazno.';
+$wb['dgramrcvbuf_error_empty'] = 'Dgramrcvbuf polje je prazno.';
+$wb['oomguarpages_error_empty'] = 'Oomguarpages polje je prazno.';
+$wb['privvmpages_error_empty'] = 'Privvmpages polje je prazno.';
+$wb['lockedpages_error_empty'] = 'Lockedpages polje je prazno.';
+$wb['shmpages_error_empty'] = 'Shmpages polje je prazno.';
+$wb['physpages_error_empty'] = 'Physpages polje je prazno.';
+$wb['numfile_error_empty'] = 'Numfile polje je prazno.';
+$wb['avnumproc_error_empty'] = 'Avnumproc polje je prazno.';
+$wb['numflock_error_empty'] = 'Numflock polje je prazno.';
+$wb['numpty_error_empty'] = 'Numpty polje je prazno.';
+$wb['numsiginfo_error_empty'] = 'Numsiginfo polje je prazno.';
+$wb['dcachesize_error_empty'] = 'Dcachesize polje je prazno.';
+$wb['numiptent_error_empty'] = 'Numiptent polje je prazno.';
+$wb['swappages_error_empty'] = 'Swappages polje je prazno.';
+$wb['Template'] = 'Predložak';
+$wb['Advanced'] = 'Napredno';
+$wb['features_txt'] = 'Features';
+$wb["iptables_txt"] = "IP Tables";
+?>

--
Gitblit v1.9.1