<div dir="ltr">As I thought from the context of the sentence, it's being used as a (parameterized) Message, like this:<div><br></div><div><div> if (isKsmEnabled) {</div><div> recommendationsList.add(<wbr>constants.<wbr>highPerformancePopupRecommenda<wbr>tionMsgForKsmPart1()</div><div> + clusterName</div><div> + constants.<wbr>highPerformancePopupRecommenda<wbr>tionMsgForKsmPart2());</div><div> }</div></div><div><br></div><div>So the cluster name is set between those two quotes.</div><div><br></div><div>The programmer is supposed to use "Messages"[1] for this, not Constants. The message should be:</div><div><br></div><div><div><div>highPerformancePopupRecommendationMsgForKsm=KERNEL SAME PAGE MERGING (KSM): Please disable KSM by disabling it for the Cluster: "{0}". This can be done by editing the Cluster and disabling the "Enable KSM" field.</div></div><div><br></div></div><div>^ although I'm not sure why the cluster name would be in quotes. It doesn't need to be. It can just say Cluster X (no colon either)</div><div><br></div><div>Greg</div><div><br></div><div>[1] ./frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/ApplicationMessages.properties</div><div>Example: </div><div>geoRepSlaveVolumeToolTip=Volume data from {0} of cluster {1} is replicated to this volume.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 26, 2017 at 7:24 PM, Yuko Katabami <span dir="ltr"><<a href="mailto:ykatabam@redhat.com" target="_blank">ykatabam@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:15px">Hello oVirt developers.</span></font></div><div><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:15px">My next question is as follows;</span></font></div><div><strong style="font-size:15px;color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif"><br></strong></div><div><strong style="font-size:15px;color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif">File: </strong><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:15px">UIConstants</span></font></div><p style="margin:0px;padding:0px;word-wrap:break-word"><strong style="font-size:15px;color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif">Resource IDs: <br></strong><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:15px">highPerformancePopupRecommenda<wbr>tionMsgForKsmPart1</span></font></p><p style="margin:0px;padding:0px;word-wrap:break-word"><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:15px">highPerformancePopupRecommenda<wbr>tionMsgForKsmPart2</span><br></font></p><div style="font-size:small;display:inline"><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"></font></div><strong style="font-size:15px;color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif">Strings: </strong></div><div><font color="#3d3d3d" face="Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:15px"><div>KERNEL SAME PAGE MERGING (KSM):</div><div>Please disable KSM by disabling it for the Cluster: "</div><div><br></div><div>". This can be done by editing the Cluster and disabling the "Enable KSM" field.</div></span></font></div><div style="font-size:16px"><div><span style="font-size:small"><strong style="color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:15px">Question:</strong><span style="color:rgb(61,61,61);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:15px"> </span></span>There is something wrong with the usage of double quotes in those two strings. Could I remove it from the end of the first string, and the beginning of the second string (as well as the period)?</div><div><br></div><div>Thank you,</div><div><br></div><div>Yuko</div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br><div class="gmail-m_7290036974217110948gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div>
</div></div>