[pve-devel] [PATCH] Usability: enhance password label in LXC wizzard

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jul 31 07:58:26 CEST 2015



On 07/31/2015 07:51 AM, Wolfgang Bumiller wrote:
> On Thu, Jul 30, 2015 at 02:33:42PM +0200, Thomas Lamprecht wrote:
>> How about:
>>
>> fieldLabel: 'root ' + gettext('password'),
>>
>>
>> So it's clear and translation doesn't becomes a problem.
> Word order may differ across languages, though. The ideal solution would
> be to use a formatting print with a string like "%s password", but this
> one would need to be translated, too, unless it's already available.
This one should be a bit better, and language independent, I'm no 
language expert, though :D

 > gettext('Password') + ' (root)';




More information about the pve-devel mailing list