[pve-devel] [PATCH 768/768] Added translations

Dietmar Maurer dietmar at proxmox.com
Mon Aug 19 09:41:41 CEST 2013


> diff --git a/PVE/API2/OpenVZ.pm b/PVE/API2/OpenVZ.pm
> index 11b4a9d..fc0d3e9 100644
> --- a/PVE/API2/OpenVZ.pm
> +++ b/PVE/API2/OpenVZ.pm
> @@ -801,9 +801,15 @@ __PACKAGE__->register_method({
>  	my $realcmd = sub {
>  	    my $cmd = ['vzctl', 'destroy', $vmid ];
> 
> +            my $rrdpath = '/var/lib/rrdcached/' . $param->{node} . '/' . $vmid;
> +
> +            my $cmd2 = ['rm', 'f', $rrdpath];
> +
>  	    run_command($cmd);
> 
>  	    PVE::AccessControl::remove_vm_from_pool($vmid);
> +
> +            run_command($cmd2);
>  	};
> 

This is not a translations! Please send separate patches?

Also, you translate many texts which I do not want to translate. In general,
I only want to translate longer texts, or items which are used several times. I do not want to
translate thing like 'LVM group', 'CD/DVD', 'Bridge', ...






More information about the pve-devel mailing list