-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #46 - add test files for i18n extract and localization
- Loading branch information
1 parent
f2e2c3f
commit b09f55d
Showing
9 changed files
with
351 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- wp:column {"width":"50%"} --> | ||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:heading --><h2>Lsit</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:list --><ul><li>Cloor</li><li>Cneetr</li><li>Cehck</li><li>Itnreanitnolazie</li><li>Lcolazie</li><li>Aulimunm</li></ul> | ||
<!-- /wp:list --> | ||
|
||
<!-- wp:heading --><h2>Rvereesd bbbiong</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --><p>Accroidng tO A rseaecrehr At Cmarbdige Uinevsrtiy, It deosn't mtaetr In wihch odrer thE lteetrs In A wrod ArE, thE olny ipmroatnt tihng Is taht thE frist And lsat lteetr bE At thE rgiht palce. ThE rset cAn bE A ttoal mses And yOU cAn sitll raed It wtiohut porlbem. Tihs Is bceuase thE hmuan mnid deos nOt raed eevry lteetr by istlef bUt thE wrod As A wohle.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:heading --><h2>NOn tarsnalatlbe</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --><p>Cnoetnt taht sohlud nOt bE tarsnaletd cAn bE mraekd Up wtih <code>translate="no"</code>.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:quote --><blockquote class="wp-block-quote"><p>Ofbsuacte txet bUt laeve It raeadlbe.</p><cite>Hreb Mlielr, atuohr Of bbbiong</cite></blockquote> | ||
<!-- /wp:quote --> | ||
|
||
<!-- wp:paragraph --><p>Eaxpmle, uisng thE <code>croe/hmtl</code> bolck.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:html --><p><span translate="no">Hreb Mlielr</span></p> | ||
<!-- /wp:html --></div> | ||
<!-- /wp:column --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="WP_DEBUG">pgae-I18-tset.hmtl 12:22</div> | ||
<!-- wp:template-part {"slug":"header","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"breadcrumbs","theme":"fizzie","className":"breadcrumbs"} /--> | ||
<!-- wp:template-part {"slug":"post-content","theme":"fizzie","className":"post-content"} /--> | ||
<!-- wp:template-part {"slug":"i18n-test","theme":"fizzie","className":"i18n-test"} /--> | ||
<!-- wp:template-part {"slug":"metadates","theme":"fizzie","className":"metadates"} /--> | ||
<!-- wp:template-part {"slug":"information","theme":"fizzie","className":"information"} /--> | ||
<!-- wp:template-part {"slug":"search","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"page-footer","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"footer","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"footer-menu","theme":"fizzie","className":"footer-menu"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- wp:column {"width":"50%"} --> | ||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:heading --><h2>List</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:list --><ul><li>Colour</li><li>Centre</li><li>Check</li><li>Internationalise</li><li>Localise</li><li>Aluminum</li></ul> | ||
<!-- /wp:list --> | ||
|
||
<!-- wp:heading --><h2>Reversed bbboing</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --><p>According to a researcher at Cambridge University, it doesn't matter in which order the letters in a word are, the only important thing is that the first and last letter be at the right place. The rest can be a total mess and you can still read it without problem. This is because the human mind does not read every letter by itself but the word as a whole.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:heading --><h2>Non translatable</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --><p>Content that should not be translated can be marked up with <code>translate="no"</code>.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:quote --><blockquote class="wp-block-quote"><p>Obfuscate text but leave it readable.</p><cite>Herb Miller, author of bbboing</cite></blockquote> | ||
<!-- /wp:quote --> | ||
|
||
<!-- wp:paragraph --><p>Example, using the <code>core/html</code> block.</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:html --><p><span translate="no">Herb Miller</span></p> | ||
<!-- /wp:html --></div> | ||
<!-- /wp:column --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="WP_DEBUG">page-i18-test.html 12:22</div> | ||
<!-- wp:template-part {"slug":"header","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"breadcrumbs","theme":"fizzie","className":"breadcrumbs"} /--> | ||
<!-- wp:template-part {"slug":"post-content","theme":"fizzie","className":"post-content"} /--> | ||
<!-- wp:template-part {"slug":"i18n-test","theme":"fizzie","className":"i18n-test"} /--> | ||
<!-- wp:template-part {"slug":"metadates","theme":"fizzie","className":"metadates"} /--> | ||
<!-- wp:template-part {"slug":"information","theme":"fizzie","className":"information"} /--> | ||
<!-- wp:template-part {"slug":"search","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"page-footer","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"footer","theme":"fizzie"} /--> | ||
<!-- wp:template-part {"slug":"footer-menu","theme":"fizzie","className":"footer-menu"} /--> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.