Skip to content

Commit

Permalink
Issue #46 - rebuild language files supporting rich text extraction, t…
Browse files Browse the repository at this point in the history
…ranslation and localization
  • Loading branch information
bobbingwide committed Dec 8, 2020
1 parent 11b162c commit 88ecf50
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 192 deletions.
29 changes: 14 additions & 15 deletions languages/bb_BB/block-template-parts/footer.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<!-- wp:group {"align":"full","className":"footer","style":{"color":[]}} -->
<!-- wp:group {"align":"full","className":"footer","style":{"color":[]}} -->
<div class="wp-block-group alignfull footer"><div class="wp-block-group__inner-container"><!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center">[bw_wpadmin]<br>(C) Cporygiht Bboibng Wdie 2020. All rgiths rsereevd</p>
<!-- /wp:paragraph -->

<!-- /wp:paragraph -->

<!-- wp:separator {"className":"is-style-wide"} --><hr class="wp-block-separator is-style-wide">
<!-- /wp:separator -->

<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center">Wbeiste dsegiend And dvelepoed by&nbsp;<a href="https://herbmiller.me/">Hreb Mlielr</a>&nbsp;<a href="https://www.twitter.com/herb_miller"></a>
<br><a href="https://www.wordpress.org/">Porduly pworeed by WroPderss</a>&nbsp;adn&nbsp;<a href="https://oik-plugins.com/">OIk puligns</a></p>
<!-- /wp:paragraph -->

<!-- wp:template-part {"slug":"social-links","theme":"fizzie","align":"wide"} /-->

<!-- /wp:separator -->

<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center">Wbeiste dsegiend And dvelepoed by&nbsp;<a href="https://herbmiller.me/">Herb Miller</a>&nbsp;<a href="https://www.twitter.com/herb_miller"></a> <br><a href="https://www.wordpress.org/">Proudly pworeed by WordPress</a>&nbsp;and&nbsp;<a href="https://oik-plugins.com/">oik plugins</a></p>
<!-- /wp:paragraph -->

<!-- wp:template-part {"slug":"social-links","theme":"fizzie","align":"wide"} /-->

<!-- wp:paragraph --><p>[clone][cloned]</p>
<!-- /wp:paragraph -->


</div></div>
<!-- /wp:paragraph -->


</div></div>
<!-- /wp:group -->
Expand Down
4 changes: 2 additions & 2 deletions languages/bb_BB/block-template-parts/i18n-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<!-- 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 --><p>Eaxpmle, uisng thE <code>core/html</code> bolck.</p>
<!-- /wp:paragraph -->

<!-- wp:html --><p><span translate="no">Hreb Mlielr</span></p>
<!-- wp:html --><p><span translate="no">Herb Miller</span></p>
<!-- /wp:html --></div>
<!-- /wp:column -->
29 changes: 14 additions & 15 deletions languages/en_GB/block-template-parts/footer.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<!-- wp:group {"align":"full","className":"footer","style":{"color":[]}} -->
<!-- wp:group {"align":"full","className":"footer","style":{"color":[]}} -->
<div class="wp-block-group alignfull footer"><div class="wp-block-group__inner-container"><!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center">[bw_wpadmin]<br>(C) Copyright Bobbing Wide 2020. All rights reserved</p>
<!-- /wp:paragraph -->

<!-- /wp:paragraph -->

<!-- wp:separator {"className":"is-style-wide"} --><hr class="wp-block-separator is-style-wide">
<!-- /wp:separator -->

<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center">Website designed and developed by&nbsp;<a href="https://herbmiller.me/">Herb Miller</a>&nbsp;<a href="https://www.twitter.com/herb_miller"></a>
<br><a href="https://www.wordpress.org/">Proudly powered by WordPress</a>&nbsp;and&nbsp;<a href="https://oik-plugins.com/">oik plugins</a></p>
<!-- /wp:paragraph -->

<!-- wp:template-part {"slug":"social-links","theme":"fizzie","align":"wide"} /-->

<!-- /wp:separator -->

