-
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 template and template part to test localization (l10n…
…) into en_GB and bb_BB
- Loading branch information
1 parent
dd2dd6a
commit e71ab70
Showing
3 changed files
with
51 additions
and
0 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,37 @@ | ||
<!-- wp:column {"width":"50%"} --> | ||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:heading --> | ||
<h2>List</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:list --> | ||
<ul><li>Color</li><li>Center</li><li>Check</li><li>Internationalize</li><li>Localize</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,3 @@ | ||
<?php | ||
|
||
echo "norty"; |
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"} /--> |