Google Map Shortcode - Version 2.2.2

Version Description

  • Internationalization added.
    • Special characters bugs fixed.
Download this release

Release Info

Developer alaingg
Plugin Icon wp plugin Google Map Shortcode
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

google-map-shortcode.php CHANGED
@@ -1,22 +1,44 @@
1
<?php
2
/*
3
Plugin Name: Google Map Shortcode
4
- Plugin URI: http://web-argument.com/google-map-shortcode-2-0-total-solution/
5
Description: Include Google Map in your blogs with just one click.
6
- Version: 2.2.1
7
Author: Alain Gonzalez
8
Author URI: http://web-argument.com/
9
*/
10
11
define('GMSC_PLUGIN_DIR', WP_PLUGIN_DIR."/".dirname(plugin_basename(__FILE__)));
12
define('GMSC_PLUGIN_URL', WP_PLUGIN_URL."/".dirname(plugin_basename(__FILE__)));
13
- define('GMSHC_VERSION_CURRENT','2.2');
14
define('GMSHC_VERSION_CHECK','2.2');
15
16
require(GMSC_PLUGIN_DIR."/include/functions.php");
17
require(GMSC_PLUGIN_DIR."/include/class.gmshc_point.php");
18
require(GMSC_PLUGIN_DIR."/include/class.gmshc_post_points.php");
19
20
/**
21
* Default Options
22
*/
@@ -128,7 +150,6 @@ add_shortcode('google-map-sc', 'gmshc_sc');
128
129
function gmshc_sc($atts) {
130
131
- global $post;
132
$options = get_gmshc_options();
133
134
$width = $options['width'];
@@ -145,12 +166,6 @@ function gmshc_sc($atts) {
145
$animate = $options['animate'];
146
$focus_type = $options['focus_type'];
147
148
- // First Point in the post
149
- $address_meta = get_post_meta($post -> ID, 'google-map-sc-address');
150
- $point_meta = get_post_meta($post -> ID, 'google-map-sc-latlng');
151
-
152
- $the_address = isset($address_meta[0]) ? $address_meta[0] : '';
153
- $point = isset($point_meta[0]) ? $point_meta[0] : '';
154
$the_items = array();
155
156
$final_atts = shortcode_atts(array(
@@ -224,7 +239,7 @@ function gmshc_sc($atts) {
224
//Generate Map form points
225
$output = gmshc_generate_map($map_points, $final_atts);
226
} else {
227
- $output = __("There is not points to locate on the map");
228
}
229
230
return $output;
@@ -242,7 +257,7 @@ function gmshc_media_buttons($admin = true)
242
243
$media_upload_iframe_src = get_option('siteurl').'/wp-admin/media-upload.php?post_id=$uploading_iframe_ID';
244
245
- $iframe_title = __('Google Map Shortcode');
246
247
echo "<a class=\"thickbox\" href=\"media-upload.php?post_id={$post_ID}&amp;tab=gmshc&amp;TB_iframe=true&amp;height=500&amp;width=680\" title=\"$iframe_title\"><img src=\"".GMSC_PLUGIN_URL."/images/marker.png\" alt=\"$iframe_title\" /></a>";
248
@@ -260,10 +275,10 @@ function gmshc_tab_process(){
260
$post_id = $_REQUEST["post_id"];
261
$custom_fieds = get_post_custom($post_id);
262
263
- $address = isset($_REQUEST['new_address'])? stripslashes($_REQUEST['new_address']) : "";
264
- $ltlg = isset($_REQUEST['new_ltlg'])?$_REQUEST['new_ltlg'] : "";
265
- $title = isset($_REQUEST['new_title'])? stripslashes($_REQUEST['new_title']) : get_the_title($post_id);
266
- $description = isset($_REQUEST['new_description'])? stripslashes($_REQUEST['new_description']) : "";
267
$icon = isset($_REQUEST['default_icon'])?stripslashes($_REQUEST['default_icon']) : "";
268
$selected_thumbnail = isset($_REQUEST['selected_thumbnail'])? stripslashes($_REQUEST['selected_thumbnail']) : "";
269
@@ -298,29 +313,30 @@ function gmshc_tab_process(){
298
$post_points -> add_point($new_point);
299
}
300
else
301
- echo "<div class='error'><p>".__("The Address can't be located.")."</p></div>";
302
}
303
304
- else if (!empty($update_point)) {
305
-
306
if ( $post_points -> update_points($address_list,$ltlg_list,$title_list,$desc_list,$icon_list,$thumb_list))
307
- echo "<div class='updated'><p>".__("The Point was updated.")."</p></div>";
308
- else echo "<div class='error'><p>".__("The Points can't be updated.")."</p></div>";
309
}
310
311
else if ($del_point != "") {
312
if($post_points -> delete_point($del_point))
313
- echo "<div class='updated'><p>".__("The Point was deleted.")."</p></div>";
314
}
315
316
?>
317
318
<script type="text/javascript" src="<?php echo GMSC_PLUGIN_URL ?>/js/gmshc-admin.js"></script>
319
<?php gmshc_head() ?>
320
- <link href="<?php echo GMSC_PLUGIN_URL ?>/styles/gmshc-admin-styles.css" rel="stylesheet" type="text/css"/>
321
-
322
- <div style="width:620px; margin:10px auto">
323
324
<?php echo gmshc_plugin_menu(); ?>
325
326
<form action="#" method="post">
@@ -336,12 +352,12 @@ function gmshc_tab_process(){
336
<table width="620" border="0" cellspacing="5" cellpadding="5">
337
<tr>
338
<td colspan="2">
339
- <h3 class="gmshc_editor"><?php _e("Add New Point"); ?></h3>
340
</td>
341
</tr>
342
<tr>
343
<td align="right" valign="top">
344
- <strong><?php _e("Title"); ?></strong>
345
</td>
346
<td valign="top">
347
<input name="new_title" size="55" id="new_title" value="<?php echo $title ?>" />
@@ -349,7 +365,7 @@ function gmshc_tab_process(){
349
</tr>
350
<tr>
351
<td align="right" valign="top">
352
- <strong><?php _e("Description"); ?></strong>
353
</td>
354
<td valign="top">
355
<textarea name="new_description" cols="50" rows="2" id="new_description"></textarea>
@@ -357,7 +373,7 @@ function gmshc_tab_process(){
357
</tr>
358
<tr>
359
<td align="right" valign="top">
360
- <strong><?php _e("Full Address"); ?></strong>
361
</td>
362
<td valign="top">
363
<textarea name="new_address" cols="50" rows="2" id="new_address"></textarea>
@@ -375,7 +391,7 @@ function gmshc_tab_process(){
375
if (count($thumbnail_list) > 0) {
376
?>
377
<div class="gmshc_label">
378
- <?php _e("Select the thumbnail by clicking on the images"); ?>
379
</div>
380
<div id="gmshc_thumb_cont">
381
<input type="hidden" name="selected_thumbnail" value="<?php echo $default_icon ?>" id="selected_thumbnail" />
@@ -387,39 +403,39 @@ function gmshc_tab_process(){
387
</div>
388
<?php } else { ?>
389
<div class="gmshc_label">
390
- <strong><?php _e("Thumbnail: "); ?></strong><?php _e("If you want to attach an image to the point you need to upload it first to the post gallery"); ?>
391
</div>
392
<?php } ?>
393
- <p align="left"><a class="button" href = "?post_id=<?php echo $post_id ?>&type=image" title="Upload Images"><?php _e("Upload Images") ?></a></p> <p align="left"><input class="button-primary" value="<?php _e("Add Point") ?>" name="add_point" type="submit"></p>
394
</td>
395
</tr>
396
<?php if ($post_points->points_number > 0) { ?>
397
<tr>
398
<td colspan="2">
399
- <h3 class="gmshc_editor"><?php _e("Map Configuration"); ?></h3>
400
</td>
401
</tr>
402
<tr>
403
- <td align="right"><?php _e("Width"); ?></td>
404
<td valign="top"><input name="width" type="text" id="width" size="10" value = "<?php echo $width ?>"/></td>
405
</tr>
406
<tr>
407
- <td align="right"><?php _e("Height"); ?></td>
408
<td valign="top"><input name="height" type="text" id="height" size="10" value = "<?php echo $height ?>" /></td>
409
</tr>
410
<tr>
411
- <td align="right"><strong><?php _e("Margin") ?></strong></td>
412
<td><input name="margin" id="margin" type="text" size="6" value="<?php echo $margin ?>" /></td>
413
</tr>
414
<tr>
415
- <td align="right"><strong><?php _e("Align") ?></strong></td>
416
<td>
417
- <input name="align" type="radio" id="aleft" value="left" <?php echo ($align == "left" ? "checked = 'checked'" : "") ?> /> <?php _e("left") ?>
418
- <input name="align" type="radio" id="acenter" value="center" <?php echo ($align == "center" ? "checked = 'checked'" : "") ?> /> <?php _e("center") ?>
419
- <input name="align" type="radio" id="aright" value="right" <?php echo ($align == "right" ? "checked = 'checked'" : "") ?> /> <?php _e("right") ?>
420
</tr>
421
<tr>
422
- <td align="right"><?php _e("Zoom") ?></td>
423
<td>
424
<select name="zoom" id="zoom">
425
<?php for ($i = 0; $i <= 20; $i ++){ ?>
@@ -428,38 +444,38 @@ function gmshc_tab_process(){
428
</select>
429
</tr>
430
<tr>
431
- <td align="right"><?php _e("Maps Type") ?></td>
432
<td>
433
<select name="type" id="type">
434
- <option value="ROADMAP" <?php if ($type == "ROADMAP") echo "selected" ?>><?php _e("ROADMAP - Displays a normal street map") ?></option>
435
- <option value="SATELLITE" <?php if ($type == "SATELLITE") echo "selected" ?>><?php _e("SATELLITE - Displays satellite images") ?></option>
436
- <option value="TERRAIN" <?php if ($type == "TERRAIN") echo "selected" ?>><?php _e("TERRAIN - Displays maps with physical features such as terrain and vegetation") ?></option>
437
- <option value="HYBRID" <?php if ($type == "HYBRID") echo "selected" ?>><?php _e("HYBRID - Displays a transparent layer of major streets on satellite images") ?></option>
438
</select>
439
</td>
440
</tr>
441
<tr>
442
- <td align="right"><?php _e("Focus") ?></td>
443
<td>
444
<select name="focus" id="focus">
445
- <option value="0" <?php if ($focus == 0) echo "selected" ?>><?php _e("None") ?></option>
446
<?php if ($post_points->points_number > 1) { ?>
447
- <option value="all" <?php if ($focus == "all") echo "selected" ?>><?php _e("All") ?></option>
448
<?php } ?>
449
<?php for ($i = 1; $i <= $post_points->points_number; $i ++){ ?>
450
<?php $number = $i; ?>
451
<option value="<?php echo $number ?>" <?php if ($focus == $number) echo "selected" ?>><?php echo $number ?></option>
452
<?php } ?>
453
</select>
454
- <em><?php _e("Select the point to be focused after loading the map") ?></em>
455
</td>
456
</tr>
457
<tr>
458
- <td align="right" valign="top"><?php _e("Focus Type") ?></td>
459
<td>
460
<select name="focus_type" id="focus_type">
461
- <option value="open" <?php echo ($focus_type == "open" ? "selected" : "") ?> ><?php _e("Open Markers") ?></option>
462
- <option value="center" <?php echo ($focus_type == "center" ? "selected" : "") ?> ><?php _e("Center Markers") ?></option>
463
</select>
464
</td>
465
</tr>
@@ -468,9 +484,9 @@ function gmshc_tab_process(){
468
469
<p>
470
<?php if ($post_points->points_number > 0) { ?>
471
- <input class="button-primary" value="<?php _e("Add Point") ?>" name="add_point" type="submit">
472
- <input class="button-primary insert_map" value="<?php _e('Insert Map'); ?>" type="button" \>
473
- <?php echo $post_points->points_number.__(" Points Added") ?>
474
<?php } ?>
475
476
</p>
@@ -482,10 +498,11 @@ function gmshc_tab_process(){
482
<table class="widefat" cellspacing="0">
483
<thead>
484
<tr>
485
- <th><?php _e("Marker"); ?></th>
486
- <th><?php _e("Thumbnail"); ?></th>
487
- <th><?php _e("Title/Description"); ?></th>
488
- <th width="140"><?php _e("Address/LtLg"); ?></th>
489
</tr>
490
</thead>
491
<tbody class="media-item-info">
@@ -495,29 +512,30 @@ function gmshc_tab_process(){
495
foreach ($post_points->points as $point ) {
496
?>
497
<tr>
498
<td>
499
- <img src="<?php echo $point->icon ?>" atl="<?php _e("Icon") ?>" />
500
<input name="icon[]" type="hidden" id="icon_<?php echo $i ?>" size="30" value = "<?php echo $point->icon ?>"/>
501
</td>
502
<td>
503
<div class="gmshc_thumb gmshc_selected">
504
<?php if ($point->thumbnail != "") { ?>
505
- <img src="<?php echo $point->thumbnail ?>" atl="<?php _e("Thumbnail") ?>" width = "40" height="40" />
506
<input name="thumb[]" type="hidden" id="thumb_<?php echo $i ?>" size="30" value = "<?php echo $point->thumbnail ?>"/>
507
<?php } ?>
508
</div>
509
</td>
510
<td>
511
<input name="title[]" type="text" id="title_<?php echo $i ?>" size="40" value = "<?php echo $point->title ?>"/>
512
- <textarea name="desc[]" cols="40" rows="2" id="desc_<?php echo $i ?>"><?php echo $point->description ?></textarea>
513
</td>
514
<td>
515
<input name="ltlg[]" type="hidden" id="ltlg_<?php echo $i ?>" size="30" value = "<?php echo $point->ltlg ?>"/>
516
<textarea name="addr[]" cols="30" rows="2" id="addr_<?php echo $i ?>" style="display:none"><?php echo $point->address ?></textarea>
517
<p><?php echo $point->address ?></p>
518
<div>
519
- <input class="button" value="<?php _e("Update"); ?>" name="update" type="submit">
520
- <a href="?post_id=<?php echo $post_id ?>&tab=gmshc&delp=<?php echo $i ?>" class="delete_point" onclick="if(confirm('<?php _e("You will not be able to roll back deletion. Are you sure?") ?>')) return true; else return false"><?php _e("Delete"); ?></a>
521
</div>
522
</td>
523
</tr>
@@ -528,7 +546,7 @@ function gmshc_tab_process(){
528
</tbody>
529
</table>
530
531
- <p><input class="button-primary insert_map" value="<?php _e("Insert Map"); ?>" type="button" \> <a class="button" href="#gmshc_map" id="gmshc_show" show="<?php _e("Show Map") ?>" hide="<?php _e("Hide Map") ?>"><?php _e("Show Map") ?></a></p>
532
</div>
533
<div id="gmshc_map" style="height:1px; overflow:hidden;">
534
<?php echo do_shortcode("[google-map-sc id=".$post_id." width=600 height=420 type=".$type." focus=".$focus."]"); ?>
@@ -574,7 +592,7 @@ function gmshc_options_page() {
574
575
<div class="wrap">
576
577
- <h2><?php _e("Google Map Shortcode Settings") ?></h2>
578
579
<?php echo gmshc_plugin_menu(); ?>
580
@@ -626,7 +644,7 @@ function gmshc_options_page() {
626
$upload = wp_upload_bits($filename, NULL, file_get_contents($_FILES["datafile"]["tmp_name"]));
627
628
if ( ! empty($upload['error']) ) {
629
- $errorString = sprintf(__('Could not write file %1$s (%2$s)'), $filename, $upload['error']);
630
echo "<div class='error'><p><strong>".$errorString."</strong></p></div>";
631
} else {
632
array_unshift($upload_icons,$upload['url']);
@@ -635,7 +653,7 @@ function gmshc_options_page() {
635
}
636
637
} else {
638
- echo "<div class='error'><p><strong>".__("Please upload a valid file")."</strong></p></div>";
639
}
640
}
641
@@ -660,32 +678,32 @@ function gmshc_options_page() {
660
661
<form method="POST" name="options" target="_self" enctype="multipart/form-data">
662
663
- <h3><?php _e("Maps Default Configuration") ?></h3>
664
665
- <p><?php _e("The shortcode attributes overwrites these options.") ?></p>
666
667
<table width="80%" border="0" cellspacing="10" cellpadding="0">
668
<tr>
669
- <td width="200" align="right" height="40"><strong><?php _e("Width") ?></strong></td>
670
<td><input name="width" type="text" size="6" value="<?php echo $width ?>" /></td>
671
</tr>
672
<tr>
673
- <td align="right"><strong><?php _e("Height") ?></strong></td>
674
<td><input name="height" type="text" size="6" value="<?php echo $height ?>" /></td>
675
</tr>
676
<tr>
677
- <td align="right"><strong><?php _e("Margin") ?></strong></td>
678
<td><input name="margin" type="text" size="6" value="<?php echo $margin ?>" /></td>
679
</tr>
680
<tr>
681
- <td align="right"><strong><?php _e("Align") ?></strong></td>
682
<td>
683
- <input name="align" type="radio" value="left" <?php echo ($align == "left" ? "checked = 'checked'" : "") ?> /> <?php _e("left") ?>
684
- <input name="align" type="radio" value="center" <?php echo ($align == "center" ? "checked = 'checked'" : "") ?> /> <?php _e("center") ?>
685
- <input name="align" type="radio" value="right" <?php echo ($align == "right" ? "checked = 'checked'" : "") ?> /> <?php _e("right") ?>
686
</tr>
687
<tr>
688
- <td align="right"><strong><?php _e("Zoom") ?></strong></td>
689
<td>
690
<select name="zoom" id="zoom">
691
<?php for ($i = 0; $i <= 20; $i ++){ ?>
@@ -694,76 +712,76 @@ function gmshc_options_page() {
694
</select>
695
</tr>
696
<tr>
697
- <td align="right"><strong><?php _e("Maps Default Type") ?></strong></td>
698
<td>
699
<select name="type">
700
- <option value="ROADMAP" <?php if ($type == "ROADMAP") echo "selected" ?>><?php _e("ROADMAP - Displays a normal street map") ?></option>
701
- <option value="SATELLITE" <?php if ($type == "SATELLITE") echo "selected" ?>><?php _e("SATELLITE - Displays satellite images") ?></option>
702
- <option value="TERRAIN" <?php if ($type == "TERRAIN") echo "selected" ?>><?php _e("TERRAIN - Displays maps with physical features such as terrain and vegetation") ?></option>
703
- <option value="HYBRID" <?php if ($type == "HYBRID") echo "selected" ?>><?php _e("HYBRID - Displays a transparent layer of major streets on satellite images") ?></option>
704
</select>
705
</td>
706
</tr>
707
<tr>
708
- <td align="right" valign="top"><strong><?php _e("Select Language") ?></strong></td>
709
<td>
710
<?php
711
$lang_array = array(
712
- "ar"=>__("ARABIC"),
713
- "eu"=>__("BASQUE"),
714
- "bg"=>__("BULGARIAN"),
715
- "bn"=>__("BENGALI"),
716
- "ca"=>__("CATALAN"),
717
- "cs"=>__("CZECH"),
718
- "da"=>__("DANISH"),
719
- "de"=>__("GERMAN"),
720
- "el"=>__("GREEK"),
721
- "en"=>__("ENGLISH"),
722
- "en-AU"=>__("ENGLISH (AUSTRALIAN)"),
723
- "en-GB"=>__("ENGLISH (GREAT BRITAIN)"),
724
- "es"=>__("SPANISH"),
725
- "eu"=>__("BASQUE"),
726
- "fa"=>__("FARSI"),
727
- "fi"=>__("FINNISH"),
728
- "fil"=>__("FILIPINO"),
729
- "fr"=>__("FRENCH"),
730
- "gl"=>__("GALICIAN"),
731
- "gu"=>__("GUJARATI"),
732
- "hi"=>__("HINDI"),
733
- "hr"=>__("CROATIAN"),
734
- "hu"=>__("HUNGARIAN"),
735
- "id"=>__("INDONESIAN"),
736
- "it"=>__("ITALIAN"),
737
- "iw"=>__("HEBREW"),
738
- "ja"=>__("JAPANESE"),
739
- "kn"=>__("KANNADA"),
740
- "ko"=>__("KOREAN"),
741
- "lt"=>__("LITHUANIAN"),
742
- "lv"=>__("LATVIAN"),
743
- "ml"=>__("MALAYALAM"),
744
- "mr"=>__("MARATHI"),
745
- "nl"=>__("DUTCH"),
746
- "no"=>__("NORWEGIAN"),
747
- "or"=>__("ORIYA"),
748
- "pl"=>__("POLISH"),
749
- "pt"=>__("PORTUGUESE"),
750
- "pt-BR"=>__("PORTUGUESE (BRAZIL)"),
751
- "pt-PT"=>__("PORTUGUESE (PORTUGAL)"),
752
- "ro"=>__("ROMANIAN"),
753
- "ru"=>__("RUSSIAN"),
754
- "sk"=>__("SLOVAK"),
755
- "sl"=>__("SLOVENIAN"),
756
- "sr"=>__("SERBIAN"),
757
- "sv"=>__("SWEDISH"),
758
- "tl"=>__("TAGALOG"),
759
- "ta"=>__("TAMIL"),
760
- "te"=>__("TELUGU"),
761
- "th"=>__("THAI"),
762
- "tr"=>__("TURKISH"),
763
- "uk"=>__("UKRAINIAN"),
764
- "vi"=>__("VIETNAMESE"),
765
- "zh-CN"=>__("CHINESE (SIMPLIFIED)"),
766
- "zh-TW"=>__("CHINESE (TRADITIONAL)")
767
768
);
769
?>
@@ -775,22 +793,22 @@ function gmshc_options_page() {
775
</td>
776
</tr>
777
<tr>
778
- <td align="right" valign="top"><strong><?php _e("Circle") ?></strong></td>
779
780
- <td><input name="focus" type="checkbox" value="all" <?php if ($focus == "all") echo "checked = \"checked\"" ?> /> <?php _e(" Check if you want to focus all the map's points automatically with an interval of <br /><br />") ?><input name="interval" type="text" size="6" value="<?php echo $interval ?>" /> <?php _e("milliseconds.") ?></td>
781
</tr>
782
<tr>
783
- <td align="right" valign="top"> <strong><?php _e("Focus Type") ?></strong></td>
784
<td>
785
<select name="focus_type" id="focus_type">
786
- <option value="open" <?php echo ($focus_type == "open" ? "selected" : "") ?> ><?php _e("Open Markers") ?></option>
787
- <option value="center" <?php echo ($focus_type == "center" ? "selected" : "") ?> ><?php _e("Center Markers") ?></option>
788
</select>
789
</td>
790
</tr>
791
<tr>
792
- <td align="right" valign="top"> <strong><?php _e("Animation") ?></strong></td>
793
- <td><input name="animate" type="checkbox" value="true" <?php if ($animate) echo "checked = \"checked\"" ?> /> <?php _e(" Check if you want to animate the markes.") ?></td>
794
</tr>
795
</table>
796
@@ -798,7 +816,7 @@ function gmshc_options_page() {
798
<input type="submit" name="Submit" value="Update" class="button-primary" />
799
</p>
800
801
- <h3 style="padding-top:30px; margin-top:30px; border-top:1px solid #CCCCCC;"><?php _e("Markers") ?></h3>
802
803
<table width="80%" border="0" cellspacing="10" cellpadding="0">
804
<tr>
@@ -810,7 +828,7 @@ function gmshc_options_page() {
810
</tr>
811
<tr>
812
<td align="left" valign="top" colspan="2">
813
- <?php _e("To include new icons just specify the file location:") ?><br />
814
<input type="file" name="datafile" size="40" /> <input type="submit" name="upload" value="Upload" class="button" />
815
</td>
816
</tr>
@@ -820,19 +838,19 @@ function gmshc_options_page() {
820
<input type="submit" name="Submit" value="Update" class="button-primary" />
821
</p>
822
823
- <h3 style="padding-top:30px; margin-top:30px; border-top:1px solid #CCCCCC;"><?php _e("Info Windows") ?></h3>
824
825
- <p><?php _e("This is the html of the Info Window opened from the markers.") ?></p>
826
827
<div id="gmshc_html">
828
<div id="gmshc_previews">
829
- <p><strong><?php _e("Previews") ?></strong></p>
830
<div id="gmshc_html_previews">
831
<?php echo gmshc_defaul_windowhtml(); ?>
832
</div>
833
</div>
834
<div id="gmshc_html_cont">
835
- <p><strong><?php _e("Custom Html") ?></strong></p>
836
<textarea name="windowhtml" cols="60" rows="12" id="windowhtml">
837
<?php
838
if (empty($windowhtml)) echo gmshc_defaul_windowhtml();
@@ -844,45 +862,45 @@ function gmshc_options_page() {
844
</div>
845
</div>
846
847
- <p><?php _e("The following tags can be used.") ?></p>
848
<table width="80%" border="0" cellspacing="10" cellpadding="0">
849
<tr>
850
<td width="60" align="right"><strong>%title%</strong></td>
851
- <td><?php _e("Custom title of the point") ?></td>
852
</tr>
853
<tr>
854
<td align="right"><strong>%link%</strong></td>
855
- <td><?php _e("Permanet Link of the post where the point is attached") ?></td>
856
</tr>
857
<tr>
858
<td align="right"><strong>%thubnail%</strong></td>
859
- <td><?php _e("Thubnail attached to the point") ?></td>
860
</tr>
861
<tr>
862
<td align="right"><strong>%description%</strong></td>
863
- <td><?php _e("Description of the point") ?></td>
864
</tr>
865
<tr>
866
<td align="right"><strong>%excerpt%</strong></td>
867
- <td><?php _e("Excerpt of the post where the point is attached") ?></td>
868
</tr>
869
<tr>
870
<td align="right"><strong>%address%</strong></td>
871
- <td><?php _e("The address of this point") ?></td>
872
</tr>
873
<tr>
874
<td align="right"><strong>%open_map%</strong></td>
875
- <td><?php _e("Open this point on Google Map") ?></td>
876
</tr>
877
<tr>
878
<td align="right"><strong>%width%</strong></td>
879
- <td><?php _e("Info Html width") ?></td>
880
</tr>
881
</table>
882
883
884
<p class="submit">
885
- <input type="submit" name="Submit" value="Update" class="button-primary" /><input type="submit" name="Restore_Default" value="<?php _e("Restore Default") ?>" class="button" />
886
</p>
887
</form>
888
@@ -897,7 +915,7 @@ function gmshc_options_page() {
897
* Adding media tab
898
*/
899
function gmshc_media_menu($tabs) {
900
- $newtab = array('gmshc' => __('Google Map Shortcode', 'gmshc'));
901
return array_merge($tabs, $newtab);
902
}
903
@@ -906,11 +924,11 @@ add_filter('media_upload_tabs', 'gmshc_media_menu');
906
function gmshc_plugin_menu(){
907
908
$links_arr = array(
909
- array("text"=>__("Plugin Page"),"url"=>"http://web-argument.com/google-map-shortcode-wordpress-plugin/"),
910
- array("text"=>__("How To Use"),"url"=>"http://web-argument.com/google-map-shortcode-how-to-use/"),
911
- array("text"=>__("Shortcode Reference"),"url"=>"http://web-argument.com/google-map-shortcode-reference/"),
912
- array("text"=>__("Examples"),"url"=>"http://web-argument.com/google-map-shortcode-wordpress-plugin/#examples"),
913
- array("text"=>__("Donate"),"url"=>"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=support%40web%2dargument%2ecom&lc=US&item_name=Web%2dArgument%2ecom&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted")
914
);
915
916
$output = "<p align='center' style='font-size:14px;'>";
1
<?php
2
/*
3
Plugin Name: Google Map Shortcode
4
+ Plugin URI: http://web-argument.com/google-map-shortcode-wordpress-plugin/
5
Description: Include Google Map in your blogs with just one click.
6
+ Version: 2.2.2
7
Author: Alain Gonzalez
8
Author URI: http://web-argument.com/
9
*/
10
11
+ /* Copyright 2011 Alain Gonzalez-Garcia (email : alaingoga@gmail.com)
12
+
13
+ This program is free software; you can redistribute it and/or modify
14
+ it under the terms of the GNU General Public License, version 2, as
15
+ published by the Free Software Foundation.
16
+
17
+ This program is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
+ GNU General Public License for more details.
21
+
22
+ You should have received a copy of the GNU General Public License
23
+ along with this program; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+ */
26
+
27
define('GMSC_PLUGIN_DIR', WP_PLUGIN_DIR."/".dirname(plugin_basename(__FILE__)));
28
define('GMSC_PLUGIN_URL', WP_PLUGIN_URL."/".dirname(plugin_basename(__FILE__)));
29
+ define('GMSHC_VERSION_CURRENT','2.2.2');
30
define('GMSHC_VERSION_CHECK','2.2');
31
32
require(GMSC_PLUGIN_DIR."/include/functions.php");
33
require(GMSC_PLUGIN_DIR."/include/class.gmshc_point.php");
34
require(GMSC_PLUGIN_DIR."/include/class.gmshc_post_points.php");
35
36
+ add_action( 'admin_init', 'gmshc_init' );
37
+
38
+ function gmshc_init(){
39
+ load_plugin_textdomain( 'google-map-sc', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
40
+ }
41
+
42
/**
43
* Default Options
44
*/
150
151
function gmshc_sc($atts) {
152
153
$options = get_gmshc_options();
154
155
$width = $options['width'];
166
$animate = $options['animate'];
167
$focus_type = $options['focus_type'];
168
169
$the_items = array();
170
171
$final_atts = shortcode_atts(array(
239
//Generate Map form points
240
$output = gmshc_generate_map($map_points, $final_atts);
241
} else {
242
+ $output = __("There is not points to locate on the map","google-map-sc");
243
}
244
245
return $output;
257
258
$media_upload_iframe_src = get_option('siteurl').'/wp-admin/media-upload.php?post_id=$uploading_iframe_ID';
259
260
+ $iframe_title = __('Google Map Shortcode','google-map-sc');
261
262
echo "<a class=\"thickbox\" href=\"media-upload.php?post_id={$post_ID}&amp;tab=gmshc&amp;TB_iframe=true&amp;height=500&amp;width=680\" title=\"$iframe_title\"><img src=\"".GMSC_PLUGIN_URL."/images/marker.png\" alt=\"$iframe_title\" /></a>";
263
275
$post_id = $_REQUEST["post_id"];
276
$custom_fieds = get_post_custom($post_id);
277
278
+ $address = isset($_REQUEST['new_address'])? gmshc_clean_string($_REQUEST['new_address']) : "";
279
+ $ltlg = isset($_REQUEST['new_ltlg'])? $_REQUEST['new_ltlg'] : "";
280
+ $title = isset($_REQUEST['new_title'])? gmshc_clean_string($_REQUEST['new_title']) : get_the_title($post_id);
281
+ $description = isset($_REQUEST['new_description'])? gmshc_clean_string($_REQUEST['new_description']) : "";
282
$icon = isset($_REQUEST['default_icon'])?stripslashes($_REQUEST['default_icon']) : "";
283
$selected_thumbnail = isset($_REQUEST['selected_thumbnail'])? stripslashes($_REQUEST['selected_thumbnail']) : "";
284
313
$post_points -> add_point($new_point);
314
}
315
else
316
+ echo "<div class='error'><p>".__("The Address can't be located.","google-map-sc")."</p></div>";
317
}
318
319
+ else if (!empty($update_point)) {
320
if ( $post_points -> update_points($address_list,$ltlg_list,$title_list,$desc_list,$icon_list,$thumb_list))
321
+ echo "<div class='updated'><p>".__("The Point was updated.","google-map-sc")."</p></div>";
322
+ else echo "<div class='error'><p>".__("The Points can't be updated.","google-map-sc")."</p></div>";
323
}
324
325
else if ($del_point != "") {
326
if($post_points -> delete_point($del_point))
327
+ echo "<div class='updated'><p>".__("The Point was deleted.","google-map-sc")."</p></div>";
328
}
329
330
?>
331
332
<script type="text/javascript" src="<?php echo GMSC_PLUGIN_URL ?>/js/gmshc-admin.js"></script>
333
<?php gmshc_head() ?>
334
+ <link href="<?php echo GMSC_PLUGIN_URL ?>/styles/gmshc-admin-styles.css" rel="stylesheet" type="text/css"/>
335
336
+ <?php media_upload_header() ?>
337
+
338
+ <div style="width:620px; margin:10px auto">
339
+
340
<?php echo gmshc_plugin_menu(); ?>
341
342
<form action="#" method="post">
352
<table width="620" border="0" cellspacing="5" cellpadding="5">
353
<tr>
354
<td colspan="2">
355
+ <h3 class="gmshc_editor"><?php _e("Add New Point","google-map-sc"); ?></h3>
356
</td>
357
</tr>
358
<tr>
359
<td align="right" valign="top">
360
+ <strong><?php _e("Title","google-map-sc"); ?></strong>
361
</td>
362
<td valign="top">
363
<input name="new_title" size="55" id="new_title" value="<?php echo $title ?>" />
365
</tr>
366
<tr>
367
<td align="right" valign="top">
368
+ <strong><?php _e("Description","google-map-sc"); ?></strong>
369
</td>
370
<td valign="top">
371
<textarea name="new_description" cols="50" rows="2" id="new_description"></textarea>
373
</tr>
374
<tr>
375
<td align="right" valign="top">
376
+ <strong><?php _e("Full Address","google-map-sc"); ?></strong>
377
</td>
378
<td valign="top">
379
<textarea name="new_address" cols="50" rows="2" id="new_address"></textarea>
391
if (count($thumbnail_list) > 0) {
392
?>
393
<div class="gmshc_label">
394
+ <?php _e("Select the thumbnail by clicking on the images","google-map-sc"); ?>
395
</div>
396
<div id="gmshc_thumb_cont">
397
<input type="hidden" name="selected_thumbnail" value="<?php echo $default_icon ?>" id="selected_thumbnail" />
403
</div>
404
<?php } else { ?>
405
<div class="gmshc_label">
406
+ <strong><?php _e("Thumbnail: ","google-map-sc"); ?></strong><?php _e("If you want to attach an image to the point you need to upload it first to the post gallery","google-map-sc"); ?>
407
</div>
408
<?php } ?>
409
+ <p align="left"><a class="button" href = "?post_id=<?php echo $post_id ?>&type=image" title="Upload Images"><?php _e("Upload Images","google-map-sc") ?></a></p> <p align="left"><input class="button-primary" value="<?php _e("Add Point","google-map-sc") ?>" name="add_point" type="submit"></p>
410
</td>
411
</tr>
412
<?php if ($post_points->points_number > 0) { ?>
413
<tr>
414
<td colspan="2">
415
+ <h3 class="gmshc_editor"><?php _e("Map Configuration","google-map-sc"); ?></h3>
416
</td>
417
</tr>
418
<tr>
419
+ <td align="right"><?php _e("Width","google-map-sc"); ?></td>
420
<td valign="top"><input name="width" type="text" id="width" size="10" value = "<?php echo $width ?>"/></td>
421
</tr>
422
<tr>
423
+ <td align="right"><?php _e("Height","google-map-sc"); ?></td>
424
<td valign="top"><input name="height" type="text" id="height" size="10" value = "<?php echo $height ?>" /></td>
425
</tr>
426
<tr>
427
+ <td align="right"><strong><?php _e("Margin","google-map-sc") ?></strong></td>
428
<td><input name="margin" id="margin" type="text" size="6" value="<?php echo $margin ?>" /></td>
429
</tr>
430
<tr>
431
+ <td align="right"><strong><?php _e("Align","google-map-sc") ?></strong></td>
432
<td>
433
+ <input name="align" type="radio" id="aleft" value="left" <?php echo ($align == "left" ? "checked = 'checked'" : "") ?> /> <?php _e("left","google-map-sc") ?>
434
+ <input name="align" type="radio" id="acenter" value="center" <?php echo ($align == "center" ? "checked = 'checked'" : "") ?> /> <?php _e("center","google-map-sc") ?>
435
+ <input name="align" type="radio" id="aright" value="right" <?php echo ($align == "right" ? "checked = 'checked'" : "") ?> /> <?php _e("right","google-map-sc") ?>
436
</tr>
437
<tr>
438
+ <td align="right"><?php _e("Zoom","google-map-sc") ?></td>
439
<td>
440
<select name="zoom" id="zoom">
441
<?php for ($i = 0; $i <= 20; $i ++){ ?>
444
</select>
445
</tr>
446
<tr>
447
+ <td align="right"><?php _e("Maps Type","google-map-sc") ?></td>
448
<td>
449
<select name="type" id="type">
450
+ <option value="ROADMAP" <?php if ($type == "ROADMAP") echo "selected" ?>><?php _e("ROADMAP - Displays a normal street map","google-map-sc") ?></option>
451
+ <option value="SATELLITE" <?php if ($type == "SATELLITE") echo "selected" ?>><?php _e("SATELLITE - Displays satellite images","google-map-sc") ?></option>
452
+ <option value="TERRAIN" <?php if ($type == "TERRAIN") echo "selected" ?>><?php _e("TERRAIN - Displays maps with physical features such as terrain and vegetation","google-map-sc") ?></option>
453
+ <option value="HYBRID" <?php if ($type == "HYBRID") echo "selected" ?>><?php _e("HYBRID - Displays a transparent layer of major streets on satellite images","google-map-sc") ?></option>
454
</select>
455
</td>
456
</tr>
457
<tr>
458
+ <td align="right"><?php _e("Focus","google-map-sc") ?></td>
459
<td>
460
<select name="focus" id="focus">
461
+ <option value="0" <?php if ($focus == 0) echo "selected" ?>><?php _e("None","google-map-sc") ?></option>
462
<?php if ($post_points->points_number > 1) { ?>
463
+ <option value="all" <?php if ($focus == "all") echo "selected" ?>><?php _e("All","google-map-sc") ?></option>
464
<?php } ?>
465
<?php for ($i = 1; $i <= $post_points->points_number; $i ++){ ?>
466
<?php $number = $i; ?>
467
<option value="<?php echo $number ?>" <?php if ($focus == $number) echo "selected" ?>><?php echo $number ?></option>
468
<?php } ?>
469
</select>
470
+ <em><?php _e("Select the point to be focused after loading the map","google-map-sc") ?></em>
471
</td>
472
</tr>
473
<tr>
474
+ <td align="right" valign="top"><?php _e("Focus Type","google-map-sc") ?></td>
475
<td>
476
<select name="focus_type" id="focus_type">
477
+ <option value="open" <?php echo ($focus_type == "open" ? "selected" : "") ?> ><?php _e("Open Markers","google-map-sc") ?></option>
478
+ <option value="center" <?php echo ($focus_type == "center" ? "selected" : "") ?> ><?php _e("Center Markers","google-map-sc") ?></option>
479
</select>
480
</td>
481
</tr>
484
485
<p>
486
<?php if ($post_points->points_number > 0) { ?>
487
+ <input class="button-primary" value="<?php _e("Add Point","google-map-sc") ?>" name="add_point" type="submit">
488
+ <input class="button-primary insert_map" value="<?php _e("Insert Map","google-map-sc"); ?>" type="button" \>
489
+ <?php echo $post_points->points_number.__(" Points Added","google-map-sc") ?>
490
<?php } ?>
491
492
</p>
498
<table class="widefat" cellspacing="0">
499
<thead>
500
<tr>
501
+ <th><?php _e("#"); ?></th>
502
+ <th><?php _e("Marker","google-map-sc"); ?></th>
503
+ <th><?php _e("Thumbnail","google-map-sc"); ?></th>
504
+ <th><?php _e("Title/Description","google-map-sc"); ?></th>
505
+ <th width="140"><?php _e("Address/LtLg","google-map-sc"); ?></th>
506
</tr>
507
</thead>
508
<tbody class="media-item-info">
512
foreach ($post_points->points as $point ) {
513
?>
514
<tr>
515
+ <td><?php echo ($i + 1) ?></td>
516
<td>
517
+ <img src="<?php echo $point->icon ?>" atl="<?php _e("Icon","google-map-sc") ?>" />
518
<input name="icon[]" type="hidden" id="icon_<?php echo $i ?>" size="30" value = "<?php echo $point->icon ?>"/>
519
</td>
520
<td>
521
<div class="gmshc_thumb gmshc_selected">
522
<?php if ($point->thumbnail != "") { ?>
523
+ <img src="<?php echo $point->thumbnail ?>" atl="<?php _e("Thumbnail","google-map-sc") ?>" width = "40" height="40" />
524
<input name="thumb[]" type="hidden" id="thumb_<?php echo $i ?>" size="30" value = "<?php echo $point->thumbnail ?>"/>
525
<?php } ?>
526
</div>
527
</td>
528
<td>
529
<input name="title[]" type="text" id="title_<?php echo $i ?>" size="40" value = "<?php echo $point->title ?>"/>
530
+ <textarea name="desc[]" cols="30" rows="2" id="desc_<?php echo $i ?>"><?php echo $point->description ?></textarea>
531
</td>
532
<td>
533
<input name="ltlg[]" type="hidden" id="ltlg_<?php echo $i ?>" size="30" value = "<?php echo $point->ltlg ?>"/>
534
<textarea name="addr[]" cols="30" rows="2" id="addr_<?php echo $i ?>" style="display:none"><?php echo $point->address ?></textarea>
535
<p><?php echo $point->address ?></p>
536
<div>
537
+ <input class="button" value="<?php _e("Update","google-map-sc"); ?>" name="update" type="submit">
538
+ <a href="?post_id=<?php echo $post_id ?>&tab=gmshc&delp=<?php echo $i ?>" class="delete_point" onclick="if(confirm('<?php _e("You will not be able to roll back deletion. Are you sure?","google-map-sc") ?>')) return true; else return false"><?php _e("Delete","google-map-sc"); ?></a>
539
</div>
540
</td>
541
</tr>
546
</tbody>
547
</table>
548
549
+ <p><input class="button-primary insert_map" value="<?php _e("Insert Map","google-map-sc"); ?>" type="button" \> <a class="button" href="#gmshc_map" id="gmshc_show" show="<?php _e("Show Map","google-map-sc") ?>" hide="<?php _e("Hide Map","google-map-sc") ?>"><?php _e("Show Map","google-map-sc") ?></a></p>
550
</div>
551
<div id="gmshc_map" style="height:1px; overflow:hidden;">
552
<?php echo do_shortcode("[google-map-sc id=".$post_id." width=600 height=420 type=".$type." focus=".$focus."]"); ?>
592
593
<div class="wrap">
594
595
+ <h2><?php _e("Google Map Shortcode Settings","google-map-sc") ?></h2>
596
597
<?php echo gmshc_plugin_menu(); ?>
598
644
$upload = wp_upload_bits($filename, NULL, file_get_contents($_FILES["datafile"]["tmp_name"]));
645
646
if ( ! empty($upload['error']) ) {
647
+ $errorString = sprintf(__('Could not write file %1$s (%2$s)','google-map-sc'), $filename, $upload['error']);
648
echo "<div class='error'><p><strong>".$errorString."</strong></p></div>";
649
} else {
650
array_unshift($upload_icons,$upload['url']);
653
}
654
655
} else {
656
+ echo "<div class='error'><p><strong>".__("Please upload a valid file","google-map-sc")."</strong></p></div>";
657
}
658
}
659
678
679
<form method="POST" name="options" target="_self" enctype="multipart/form-data">
680
681
+ <h3><?php _e("Maps Default Configuration","google-map-sc") ?></h3>
682
683
+ <p><?php _e("The shortcode attributes overwrites these options.","google-map-sc") ?></p>
684
685
<table width="80%" border="0" cellspacing="10" cellpadding="0">
686
<tr>
687
+ <td width="200" align="right" height="40"><strong><?php _e("Width","google-map-sc") ?></strong></td>
688
<td><input name="width" type="text" size="6" value="<?php echo $width ?>" /></td>
689
</tr>
690
<tr>
691
+ <td align="right"><strong><?php _e("Height","google-map-sc") ?></strong></td>
692
<td><input name="height" type="text" size="6" value="<?php echo $height ?>" /></td>
693
</tr>
694
<tr>
695
+ <td align="right"><strong><?php _e("Margin","google-map-sc") ?></strong></td>
696
<td><input name="margin" type="text" size="6" value="<?php echo $margin ?>" /></td>
697
</tr>
698
<tr>
699
+ <td align="right"><strong><?php _e("Align","google-map-sc") ?></strong></td>
700
<td>
701
+ <input name="align" type="radio" value="left" <?php echo ($align == "left" ? "checked = 'checked'" : "") ?> /> <?php _e("left","google-map-sc") ?>
702
+ <input name="align" type="radio" value="center" <?php echo ($align == "center" ? "checked = 'checked'" : "") ?> /> <?php _e("center","google-map-sc") ?>
703
+ <input name="align" type="radio" value="right" <?php echo ($align == "right" ? "checked = 'checked'" : "") ?> /> <?php _e("right","google-map-sc") ?>
704
</tr>
705
<tr>
706
+ <td align="right"><strong><?php _e("Zoom","google-map-sc") ?></strong></td>
707
<td>
708
<select name="zoom" id="zoom">
709
<?php for ($i = 0; $i <= 20; $i ++){ ?>
712
</select>
713
</tr>
714
<tr>
715
+ <td align="right"><strong><?php _e("Maps Type","google-map-sc") ?></strong></td>
716
<td>
717
<select name="type">
718
+ <option value="ROADMAP" <?php if ($type == "ROADMAP") echo "selected" ?>><?php _e("ROADMAP - Displays a normal street map","google-map-sc") ?></option>
719
+ <option value="SATELLITE" <?php if ($type == "SATELLITE") echo "selected" ?>><?php _e("SATELLITE - Displays satellite images","google-map-sc") ?></option>
720
+ <option value="TERRAIN" <?php if ($type == "TERRAIN") echo "selected" ?>><?php _e("TERRAIN - Displays maps with physical features such as terrain and vegetation","google-map-sc") ?></option>
721
+ <option value="HYBRID" <?php if ($type == "HYBRID") echo "selected" ?>><?php _e("HYBRID - Displays a transparent layer of major streets on satellite images","google-map-sc") ?></option>
722
</select>
723
</td>
724
</tr>
725
<tr>
726
+ <td align="right" valign="top"><strong><?php _e("Select Language","google-map-sc") ?></strong></td>
727
<td>
728
<?php
729
$lang_array = array(
730
+ "ar"=>__("ARABIC","google-map-sc"),
731
+ "eu"=>__("BASQUE","google-map-sc"),
732
+ "bg"=>__("BULGARIAN","google-map-sc"),
733
+ "bn"=>__("BENGALI","google-map-sc"),
734
+ "ca"=>__("CATALAN","google-map-sc"),
735
+ "cs"=>__("CZECH","google-map-sc"),
736
+ "da"=>__("DANISH","google-map-sc"),
737
+ "de"=>__("GERMAN","google-map-sc"),
738
+ "el"=>__("GREEK","google-map-sc"),
739
+ "en"=>__("ENGLISH","google-map-sc"),
740
+ "en-AU"=>__("ENGLISH (AUSTRALIAN)","google-map-sc"),
741
+ "en-GB"=>__("ENGLISH (GREAT BRITAIN)","google-map-sc"),
742
+ "es"=>__("SPANISH","google-map-sc"),
743
+ "eu"=>__("BASQUE","google-map-sc"),
744
+ "fa"=>__("FARSI","google-map-sc"),
745
+ "fi"=>__("FINNISH","google-map-sc"),
746
+ "fil"=>__("FILIPINO","google-map-sc"),
747
+ "fr"=>__("FRENCH","google-map-sc"),
748
+ "gl"=>__("GALICIAN","google-map-sc"),
749
+ "gu"=>__("GUJARATI","google-map-sc"),
750
+ "hi"=>__("HINDI","google-map-sc"),
751
+ "hr"=>__("CROATIAN","google-map-sc"),
752
+ "hu"=>__("HUNGARIAN","google-map-sc"),
753
+ "id"=>__("INDONESIAN","google-map-sc"),
754
+ "it"=>__("ITALIAN","google-map-sc"),
755
+ "iw"=>__("HEBREW","google-map-sc"),
756
+ "ja"=>__("JAPANESE","google-map-sc"),
757
+ "kn"=>__("KANNADA","google-map-sc"),
758
+ "ko"=>__("KOREAN","google-map-sc"),
759
+ "lt"=>__("LITHUANIAN","google-map-sc"),
760
+ "lv"=>__("LATVIAN","google-map-sc"),
761
+ "ml"=>__("MALAYALAM","google-map-sc"),
762
+ "mr"=>__("MARATHI","google-map-sc"),
763
+ "nl"=>__("DUTCH","google-map-sc"),
764
+ "no"=>__("NORWEGIAN","google-map-sc"),
765
+ "or"=>__("ORIYA","google-map-sc"),
766
+ "pl"=>__("POLISH","google-map-sc"),
767
+ "pt"=>__("PORTUGUESE","google-map-sc"),
768
+ "pt-BR"=>__("PORTUGUESE (BRAZIL)","google-map-sc"),
769
+ "pt-PT"=>__("PORTUGUESE (PORTUGAL)","google-map-sc"),
770
+ "ro"=>__("ROMANIAN","google-map-sc"),
771
+ "ru"=>__("RUSSIAN","google-map-sc"),
772
+ "sk"=>__("SLOVAK","google-map-sc"),
773
+ "sl"=>__("SLOVENIAN","google-map-sc"),
774
+ "sr"=>__("SERBIAN","google-map-sc"),
775
+ "sv"=>__("SWEDISH","google-map-sc"),
776
+ "tl"=>__("TAGALOG","google-map-sc"),
777
+ "ta"=>__("TAMIL","google-map-sc"),
778
+ "te"=>__("TELUGU","google-map-sc"),
779
+ "th"=>__("THAI","google-map-sc"),
780
+ "tr"=>__("TURKISH","google-map-sc"),
781
+ "uk"=>__("UKRAINIAN","google-map-sc"),
782
+ "vi"=>__("VIETNAMESE","google-map-sc"),
783
+ "zh-CN"=>__("CHINESE (SIMPLIFIED)","google-map-sc"),
784
+ "zh-TW"=>__("CHINESE (TRADITIONAL)","google-map-sc")
785
786
);
787
?>
793
</td>
794
</tr>
795
<tr>
796
+ <td align="right" valign="top"><strong><?php _e("Circle","google-map-sc") ?></strong></td>
797
798
+ <td><input name="focus" type="checkbox" value="all" <?php if ($focus == "all") echo "checked = \"checked\"" ?> /> <?php _e(" Check if you want to focus all the map's points automatically with an interval of <br /><br />","google-map-sc") ?><input name="interval" type="text" size="6" value="<?php echo $interval ?>" /> <?php _e("milliseconds.","google-map-sc") ?></td>
799
</tr>
800
<tr>
801
+ <td align="right" valign="top"> <strong><?php _e("Focus Type","google-map-sc") ?></strong></td>
802
<td>
803
<select name="focus_type" id="focus_type">
804
+ <option value="open" <?php echo ($focus_type == "open" ? "selected" : "") ?> ><?php _e("Open Markers","google-map-sc") ?></option>
805
+ <option value="center" <?php echo ($focus_type == "center" ? "selected" : "") ?> ><?php _e("Center Markers","google-map-sc") ?></option>
806
</select>
807
</td>
808
</tr>
809
<tr>
810
+ <td align="right" valign="top"> <strong><?php _e("Animation","google-map-sc") ?></strong></td>
811
+ <td><input name="animate" type="checkbox" value="true" <?php if ($animate) echo "checked = \"checked\"" ?> /> <?php _e(" Check if you want to animate the markes.","google-map-sc") ?></td>
812
</tr>
813
</table>
814
816
<input type="submit" name="Submit" value="Update" class="button-primary" />
817
</p>
818
819
+ <h3 style="padding-top:30px; margin-top:30px; border-top:1px solid #CCCCCC;"><?php _e("Markers","google-map-sc") ?></h3>
820
821
<table width="80%" border="0" cellspacing="10" cellpadding="0">
822
<tr>
828
</tr>
829
<tr>
830
<td align="left" valign="top" colspan="2">
831
+ <?php _e("To include new icons just specify the file location:","google-map-sc") ?><br />
832
<input type="file" name="datafile" size="40" /> <input type="submit" name="upload" value="Upload" class="button" />
833
</td>
834
</tr>
838
<input type="submit" name="Submit" value="Update" class="button-primary" />
839
</p>
840
841
+ <h3 style="padding-top:30px; margin-top:30px; border-top:1px solid #CCCCCC;"><?php _e("Info Windows","google-map-sc") ?></h3>
842
843
+ <p><?php _e("This is the html of the Info Window opened from the markers.","google-map-sc") ?></p>
844
845
<div id="gmshc_html">
846
<div id="gmshc_previews">
847
+ <p><strong><?php _e("Previews","google-map-sc") ?></strong></p>
848
<div id="gmshc_html_previews">
849
<?php echo gmshc_defaul_windowhtml(); ?>
850
</div>
851
</div>
852
<div id="gmshc_html_cont">
853
+ <p><strong><?php _e("Custom Html","google-map-sc") ?></strong></p>
854
<textarea name="windowhtml" cols="60" rows="12" id="windowhtml">
855
<?php
856
if (empty($windowhtml)) echo gmshc_defaul_windowhtml();
862
</div>
863
</div>
864
865
+ <p><?php _e("The following tags can be used.","google-map-sc") ?></p>
866
<table width="80%" border="0" cellspacing="10" cellpadding="0">
867
<tr>
868
<td width="60" align="right"><strong>%title%</strong></td>
869
+ <td><?php _e("Custom title of the point","google-map-sc") ?></td>
870
</tr>
871
<tr>
872
<td align="right"><strong>%link%</strong></td>
873
+ <td><?php _e("Permanet Link of the post where the point is attached","google-map-sc") ?></td>
874
</tr>
875
<tr>
876
<td align="right"><strong>%thubnail%</strong></td>
877
+ <td><?php _e("Thubnail attached to the point","google-map-sc") ?></td>
878
</tr>
879
<tr>
880
<td align="right"><strong>%description%</strong></td>
881
+ <td><?php _e("Description of the point","google-map-sc") ?></td>
882
</tr>
883
<tr>
884
<td align="right"><strong>%excerpt%</strong></td>
885
+ <td><?php _e("Excerpt of the post where the point is attached","google-map-sc") ?></td>
886
</tr>
887
<tr>
888
<td align="right"><strong>%address%</strong></td>
889
+ <td><?php _e("The address of this point","google-map-sc") ?></td>
890
</tr>
891
<tr>
892
<td align="right"><strong>%open_map%</strong></td>
893
+ <td><?php _e("Open this point on Google Map","google-map-sc") ?></td>
894
</tr>
895
<tr>
896
<td align="right"><strong>%width%</strong></td>
897
+ <td><?php _e("Info Html width","google-map-sc") ?></td>
898
</tr>
899
</table>
900
901
902
<p class="submit">
903
+ <input type="submit" name="Submit" value="Update" class="button-primary" /><input type="submit" name="Restore_Default" value="<?php _e("Restore Default","google-map-sc") ?>" class="button" />
904
</p>
905
</form>
906
915
* Adding media tab
916
*/
917
function gmshc_media_menu($tabs) {
918
+ $newtab = array('gmshc' => __('Google Map Shortcode', 'google-map-sc'));
919
return array_merge($tabs, $newtab);
920
}
921
924
function gmshc_plugin_menu(){
925
926
$links_arr = array(
927
+ array("text"=>__("Plugin Page","google-map-sc"),"url"=>"http://web-argument.com/google-map-shortcode-wordpress-plugin/"),
928
+ array("text"=>__("How To Use","google-map-sc"),"url"=>"http://web-argument.com/google-map-shortcode-how-to-use/"),
929
+ array("text"=>__("Shortcode Reference","google-map-sc"),"url"=>"http://web-argument.com/google-map-shortcode-reference/"),
930
+ array("text"=>__("Examples","google-map-sc"),"url"=>"http://web-argument.com/google-map-shortcode-wordpress-plugin/#examples"),
931
+ array("text"=>__("Donate","google-map-sc"),"url"=>"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=support%40web%2dargument%2ecom&lc=US&item_name=Web%2dArgument%2ecom&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted")
932
);
933
934
$output = "<p align='center' style='font-size:14px;'>";
images/miclogo-88x31.gif ADDED
Binary file
include/class.gmshc_point.php CHANGED
@@ -1,9 +1,9 @@
1
<?php
2
/**
3
* Google Map Shortcode
4
- * Version: 2.2
5
* Author: Alain Gonzalez
6
- * Author URI: http://web-argument.com/
7
*/
8
9
class GMSHC_Point {
@@ -21,10 +21,12 @@ class GMSHC_Point {
21
if(empty($address)) return false;
22
if ($check) {
23
$temp_point = gmshc_point($address,$ltlg);
24
- if (count($temp_point) > 0) {
25
$temp_address = $temp_point['address'];
26
$temp_ltlg = $temp_point['point'];
27
- } else return false;
28
}
29
else {
30
$temp_address = $address;
@@ -41,5 +43,4 @@ class GMSHC_Point {
41
}
42
43
}
44
-
45
?>
1
<?php
2
/**
3
* Google Map Shortcode
4
+ * Version: 2.2.2
5
* Author: Alain Gonzalez
6
+ * Plugin URI: http://web-argument.com/google-map-shortcode-wordpress-plugin/
7
*/
8
9
class GMSHC_Point {
21
if(empty($address)) return false;
22
if ($check) {
23
$temp_point = gmshc_point($address,$ltlg);
24
+ if(!$temp_point) {
25
+ return false;
26
+ } else {
27
$temp_address = $temp_point['address'];
28
$temp_ltlg = $temp_point['point'];
29
+ }
30
}
31
else {
32
$temp_address = $address;
43
}
44
45
}
46
?>
include/class.gmshc_post_points.php CHANGED
@@ -1,9 +1,9 @@
1
<?php
2
/**
3
* Google Map Shortcode
4
- * Version: 2.2
5
* Author: Alain Gonzalez
6
- * Author URI: http://web-argument.com/
7
*/
8
9
class GMSHC_Post_Map
1
<?php
2
/**
3
* Google Map Shortcode
4
+ * Version: 2.2.2
5
* Author: Alain Gonzalez
6
+ * Plugin URI: http://web-argument.com/google-map-shortcode-wordpress-plugin/
7
*/
8
9
class GMSHC_Post_Map
include/functions.php CHANGED
@@ -1,9 +1,9 @@
1
<?php
2
/**
3
* Google Map Shortcode
4
- * Version: 2.2.1
5
* Author: Alain Gonzalez
6
- * Author URI: http://web-argument.com/
7
*/
8
9
/**
@@ -237,8 +237,7 @@ function gmshc_deploy_icons(){
237
}
238
?>
239
<div class="gmshc_label">
240
- <?php _e("Select the marker by clicking on the images"); ?>
241
- </div>
242
<div id="gmshc_icon_cont">
243
<input type="hidden" name="default_icon" value="<?php echo $default_icon ?>" id="default_icon" />
244
<?php foreach ($icons_array as $icon){ ?>
@@ -246,7 +245,8 @@ function gmshc_deploy_icons(){
246
<img src="<?php echo $icon ?>" />
247
</div>
248
<?php } ?>
249
- </div>
250
<?php
251
}
252
@@ -316,7 +316,7 @@ function gmshc_save_points($post_id,$points) {
316
* http://code.google.com/apis/maps/documentation/geocoding/
317
*/
318
319
- function gmshc_point ($address,$ltlg){
320
321
$formatted_address = "";
322
$point = "";
@@ -338,9 +338,9 @@ function gmshc_point ($address,$ltlg){
338
else return false;
339
340
$options = get_gmshc_options();
341
- $api_url = "http://maps.googleapis.com/maps/api/geocode/json?".$type."=".$query."&sensor=false&language=".$options['language'];
342
-
343
- $json_answ = @file_get_contents($api_url);
344
345
if (empty($json_answ)) {
346
if(function_exists('curl_init')){
@@ -354,22 +354,32 @@ function gmshc_point ($address,$ltlg){
354
return false;
355
}
356
}
357
358
$answ_arr = json_decode($json_answ,true);
359
360
if (isset($answ_arr["status"]) && $answ_arr["status"] == "OK"){
361
- $formatted_address = $answ_arr["results"]["0"]["formatted_address"];
362
- $point = $answ_arr["results"]["0"]["geometry"]["location"]["lat"].",".$answ_arr["results"]["0"]["geometry"]["location"]["lng"];
363
- }
364
365
- if (!empty($point) && !empty($formatted_address)){
366
-
367
- $response = array('point'=>$point,'address'=>$formatted_address);
368
-
369
- }
370
-
371
- return $response;
372
373
}
374
375
?>
1
<?php
2
/**
3
* Google Map Shortcode
4
+ * Version: 2.2.2
5
* Author: Alain Gonzalez
6
+ * Plugin URI: http://web-argument.com/google-map-shortcode-wordpress-plugin/
7
*/
8
9
/**
237
}
238
?>
239
<div class="gmshc_label">
240
+ <?php _e("Select the marker by clicking on the images","google-map-sc"); ?>
241
<div id="gmshc_icon_cont">
242
<input type="hidden" name="default_icon" value="<?php echo $default_icon ?>" id="default_icon" />
243
<?php foreach ($icons_array as $icon){ ?>
245
<img src="<?php echo $icon ?>" />
246
</div>
247
<?php } ?>
248
+ </div>
249
+ <div id="icon_credit"><?php _e("Powered By","google-map-sc"); ?> <a href="http://mapicons.nicolasmollet.com" target="_blank"><img src="<?php echo GMSC_PLUGIN_URL ?>/images/miclogo-88x31.gif" /></a></div>
250
<?php
251
}
252
316
* http://code.google.com/apis/maps/documentation/geocoding/
317
*/
318
319
+ function gmshc_point($address,$ltlg){
320
321
$formatted_address = "";
322
$point = "";
338
else return false;
339
340
$options = get_gmshc_options();
341
+ $api_url = "http://maps.googleapis.com/maps/api/geocode/json?".$type."=".urlencode($query)."&sensor=false&language=".$options['language'];
342
+
343
+ $json_answ = @file_get_contents($api_url);
344
345
if (empty($json_answ)) {
346
if(function_exists('curl_init')){
354
return false;
355
}
356
}
357
+
358
+
359
360
$answ_arr = json_decode($json_answ,true);
361
362
if (isset($answ_arr["status"]) && $answ_arr["status"] == "OK"){
363
+ $formatted_address = gmshc_clean_string($answ_arr["results"]["0"]["formatted_address"]);
364
+
365
+ $point = $answ_arr["results"]["0"]["geometry"]["location"]["lat"].",".$answ_arr["results"]["0"]["geometry"]["location"]["lng"];
366
367
+ if (!empty($point) && !empty($formatted_address)){
368
+
369
+ $response = array('point'=>$point,'address'=>$formatted_address);
370
+
371
+ }
372
+
373
+ return $response;
374
+
375
+ } else {
376
+ return false;
377
+ }
378
+
379
+ }
380
381
+ function gmshc_clean_string($str){
382
+ return htmlentities(html_entity_decode(stripslashes($str),ENT_QUOTES,"UTF-8"),ENT_QUOTES,"UTF-8");
383
}
384
385
?>
js/gmshc-admin.js CHANGED
@@ -1,8 +1,8 @@
1
/**
2
* Google Map Shortcode
3
- * Version: 2.1
4
* Author: Alain Gonzalez
5
- * Author URI: http://web-argument.com/
6
*/
7
8
(function ($) {
1
/**
2
* Google Map Shortcode
3
+ * Version: 2.2.2
4
* Author: Alain Gonzalez
5
+ * Plugin URI: http://web-argument.com/google-map-shortcode-wordpress-plugin/
6
*/
7
8
(function ($) {
js/gmshc.2.2.js CHANGED
@@ -1,8 +1,8 @@
1
/**
2
* Google Map Shortcode
3
- * Version: 2.2
4
* Author: Alain Gonzalez
5
- * Author URI: http://web-argument.com/
6
*/
7
8
var gmshc = {};
1
/**
2
* Google Map Shortcode
3
+ * Version: 2.2.2
4
* Author: Alain Gonzalez
5
+ * Plugin URI: http://web-argument.com/google-map-shortcode-wordpress-plugin/
6
*/
7
8
var gmshc = {};
languages/google-map-sc-default.mo ADDED
Binary file
languages/google-map-sc-default.po ADDED
@@ -0,0 +1,584 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: google_map_sc\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-08-23 13:39-0500\n"
6
+ "PO-Revision-Date: 2011-08-23 14:38-0500\n"
7
+ "Last-Translator: Alain Gonzalez <alaingoga@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: C:\\server\\www\\myserver.dev\\public_html\\wp31\\wp-content\\plugins\\\n"
14
+ "X-Poedit-SearchPath-0: google-map-shortcode\n"
15
+
16
+ #: google-map-shortcode/google-map-shortcode.php:227
17
+ msgid "There is not points to locate on the map"
18
+ msgstr ""
19
+
20
+ #: google-map-shortcode/google-map-shortcode.php:245
21
+ #: google-map-shortcode/google-map-shortcode.php:900
22
+ msgid "Google Map Shortcode"
23
+ msgstr ""
24
+
25
+ #: google-map-shortcode/google-map-shortcode.php:301
26
+ msgid "The Address can't be located."
27
+ msgstr ""
28
+
29
+ #: google-map-shortcode/google-map-shortcode.php:307
30
+ msgid "The Point was updated."
31
+ msgstr ""
32
+
33
+ #: google-map-shortcode/google-map-shortcode.php:308
34
+ msgid "The Points can't be updated."
35
+ msgstr ""
36
+
37
+ #: google-map-shortcode/google-map-shortcode.php:313
38
+ msgid "The Point was deleted."
39
+ msgstr ""
40
+
41
+ #: google-map-shortcode/google-map-shortcode.php:339
42
+ msgid "Add New Point"
43
+ msgstr ""
44
+
45
+ #: google-map-shortcode/google-map-shortcode.php:344
46
+ msgid "Title"
47
+ msgstr ""
48
+
49
+ #: google-map-shortcode/google-map-shortcode.php:352
50
+ msgid "Description"
51
+ msgstr ""
52
+
53
+ #: google-map-shortcode/google-map-shortcode.php:360
54
+ msgid "Full Address"
55
+ msgstr ""
56
+
57
+ #: google-map-shortcode/google-map-shortcode.php:378
58
+ msgid "Select the thumbnail by clicking on the images"
59
+ msgstr ""
60
+
61
+ #: google-map-shortcode/google-map-shortcode.php:390
62
+ msgid "Thumbnail: "
63
+ msgstr ""
64
+
65
+ #: google-map-shortcode/google-map-shortcode.php:390
66
+ msgid "If you want to attach an image to the point you need to upload it first to the post gallery"
67
+ msgstr ""
68
+
69
+ #: google-map-shortcode/google-map-shortcode.php:393
70
+ msgid "Upload Images"
71
+ msgstr ""
72
+
73
+ #: google-map-shortcode/google-map-shortcode.php:393
74
+ #: google-map-shortcode/google-map-shortcode.php:471
75
+ msgid "Add Point"
76
+ msgstr ""
77
+
78
+ #: google-map-shortcode/google-map-shortcode.php:399
79
+ msgid "Map Configuration"
80
+ msgstr ""
81
+
82
+ #: google-map-shortcode/google-map-shortcode.php:403
83
+ #: google-map-shortcode/google-map-shortcode.php:669
84
+ msgid "Width"
85
+ msgstr ""
86
+
87
+ #: google-map-shortcode/google-map-shortcode.php:407
88
+ #: google-map-shortcode/google-map-shortcode.php:673
89
+ msgid "Height"
90
+ msgstr ""
91
+
92
+ #: google-map-shortcode/google-map-shortcode.php:411
93
+ #: google-map-shortcode/google-map-shortcode.php:677
94
+ msgid "Margin"
95
+ msgstr ""
96
+
97
+ #: google-map-shortcode/google-map-shortcode.php:415
98
+ #: google-map-shortcode/google-map-shortcode.php:681
99
+ msgid "Align"
100
+ msgstr ""
101
+
102
+ #: google-map-shortcode/google-map-shortcode.php:417
103
+ #: google-map-shortcode/google-map-shortcode.php:683
104
+ msgid "left"
105
+ msgstr ""
106
+
107
+ #: google-map-shortcode/google-map-shortcode.php:418
108
+ #: google-map-shortcode/google-map-shortcode.php:684
109
+ msgid "center"
110
+ msgstr ""
111
+
112
+ #: google-map-shortcode/google-map-shortcode.php:419
113
+ #: google-map-shortcode/google-map-shortcode.php:685
114
+ msgid "right"
115
+ msgstr ""
116
+
117
+ #: google-map-shortcode/google-map-shortcode.php:422
118
+ #: google-map-shortcode/google-map-shortcode.php:688
119
+ msgid "Zoom"
120
+ msgstr ""
121
+
122
+ #: google-map-shortcode/google-map-shortcode.php:431
123
+ msgid "Maps Type"
124
+ msgstr ""
125
+
126
+ #: google-map-shortcode/google-map-shortcode.php:434
127
+ #: google-map-shortcode/google-map-shortcode.php:700
128
+ msgid "ROADMAP - Displays a normal street map"
129
+ msgstr ""
130
+
131
+ #: google-map-shortcode/google-map-shortcode.php:435
132
+ #: google-map-shortcode/google-map-shortcode.php:701
133
+ msgid "SATELLITE - Displays satellite images"
134
+ msgstr ""
135
+
136
+ #: google-map-shortcode/google-map-shortcode.php:436
137
+ #: google-map-shortcode/google-map-shortcode.php:702
138
+ msgid "TERRAIN - Displays maps with physical features such as terrain and vegetation"
139
+ msgstr ""
140
+
141
+ #: google-map-shortcode/google-map-shortcode.php:437
142
+ #: google-map-shortcode/google-map-shortcode.php:703
143
+ msgid "HYBRID - Displays a transparent layer of major streets on satellite images"
144
+ msgstr ""
145
+
146
+ #: google-map-shortcode/google-map-shortcode.php:442
147
+ msgid "Focus"
148
+ msgstr ""
149
+
150
+ #: google-map-shortcode/google-map-shortcode.php:445
151
+ msgid "None"
152
+ msgstr ""
153
+
154
+ #: google-map-shortcode/google-map-shortcode.php:447
155
+ msgid "All"
156
+ msgstr ""
157
+
158
+ #: google-map-shortcode/google-map-shortcode.php:454
159
+ msgid "Select the point to be focused after loading the map"
160
+ msgstr ""
161
+
162
+ #: google-map-shortcode/google-map-shortcode.php:458
163
+ #: google-map-shortcode/google-map-shortcode.php:783
164
+ msgid "Focus Type"
165
+ msgstr ""
166
+
167
+ #: google-map-shortcode/google-map-shortcode.php:461
168
+ #: google-map-shortcode/google-map-shortcode.php:786
169
+ msgid "Open Markers"
170
+ msgstr ""
171
+
172
+ #: google-map-shortcode/google-map-shortcode.php:462
173
+ #: google-map-shortcode/google-map-shortcode.php:787
174
+ msgid "Center Markers"
175
+ msgstr ""
176
+
177
+ #: google-map-shortcode/google-map-shortcode.php:472
178
+ #: google-map-shortcode/google-map-shortcode.php:531
179
+ msgid "Insert Map"
180
+ msgstr ""
181
+
182
+ #: google-map-shortcode/google-map-shortcode.php:473
183
+ msgid " Points Added"
184
+ msgstr ""
185
+
186
+ #: google-map-shortcode/google-map-shortcode.php:485
187
+ msgid "Marker"
188
+ msgstr ""
189
+
190
+ #: google-map-shortcode/google-map-shortcode.php:486
191
+ #: google-map-shortcode/google-map-shortcode.php:505
192
+ msgid "Thumbnail"
193
+ msgstr ""
194
+
195
+ #: google-map-shortcode/google-map-shortcode.php:487
196
+ msgid "Title/Description"
197
+ msgstr ""
198
+
199
+ #: google-map-shortcode/google-map-shortcode.php:488
200
+ msgid "Address/LtLg"
201
+ msgstr ""
202
+
203
+ #: google-map-shortcode/google-map-shortcode.php:499
204
+ msgid "Icon"
205
+ msgstr ""
206
+
207
+ #: google-map-shortcode/google-map-shortcode.php:519
208
+ msgid "Update"
209
+ msgstr ""
210
+
211
+ #: google-map-shortcode/google-map-shortcode.php:520
212
+ msgid "You will not be able to roll back deletion. Are you sure?"
213
+ msgstr ""
214
+
215
+ #: google-map-shortcode/google-map-shortcode.php:520
216
+ msgid "Delete"
217
+ msgstr ""
218
+
219
+ #: google-map-shortcode/google-map-shortcode.php:531
220
+ msgid "Show Map"
221
+ msgstr ""
222
+
223
+ #: google-map-shortcode/google-map-shortcode.php:531
224
+ msgid "Hide Map"
225
+ msgstr ""
226
+
227
+ #: google-map-shortcode/google-map-shortcode.php:577
228
+ msgid "Google Map Shortcode Settings"
229
+ msgstr ""
230
+
231
+ #: google-map-shortcode/google-map-shortcode.php:629
232
+ #, php-format
233
+ msgid "Could not write file %1$s (%2$s)"
234
+ msgstr ""
235
+
236
+ #: google-map-shortcode/google-map-shortcode.php:638
237
+ msgid "Please upload a valid file"
238
+ msgstr ""
239
+
240
+ #: google-map-shortcode/google-map-shortcode.php:663
241
+ msgid "Maps Default Configuration"
242
+ msgstr ""
243
+
244
+ #: google-map-shortcode/google-map-shortcode.php:665
245
+ msgid "The shortcode attributes overwrites these options."
246
+ msgstr ""
247
+
248
+ #: google-map-shortcode/google-map-shortcode.php:697
249
+ msgid "Maps Default Type"
250
+ msgstr ""
251
+
252
+ #: google-map-shortcode/google-map-shortcode.php:708
253
+ msgid "Select Language"
254
+ msgstr ""
255
+
256
+ #: google-map-shortcode/google-map-shortcode.php:712
257
+ msgid "ARABIC"
258
+ msgstr ""
259
+
260
+ #: google-map-shortcode/google-map-shortcode.php:713
261
+ #: google-map-shortcode/google-map-shortcode.php:725
262
+ msgid "BASQUE"
263
+ msgstr ""
264
+
265
+ #: google-map-shortcode/google-map-shortcode.php:714
266
+ msgid "BULGARIAN"
267
+ msgstr ""
268
+
269
+ #: google-map-shortcode/google-map-shortcode.php:715
270
+ msgid "BENGALI"
271
+ msgstr ""
272
+
273
+ #: google-map-shortcode/google-map-shortcode.php:716
274
+ msgid "CATALAN"
275
+ msgstr ""
276
+
277
+ #: google-map-shortcode/google-map-shortcode.php:717
278
+ msgid "CZECH"
279
+ msgstr ""
280
+
281
+ #: google-map-shortcode/google-map-shortcode.php:718
282
+ msgid "DANISH"
283
+ msgstr ""
284
+
285
+ #: google-map-shortcode/google-map-shortcode.php:719
286
+ msgid "GERMAN"
287
+ msgstr ""
288
+
289
+ #: google-map-shortcode/google-map-shortcode.php:720
290
+ msgid "GREEK"
291
+ msgstr ""
292
+
293
+ #: google-map-shortcode/google-map-shortcode.php:721
294
+ msgid "ENGLISH"
295
+ msgstr ""
296
+
297
+ #: google-map-shortcode/google-map-shortcode.php:722
298
+ msgid "ENGLISH (AUSTRALIAN)"
299
+ msgstr ""
300
+
301
+ #: google-map-shortcode/google-map-shortcode.php:723
302
+ msgid "ENGLISH (GREAT BRITAIN)"
303
+ msgstr ""
304
+
305
+ #: google-map-shortcode/google-map-shortcode.php:724
306
+ msgid "SPANISH"
307
+ msgstr ""
308
+
309
+ #: google-map-shortcode/google-map-shortcode.php:726
310
+ msgid "FARSI"
311
+ msgstr ""
312
+
313
+ #: google-map-shortcode/google-map-shortcode.php:727
314
+ msgid "FINNISH"
315
+ msgstr ""
316
+
317
+ #: google-map-shortcode/google-map-shortcode.php:728
318
+ msgid "FILIPINO"
319
+ msgstr ""
320
+
321
+ #: google-map-shortcode/google-map-shortcode.php:729
322
+ msgid "FRENCH"
323
+ msgstr ""
324
+
325
+ #: google-map-shortcode/google-map-shortcode.php:730
326
+ msgid "GALICIAN"
327
+ msgstr ""
328
+
329
+ #: google-map-shortcode/google-map-shortcode.php:731
330
+ msgid "GUJARATI"
331
+ msgstr ""
332
+
333
+ #: google-map-shortcode/google-map-shortcode.php:732
334
+ msgid "HINDI"
335
+ msgstr ""
336
+
337
+ #: google-map-shortcode/google-map-shortcode.php:733
338
+ msgid "CROATIAN"
339
+ msgstr ""
340
+
341
+ #: google-map-shortcode/google-map-shortcode.php:734
342
+ msgid "HUNGARIAN"
343
+ msgstr ""
344
+
345
+ #: google-map-shortcode/google-map-shortcode.php:735
346
+ msgid "INDONESIAN"
347
+ msgstr ""
348
+
349
+ #: google-map-shortcode/google-map-shortcode.php:736
350
+ msgid "ITALIAN"
351
+ msgstr ""
352
+
353
+ #: google-map-shortcode/google-map-shortcode.php:737
354
+ msgid "HEBREW"
355
+ msgstr ""
356
+
357
+ #: google-map-shortcode/google-map-shortcode.php:738
358
+ msgid "JAPANESE"
359
+ msgstr ""
360
+
361
+ #: google-map-shortcode/google-map-shortcode.php:739
362
+ msgid "KANNADA"
363
+ msgstr ""
364
+
365
+ #: google-map-shortcode/google-map-shortcode.php:740
366
+ msgid "KOREAN"
367
+ msgstr ""
368
+
369
+ #: google-map-shortcode/google-map-shortcode.php:741
370
+ msgid "LITHUANIAN"
371
+ msgstr ""
372
+
373
+ #: google-map-shortcode/google-map-shortcode.php:742
374
+ msgid "LATVIAN"
375
+ msgstr ""
376
+
377
+ #: google-map-shortcode/google-map-shortcode.php:743
378
+ msgid "MALAYALAM"
379
+ msgstr ""
380
+
381
+ #: google-map-shortcode/google-map-shortcode.php:744
382
+ msgid "MARATHI"
383
+ msgstr ""
384
+
385
+ #: google-map-shortcode/google-map-shortcode.php:745
386
+ msgid "DUTCH"
387
+ msgstr ""
388
+
389
+ #: google-map-shortcode/google-map-shortcode.php:746
390
+ msgid "NORWEGIAN"
391
+ msgstr ""
392
+
393
+ #: google-map-shortcode/google-map-shortcode.php:747
394
+ msgid "ORIYA"
395
+ msgstr ""
396
+
397
+ #: google-map-shortcode/google-map-shortcode.php:748
398
+ msgid "POLISH"
399
+ msgstr ""
400
+
401
+ #: google-map-shortcode/google-map-shortcode.php:749
402
+ msgid "PORTUGUESE"
403
+ msgstr ""
404
+
405
+ #: google-map-shortcode/google-map-shortcode.php:750
406
+ msgid "PORTUGUESE (BRAZIL)"
407
+ msgstr ""
408
+
409
+ #: google-map-shortcode/google-map-shortcode.php:751
410
+ msgid "PORTUGUESE (PORTUGAL)"
411
+ msgstr ""
412
+
413
+ #: google-map-shortcode/google-map-shortcode.php:752
414
+ msgid "ROMANIAN"
415
+ msgstr ""
416
+
417
+ #: google-map-shortcode/google-map-shortcode.php:753
418
+ msgid "RUSSIAN"
419
+ msgstr ""
420
+
421
+ #: google-map-shortcode/google-map-shortcode.php:754
422
+ msgid "SLOVAK"
423
+ msgstr ""
424
+
425
+ #: google-map-shortcode/google-map-shortcode.php:755
426
+ msgid "SLOVENIAN"
427
+ msgstr ""
428
+
429
+ #: google-map-shortcode/google-map-shortcode.php:756
430
+ msgid "SERBIAN"
431
+ msgstr ""
432
+
433
+ #: google-map-shortcode/google-map-shortcode.php:757
434
+ msgid "SWEDISH"
435
+ msgstr ""
436
+
437
+ #: google-map-shortcode/google-map-shortcode.php:758
438
+ msgid "TAGALOG"
439
+ msgstr ""
440
+
441
+ #: google-map-shortcode/google-map-shortcode.php:759
442
+ msgid "TAMIL"
443
+ msgstr ""
444
+
445
+ #: google-map-shortcode/google-map-shortcode.php:760
446
+ msgid "TELUGU"
447
+ msgstr ""
448
+
449
+ #: google-map-shortcode/google-map-shortcode.php:761
450
+ msgid "THAI"
451
+ msgstr ""
452
+
453
+ #: google-map-shortcode/google-map-shortcode.php:762
454
+ msgid "TURKISH"
455
+ msgstr ""
456
+
457
+ #: google-map-shortcode/google-map-shortcode.php:763
458
+ msgid "UKRAINIAN"
459
+ msgstr ""
460
+
461
+ #: google-map-shortcode/google-map-shortcode.php:764
462
+ msgid "VIETNAMESE"
463
+ msgstr ""
464
+
465
+ #: google-map-shortcode/google-map-shortcode.php:765
466
+ msgid "CHINESE (SIMPLIFIED)"
467
+ msgstr ""
468
+
469
+ #: google-map-shortcode/google-map-shortcode.php:766
470
+ msgid "CHINESE (TRADITIONAL)"
471
+ msgstr ""
472
+
473
+ #: google-map-shortcode/google-map-shortcode.php:778
474
+ msgid "Circle"
475
+ msgstr ""
476
+
477
+ #: google-map-shortcode/google-map-shortcode.php:780
478
+ msgid " Check if you want to focus all the map's points automatically with an interval of <br /><br />"
479
+ msgstr ""
480
+
481
+ #: google-map-shortcode/google-map-shortcode.php:780
482
+ msgid "milliseconds."
483
+ msgstr ""
484
+
485
+ #: google-map-shortcode/google-map-shortcode.php:792
486
+ msgid "Animation"
487
+ msgstr ""
488
+
489
+ #: google-map-shortcode/google-map-shortcode.php:793
490
+ msgid " Check if you want to animate the markes."
491
+ msgstr ""
492
+
493
+ #: google-map-shortcode/google-map-shortcode.php:801
494
+ msgid "Markers"
495
+ msgstr ""
496
+
497
+ #: google-map-shortcode/google-map-shortcode.php:813
498
+ msgid "To include new icons just specify the file location:"
499
+ msgstr ""
500
+
501
+ #: google-map-shortcode/google-map-shortcode.php:823
502
+ msgid "Info Windows"
503
+ msgstr ""
504
+
505
+ #: google-map-shortcode/google-map-shortcode.php:825
506
+ msgid "This is the html of the Info Window opened from the markers."
507
+ msgstr ""
508
+
509
+ #: google-map-shortcode/google-map-shortcode.php:829
510
+ msgid "Previews"
511
+ msgstr ""
512
+
513
+ #: google-map-shortcode/google-map-shortcode.php:835
514
+ msgid "Custom Html"
515
+ msgstr ""
516
+
517
+ #: google-map-shortcode/google-map-shortcode.php:847
518
+ msgid "The following tags can be used."
519
+ msgstr ""
520
+
521
+ #: google-map-shortcode/google-map-shortcode.php:851
522
+ msgid "Custom title of the point"
523
+ msgstr ""
524
+
525
+ #: google-map-shortcode/google-map-shortcode.php:855
526
+ msgid "Permanet Link of the post where the point is attached"
527
+ msgstr ""
528
+
529
+ #: google-map-shortcode/google-map-shortcode.php:859
530
+ msgid "Thubnail attached to the point"
531
+ msgstr ""
532
+
533
+ #: google-map-shortcode/google-map-shortcode.php:863
534
+ msgid "Description of the point"
535
+ msgstr ""
536
+
537
+ #: google-map-shortcode/google-map-shortcode.php:867
538
+ msgid "Excerpt of the post where the point is attached"
539
+ msgstr ""
540
+
541
+ #: google-map-shortcode/google-map-shortcode.php:871
542
+ msgid "The address of this point"
543
+ msgstr ""
544
+
545
+ #: google-map-shortcode/google-map-shortcode.php:875
546
+ msgid "Open this point on Google Map"
547
+ msgstr ""
548
+
549
+ #: google-map-shortcode/google-map-shortcode.php:879
550
+ msgid "Info Html width"
551
+ msgstr ""
552
+
553
+ #: google-map-shortcode/google-map-shortcode.php:885
554
+ msgid "Restore Default"
555
+ msgstr ""
556
+
557
+ #: google-map-shortcode/google-map-shortcode.php:909
558
+ msgid "Plugin Page"
559
+ msgstr ""
560
+
561
+ #: google-map-shortcode/google-map-shortcode.php:910
562
+ msgid "How To Use"
563
+ msgstr ""
564
+
565
+ #: google-map-shortcode/google-map-shortcode.php:911
566
+ msgid "Shortcode Reference"
567
+ msgstr ""
568
+
569
+ #: google-map-shortcode/google-map-shortcode.php:912
570
+ msgid "Examples"
571
+ msgstr ""
572
+
573
+ #: google-map-shortcode/google-map-shortcode.php:913
574
+ msgid "Donate"
575
+ msgstr ""
576
+
577
+ #: google-map-shortcode/include/functions.php:240
578
+ msgid "Select the marker by clicking on the images"
579
+ msgstr ""
580
+
581
+ #: google-map-shortcode/include/functions.php:353
582
+ msgid "The Point can't be added, <strong>php_curl.dll</strong> is not installed on your server and <strong>allow_url_fopen</strong> is disabled."
583
+ msgstr ""
584
+
languages/google-map-sc-es_ES.mo ADDED
Binary file
languages/google-map-sc-es_ES.po ADDED
@@ -0,0 +1,584 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: google_map_sc\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-08-23 13:39-0500\n"
6
+ "PO-Revision-Date: 2011-08-23 21:49-0500\n"
7
+ "Last-Translator: Alain Gonzalez <alaingoga@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;_e\n"
13
+ "X-Poedit-Basepath: C:\\server\\www\\myserver.dev\\public_html\\wp31\\wp-content\\plugins\\\n"
14
+ "X-Poedit-SearchPath-0: google-map-shortcode\n"
15
+
16
+ #: google-map-shortcode/google-map-shortcode.php:227
17
+ msgid "There is not points to locate on the map"
18
+ msgstr "No hay ningun punto para incluir en el mapa"
19
+
20
+ #: google-map-shortcode/google-map-shortcode.php:245
21
+ #: google-map-shortcode/google-map-shortcode.php:900
22
+ msgid "Google Map Shortcode"
23
+ msgstr "Google Map Shortcode"
24
+
25
+ #: google-map-shortcode/google-map-shortcode.php:301
26
+ msgid "The Address can't be located."
27
+ msgstr "Esta Dirección no puede ser localizada"
28
+
29
+ #: google-map-shortcode/google-map-shortcode.php:307
30
+ msgid "The Point was updated."
31
+ msgstr "El Punto ha sido actualizado."
32
+
33
+ #: google-map-shortcode/google-map-shortcode.php:308
34
+ msgid "The Points can't be updated."
35
+ msgstr "Los puntos no pueden se actualizados."
36
+
37
+ #: google-map-shortcode/google-map-shortcode.php:313
38
+ msgid "The Point was deleted."
39
+ msgstr "El Punto ha sido borrado."
40
+
41
+ #: google-map-shortcode/google-map-shortcode.php:339
42
+ msgid "Add New Point"
43
+ msgstr "Agregar Nuevo Punto"
44
+
45
+ #: google-map-shortcode/google-map-shortcode.php:344
46
+ msgid "Title"
47
+ msgstr "Título"
48
+
49
+ #: google-map-shortcode/google-map-shortcode.php:352
50
+ msgid "Description"
51
+ msgstr "Descripción"
52
+
53
+ #: google-map-shortcode/google-map-shortcode.php:360
54
+ msgid "Full Address"
55
+ msgstr "Dirección "
56
+
57
+ #: google-map-shortcode/google-map-shortcode.php:378
58
+ msgid "Select the thumbnail by clicking on the images"
59
+ msgstr "Seleccione una imagen haciendo clic."
60
+
61
+ #: google-map-shortcode/google-map-shortcode.php:390
62
+ msgid "Thumbnail: "
63
+ msgstr "Imagen:"
64
+
65
+ #: google-map-shortcode/google-map-shortcode.php:390
66
+ msgid "If you want to attach an image to the point you need to upload it first to the post gallery"
67
+ msgstr "Si desea incluir una imagen a este punto, antes debe agregarla a la galería de la entrada"
68
+
69
+ #: google-map-shortcode/google-map-shortcode.php:393
70
+ msgid "Upload Images"
71
+ msgstr "Subir Imagenes"
72
+
73
+ #: google-map-shortcode/google-map-shortcode.php:393
74
+ #: google-map-shortcode/google-map-shortcode.php:471
75
+ msgid "Add Point"
76
+ msgstr "Agregar Punto"
77
+
78
+ #: google-map-shortcode/google-map-shortcode.php:399
79
+ msgid "Map Configuration"
80
+ msgstr "Configuración del Mapa"
81
+
82
+ #: google-map-shortcode/google-map-shortcode.php:403
83
+ #: google-map-shortcode/google-map-shortcode.php:669
84
+ msgid "Width"
85
+ msgstr "Ancho"
86
+
87
+ #: google-map-shortcode/google-map-shortcode.php:407
88
+ #: google-map-shortcode/google-map-shortcode.php:673
89
+ msgid "Height"
90
+ msgstr "Altura"
91
+
92
+ #: google-map-shortcode/google-map-shortcode.php:411
93
+ #: google-map-shortcode/google-map-shortcode.php:677
94
+ msgid "Margin"
95
+ msgstr "Margen"
96
+
97
+ #: google-map-shortcode/google-map-shortcode.php:415
98
+ #: google-map-shortcode/google-map-shortcode.php:681
99
+ msgid "Align"
100
+ msgstr "Alineación"
101
+
102
+ #: google-map-shortcode/google-map-shortcode.php:417
103
+ #: google-map-shortcode/google-map-shortcode.php:683
104
+ msgid "left"
105
+ msgstr "izquierda"
106
+
107
+ #: google-map-shortcode/google-map-shortcode.php:418
108
+ #: google-map-shortcode/google-map-shortcode.php:684
109
+ msgid "center"
110
+ msgstr "centro"
111
+
112
+ #: google-map-shortcode/google-map-shortcode.php:419
113
+ #: google-map-shortcode/google-map-shortcode.php:685
114
+ msgid "right"
115
+ msgstr "derecha"
116
+
117
+ #: google-map-shortcode/google-map-shortcode.php:422
118
+ #: google-map-shortcode/google-map-shortcode.php:688
119
+ msgid "Zoom"
120
+ msgstr "Zoom"
121
+
122
+ #: google-map-shortcode/google-map-shortcode.php:431
123
+ msgid "Maps Type"
124
+ msgstr "Tipo de Mapa"
125
+
126
+ #: google-map-shortcode/google-map-shortcode.php:434
127
+ #: google-map-shortcode/google-map-shortcode.php:700
128
+ msgid "ROADMAP - Displays a normal street map"
129
+ msgstr "ROADMAP - Mostrar vista normal de calles"
130
+
131
+ #: google-map-shortcode/google-map-shortcode.php:435
132
+ #: google-map-shortcode/google-map-shortcode.php:701
133
+ msgid "SATELLITE - Displays satellite images"
134
+ msgstr "SATELLITE - Mostrar imagenes de satélite"
135
+
136
+ #: google-map-shortcode/google-map-shortcode.php:436
137
+ #: google-map-shortcode/google-map-shortcode.php:702
138
+ msgid "TERRAIN - Displays maps with physical features such as terrain and vegetation"
139
+ msgstr "TERRAIN - Mostrar mapas con características físicas tales como: terrenos y vegetación"
140
+
141
+ #: google-map-shortcode/google-map-shortcode.php:437
142
+ #: google-map-shortcode/google-map-shortcode.php:703
143
+ msgid "HYBRID - Displays a transparent layer of major streets on satellite images"
144
+ msgstr "HYBRID - Mostrar una capa transparente con las pricipales calles e imagenes de satélite"
145
+
146
+ #: google-map-shortcode/google-map-shortcode.php:442
147
+ msgid "Focus"
148
+ msgstr "Enfoque"
149
+
150
+ #: google-map-shortcode/google-map-shortcode.php:445
151
+ msgid "None"
152
+ msgstr "No"
153
+
154
+ #: google-map-shortcode/google-map-shortcode.php:447
155
+ msgid "All"
156
+ msgstr "Todos"
157
+
158
+ #: google-map-shortcode/google-map-shortcode.php:454
159
+ msgid "Select the point to be focused after loading the map"
160
+ msgstr "Seleccione el punto enfocado después de desplegar el mapa"
161
+
162
+ #: google-map-shortcode/google-map-shortcode.php:458
163
+ #: google-map-shortcode/google-map-shortcode.php:783
164
+ msgid "Focus Type"
165
+ msgstr "Tipo de enfoque"
166
+
167
+ #: google-map-shortcode/google-map-shortcode.php:461
168
+ #: google-map-shortcode/google-map-shortcode.php:786
169
+ msgid "Open Markers"
170
+ msgstr "Abrir Marcador"
171
+
172
+ #: google-map-shortcode/google-map-shortcode.php:462
173
+ #: google-map-shortcode/google-map-shortcode.php:787
174
+ msgid "Center Markers"
175
+ msgstr "Centrar Marcador"
176
+
177
+ #: google-map-shortcode/google-map-shortcode.php:472
178
+ #: google-map-shortcode/google-map-shortcode.php:531
179
+ msgid "Insert Map"
180
+ msgstr "Insertar Mapa"
181
+
182
+ #: google-map-shortcode/google-map-shortcode.php:473
183
+ msgid " Points Added"
184
+ msgstr " Puntos Agregados"
185
+
186
+ #: google-map-shortcode/google-map-shortcode.php:485
187
+ msgid "Marker"
188
+ msgstr "Marcador"
189
+
190
+ #: google-map-shortcode/google-map-shortcode.php:486
191
+ #: google-map-shortcode/google-map-shortcode.php:505
192
+ msgid "Thumbnail"
193
+ msgstr "Imagen"
194
+
195
+ #: google-map-shortcode/google-map-shortcode.php:487
196
+ msgid "Title/Description"
197
+ msgstr "Título/Descripción"
198
+
199
+ #: google-map-shortcode/google-map-shortcode.php:488
200
+ msgid "Address/LtLg"
201
+ msgstr "Dirección/LtLg"
202
+
203
+ #: google-map-shortcode/google-map-shortcode.php:499
204
+ msgid "Icon"
205
+ msgstr "Icono"
206
+
207
+ #: google-map-shortcode/google-map-shortcode.php:519
208
+ msgid "Update"
209
+ msgstr "Actualizar"
210
+
211
+ #: google-map-shortcode/google-map-shortcode.php:520
212
+ msgid "You will not be able to roll back deletion. Are you sure?"
213
+ msgstr "¿Está seguro que desea borrar este punto?"
214
+
215
+ #: google-map-shortcode/google-map-shortcode.php:520
216
+ msgid "Delete"
217
+ msgstr "Borrar"
218
+
219
+ #: google-map-shortcode/google-map-shortcode.php:531
220
+ msgid "Show Map"
221
+ msgstr "Mostar Map"
222
+
223
+ #: google-map-shortcode/google-map-shortcode.php:531
224
+ msgid "Hide Map"
225
+ msgstr "Esconder Map"
226
+
227
+ #: google-map-shortcode/google-map-shortcode.php:577
228
+ msgid "Google Map Shortcode Settings"
229
+ msgstr "Google Map Shortcode - Configuración"
230
+
231
+ #: google-map-shortcode/google-map-shortcode.php:629
232
+ #, php-format
233
+ msgid "Could not write file %1$s (%2$s)"
234
+ msgstr "No es posible escribir el fichero %1$s (%2$s)"
235
+
236
+ #: google-map-shortcode/google-map-shortcode.php:638
237
+ msgid "Please upload a valid file"
238
+ msgstr "Por favor seleccione un fichero válido"
239
+
240
+ #: google-map-shortcode/google-map-shortcode.php:663
241
+ msgid "Maps Default Configuration"
242
+ msgstr "Configuración de los Mapas por Defecto"
243
+
244
+ #: google-map-shortcode/google-map-shortcode.php:665
245
+ msgid "The shortcode attributes overwrites these options."
246
+ msgstr "Los atributos del shortcode sobre - escribirán estas opciones."
247
+
248
+ #: google-map-shortcode/google-map-shortcode.php:697
249
+ msgid "Maps Default Type"
250
+ msgstr "Tipos de Mapa"
251
+
252
+ #: google-map-shortcode/google-map-shortcode.php:708
253
+ msgid "Select Language"
254
+ msgstr "Seleccione Lenguaje"
255
+
256
+ #: google-map-shortcode/google-map-shortcode.php:712
257
+ msgid "ARABIC"
258
+ msgstr "ARABIC"
259
+
260
+ #: google-map-shortcode/google-map-shortcode.php:713
261
+ #: google-map-shortcode/google-map-shortcode.php:725
262
+ msgid "BASQUE"
263
+ msgstr "BASQUE"
264
+
265
+ #: google-map-shortcode/google-map-shortcode.php:714
266
+ msgid "BULGARIAN"
267
+ msgstr "BULGARIAN"
268
+
269
+ #: google-map-shortcode/google-map-shortcode.php:715
270
+ msgid "BENGALI"
271
+ msgstr "BENGALI"
272
+
273
+ #: google-map-shortcode/google-map-shortcode.php:716
274
+ msgid "CATALAN"
275
+ msgstr "CATALAN"
276
+
277
+ #: google-map-shortcode/google-map-shortcode.php:717
278
+ msgid "CZECH"
279
+ msgstr "CZECH"
280
+
281
+ #: google-map-shortcode/google-map-shortcode.php:718
282
+ msgid "DANISH"
283
+ msgstr "DANISH"
284
+
285
+ #: google-map-shortcode/google-map-shortcode.php:719
286
+ msgid "GERMAN"
287
+ msgstr "GERMAN"
288
+
289
+ #: google-map-shortcode/google-map-shortcode.php:720
290
+ msgid "GREEK"
291
+ msgstr "GREEK"
292
+
293
+ #: google-map-shortcode/google-map-shortcode.php:721
294
+ msgid "ENGLISH"
295
+ msgstr "ENGLISH"
296
+
297
+ #: google-map-shortcode/google-map-shortcode.php:722
298
+ msgid "ENGLISH (AUSTRALIAN)"
299
+ msgstr "ENGLISH (AUSTRALIAN)"
300
+
301
+ #: google-map-shortcode/google-map-shortcode.php:723
302
+ msgid "ENGLISH (GREAT BRITAIN)"
303
+ msgstr "ENGLISH (GREAT BRITAIN)"
304
+
305
+ #: google-map-shortcode/google-map-shortcode.php:724
306
+ msgid "SPANISH"
307
+ msgstr "ESPAÑOL"
308
+
309
+ #: google-map-shortcode/google-map-shortcode.php:726
310
+ msgid "FARSI"
311
+ msgstr "FARSI"
312
+
313
+ #: google-map-shortcode/google-map-shortcode.php:727
314
+ msgid "FINNISH"
315
+ msgstr "FINNISH"
316
+
317
+ #: google-map-shortcode/google-map-shortcode.php:728
318
+ msgid "FILIPINO"
319
+ msgstr "FILIPINO"
320
+
321
+ #: google-map-shortcode/google-map-shortcode.php:729
322
+ msgid "FRENCH"
323
+ msgstr "FRENCH"
324
+
325
+ #: google-map-shortcode/google-map-shortcode.php:730
326
+ msgid "GALICIAN"
327
+ msgstr "GALICIAN"
328
+
329
+ #: google-map-shortcode/google-map-shortcode.php:731
330
+ msgid "GUJARATI"
331
+ msgstr "GUJARATI"
332
+
333
+ #: google-map-shortcode/google-map-shortcode.php:732
334
+ msgid "HINDI"
335
+ msgstr "HINDI"
336
+
337
+ #: google-map-shortcode/google-map-shortcode.php:733
338
+ msgid "CROATIAN"
339
+ msgstr "CROATIAN"
340
+
341
+ #: google-map-shortcode/google-map-shortcode.php:734
342
+ msgid "HUNGARIAN"
343
+ msgstr "HUNGARIAN"
344
+
345
+ #: google-map-shortcode/google-map-shortcode.php:735
346
+ msgid "INDONESIAN"
347
+ msgstr "INDONESIAN"
348
+
349
+ #: google-map-shortcode/google-map-shortcode.php:736
350
+ msgid "ITALIAN"
351
+ msgstr "ITALIAN"
352
+
353
+ #: google-map-shortcode/google-map-shortcode.php:737
354
+ msgid "HEBREW"
355
+ msgstr "HEBREW"
356
+
357
+ #: google-map-shortcode/google-map-shortcode.php:738
358
+ msgid "JAPANESE"
359
+ msgstr "JAPANESE"
360
+
361
+ #: google-map-shortcode/google-map-shortcode.php:739
362
+ msgid "KANNADA"
363
+ msgstr "KANNADA"
364
+
365
+ #: google-map-shortcode/google-map-shortcode.php:740
366
+ msgid "KOREAN"
367
+ msgstr "KOREAN"
368
+
369
+ #: google-map-shortcode/google-map-shortcode.php:741
370
+ msgid "LITHUANIAN"
371
+ msgstr "LITHUANIAN"
372
+
373
+ #: google-map-shortcode/google-map-shortcode.php:742
374
+ msgid "LATVIAN"
375
+ msgstr "LATVIAN"
376
+
377
+ #: google-map-shortcode/google-map-shortcode.php:743
378
+ msgid "MALAYALAM"
379
+ msgstr "MALAYALAM"
380
+
381
+ #: google-map-shortcode/google-map-shortcode.php:744
382
+ msgid "MARATHI"
383
+ msgstr "MARATHI"
384
+
385
+ #: google-map-shortcode/google-map-shortcode.php:745
386
+ msgid "DUTCH"
387
+ msgstr "DUTCH"
388
+
389
+ #: google-map-shortcode/google-map-shortcode.php:746
390
+ msgid "NORWEGIAN"
391
+ msgstr "NORWEGIAN"
392
+
393
+ #: google-map-shortcode/google-map-shortcode.php:747
394
+ msgid "ORIYA"
395
+ msgstr "ORIYA"
396
+
397
+ #: google-map-shortcode/google-map-shortcode.php:748
398
+ msgid "POLISH"
399
+ msgstr "POLISH"
400
+
401
+ #: google-map-shortcode/google-map-shortcode.php:749
402
+ msgid "PORTUGUESE"
403
+ msgstr "PORTUGUESE"
404
+
405
+ #: google-map-shortcode/google-map-shortcode.php:750
406
+ msgid "PORTUGUESE (BRAZIL)"
407
+ msgstr "PORTUGUESE (BRAZIL)"
408
+
409
+ #: google-map-shortcode/google-map-shortcode.php:751
410
+ msgid "PORTUGUESE (PORTUGAL)"
411
+ msgstr "PORTUGUESE (PORTUGAL)"
412
+
413
+ #: google-map-shortcode/google-map-shortcode.php:752
414
+ msgid "ROMANIAN"
415
+ msgstr "ROMANIAN"
416
+
417
+ #: google-map-shortcode/google-map-shortcode.php:753
418
+ msgid "RUSSIAN"
419
+ msgstr "RUSSIAN"
420
+
421
+ #: google-map-shortcode/google-map-shortcode.php:754
422
+ msgid "SLOVAK"
423
+ msgstr "SLOVAK"
424
+
425
+ #: google-map-shortcode/google-map-shortcode.php:755
426
+ msgid "SLOVENIAN"
427
+ msgstr "SLOVENIAN"
428
+
429
+ #: google-map-shortcode/google-map-shortcode.php:756
430
+ msgid "SERBIAN"
431
+ msgstr "SERBIAN"
432
+
433
+ #: google-map-shortcode/google-map-shortcode.php:757
434
+ msgid "SWEDISH"
435
+ msgstr "SWEDISH"
436
+
437
+ #: google-map-shortcode/google-map-shortcode.php:758
438
+ msgid "TAGALOG"
439
+ msgstr "TAGALOG"
440
+
441
+ #: google-map-shortcode/google-map-shortcode.php:759
442
+ msgid "TAMIL"
443
+ msgstr "TAMIL"
444
+
445
+ #: google-map-shortcode/google-map-shortcode.php:760
446
+ msgid "TELUGU"
447
+ msgstr "TELUGU"
448
+
449
+ #: google-map-shortcode/google-map-shortcode.php:761
450
+ msgid "THAI"
451
+ msgstr "THAI"
452
+
453
+ #: google-map-shortcode/google-map-shortcode.php:762
454
+ msgid "TURKISH"
455
+ msgstr "TURKISH"
456
+
457
+ #: google-map-shortcode/google-map-shortcode.php:763
458
+ msgid "UKRAINIAN"
459
+ msgstr "UKRAINIAN"
460
+
461
+ #: google-map-shortcode/google-map-shortcode.php:764