[Kimchi-devel] [PATCHv2] [Kimchi] Issue# 973 Display resource name in confirmation dialog

Socorro Stoppler socorro at linux.vnet.ibm.com
Thu Aug 25 20:37:24 UTC 2016


Because that is getting replaced in the js file with the actual value 
(i.e. vm name, template name, etc).  Is there another way or better way 
in doing that?

Thanks

-Socorro


On 08/25/2016 01:34 PM, Ramon Medeiros wrote:
> Why are you using %1? (just curious)
>
>
>>       "KCHVM6006M": "$_("Shut Down Confirmation")",
>> -    "KCHVM6007M": "$_("Note the guest OS may ignore this request. 
>> Would you like to continue?")",
>> +    "KCHVM6007M": "$_("Note the %1 guest OS may ignore this request. 
>> Would you like to continue?")",
>>       "KCHVM6008M": "$_("Virtual Machine delete Confirmation")",
>> -    "KCHVM6009M": "$_("This virtual machine is not persistent. Power 
>> Off will delete it. Continue?")",
>> +    "KCHVM6009M": "$_("The %1 virtual machine is not persistent. 
>> Power Off will delete it. Continue?")",
>>
>>       "KCHVM0001E": "$_("Input is not a number")",
>>       "KCHVM0002E": "$_("Memory value cannot be higher than Max 
>> Memory value")",
>> @@ -89,11 +89,11 @@
>>       "KCHVMED6012M": "$_("Following devices will be affected, 
>> confirm?")",
>>
>>       "KCHNET6001M": "$_("unavailable")",
>> -    "KCHNET6002M": "$_("This action will interrupt network 
>> connectivity for any virtual machine that depend on this network.")",
>> -    "KCHNET6004M": "$_("This network is not persistent. Instead of 
>> stop, this action will permanently delete it. Would you like to 
>> continue?")",
>> +    "KCHNET6002M": "$_("This action will interrupt network 
>> connectivity for any virtual machine that depend on the %1 network.")",
>> +    "KCHNET6004M": "$_("The %1 network is not persistent. Instead of 
>> stop, this action will permanently delete it. Would you like to 
>> continue?")",
>>       "KCHNET6001W": "$_("The bridged VLAN tag may not work well with 
>> NetworkManager enabled. You should consider disabling it.")",
>>
>> -    "KCHPOOL6001M": "$_("This will permanently delete the storage 
>> pool. Would you like to continue?")",
>> +    "KCHPOOL6001M": "$_("This will permanently delete the %1 storage 
>> pool. Would you like to continue?")",
>>       "KCHPOOL6002M": "$_("This storage pool is empty.")",
>>       "KCHPOOL6003M": "$_("It will format your disk and you will 
>> loose any data in there, are you sure to continue? ")",
>>       "KCHPOOL6004M": "$_("SCSI Fibre Channel")",
>> @@ -108,7 +108,7 @@
>>       "KCHPOOL6006E": "$_("No logical device selected.")",
>>       "KCHPOOL6009E": "$_("This is not a valid Server Name or IP. 
>> Please, modify it.")",
>>       "KCHPOOL6011M": "$_("No available partitions found.")",
>> -    "KCHPOOL6012M": "$_("This storage pool is not persistent. 
>> Instead of deactivate, this action will permanently delete it. Would 
>> you like to continue?")",
>> +    "KCHPOOL6012M": "$_("The %1 storage pool is not persistent. 
>> Instead of deactivate, this action will permanently delete it. Would 
>> you like to continue?")",
>>       "KCHPOOL6013M": "$_("Unable to retrieve partitions 
>> information.")",
>>       "KCHPOOL6014M": "$_("In progress...")",
>>       "KCHPOOL6015M": "$_("Failed!")",
>




More information about the Kimchi-devel mailing list