Skip to content

Commit

Permalink
Issue #46 - relocalize updated template parts
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Dec 11, 2020
1 parent ff6a7d2 commit 6329e21
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 11 deletions.
4 changes: 2 additions & 2 deletions languages/bb_BB/block-template-parts/home-query.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

<!-- wp:post-hierarchical-terms {"term":"category"} /-->


<!-- wp:template-part {"slug":"metadates","theme":"fizzie","className":"alignfull"} /-->

</div></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"metadates","theme":"fizzie"} /-->



<!-- wp:spacer {"height":39} --><div style="height:39px" aria-hidden="true" class="wp-block-spacer"></div>
Expand Down
6 changes: 6 additions & 0 deletions languages/bb_BB/block-template-parts/i18n-rich-text.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- wp:paragraph --><p>Tseitng tarsnaliton Of rcih txet srtnigs. <code><a href="https://github.com/bobbingwide/oik-i18n">oik-i18n</a></code>'s ruoitens wlil etxarct thE <strong>rich text</strong> srtnigs fOr tarsnaliton, tehse ArE atumotacilaly tarsnaletd itno UK Egnilsh ( <code>en_GB</code> ) And thE <em>obfuscated</em> bbbiong lnauggae ( bb_BB ), tehn thE tehme's flies ArE <strong>localized</strong>.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"backgroundColor":"greeny","textColor":"background"} --><h2 class="has-background-color has-greeny-background-color has-text-color has-background">Tset certaoin -<strong> rcih text</strong></h2>
<!-- /wp:heading -->
<!-- wp:list --><ul><li>Cloor cehck</li><li>sb-tooilocns-bolck wlil hlep Us fnid thE bolkcs taht spuoprt <strong>rich text</strong> srtnigs.</li><li>tihs icnuleds Lsit, Haeidng, Bolkcuqtoe Etc</li><li> Wlil It tarsnalte tihs OnE? </li></ul>
<!-- /wp:list --><p>F</p>
5 changes: 3 additions & 2 deletions languages/bb_BB/block-template-parts/issue-30.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<ul>
<li>Issue-30 tset csae.
</li></ul>
<!-- wp:template-part {"slug":"issue-27","theme":"fizzie"} /-->
<!-- wp:template-part{ "slug": "issue-27", "theme": "fizzie" } /-->
</li>
</ul>
4 changes: 2 additions & 2 deletions languages/en_GB/block-template-parts/home-query.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

<!-- wp:post-hierarchical-terms {"term":"category"} /-->


<!-- wp:template-part {"slug":"metadates","theme":"fizzie","className":"alignfull"} /-->

</div></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"metadates","theme":"fizzie"} /-->



<!-- wp:spacer {"height":39} --><div style="height:39px" aria-hidden="true" class="wp-block-spacer"></div>
Expand Down
6 changes: 6 additions & 0 deletions languages/en_GB/block-template-parts/i18n-rich-text.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!-- wp:paragraph --><p>Testing translation of rich text strings. <code><a href="https://github.com/bobbingwide/oik-i18n">oik-i18n</a></code>'s routines will extract the <strong>rich text</strong> strings for translation, these are automatically translated into UK English ( <code>en_GB</code> ) and the <em>obfuscated</em> bbboing language ( bb_BB ), then the theme's files are <strong>localised</strong>.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"backgroundColor":"greeny","textColor":"background"} --><h2 class="has-background-color has-greeny-background-color has-text-color has-background">Test creation -<strong> rich text</strong></h2>
<!-- /wp:heading -->
<!-- wp:list --><ul><li>Colour check</li><li>sb-toolicons-block will help us find the blocks that support <strong>rich text</strong> strings.</li><li>this includes List, Heading, Blockquote etc</li><li> Will it translate this one? </li></ul>
<!-- /wp:list --><p>F</p>
5 changes: 3 additions & 2 deletions languages/en_GB/block-template-parts/issue-30.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<ul>
<li>Issue-30 test case.
</li></ul>
<!-- wp:template-part {"slug":"issue-27","theme":"fizzie"} /-->
<!-- wp:template-part{ "slug": "issue-27", "theme": "fizzie" } /-->
</li>
</ul>
Binary file modified languages/fizzie-bb_BB.mo
Binary file not shown.
37 changes: 36 additions & 1 deletion languages/fizzie-bb_BB.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fizzie\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fizzie\n"
"POT-Creation-Date: 2020-12-08 05:45:42+00:00\n"
"POT-Creation-Date: 2020-12-11 10:21:46+00:00\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
"Language: bb_BB\n"
Expand Down Expand Up @@ -168,6 +168,41 @@ msgid "home-part.html is part of home.html"
msgstr "hmoe-prat.hmtl Is prat Of hmoe.hmtl"


#: i18n-rich-text.html core/paragraph p
msgid "Testing translation of rich text strings. <code><a href=\"https://github.com/bobbingwide/oik-i18n\">oik-i18n</a></code>'s routines will extract the <strong>rich text</strong> strings for translation, these are automatically translated into UK English ( <code>en_GB</code> ) and the <em>obfuscated</em> bbboing language ( bb_BB ), then the theme's files are <strong>localized</strong>."
msgstr "Tseitng tarsnaliton Of rcih txet srtnigs. <code><a href=\"https://github.com/bobbingwide/oik-i18n\">oik-i18n</a></code>'s ruoitens wlil etxarct thE <strong>rich text</strong> srtnigs fOr tarsnaliton, tehse ArE atumotacilaly tarsnaletd itno UK Egnilsh ( <code>en_GB</code> ) And thE <em>obfuscated</em> bbbiong lnauggae ( bb_BB ), tehn thE tehme's flies ArE <strong>localized</strong>."


