Permalink
Browse files

penultimate tweaks

  • Loading branch information...
1 parent d29beda commit a94dcf0fc03b0d1aa7eaf8370cc21de11b06a859 @canuckistani committed Nov 12, 2011
Showing with 12 additions and 2 deletions.
  1. +12 −2 index.html
View
@@ -75,13 +75,13 @@ <h3 style="margin-bottom: 16px;">Example using Ids</h3>
}</pre>
</article>
-<article>
+<!--<article>
<h1>Ids or strings?</h1>
<ul>
<li>Small add-on, few strings, just translate the strings!</li>
<li>Slightly larger extension? Implement ids and a default translations file.</li>
</ul>
-</article>
+</article>-->
<article>
<h3>File layout</h3>
@@ -106,6 +106,16 @@ <h3 style="margin-bottom: 16px;">Example using Ids</h3>
<article>
<h3>JSON file format</h3>
+<p>Strings:</p>
+<pre style="margin: 10px 0;">
+{
+ "Mozilla Website": "me traduire!",
+ "The add-on is running": "me traduire!",
+ "Hello world!": "Bonjour le monde!"
+}
+</pre>
+
+<p>Ids:</p>
<pre style="margin: 10px 0;">
{
"moz_website": "me traduire!",

0 comments on commit a94dcf0

Please sign in to comment.