<!-- wp:paragraph {"align":"center"} --><p class="has-text-align-center">Website designed and developed by&nbsp;<a href="https://herbmiller.me/">Herb Miller</a>&nbsp;<a href="https://www.twitter.com/herb_miller"></a> <br><a href="https://www.wordpress.org/">Proudly powered by WordPress</a>&nbsp;and&nbsp;<a href="https://oik-plugins.com/">oik plugins</a></p>
<!-- /wp:paragraph -->

<!-- wp:template-part {"slug":"social-links","theme":"fizzie","align":"wide"} /-->

<!-- wp:paragraph --><p>[clone][cloned]</p>
<!-- /wp:paragraph -->


</div></div>
<!-- /wp:paragraph -->


</div></div>
<!-- /wp:group -->
Expand Down
Binary file modified languages/fizzie-bb_BB.mo
Binary file not shown.
77 changes: 16 additions & 61 deletions 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-07 09:39:58+00:00\n"
"POT-Creation-Date: 2020-12-08 05:45:42+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 @@ -128,44 +128,14 @@ msgid "Sites"
msgstr "Sties"


#: footer.html core/paragraph p>#text
msgid "[bw_wpadmin]"
msgstr "[bw_wpadmin]"


#: footer.html core/paragraph p>#text
msgid "(C) Copyright Bobbing Wide 2020. All rights reserved"
msgstr "(C) Cporygiht Bboibng Wdie 2020. All rgiths rsereevd"


#: footer.html core/paragraph p>#text
msgid "Website designed and developed by "
msgstr "Wbeiste dsegiend And dvelepoed by "
#: footer.html core/paragraph p
msgid "[bw_wpadmin]<br>(C) Copyright Bobbing Wide 2020. All rights reserved"
msgstr "[bw_wpadmin]<br>(C) Cporygiht Bboibng Wdie 2020. All rgiths rsereevd"


#: footer.html core/paragraph p>a>#text
msgid "Herb Miller"
msgstr "Hreb Mlielr"


#: footer.html core/paragraph p>#text
msgid " "
msgstr " "


#: footer.html core/paragraph p>a>#text
msgid "Proudly powered by WordPress"
msgstr "Porduly pworeed by WroPderss"


#: footer.html core/paragraph p>#text
msgid " and "
msgstr " adn "


#: footer.html core/paragraph p>a>#text
msgid "oik plugins"
msgstr "OIk puligns"
#: footer.html core/paragraph p
msgid "Website designed and developed by&#xA0;<a href=\"https://herbmiller.me/\">Herb Miller</a>&#xA0;<a href=\"https://www.twitter.com/herb_miller\"></a>&#13; <br><a href=\"https://www.wordpress.org/\">Proudly powered by WordPress</a>&#xA0;and&#xA0;<a href=\"https://oik-plugins.com/\">oik plugins</a>"
msgstr "Wbeiste dsegiend And dvelepoed by&#xA0;<a href=\"https://herbmiller.me/\">Herb Miller</a>&#xA0;<a href=\"https://www.twitter.com/herb_miller\"></a>&#13; <br><a href=\"https://www.wordpress.org/\">Proudly pworeed by WordPress</a>&#xA0;and&#xA0;<a href=\"https://oik-plugins.com/\">oik plugins</a>"


#: footer.html core/paragraph p>#text
Expand Down Expand Up @@ -248,19 +218,9 @@ msgid "Non translatable"
msgstr "NOn tarsnalatlbe"


#: i18n-test.html core/paragraph p>#text
msgid "Content that should not be translated can be marked up with"
msgstr "Cnoetnt taht sohlud nOt bE tarsnaletd cAn bE mraekd Up wtih"


#: i18n-test.html core/paragraph p>code>#text
msgid "translate=\"no\""
msgstr "translate=\"no\""


#: i18n-test.html core/paragraph p>#text
msgid "."
msgstr "."
#: i18n-test.html core/paragraph p
msgid "Content that should not be translated can be marked up with <code>translate=\"no\"</code>."
msgstr "Cnoetnt taht sohlud nOt bE tarsnaletd cAn bE mraekd Up wtih <code>translate=\"no\"</code>."


