<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Einav,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you very much for your explanation.</div><div class="gmail_default" style="font-size:small">I posted the question #41 before reading your reply.</div><div class="gmail_default" style="font-size:small">When this is resolve, #41 should be resolved at the same time.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">@<div class="gmail_default" style="display:inline">​</div>Eliraz,</div><div class="gmail_default" style="font-size:small">It would be great if you could get back to us by tomorrow.</div><div class="gmail_default" style="font-size:small">Many thanks in advance.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Kind regards,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Yuko</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Nov 25, 2015 at 7:01 AM, Einav Cohen <span dir="ltr">&lt;<a href="mailto:ecohen@redhat.com" target="_blank">ecohen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Yuko,<br>
<br>
[adding <div class="gmail_default" style="font-size:small;display:inline">​​</div>Eliraz, patch [1] author to confirm the below]<br>
<br>
Yes, from looking at the patch, it seems that the idea is to guide<br>
the user to provide a space-separated *list* of &quot;&lt; key &gt;=&lt; value &gt;&quot;<br>
strings.<br>
<br>
BTW, pointing out that this string does not appear as a standalone<br>
text, but as a suffix of another message.<br>
<br>
Note the following texts in the UIMessages document:<br>
<br>
- &quot;This field should be in the format of: {0}&quot;<br>
[resource ID: customPropertiesValuesShouldBeInFormatReason]<br>
<br>
- &quot;This field can be empty or contain a {0}&quot;<br>
[resource ID: emptyOrValidKeyValueFormatMessage]<br>
<br>
The &quot;&lt; key &gt;=&lt; value &gt; separated with space&quot; text can appear as<br>
one of the options for the &quot;{0}&quot; placeholders in the messages above.<br>
So the possible full strings would ultimately be:<br>
<br>
- &quot;This field should be in the format of: &lt; key &gt;=&lt; value &gt; separated with space&quot;<br>
<br>
- &quot;This field can be empty or contain a &lt; key &gt;=&lt; value &gt; separated with space&quot;<br>
<br>
Localizing sentence &quot;particles&quot; is not a good practice, as grammatical<br>
rules of different locales may not allow to translate those particles<br>
easily.<br>
It is always best to work with full sentences, rather than sentence<br>
particles, even at the cost of less optimal / elegant code.<br>
<br>
@Eliraz: I would recommend to:<br>
<br>
- add a &quot;list&quot; notion in the messages; right now, since the word &quot;list&quot;<br>
is not mentioned in the messages, it seems like a valid value would be<br>
just a single key-value pair (i.e. &quot;a=b&quot; seems legal, &quot;a=b c=d&quot; seems<br>
illegal, although it is actually legal).<br>
<br>
- change &quot;&lt; key &gt;=&lt; value &gt;&quot; to &quot;[key]=[value]&quot;<br>
(the spaced &quot;&lt; &gt;&quot; are a bit confusing).<br>
<br>
- change the code to use full sentences. I would simply work with two<br>
separate messages, such as:<br>
<br>
  * This field should contain a space-separated list of &quot;[key]=[value]&quot; strings.<br>
<br>
  * This field should be empty or contain a space-separated list of &quot;[key]=[value]&quot; strings.<br>
<br>
----<br>
Thanks,<br>
Einav<br>
<br>
[1] <a href="https://gerrit.ovirt.org/#/c/45366" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/45366</a><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Yuko Katabami&quot; &lt;<a href="mailto:ykatabam@redhat.com" target="_blank">ykatabam@redhat.com</a>&gt;<br>
&gt; To: <a href="mailto:devel@ovirt.org" target="_blank">devel@ovirt.org</a><br>
&gt; Sent: Tuesday, November 24, 2015 1:35:45 AM<br>
&gt; Subject: [ovirt-devel] [oVirt 3.6 Localization Question #38] &quot;&lt; key &gt;=&lt; value &gt; separated with space&quot;<br>
&gt;<br>
&gt; Hello again,<br>
&gt;<br>
&gt; I have another question I would like to ask for your help:<br>
&gt;<br>
&gt; File: uicompat.UIMessages<br>
&gt; Resource ID: keyValueFormat<br>
&gt; String: &lt; key &gt;=&lt; value &gt; separated with space<br>
&gt; Question : Is this asking user to provide a space-separated list of multiple<br>
&gt; &quot;&lt; key &gt;=&lt; value &gt;&quot; values?<br>
&gt;<br>
&gt; Kind regards,<br>
&gt;<br>
&gt; Yuko<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Devel mailing list<br>
&gt; <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div>