Lines Matching full:code
6 file named <code>messages.json</code>
8 This page describes the format of <code>messages.json</code> files.
16 The following code shows the supported fields for
17 <code>messages.json</code>.
41 Here's a <code>messages.json</code> file
83 that can appear in a <code>messages.json</code> file.
97 <code>__MSG_<em>name</em>__</code>
98 or <code>getMessage("<em>name</em>")</code>.
151 Use <code>$<em>placeholder_name</em>$</code>
155 <code>$our_site$</code>, <code>$OUR_SITE$</code>, or <code>$oUR_sITe$</code>.
172 To put a dollar sign (<code>$</code>) into the string,
173 use <code>$$</code>.
174 For example, use the following code to specify the message
182 Although placeholders such as <code>$USER$</code> are
185 <a href="i18n.html#method-getMessage"><code>getMessage()</code></a>)
190 <code>getMessage()</code>:
200 instead of <code>$<em>n</em></code> strings
203 A week after you write your code,
204 you'll probably forget what <code>$1</code> refers to,
247 Examples: HTML code, trademarked names, formatting specifiers.
251 <code>getMessage()</code>.
252 Example: <code>$1</code>.
269 <a href="i18n.html#method-getMessage"><code>getMessage()</code></a> method's
277 <code>$<em>n</em></code> strings correspond to
289 <td> <code>userName</code> </td>
290 <td> value of <code>userName</code> </td>
291 <td> <code>""</code> </td>
292 <td> <code>""</code> </td>
295 <td> <code>["Cira", "Kathy"]</code> </td>
296 <td> <code>"Cira"</code> </td>
297 <td> <code>"Kathy"</code> </td>
298 <td> <code>""</code> </td>
308 should have an example like <code>"$23.45"</code>.