#: i18n-test.html core/quote blockquote>p>#text
Expand All @@ -273,19 +233,14 @@ msgid "Herb Miller, author of bbboing"
msgstr "Hreb Mlielr, atuohr Of bbbiong"


#: i18n-test.html core/paragraph p>#text
msgid "Example, using the"
msgstr "Eaxpmle, uisng thE"


#: i18n-test.html core/paragraph p>code>#text
msgid "core/html"
msgstr "croe/hmtl"
#: i18n-test.html core/paragraph p
msgid "Example, using the <code>core/html</code> block."
msgstr "Eaxpmle, uisng thE <code>core/html</code> bolck."


#: i18n-test.html core/paragraph p>#text
msgid "block."
msgstr "bolck."
#: i18n-test.html core/html p
msgid "<span translate=\"no\">Herb Miller</span>"
msgstr "<span translate=\"no\">Herb Miller</span>"


#: information.html core/heading h2>#text
Expand Down
Binary file modified languages/fizzie-en_GB.mo
Binary file not shown.
68 changes: 16 additions & 52 deletions 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-07 09:39:58+00:00\n"
"POT-Creation-Date: 2020-12-08 05:45:42+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 @@ -105,37 +105,13 @@ msgstr "Sitemap"
msgid "Sites"
msgstr "Sites"

#: footer.html core/paragraph p>#text
msgid "[bw_wpadmin]"
msgstr "[bw_wpadmin]"

#: footer.html core/paragraph p>#text
msgid "(C) Copyright Bobbing Wide 2020. All rights reserved"
msgstr "(C) Copyright Bobbing Wide 2020. All rights reserved"

#: footer.html core/paragraph p>#text
msgid "Website designed and developed by "
msgstr "Website designed and developed by "

#: footer.html core/paragraph p>a>#text
msgid "Herb Miller"
msgstr "Herb Miller"

#: footer.html core/paragraph p>#text
msgid " "
msgstr " "

#: footer.html core/paragraph p>a>#text
msgid "Proudly powered by WordPress"
msgstr "Proudly powered by WordPress"
#: footer.html core/paragraph p
msgid "[bw_wpadmin]<br>(C) Copyright Bobbing Wide 2020. All rights reserved"
msgstr "[bw_wpadmin]<br>(C) Copyright Bobbing Wide 2020. All rights reserved"

#: footer.html core/paragraph p>#text
msgid " and "
msgstr " and "

#: footer.html core/paragraph p>a>#text
msgid "oik plugins"
msgstr "oik plugins"
#: footer.html core/paragraph p
msgid "Website designed and developed by&#xA0;<a href=\"https://herbmiller.me/\">Herb Miller</a>&#xA0;<a href=\"https://www.twitter.com/herb_miller\"></a>&#13; <br><a href=\"https://www.wordpress.org/\">Proudly powered by WordPress</a>&#xA0;and&#xA0;<a href=\"https://oik-plugins.com/\">oik plugins</a>"
msgstr "Website designed and developed by&#xA0;<a href=\"https://herbmiller.me/\">Herb Miller</a>&#xA0;<a href=\"https://www.twitter.com/herb_miller\"></a>&#13; <br><a href=\"https://www.wordpress.org/\">Proudly powered by WordPress</a>&#xA0;and&#xA0;<a href=\"https://oik-plugins.com/\">oik plugins</a>"

#: footer.html core/paragraph p>#text
msgid "[clone][cloned]"
Expand Down Expand Up @@ -201,17 +177,9 @@ msgstr "According to a researcher at Cambridge University, it doesn't matter in
msgid "Non translatable"
msgstr "Non translatable"

#: i18n-test.html core/paragraph p>#text
msgid "Content that should not be translated can be marked up with"
msgstr "Content that should not be translated can be marked up with"

#: i18n-test.html core/paragraph p>code>#text
msgid "translate=\"no\""
msgstr "translate=\"no\""

#: i18n-test.html core/paragraph p>#text
msgid "."
msgstr "."
#: i18n-test.html core/paragraph p
msgid "Content that should not be translated can be marked up with <code>translate=\"no\"</code>."
msgstr "Content that should not be translated can be marked up with <code>translate=\"no\"</code>."

