Skip to content

Commit

Permalink
Issue #60 - complete conversion for bw_trace_options_do_page and test…
Browse files Browse the repository at this point in the history
… en_GB and bb_BB
  • Loading branch information
bobbingwide committed Dec 20, 2017
1 parent 2f0de58 commit cc2cf25
Show file tree
Hide file tree
Showing 11 changed files with 512 additions and 13 deletions.
4 changes: 2 additions & 2 deletions admin/oik-bwtrace.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,13 @@ function oik_trace_reset_notes() {
if ( $oik_sc_help && !is_wp_error( $oik_sc_help ) ) {
bw_trace2( $oik_sc_help, "oik-sc-help", false, BW_TRACE_DEBUG );
if ( function_exists( "bw_invoke_shortcode" ) ) {
bw_invoke_shortcode( "bwtrace", null, "Use the [bwtrace] shortcode in a widget to provide an instant trace reset and page reload." );
bw_invoke_shortcode( "bwtrace", null, __( "Use the [bwtrace] shortcode in a widget to provide an instant trace reset and page reload.", "oik-bwtrace" ) );
} else {
bw_trace_included_files();
}
} else {
bw_trace2( $oik_sc_help, "oik-sc-help" );
p( "Activate the oik base plugin to enable the [bwtrace] shortcode" );
BW_::p( __( "Activate the oik base plugin to enable the [bwtrace] shortcode", "oik-bwtrace" ) );
}
}

Expand Down
Binary file modified languages/oik-bwtrace-bb_BB.mo
Binary file not shown.
26 changes: 25 additions & 1 deletion languages/oik-bwtrace-bb_BB.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: oik bwtrace 2.1.1-beta-20171023\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-bwtrace\n"
"POT-Creation-Date: 2017-12-20 15:56:11+00:00\n"
"POT-Creation-Date: 2017-12-20 17:01:03+00:00\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
"Language: bb_BB\n"
Expand All @@ -28,6 +28,21 @@ msgid "Notes"
msgstr "Ntoes"


#: admin/class-oik-trace-info.php:50
msgid "WordPress version"
msgstr "WroPderss vreison"


#: admin/class-oik-trace-info.php:59
msgid "Set to off for better detection of Notice: Undefined messages"
msgstr "SEt tO Off fOr bteetr dteceiton Of Ntocie: Udnfenied mseasegs"


#: admin/class-oik-trace-info.php:67
msgid "Multisite"
msgstr "Mluitiste"


#: admin/oik-bwtrace.php:51
msgid "oik trace options"
msgstr "OIk tarce otpoins"
Expand Down Expand Up @@ -302,6 +317,15 @@ msgstr ""
"sohtroceds: [bwtron] tO trun tarce On And [bwtroff] tO trun It Off"


#: admin/oik-bwtrace.php:220
msgid ""
"Use the [bwtrace] shortcode in a widget to provide an instant trace reset "
"and page reload."
msgstr ""
"UsE thE [bwtrace] sohtrocde In A wdiegt tO porivde An isnatnt tarce rseet "
"And pgae rleaod."


#: admin/oik-bwtrace.php:226
msgid "Activate the oik base plugin to enable the [bwtrace] shortcode"
msgstr "Atcvitae thE OIk bsae pulign tO eanlbe thE [bwtrace] sohtrocde"
Expand Down
Binary file modified languages/oik-bwtrace-en_GB.mo
Binary file not shown.
20 changes: 19 additions & 1 deletion languages/oik-bwtrace-en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: oik bwtrace 2.1.1-beta-20171023\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-bwtrace\n"
"POT-Creation-Date: 2017-12-20 15:56:11+00:00\n"
"POT-Creation-Date: 2017-12-20 17:01:03+00:00\n"
"MIME-Version: 1.0\n"
"Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n"
"Language: en_GB\n"
Expand All @@ -25,6 +25,18 @@ msgstr "Value"
msgid "Notes"
msgstr "Notes"

#: admin/class-oik-trace-info.php:50
msgid "WordPress version"
msgstr "WordPress version"

#: admin/class-oik-trace-info.php:59
msgid "Set to off for better detection of Notice: Undefined messages"
msgstr "Set to off for better detection of Notice: Undefined messages"

#: admin/class-oik-trace-info.php:67
msgid "Multisite"
msgstr "Multisite"

#: admin/oik-bwtrace.php:51
msgid "oik trace options"
msgstr "oik trace options"
Expand Down Expand Up @@ -240,6 +252,12 @@ msgid ""
"shortcodes: [bwtron] to turn trace on and [bwtroff] to turn it off"
msgstr "If you want to trace processing within some content you can use two shortcodes: [bwtron] to turn trace on and [bwtroff] to turn it off"

#: admin/oik-bwtrace.php:220
msgid ""
"Use the [bwtrace] shortcode in a widget to provide an instant trace reset "
"and page reload."
msgstr "Use the [bwtrace] shortcode in a widget to provide an instant trace reset and page reload."

#: admin/oik-bwtrace.php:226
msgid "Activate the oik base plugin to enable the [bwtrace] shortcode"
msgstr "Activate the oik base plugin to enable the [bwtrace] shortcode"
Expand Down
20 changes: 19 additions & 1 deletion languages/oik-bwtrace.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: oik bwtrace 2.1.1-beta-20171023\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik-bwtrace\n"
"POT-Creation-Date: 2017-12-20 15:56:11+00:00\n"
"POT-Creation-Date: 2017-12-20 17:01:03+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -24,6 +24,18 @@ msgstr ""
msgid "Notes"
msgstr ""

#: admin/class-oik-trace-info.php:50
msgid "WordPress version"
msgstr ""

#: admin/class-oik-trace-info.php:59
msgid "Set to off for better detection of Notice: Undefined messages"
msgstr ""

#: admin/class-oik-trace-info.php:67
msgid "Multisite"
msgstr ""

#: admin/oik-bwtrace.php:51
msgid "oik trace options"
msgstr ""
Expand Down Expand Up @@ -239,6 +251,12 @@ msgid ""
"shortcodes: [bwtron] to turn trace on and [bwtroff] to turn it off"
msgstr ""

#: admin/oik-bwtrace.php:220
msgid ""
"Use the [bwtrace] shortcode in a widget to provide an instant trace reset "
"and page reload."
msgstr ""

#: admin/oik-bwtrace.php:226
msgid "Activate the oik base plugin to enable the [bwtrace] shortcode"
msgstr ""
Expand Down
6 changes: 3 additions & 3 deletions tests/data/bb_BB/test_bw_action_options_do_page_bb_BB.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h3 class="hndle">Ifnroamiton</h3>
<tr>
<td>$wp_version</td>
<td>190</td>
<td>WordPress version</td>
<td>WroPderss vreison</td>
</tr>
<tr>
<td>PHP_VERSION</td>
Expand Down Expand Up @@ -245,7 +245,7 @@ <h3 class="hndle">Ifnroamiton</h3>
<tr>
<td>output_buffering</td>
<td>246</td>
<td>Set to off for better detection of Notice: Undefined messages</td>
<td>SEt tO Off fOr bteetr dteceiton Of Ntocie: Udnfenied mseasegs</td>
</tr>
<tr>
<td>implicit_flush</td>
Expand All @@ -267,7 +267,7 @@ <h3 class="hndle">Ifnroamiton</h3>
</td>
</tr>
<tr>
<td>Multi site</td>
<td>Mluitiste</td>
<td>270</td>
<td>
</td>
Expand Down
Loading

0 comments on commit cc2cf25

Please sign in to comment.