#: i18n-rich-text.html core/heading h2
msgid "Test creation -<strong> rich text</strong>"
msgstr "Tset certaoin -<strong> rcih text</strong>"


#: i18n-rich-text.html core/list ul>li>#text
msgid "Color check"
msgstr "Cloor cehck"


#: i18n-rich-text.html core/list ul>li
msgid "sb-toolicons-block will help us find the blocks that support <strong>rich text</strong> strings."
msgstr "sb-tooilocns-bolck wlil hlep Us fnid thE bolkcs taht spuoprt <strong>rich text</strong> srtnigs."


#: i18n-rich-text.html core/list ul>li>#text
msgid "this includes List, Heading, Blockquote etc"
msgstr "tihs icnuleds Lsit, Haeidng, Bolkcuqtoe Etc"


#: i18n-rich-text.html core/list ul>li>#text
msgid "Will it translate this one?"
msgstr "Wlil It tarsnalte tihs OnE?"


#: i18n-rich-text.html p>#text
msgid "F"
msgstr "F"


#: i18n-test.html core/heading h2>#text
msgid "List"
msgstr "Lsit"
Expand Down
Binary file modified languages/fizzie-en_GB.mo
Binary file not shown.
30 changes: 29 additions & 1 deletion languages/fizzie-en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fizzie\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fizzie\n"
"POT-Creation-Date: 2020-12-08 05:45:42+00:00\n"
"POT-Creation-Date: 2020-12-11 10:21:46+00:00\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
"Language: en_GB\n"
Expand Down Expand Up @@ -137,6 +137,34 @@ msgstr "About"
msgid "home-part.html is part of home.html"
msgstr "home-part.html is part of home.html"

#: i18n-rich-text.html core/paragraph p
msgid "Testing translation of rich text strings. <code><a href=\"https://github.com/bobbingwide/oik-i18n\">oik-i18n</a></code>'s routines will extract the <strong>rich text</strong> strings for translation, these are automatically translated into UK English ( <code>en_GB</code> ) and the <em>obfuscated</em> bbboing language ( bb_BB ), then the theme's files are <strong>localized</strong>."
msgstr "Testing translation of rich text strings. <code><a href=\"https://github.com/bobbingwide/oik-i18n\">oik-i18n</a></code>'s routines will extract the <strong>rich text</strong> strings for translation, these are automatically translated into UK English ( <code>en_GB</code> ) and the <em>obfuscated</em> bbboing language ( bb_BB ), then the theme's files are <strong>localised</strong>."

#: i18n-rich-text.html core/heading h2
msgid "Test creation -<strong> rich text</strong>"
msgstr "Test creation -<strong> rich text</strong>"

#: i18n-rich-text.html core/list ul>li>#text
msgid "Color check"
msgstr "Colour check"

#: i18n-rich-text.html core/list ul>li
msgid "sb-toolicons-block will help us find the blocks that support <strong>rich text</strong> strings."
msgstr "sb-toolicons-block will help us find the blocks that support <strong>rich text</strong> strings."

#: i18n-rich-text.html core/list ul>li>#text
msgid "this includes List, Heading, Blockquote etc"
msgstr "this includes List, Heading, Blockquote etc"

#: i18n-rich-text.html core/list ul>li>#text
msgid "Will it translate this one?"
msgstr "Will it translate this one?"

#: i18n-rich-text.html p>#text
msgid "F"
msgstr "F"

#: i18n-test.html core/heading h2>#text
msgid "List"
msgstr "List"
Expand Down
30 changes: 29 additions & 1 deletion languages/fizzie.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fizzie\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/fizzie\n"
"POT-Creation-Date: 2020-12-08 05:45:42+00:00\n"
"POT-Creation-Date: 2020-12-11 10:21:46+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -136,6 +136,34 @@ msgstr ""
msgid "home-part.html is part of home.html"
msgstr ""

#: i18n-rich-text.html core/paragraph p
msgid "Testing translation of rich text strings. <code><a href=\"https://github.com/bobbingwide/oik-i18n\">oik-i18n</a></code>'s routines will extract the <strong>rich text</strong> strings for translation, these are automatically translated into UK English ( <code>en_GB</code> ) and the <em>obfuscated</em> bbboing language ( bb_BB ), then the theme's files are <strong>localized</strong>."
msgstr ""

#: i18n-rich-text.html core/heading h2
msgid "Test creation -<strong> rich text</strong>"
msgstr ""

#: i18n-rich-text.html core/list ul>li>#text
msgid "Color check"
msgstr ""

#: i18n-rich-text.html core/list ul>li
msgid "sb-toolicons-block will help us find the blocks that support <strong>rich text</strong> strings."
msgstr ""

#: i18n-rich-text.html core/list ul>li>#text
msgid "this includes List, Heading, Blockquote etc"
msgstr ""

#: i18n-rich-text.html core/list ul>li>#text
msgid "Will it translate this one?"
msgstr ""

#: i18n-rich-text.html p>#text
msgid "F"
msgstr ""

#: i18n-test.html core/heading h2>#text
msgid "List"
msgstr ""
Expand Down

0 comments on commit 6329e21

Please sign in to comment.