]> granicus.if.org Git - multimarkdown/commitdiff
UPDATED: Update Swedish/Dutch handling
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Wed, 16 Aug 2017 15:28:21 +0000 (11:28 -0400)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Wed, 16 Aug 2017 15:28:21 +0000 (11:28 -0400)
Sources/libMultiMarkdown/writer.c
tests/MMD6Tests/Dutch.html
tests/MMD6Tests/Swedish.html

index 701d9271d1b0ae692c4e51d38723c01951e97e19..da9e8e5eac079567a4eb7a916a9a5c40d4b7d85d 100644 (file)
@@ -1614,10 +1614,10 @@ void process_metadata_stack(mmd_engine * e, scratch_pad * scratch) {
                                scratch->language = LC_FR;
                                scratch->quotes_lang = FRENCH;
                        } else if (strcmp(temp_char, "nl") == 0) {
-                               //scratch->language = LC_NL;
+                               scratch->language = LC_NL;
                                scratch->quotes_lang = DUTCH;
                        } else if (strcmp(temp_char, "sv") == 0) {
-                               //scratch->language = LC_SV;
+                               scratch->language = LC_SV;
                                scratch->quotes_lang = SWEDISH;
                        } else {
                                scratch->language = LC_EN;
index 2b1ec51157ebae1cd5ae51eedc32d5313f6dac95..422773d6df89d3e45d000d79f3fa93d070d3f665 100644 (file)
 
 <p>foo&#8230;</p>
 
-<p><a href="#fn:1" id="fnref:1" title="see footnote" class="footnote"><sup>1</sup></a></p>
+<p><a href="#fn:1" id="fnref:1" title="Zie vootnot" class="footnote"><sup>1</sup></a></p>
 
-<p><a href="#cn:1" id="cnref:1" title="see citation" class="citation">(1)</a></p>
+<p><a href="#cn:1" id="cnref:1" title="Zie citaat" class="citation">(1)</a></p>
 
 <div class="footnotes">
 <hr />
 <ol>
 
 <li id="fn:1">
-<p>foo <a href="#fnref:1" title="return to body" class="reversefootnote">&#160;&#8617;</a></p>
+<p>foo <a href="#fnref:1" title="Ga terug naar tekstlichaam" class="reversefootnote">&#160;&#8617;</a></p>
 </li>
 
 </ol>
@@ -40,7 +40,7 @@
 <ol>
 
 <li id="cn:1">
-<p>foo <a href="#cnref:1" title="return to body" class="reversecitation">&#160;&#8617;</a></p>
+<p>foo <a href="#cnref:1" title="Ga terug naar tekstlichaam" class="reversecitation">&#160;&#8617;</a></p>
 </li>
 
 </ol>
index cb52d6caca80efc76c9207fc90bc13ca651fa04b..69f661b0a25506ae941c5a87fc260fe4df36fc65 100644 (file)
 
 <p>foo&#8230;</p>
 
-<p><a href="#fn:1" id="fnref:1" title="see footnote" class="footnote"><sup>1</sup></a></p>
+<p><a href="#fn:1" id="fnref:1" title="Se fotnot" class="footnote"><sup>1</sup></a></p>
 
-<p><a href="#cn:1" id="cnref:1" title="see citation" class="citation">(1)</a></p>
+<p><a href="#cn:1" id="cnref:1" title="Se citat" class="citation">(1)</a></p>
 
 <div class="footnotes">
 <hr />
 <ol>
 
 <li id="fn:1">
-<p>foo <a href="#fnref:1" title="return to body" class="reversefootnote">&#160;&#8617;</a></p>
+<p>foo <a href="#fnref:1" title="Återgå till textkroppen" class="reversefootnote">&#160;&#8617;</a></p>
 </li>
 
 </ol>
@@ -40,7 +40,7 @@
 <ol>
 
 <li id="cn:1">
-<p>foo <a href="#cnref:1" title="return to body" class="reversecitation">&#160;&#8617;</a></p>
+<p>foo <a href="#cnref:1" title="Återgå till textkroppen" class="reversecitation">&#160;&#8617;</a></p>
 </li>
 
 </ol>