#: i18n-test.html core/quote blockquote>p>#text
msgid "Obfuscate text but leave it readable."
Expand All @@ -221,17 +189,13 @@ msgstr "Obfuscate text but leave it readable."
msgid "Herb Miller, author of bbboing"
msgstr "Herb Miller, author of bbboing"

#: i18n-test.html core/paragraph p>#text
msgid "Example, using the"
msgstr "Example, using the"

#: i18n-test.html core/paragraph p>code>#text
msgid "core/html"
msgstr "core/html"
#: i18n-test.html core/paragraph p
msgid "Example, using the <code>core/html</code> block."
msgstr "Example, using the <code>core/html</code> block."

#: i18n-test.html core/paragraph p>#text
msgid "block."
msgstr "block."
#: i18n-test.html core/html p
msgid "<span translate=\"no\">Herb Miller</span>"
msgstr "<span translate=\"no\">Herb Miller</span>"

#: information.html core/heading h2>#text
msgid "Information"
Expand Down
58 changes: 11 additions & 47 deletions 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-07 09:39:58+00:00\n"
"POT-Creation-Date: 2020-12-08 05:45:42+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 @@ -104,36 +104,12 @@ msgstr ""
msgid "Sites"
msgstr ""

#: footer.html core/paragraph p>#text
msgid "[bw_wpadmin]"
msgstr ""

#: footer.html core/paragraph p>#text
msgid "(C) Copyright Bobbing Wide 2020. All rights reserved"
msgstr ""

#: footer.html core/paragraph p>#text
msgid "Website designed and developed by "
#: footer.html core/paragraph p
msgid "[bw_wpadmin]<br>(C) Copyright Bobbing Wide 2020. All rights reserved"
msgstr ""

#: footer.html core/paragraph p>a>#text
msgid "Herb Miller"
msgstr ""

#: footer.html core/paragraph p>#text
msgid " "
msgstr ""

#: footer.html core/paragraph p>a>#text
msgid "Proudly powered by WordPress"
msgstr ""

#: footer.html core/paragraph p>#text
msgid " and "
msgstr ""

#: footer.html core/paragraph p>a>#text
msgid "oik plugins"
#: footer.html core/paragraph p
msgid "Website designed and developed by&#xA0;<a href=\"https://herbmiller.me/\">Herb Miller</a>&#xA0;<a href=\"https://www.twitter.com/herb_miller\"></a>&#13; <br><a href=\"https://www.wordpress.org/\">Proudly powered by WordPress</a>&#xA0;and&#xA0;<a href=\"https://oik-plugins.com/\">oik plugins</a>"
msgstr ""

#: footer.html core/paragraph p>#text
Expand Down Expand Up @@ -200,16 +176,8 @@ msgstr ""
msgid "Non translatable"
msgstr ""

#: i18n-test.html core/paragraph p>#text
msgid "Content that should not be translated can be marked up with"
msgstr ""

#: i18n-test.html core/paragraph p>code>#text
msgid "translate=\"no\""
msgstr ""

#: i18n-test.html core/paragraph p>#text
msgid "."
#: i18n-test.html core/paragraph p
msgid "Content that should not be translated can be marked up with <code>translate=\"no\"</code>."
msgstr ""

#: i18n-test.html core/quote blockquote>p>#text
Expand All @@ -220,16 +188,12 @@ msgstr ""
msgid "Herb Miller, author of bbboing"
msgstr ""

#: i18n-test.html core/paragraph p>#text
msgid "Example, using the"
msgstr ""

#: i18n-test.html core/paragraph p>code>#text
msgid "core/html"
#: i18n-test.html core/paragraph p
msgid "Example, using the <code>core/html</code> block."
msgstr ""

#: i18n-test.html core/paragraph p>#text
msgid "block."
#: i18n-test.html core/html p
msgid "<span translate=\"no\">Herb Miller</span>"
msgstr ""

#: information.html core/heading h2>#text
Expand Down

0 comments on commit 88ecf50

Please sign in to comment.