You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -53,18 +53,18 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">
53
53
</div>
54
54
<divclass="section" id="example">
55
55
<h2>Example<aclass="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
56
-
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="cm">### A resource comment for the whole file</span><spanclass="p"></span>
56
+
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="cm">### A resource comment for the whole file</span>
@@ -53,18 +53,18 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">
53
53
</div>
54
54
<divclass="section" id="example">
55
55
<h2>Example<aclass="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
56
-
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="cm">### A resource comment for the whole file</span><spanclass="p"></span>
56
+
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="cm">### A resource comment for the whole file</span>
@@ -53,18 +53,18 @@ <h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">
53
53
</div>
54
54
<divclass="section" id="example">
55
55
<h2>Example<aclass="headerlink" href="#example" title="Permalink to this headline">¶</a></h2>
56
-
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="cm">### A resource comment for the whole file</span><spanclass="p"></span>
56
+
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="cm">### A resource comment for the whole file</span>
<p>as well as <codeclass="docutils literal notranslate"><spanclass="pre">l10n/en-US/main.ftl</span></code> with:</p>
96
-
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="no">my-first-string</span><spanclass="p"> = </span><spanclass="l">Fluent can be easy</span><spanclass="p"></span>
97
-
<spanclass="no">second-string</span><spanclass="p"> = </span><spanclass="l">An original string</span><spanclass="p"></span>
96
+
<divclass="highlight-fluent notranslate"><divclass="highlight"><pre><span></span><spanclass="no">my-first-string</span><spanclass="p"> = </span><spanclass="l">Fluent can be easy</span>
97
+
<spanclass="no">second-string</span><spanclass="p"> = </span><spanclass="l">An original string</span>
98
98
</pre></div>
99
99
</div>
100
100
<p>As you can see, our first example returned the English string, as that’s on
<codeclass="docutils literal notranslate"><spanclass="pre">functions</span></code> dictionary to the <codeclass="docutils literal notranslate"><spanclass="pre">FluentLocalization</span></code> constructor:</p>
0 commit comments