summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorsushma.fernandes <sushma.fernandes>2007-01-24 21:24:43 +0000
committersushma.fernandes <sushma.fernandes>2007-01-24 21:24:43 +0000
commit28b8ef90c81ff7eb0fdd0c200b5449d777b662d1 (patch)
tree4ce739446e95da6a3cf45851473a1d42782b3508 /doc
parent5c4d3a471c7beb962ab30d186e25a3ad0a027e07 (diff)
downloadtog-pegasus-28b8ef90c81ff7eb0fdd0c200b5449d777b662d1.zip
tog-pegasus-28b8ef90c81ff7eb0fdd0c200b5449d777b662d1.tar.gz
tog-pegasus-28b8ef90c81ff7eb0fdd0c200b5449d777b662d1.tar.xz
BUG#: 6031
TITLE: Message definition text within a single quote is not interpreted DESCRIPTION: Updated the server and client message catalogs to precede single quote with another single quote. Also updated the Globalization HOWTO.
Diffstat (limited to 'doc')
-rw-r--r--doc/Globalization_HOWTO.htm52
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/Globalization_HOWTO.htm b/doc/Globalization_HOWTO.htm
index 672ba7f..a473850 100644
--- a/doc/Globalization_HOWTO.htm
+++ b/doc/Globalization_HOWTO.htm
@@ -38,6 +38,14 @@ used as part of the table name inside the bundle.<br>
<td style="vertical-align: top;">Section 2.2.5. &nbsp; Added information how to write platform specific messages.<br>
</td>
</tr>
+ <tr>
+ <td style="vertical-align: top;">01/23/07<br>
+ </td>
+ <td style="vertical-align: top;">Sushma Fernandes<br>
+ </td>
+ <td style="vertical-align: top;">Section 2.2.5. &nbsp; Added information on special considerations while creating a new message.<br>
+ </td>
+ </tr>
</tbody>
</table>
<p><br>
@@ -621,6 +629,50 @@ event(error,warning,whatever) is described more precisely by the new message
text, it is not necessary to create a new message, but the existing one should
be updated.</p>
+<p><b>Are there any special considerations while creating a new message ? </b></p>
+
+<ul>
+<li>If a message definition contains text within a single quote
+it is not interpreted in any way.
+
+<p><i>Example:</i></p>
+<p> Server.CIMOperationRequestAuthorizer.NOT_IN_AUTHORIZED_GRP:
+ string {"PGS05202: User '{0}' is not authorized to access CIM data."}
+</p>
+
+<p><i>Processed message:</i></p>
+<p> User {0} is not authorized to access CIM data. </p>
+</li>
+
+<li> For a single quote to appear in a processed message, it needs to be preceded by
+another single quote.
+
+<p><i>Example:</i></p>
+<p> Server.CIMOperationRequestAuthorizer.NOT_IN_AUTHORIZED_GRP:
+ string {"PGS05202: User ''{0}'' is not authorized to access CIM data."}
+</p>
+
+<p><i>Processed message:</i></p>
+<p> User 'wbemuser' is not authorized to access CIM data. </p>
+</li>
+
+<li> For a double quote to appear in a processed message, it needs to be preceded by
+a back slash.
+
+<p><i>Example:</i></p>
+<p>
+ControlProviders.ProviderRegistrationProvider.ProviderRegistrationProvider.
+UNSUPPORTED_USERCONTEXT_VALUE:string {"PGS03029: Unsupported UserContext
+value: \"{0}\"."}
+</p>
+
+<p><i>Processed message:</i></p>
+<p> Unsupported UserContext value: "10". </p>
+</li>
+</ul>
+
+<p>&nbsp;</p>
+
<p><b>How do I write a platform specific
message ? </b></p>