Skip to content

Commit

Permalink
Issue #9 - change Googlemap to Google Map
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Nov 30, 2017
1 parent fccd8e9 commit 2c80550
Show file tree
Hide file tree
Showing 13 changed files with 125 additions and 145 deletions.
24 changes: 2 additions & 22 deletions admin/oik-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ function oik_usage_notes() {
bw_invoke_shortcode( "bw_telephone", $alt0_suffix, __( "Display your telephone number.", "oik" ) );
bw_invoke_shortcode( "bw_address", $alt0_suffix, __( "Display your address.", "oik" ) );
bw_invoke_shortcode( "bw_email", $alt0_suffix, __( "Display your email address.", "oik" ) );
bw_invoke_shortcode( "bw_show_googlemap", $alt0_suffix, __( "Display a Googlemap for your primary address.", "oik" ) );
bw_invoke_shortcode( "bw_show_googlemap", $alt0_suffix, __( "Display a Google Map for your primary address.", "oik" ) );
bw_invoke_shortcode( "bw_directions", $alt0_suffix, __( "Display a button for obtaining directions to your address.", "oik" ) );
bw_invoke_shortcode( "bw_follow_me", $alt0_suffix, __( "Show all your <b>Follow me</b> buttons.", "oik" ) );
bw_invoke_shortcode( "bw_follow_me", "$alt0_suffix theme=gener", __( "Show your <b>Follow me</b> buttons using genericons.", "oik" ) );
Expand Down Expand Up @@ -603,26 +603,6 @@ function oik_extra_shortcode_options() {
//oik_contact_info( $option, $options, $alt1_suffix );
oik_address_info( $option, $options, $alt1_suffix );


/*
BW_::bw_textfield_arr( $option, "Email [bw_email alt=1]", $options, 'email', 50 );
BW_::bw_textfield_arr( $option, "Telephone [bw_telephone alt=1]", $options, 'telephone', 50 );
BW_::bw_textfield_arr( $option, "Mobile [bw_mobile alt=1]", $options, 'mobile', 50 );
BW_::bw_textfield_arr( $option, "Extended-address [bw_address alt=1]", $options, 'extended-address', 50 );
BW_::bw_textfield_arr( $option, "Street-address", $options, 'street-address', 50 );
BW_::bw_textfield_arr( $option, "Locality", $options, 'locality', 50 );
BW_::bw_textfield_arr( $option, "Region", $options, 'region', 50 );
BW_::bw_textfield_arr( $option, "Post Code", $options, 'postal-code', 50 );
BW_::bw_textfield_arr( $option, "Country name", $options, 'country-name', 50 );
BW_::bw_textarea_arr( $option, "Google Maps introductory text for [bw_show_googlemap alt=1]", $options, 'gmap_intro', 50 );
BW_::bw_textfield_arr( $option, "Latitude [bw_geo alt=1] [bw_directions alt=1]", $options, 'lat', 50 );
BW_::bw_textfield_arr( $option, "Longitude [bw_show_googlemap alt=1]", $options, 'long', 50 );
*/
etag( "table" );
e( isubmit( "ok", __("Save changes", "oik" ), null, "button-primary" ) );
etag( "form" );
Expand All @@ -639,7 +619,7 @@ function oik_extra_usage_notes() {
bw_invoke_shortcode( "bw_email", "alt=1 prefix=e-mail", __( "Display your alternative email address, with a prefix of 'e-mail'.", "oik" ) );
bw_invoke_shortcode( "bw_telephone", "alt=1", __( "Display your alternative telephone number.", "oik" ) );
bw_invoke_shortcode( "bw_address", "alt=1", __( "Display your alternative address.", "oik" ) );
bw_invoke_shortcode( "bw_show_googlemap", "alt=1", __("Display a Googlemap for your alternative address.", "oik" ) );
bw_invoke_shortcode( "bw_show_googlemap", "alt=1", __("Display a Google Map for your alternative address.", "oik" ) );
bw_invoke_shortcode( "bw_directions", "alt=1", __( "Display directions to the alternative address.", "oik" ) );
bw_flush();
}
Expand Down
Binary file modified languages/oik-bb_BB.mo
Binary file not shown.
78 changes: 39 additions & 39 deletions languages/oik-bb_BB.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the same license as the oik package.
msgid ""
msgstr ""
"Project-Id-Version: oik 3.2.1\n"
"Project-Id-Version: oik 3.2.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/oik\n"
"POT-Creation-Date: 2017-11-29 19:51:16+00:00\n"
"POT-Creation-Date: 2017-11-30 19:34:59+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 @@ -437,7 +437,7 @@ msgstr "Itngearte wtih sohtracke"


#: admin/oik-admin.php:212 admin/oik-admin.php:261 admin/oik-admin.php:547
#: admin/oik-admin.php:627
#: admin/oik-admin.php:607
msgid "Save changes"
msgstr "Svae cahgnes"

Expand Down Expand Up @@ -811,7 +811,7 @@ msgid "'Howdy,' replacement string"
msgstr "'Hwody,' rpealecemnt srtnig"


#: admin/oik-admin.php:561 admin/oik-admin.php:637
#: admin/oik-admin.php:561 admin/oik-admin.php:617
msgid "Use the shortcodes in your pages, widgets and titles. e.g."
msgstr "UsE thE sohtroceds In yuor pgaes, wdiegts And ttiels. E.g."

Expand All @@ -837,8 +837,8 @@ msgstr "Dsilpay yuor eamil adderss."


#: admin/oik-admin.php:566
msgid "Display a Googlemap for your primary address."
msgstr "Dsilpay A Goolgmeap fOr yuor piramry adderss."
msgid "Display a Google Map for your primary address."
msgstr "Dsilpay A Goolge MAp fOr yuor piramry adderss."


#: admin/oik-admin.php:567
Expand Down Expand Up @@ -880,67 +880,67 @@ msgid "usage notes"
msgstr "uasge ntoes"


#: admin/oik-admin.php:638
#: admin/oik-admin.php:618
msgid "Display your alternative contact name."
msgstr "Dsilpay yuor atlreanitve cnoatct nmae."


#: admin/oik-admin.php:639
#: admin/oik-admin.php:619
msgid "Display your alternative email address, with a prefix of 'e-mail'."
msgstr "Dsilpay yuor atlreanitve eamil adderss, wtih A perifx Of 'E-mial'."


#: admin/oik-admin.php:640
#: admin/oik-admin.php:620
msgid "Display your alternative telephone number."
msgstr "Dsilpay yuor atlreanitve tlepeohne nmuebr."


#: admin/oik-admin.php:641
#: admin/oik-admin.php:621
msgid "Display your alternative address."
msgstr "Dsilpay yuor atlreanitve adderss."


#: admin/oik-admin.php:642
msgid "Display a Googlemap for your alternative address."
msgstr "Dsilpay A Goolgmeap fOr yuor atlreanitve adderss."
#: admin/oik-admin.php:622
msgid "Display a Google Map for your alternative address."
msgstr "Dsilpay A Goolge MAp fOr yuor atlreanitve adderss."


#: admin/oik-admin.php:643
#: admin/oik-admin.php:623
msgid "Display directions to the alternative address."
msgstr "Dsilpay driceitnos tO thE atlreanitve adderss."


#: admin/oik-admin.php:768
#: admin/oik-admin.php:748
msgid "Edit custom CSS"
msgstr "Eidt csuotm CSS"


#: admin/oik-admin.php:787
#: admin/oik-admin.php:767
msgid "shortcode help"
msgstr "sohtrocde hlep"


#: admin/oik-admin.php:788
#: admin/oik-admin.php:768
msgid "About shortcodes"
msgstr "Aobut sohtroceds"


#: admin/oik-admin.php:792
#: admin/oik-admin.php:772
msgid "%1$s - more information"
msgstr "%1$s - mroe ifnroamiton"


#: admin/oik-admin.php:793
#: admin/oik-admin.php:773
msgid "%1$s - snippet"
msgstr "%1$s - sinppet"


#: admin/oik-admin.php:796
#: admin/oik-admin.php:776
msgid "Shortcode summary"
msgstr "Sohtrocde smuamry"


#: admin/oik-admin.php:805
#: admin/oik-admin.php:785
msgid ""
"This page lists all the currently active shortcodes. To find out more "
"information about a shortcode click on the shortcode name in the Help column."
Expand All @@ -949,7 +949,7 @@ msgstr ""
"ifnroamiton aobut A sohtrocde cilck On thE sohtrocde nmae In thE Hlep clomun."


#: admin/oik-admin.php:806
#: admin/oik-admin.php:786
msgid ""
"Depending on how the shortcode is implemented you will either be shown some "
"more information with one or more examples, or an 'oik generated example.'"
Expand All @@ -958,7 +958,7 @@ msgstr ""
"mroe ifnroamiton wtih OnE Or mroe eaxpmels, Or An 'OIk gneretaed eaxpmle.'"


#: admin/oik-admin.php:807
#: admin/oik-admin.php:787
msgid ""
"You will also be shown the HTML snippet for the example. There should be no "
"need to do anything with this output."
Expand All @@ -967,7 +967,7 @@ msgstr ""
"need tO dO aynhtnig wtih tihs otuupt."


#: admin/oik-admin.php:808
#: admin/oik-admin.php:788
msgid ""
"For further information on a shortcode or its parameters click on the links "
"in the Syntax column."
Expand All @@ -976,39 +976,39 @@ msgstr ""
"In thE Snyatx clomun."


#: admin/oik-admin.php:1073
#: admin/oik-admin.php:1053
msgid ""
"WordPress has previously determined that there is a new version available: %s"
msgstr ""
"WroPderss hAs perivuolsy dtereimend taht tehre Is A nEw vreison aavlibale: %s"


#: admin/oik-admin.php:1075 admin/oik-admin.php:1179
#: admin/oik-admin.php:1055 admin/oik-admin.php:1159
msgid "Current version: %s"
msgstr "Cruernt vreison: %s"


#: admin/oik-admin.php:1077
#: admin/oik-admin.php:1057
msgid "However, this is a symlinked plugin, located at <br /> %s"
msgstr "Hwoveer, tihs Is A smyilkned pulign, lcotaed At <br /> %s"


#: admin/oik-admin.php:1080
#: admin/oik-admin.php:1060
msgid "So please don't attempt to apply updates."
msgstr "SO pelsae dOn't attmept tO apply udptaes."


#: admin/oik-admin.php:1175
#: admin/oik-admin.php:1155
msgid "This plugin is a Git repository."
msgstr "Tihs pulign Is A GIt rpesotiroy."


#: admin/oik-admin.php:1177
#: admin/oik-admin.php:1157
msgid "New version?: %s"
msgstr "NEw vreison?: %s"


#: admin/oik-admin.php:1181
#: admin/oik-admin.php:1161
msgid "Please don't attempt to apply updates using WordPress."
msgstr "Pelsae dOn't attmept tO apply udptaes uisng WroPderss."

Expand Down Expand Up @@ -2503,32 +2503,32 @@ msgid "Snippet not produced for this shortcode: %1$s"
msgstr "Sinppet nOt porudecd fOr tihs sohtrocde: %1$s"


#: shortcodes/oik-address.php:12 shortcodes/oik-address.php:47
#: shortcodes/oik-address.php:15 shortcodes/oik-address.php:50
msgid "Work"
msgstr "Wrok"


#: shortcodes/oik-address.php:47
#: shortcodes/oik-address.php:50
msgid "type"
msgstr "tpye"


#: shortcodes/oik-address.php:47
#: shortcodes/oik-address.php:50
msgid "Address type."
msgstr "Adderss tpye."


#: shortcodes/oik-address.php:48
#: shortcodes/oik-address.php:51
msgid "suffix for alternative address"
msgstr "sfuifx fOr atlreanitve adderss"


#: shortcodes/oik-address.php:49
#: shortcodes/oik-address.php:52
msgid "HTML formatting tag"
msgstr "HMTL froamttnig tAg"


#: shortcodes/oik-address.php:55
#: shortcodes/oik-address.php:58
msgid "Display the address defined in oik options"
msgstr "Dsilpay thE adderss dfenied In OIk otpoins"

Expand Down Expand Up @@ -3234,8 +3234,8 @@ msgstr ""


#: shortcodes/oik-googlemap.php:255
msgid "To display a Googlemap for your company location"
msgstr "TO dsilpay A Goolgmeap fOr yuor cmoapny lcotaoin"
msgid "To display a Google Map for your company location"
msgstr "TO dsilpay A Goolge MAp fOr yuor cmoapny lcotaoin"


#: shortcodes/oik-googlemap.php:256
Expand Down
Binary file modified languages/oik-en_GB.mo
Binary file not shown.
Loading

0 comments on commit 2c80550

Please sign in to comment.