Google Doc Embedder - Version 2.4.3

Version Description

  • Added: Dark theme shortcode option (EXPERIMENTAL)
  • Added: Turkish translation (thanks LettoBlog)
  • Fixed: Visual editor integration for IIS webhosts (thanks Kristof)
  • Changed: Debug information is now a support page from plugin list
Download this release

Release Info

Developer k3davis
Plugin Icon wp plugin Google Doc Embedder
Version 2.4.3
Comparing to
See all releases

Code changes from version 2.4.2 to 2.4.3

gde-functions.php CHANGED
@@ -4,7 +4,8 @@
4
  @define('GDE_VIEWOPT_URL', 'http://www.davistribe.org/gde/settings/viewer-options/');
5
  @define('GDE_LINKOPT_URL', 'http://www.davistribe.org/gde/settings/download-link-options/');
6
  @define('GDE_ADVOPT_URL', 'http://www.davistribe.org/gde/settings/advanced-options/');
7
- @define('GDE_SUPPORT_URL', 'http://wordpress.org/tags/google-document-embedder?forum_id=10');
 
8
  @define('GDE_BETA_URL', 'http://www.davistribe.org/gde/beta-program/');
9
  @define('GDE_BETA_CHKFILE', 'http://dev.davismetro.com/beta/gde/beta.chk');
10
 
@@ -123,7 +124,7 @@ function gde_validLink($link) {
123
  }
124
 
125
  function gde_validType($link, $allowed_exts) {
126
- if (preg_match("/($allowed_exts)$/i",$link)) {
127
  return true;
128
  } else {
129
  return false;
@@ -147,12 +148,9 @@ function gde_validUrl($url) {
147
 
148
  function gde_splitFilename($filename) {
149
  $pos = strrpos($filename, '.');
150
- if ($pos === false)
151
- { // dot is not found in the filename
152
- return array($filename, ''); // no extension
153
- }
154
- else
155
- {
156
  $basename = substr($filename, 0, $pos);
157
  $extension = strtoupper(substr($filename, $pos+1));
158
  if ($extension == "TIF") { $extension = "TIFF"; }
@@ -165,14 +163,19 @@ function gde_formatBytes($bytes, $precision = 2) {
165
  return "Unknown";
166
  } else {
167
  $units = array('B', 'KB', 'MB', 'GB', 'TB');
168
-
169
  $bytes = max($bytes, 0);
170
  $pow = floor(($bytes ? log($bytes) : 0) / log(1024));
171
  $pow = min($pow, count($units) - 1);
172
-
173
  $bytes /= pow(1024, $pow);
174
-
175
- return round($bytes, $precision) . '' . $units[$pow];
 
 
 
 
 
176
  }
177
  }
178
 
@@ -206,33 +209,33 @@ function gde_admin_custom_js( $hook ) {
206
  }
207
 
208
  function gde_mce_addbuttons() {
209
- // Don't bother doing this stuff if the current user lacks permissions
210
- if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )
211
- return;
212
-
213
- // Add only in Rich Editor mode
214
- if ( get_user_option('rich_editing') == 'true') {
215
- add_filter("mce_external_plugins", "gde_add_tinymce_plugin");
216
- add_filter('mce_buttons', 'gde_register_mce_button');
217
  }
218
  }
219
-
220
- function gde_register_mce_button($buttons) {
221
- array_push($buttons, "separator", "gde");
222
- return $buttons;
223
- }
224
 
225
  function gde_add_tinymce_plugin($plugin_array) {
226
- // Load the TinyMCE plugin
227
- $plugin_array['gde'] = GDE_PLUGIN_URL.'/js/editor_plugin.js';
228
- return $plugin_array;
 
 
 
 
 
229
  }
230
 
231
  // modify the media insertion if requested
232
  function gde_media_insert($html, $id, $attachment) {
233
  global $supported_exts;
234
 
235
- //get the mime-type
236
  $mime_type = get_post_mime_type($id);
237
 
238
  if (in_array($mime_type, $supported_exts)) {
@@ -334,20 +337,68 @@ function gde_get_locale() {
334
  */
335
  function gde_debug() {
336
  global $gde_ver, $gdeoptions, $wp_version;
 
 
337
  ?>
338
  <div class="wrap">
339
- <h2>Google Doc Embedder <?php _e('Debug Information', 'gde'); ?></h2>
340
- <p><?php _e('Copy and paste this information into an email to <a href="mailto:kev@tnw.org">the author</a> to
341
- assist in troubleshooting problems. Remove or anonymize any information you do not wish to share.', 'gde'); ?></p>
342
- <form>
343
- <textarea name="debug" style="width:100%;min-height:400px;font-family:monospace;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  <?php
345
- echo ":: GDE Debug Information ::\n\n";
346
  echo "GDE Version: $gde_ver\n";
347
  echo "WordPress Version: $wp_version [".get_locale()."]\n";
348
  echo "PHP Version: ".phpversion()."\n";
 
349
  echo "Server Env: ".$_SERVER['SERVER_SOFTWARE']."\n";
350
  echo "Browser Env: ".$_SERVER['HTTP_USER_AGENT']."\n\n";
 
351
  echo "cURL: ";
352
  if (function_exists('curl_version')) {
353
  $curl = curl_version(); echo $curl['version']."\n";
@@ -358,16 +409,35 @@ if (ini_get('allow_url_fopen') !== "1") {
358
  } else { echo "Yes\n"; }
359
  echo "Rich Editing: ";
360
  if (get_user_option('rich_editing')) {
361
- echo "Yes\n\n";
362
- } else { echo "No\n\n"; }
 
 
 
 
 
363
  echo "Settings Array:\n";
364
  print_r($gdeoptions);
365
- echo "\n";
366
- echo "MIME Supported:\n";
367
- print_r(get_allowed_mime_types());
368
  ?>
369
- </textarea>
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  </form>
 
371
  </div>
372
  <?php
373
  }
4
  @define('GDE_VIEWOPT_URL', 'http://www.davistribe.org/gde/settings/viewer-options/');
5
  @define('GDE_LINKOPT_URL', 'http://www.davistribe.org/gde/settings/download-link-options/');
6
  @define('GDE_ADVOPT_URL', 'http://www.davistribe.org/gde/settings/advanced-options/');
7
+ @define('GDE_FORUM_URL', 'http://wordpress.org/tags/google-document-embedder?forum_id=10');
8
+ @define('GDE_WP_URL', 'http://wordpress.org/extend/plugins/google-document-embedder/');
9
  @define('GDE_BETA_URL', 'http://www.davistribe.org/gde/beta-program/');
10
  @define('GDE_BETA_CHKFILE', 'http://dev.davismetro.com/beta/gde/beta.chk');
11
 
124
  }
125
 
126
  function gde_validType($link, $allowed_exts) {
127
+ if (preg_match("/\.($allowed_exts)$/i",$link)) {
128
  return true;
129
  } else {
130
  return false;
148
 
149
  function gde_splitFilename($filename) {
150
  $pos = strrpos($filename, '.');
151
+ if ($pos === false) {
152
+ return array($filename, ''); // no extension (dot is not found in the filename)
153
+ } else {
 
 
 
154
  $basename = substr($filename, 0, $pos);
155
  $extension = strtoupper(substr($filename, $pos+1));
156
  if ($extension == "TIF") { $extension = "TIFF"; }
163
  return "Unknown";
164
  } else {
165
  $units = array('B', 'KB', 'MB', 'GB', 'TB');
166
+
167
  $bytes = max($bytes, 0);
168
  $pow = floor(($bytes ? log($bytes) : 0) / log(1024));
169
  $pow = min($pow, count($units) - 1);
170
+
171
  $bytes /= pow(1024, $pow);
172
+
173
+ if ($units[$pow] == "KB") {
174
+ // less precision for small file sizes
175
+ return round($bytes)."KB";
176
+ } else {
177
+ return round($bytes, $precision) . $units[$pow];
178
+ }
179
  }
180
  }
181
 
209
  }
210
 
211
  function gde_mce_addbuttons() {
212
+ // don't bother doing this stuff if the current user lacks permissions
213
+ if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )
214
+ return;
215
+
216
+ // add only in Rich Editor mode
217
+ if ( get_user_option('rich_editing') == 'true') {
218
+ add_filter("mce_external_plugins", "gde_add_tinymce_plugin");
219
+ add_filter('mce_buttons', 'gde_register_mce_button');
220
  }
221
  }
 
 
 
 
 
222
 
223
  function gde_add_tinymce_plugin($plugin_array) {
224
+ // load the TinyMCE plugin
225
+ $plugin_array['gde'] = GDE_PLUGIN_URL.'js/editor_plugin.js';
226
+ return $plugin_array;
227
+ }
228
+
229
+ function gde_register_mce_button($buttons) {
230
+ array_push($buttons, "separator", "gde");
231
+ return $buttons;
232
  }
233
 
234
  // modify the media insertion if requested
235
  function gde_media_insert($html, $id, $attachment) {
236
  global $supported_exts;
237
 
238
+ // get the mime type
239
  $mime_type = get_post_mime_type($id);
240
 
241
  if (in_array($mime_type, $supported_exts)) {
337
  */
338
  function gde_debug() {
339
  global $gde_ver, $gdeoptions, $wp_version;
340
+ $pdata = gde_get_plugin_data();
341
+
342
  ?>
343
  <div class="wrap">
344
+ <h2>Google Doc Embedder <?php _e('Support', 'gde'); ?></h2>
345
+
346
+ <p><strong><?php _e('Please review the documentation before submitting a request for support:', 'gde'); ?></strong></p>
347
+ <ul style="list-style-type:square; padding-left:25px;line-height:1em;">
348
+ <li><a href="<?php echo $pdata['PluginURI']; ?>">Google Doc Embedder</a></li>
349
+ <li><a href="<?php echo GDE_WP_URL; ?>faq/"><?php _e('Plugin FAQ', 'gde'); ?></li>
350
+ <li><a href="<?php echo GDE_FORUM_URL; ?>"><?php _e('Support Forum', 'gde'); ?></a></li>
351
+ </ul>
352
+
353
+ <p><?php _e("If you're still experiencing a problem, please complete the form below.", 'gde'); ?></p>
354
+
355
+ <form action="<?php echo GDE_PLUGIN_URL;?>libs/post-debug.php" id="debugForm">
356
+
357
+ <table class="form-table" style="border:1px solid #ccc;">
358
+ <tr valign="top">
359
+ <th scope="row"><label for="name" id="name_label"><?php _e('Your Name', 'gde'); ?></label></th>
360
+ <td><input size="50" name="name" id="name" value="" type="text"></td>
361
+ </tr>
362
+ <tr valign="top">
363
+ <th scope="row"><label for="sender" id="sender_label"><?php _e('Your E-mail', 'gde'); ?>*</label></th>
364
+ <td><input size="50" name="email" id="sender" value="" type="text">
365
+ <div id="err_email" class="err" style="color:red;font-weight:bold;display:none;">A valid email address is required.</div></td>
366
+ </td>
367
+ </tr>
368
+ <tr valign="top">
369
+ <th scope="row"><label for="sc" id="sc_label"><?php _e('Shortcode', 'gde'); ?></label></th>
370
+ <td><input size="50" name="shortcode" id="sc" value="" type="text"><br/>
371
+ <em><?php _e("If you're having a problem getting a specific document to work, paste the shortcode you're trying to use here.", 'gde'); ?></em></td>
372
+ </select>
373
+ </td>
374
+ </tr>
375
+ <tr valign="top">
376
+ <th scope="row"><label for="msg" id="msg_label"><?php _e('Message', 'gde'); ?></label></th>
377
+ <td><textarea name="message" id="msg" style="width:75%;min-height:50px;"></textarea></td>
378
+ </td>
379
+ </tr>
380
+ <tr valign="top">
381
+ <th scope="row"><?php _e('Message Options', 'gde'); ?></th>
382
+ <td>
383
+ <input type="checkbox" name="senddb" id="senddb" checked="checked"> <label for="senddb" id="senddb_label"><?php _e('Send debug information', 'gde'); ?>
384
+ (<a href="javascript:void(0);" id="ta_toggle"><?php _e('View'); ?></a>)</label><br/>
385
+ <input type="checkbox" name="cc" id="cc"> <label for="cc" id="cc_label"><?php _e('Send me a copy', 'gde'); ?></label></td>
386
+ </td>
387
+ </tr>
388
+ <tr>
389
+ <td colspan="2">
390
+ <div id="debugblock" style="display:none;">
391
+ <p><?php _e('Debug Information', 'gde'); ?>:</p>
392
+ <textarea name="debug" id="debugtxt" style="width:100%;min-height:200px;font-family:monospace;" readonly="readonly">
393
  <?php
394
+ echo "--- GDE Debug Information ---\n\n";
395
  echo "GDE Version: $gde_ver\n";
396
  echo "WordPress Version: $wp_version [".get_locale()."]\n";
397
  echo "PHP Version: ".phpversion()."\n";
398
+ echo "Plugin URL: ".GDE_PLUGIN_URL."\n";
399
  echo "Server Env: ".$_SERVER['SERVER_SOFTWARE']."\n";
400
  echo "Browser Env: ".$_SERVER['HTTP_USER_AGENT']."\n\n";
401
+
402
  echo "cURL: ";
403
  if (function_exists('curl_version')) {
404
  $curl = curl_version(); echo $curl['version']."\n";
409
  } else { echo "Yes\n"; }
410
  echo "Rich Editing: ";
411
  if (get_user_option('rich_editing')) {
412
+ echo "Yes\n";
413
+ } else { echo "No\n"; }
414
+ echo "Viewer: ";
415
+ if ($gdeoptions['disable_proxy'] == "no") {
416
+ echo "Enhanced\n\n";
417
+ } else { echo "Standard\n\n"; }
418
+
419
  echo "Settings Array:\n";
420
  print_r($gdeoptions);
421
+ //echo "\n";
422
+ //echo "MIME Supported:\n";
423
+ //print_r(get_allowed_mime_types());
424
  ?>
425
+ </textarea>
426
+ <br/><br/>
427
+ </div>
428
+ </div>
429
+ <div id="debugwarn" style="display:none;color:red;font-weight:bold;">
430
+ <p><?php _e("I'm less likely to be able to help you if you do not include debug information.", 'gde'); ?></p>
431
+ </div>
432
+ <input id="debugsend" class="button-primary" type="submit" value="<?php _e('Send Support Request', 'gde'); ?>" name="submit">
433
+ <span id="formstatus" style="padding-left:20px;display:none;">
434
+ <img src="<?php echo GDE_PLUGIN_URL;?>img/in-proc.gif" alt="">
435
+ </span>
436
+ </td>
437
+ </tr>
438
+ </table>
439
  </form>
440
+
441
  </div>
442
  <?php
443
  }
gviewer.php CHANGED
@@ -8,11 +8,11 @@ Author: Kevin Davis
8
  Author URI: http://www.davistribe.org/
9
  Text Domain: gde
10
  Domain Path: /languages/
11
- Version: 2.4.2
12
  License: GPLv2
13
  */
14
 
15
- $gde_ver = "2.4.2.98";
16
 
17
  /**
18
  * LICENSE
@@ -33,7 +33,7 @@ $gde_ver = "2.4.2.98";
33
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34
  *
35
  * @package google-document-embedder
36
- * @author Kevin Davis <kev@tnw.org>
37
  * @copyright Copyright 2012 Kevin Davis
38
  * @license http://www.gnu.org/licenses/gpl.txt GPL 2.0
39
  * @link http://www.davistribe.org/gde/
@@ -82,7 +82,7 @@ function gde_gviewer_func($atts) {
82
 
83
  extract(shortcode_atts(array(
84
  'file' => '',
85
- 'display' => $gdeoptions['default_display'],
86
  'save' => $gdeoptions['show_dl'],
87
  'width' => '',
88
  'height' => '',
@@ -90,7 +90,7 @@ function gde_gviewer_func($atts) {
90
  'force' => $gdeoptions['bypass_check'],
91
  'cache' => $gdeoptions['disable_cache'],
92
  'authonly' => $gdeoptions['restrict_dl'],
93
- 'page' => ''
94
  ), $atts));
95
 
96
  // add base url if needed
@@ -170,12 +170,18 @@ HERE;
170
  } else {
171
  $lnk .= "&embedded=true";
172
  }
 
 
 
 
173
  // check for page
 
174
  if (is_numeric($page)) {
175
  // jump to selected page - experimental (works on refresh but not initial page load)
176
  $page = (int) $page-1;
177
  $lnk = $lnk."#:0.page.".$page;
178
  }
 
179
  // hide download link for anonymous users
180
  get_currentuserinfo();
181
  $dlRestrict = $gdeoptions['restrict_dl'];
@@ -195,7 +201,7 @@ HERE;
195
  $dlFile = $pUrl;
196
  $fileParts = parse_url($file);
197
  $fileStr = str_replace($fileParts['scheme']."://","",$file);
198
- $dlFile .= "/pdf.php?file=".$fileStr."&fn=".$fn;
199
  $target = "_self";
200
  $gaTag = 'onclick="var that=this;_gaq.push([\'_trackEvent,\'Download\',\'PDF\',this.href]);setTimeout(function(){location.href=that.href;},200);return false;"';
201
  } elseif ($dlMethod == "default") {
@@ -283,7 +289,7 @@ function gde_metalinks($links, $file) {
283
  global $debug;
284
  $plugin = plugin_basename(__FILE__);
285
  if ($file == $plugin) {
286
- $support_link = '<a href="'.GDE_SUPPORT_URL.'">'.__('Support', 'gde').'</a>';
287
  $links[] = $support_link;
288
  }
289
  return $links;
8
  Author URI: http://www.davistribe.org/
9
  Text Domain: gde
10
  Domain Path: /languages/
11
+ Version: 2.4.3
12
  License: GPLv2
13
  */
14
 
15
+ $gde_ver = "2.4.3.98";
16
 
17
  /**
18
  * LICENSE
33
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34
  *
35
  * @package google-document-embedder
36
+ * @author Kevin Davis <wpp@tnw.org>
37
  * @copyright Copyright 2012 Kevin Davis
38
  * @license http://www.gnu.org/licenses/gpl.txt GPL 2.0
39
  * @link http://www.davistribe.org/gde/
82
 
83
  extract(shortcode_atts(array(
84
  'file' => '',
85
+ //'display' => $gdeoptions['default_display'],
86
  'save' => $gdeoptions['show_dl'],
87
  'width' => '',
88
  'height' => '',
90
  'force' => $gdeoptions['bypass_check'],
91
  'cache' => $gdeoptions['disable_cache'],
92
  'authonly' => $gdeoptions['restrict_dl'],
93
+ 'theme' => ''
94
  ), $atts));
95
 
96
  // add base url if needed
170
  } else {
171
  $lnk .= "&embedded=true";
172
  }
173
+ // check for theme
174
+ if ($theme) {
175
+ $lnk .= "&t=$theme";
176
+ }
177
  // check for page
178
+ /*
179
  if (is_numeric($page)) {
180
  // jump to selected page - experimental (works on refresh but not initial page load)
181
  $page = (int) $page-1;
182
  $lnk = $lnk."#:0.page.".$page;
183
  }
184
+ */
185
  // hide download link for anonymous users
186
  get_currentuserinfo();
187
  $dlRestrict = $gdeoptions['restrict_dl'];
201
  $dlFile = $pUrl;
202
  $fileParts = parse_url($file);
203
  $fileStr = str_replace($fileParts['scheme']."://","",$file);
204
+ $dlFile .= "/libs/pdf.php?file=".$fileStr."&fn=".$fn;
205
  $target = "_self";
206
  $gaTag = 'onclick="var that=this;_gaq.push([\'_trackEvent,\'Download\',\'PDF\',this.href]);setTimeout(function(){location.href=that.href;},200);return false;"';
207
  } elseif ($dlMethod == "default") {
289
  global $debug;
290
  $plugin = plugin_basename(__FILE__);
291
  if ($file == $plugin) {
292
+ $support_link = '<a href="options-general.php?page=gviewer.php&debug=1">'.__('Support', 'gde').'</a>';
293
  $links[] = $support_link;
294
  }
295
  return $links;
img/Thumbs.db DELETED
Binary file
img/done.gif ADDED
Binary file
img/fail.gif ADDED
Binary file
img/in-proc.gif ADDED
Binary file
js/editor_plugin.js CHANGED
@@ -2,9 +2,12 @@
2
  tinymce.PluginManager.requireLangPack('gde');
3
  tinymce.create('tinymce.plugins.gde', {
4
  init : function(ed,url) {
 
 
 
5
  ed.addCommand('gde_cmd', function() {
6
  ed.windowManager.open( {
7
- file : url + '/../gde-dialog.php',
8
  width : 460 + parseInt(ed.getLang('gde.delta_width',0)),
9
  height : 540 + parseInt(ed.getLang('gde.delta_height',0)),
10
  inline : 1}, {
@@ -15,7 +18,7 @@
15
  ed.addButton('gde', {
16
  title : 'Google Doc Embedder',
17
  cmd : 'gde_cmd',
18
- image : url + '/../img/gde-button.png'
19
  });
20
  ed.onNodeChange.add
21
  (function(ed,cm,n) {
@@ -31,7 +34,7 @@
31
  author : 'Kevin Davis',
32
  authorurl : 'http://www.davistribe.org/gde',
33
  infourl : 'http://www.davistribe.org/gde',
34
- version : "1.2"}
35
  }
36
  });
37
  tinymce.PluginManager.add('gde',tinymce.plugins.gde);
2
  tinymce.PluginManager.requireLangPack('gde');
3
  tinymce.create('tinymce.plugins.gde', {
4
  init : function(ed,url) {
5
+ // fix path
6
+ url = url.replace('/js', '');
7
+
8
  ed.addCommand('gde_cmd', function() {
9
  ed.windowManager.open( {
10
+ file : url + '/libs/gde-dialog.php',
11
  width : 460 + parseInt(ed.getLang('gde.delta_width',0)),
12
  height : 540 + parseInt(ed.getLang('gde.delta_height',0)),
13
  inline : 1}, {
18
  ed.addButton('gde', {
19
  title : 'Google Doc Embedder',
20
  cmd : 'gde_cmd',
21
+ image : url + '/img/gde-button.png'
22
  });
23
  ed.onNodeChange.add
24
  (function(ed,cm,n) {
34
  author : 'Kevin Davis',
35
  authorurl : 'http://www.davistribe.org/gde',
36
  infourl : 'http://www.davistribe.org/gde',
37
+ version : "1.3"}
38
  }
39
  });
40
  tinymce.PluginManager.add('gde',tinymce.plugins.gde);
js/gde-jquery.js CHANGED
@@ -58,4 +58,98 @@ jQuery(function ($) {
58
  $("#ed_extend_upload").attr("checked","true");
59
  }
60
 
61
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  $("#ed_extend_upload").attr("checked","true");
59
  }
60
 
61
+ /**
62
+ * Used to handle debug information
63
+ */
64
+ // show/hide debug info
65
+ $("#ta_toggle").click(function() {
66
+ $("#debugblock").toggle();
67
+ });
68
+
69
+ // warn on debug deselection
70
+ $('#senddb').click(function() {
71
+ if (this.checked) {
72
+ $("#debugwarn").hide();
73
+ } else {
74
+ $("#debugwarn").show();
75
+ }
76
+ });
77
+
78
+
79
+ // validate input
80
+ $("#debugsend").click(function() {
81
+ $(".err").hide();
82
+
83
+ var em = $("#sender").val();
84
+ if (em == "" || (!validateEmail('sender')) ) {
85
+ $("#err_email").show();
86
+ $("#sender").focus();
87
+ return false;
88
+ }
89
+
90
+ $("#debugsend").attr("disabled","true");
91
+ $("#debugsend").attr('class', 'button-secondary');
92
+ $("#debugsend").css('outline','none')
93
+ $("#formstatus").show();
94
+ });
95
+
96
+ // submit handler
97
+ $("#debugForm").submit(function(event) {
98
+
99
+ // stop normal form submission
100
+ event.preventDefault();
101
+
102
+ // get form data
103
+ var $form = $(this),
104
+ url = $form.attr("action"),
105
+ name = $form.find("#name").val(),
106
+ debug = $form.find("#debugtxt").val(),
107
+ email = $form.find("#sender").val(),
108
+ sc = $form.find("#sc").val(),
109
+ msg = $form.find("#msg").val();
110
+
111
+ // check for debug info
112
+ if ($('#senddb').is(':checked')) {
113
+ var senddb = debug;
114
+ } else {
115
+ var senddb = '';
116
+ }
117
+
118
+ // check for cc
119
+ if ($('#cc').is(':checked')) {
120
+ var sendcc = "yes";
121
+ } else {
122
+ var sendcc = "no";
123
+ }
124
+
125
+ // post the data
126
+ $.post(url, {
127
+ name: name,
128
+ email: email,
129
+ sc: sc,
130
+ msg: msg,
131
+ senddb: senddb,
132
+ cc: sendcc
133
+ }, function(data) {
134
+ if (data == "success") {
135
+ var notice = $("#formstatus").html();
136
+ notice = notice.replace('in-proc.gif', 'done.gif');
137
+ $("#formstatus").empty().append(notice);
138
+ } else {
139
+ var notice = $("#formstatus").html();
140
+ notice = notice.replace('in-proc.gif', 'fail.gif');
141
+ $("#formstatus").empty().append(notice);
142
+ }
143
+ });
144
+ });
145
+ });
146
+
147
+ function validateEmail(txtEmail){
148
+ var a = document.getElementById(txtEmail).value;
149
+ var filter = /^((\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*?)\s*;?\s*)+/;
150
+ if (filter.test(a)) {
151
+ return true;
152
+ } else {
153
+ return false;
154
+ }
155
+ }
languages/gde-en_US.mo CHANGED
Binary file
languages/gde-en_US.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-05-03 12:40-0600\n"
6
- "PO-Revision-Date: 2012-05-03 12:45-0600\n"
7
  "Last-Translator: Kevin Davis <kev@tnw.org>\n"
8
  "Language-Team: Kevin Davis <kev@tnw.org>\n"
9
  "MIME-Version: 1.0\n"
@@ -12,166 +12,128 @@ msgstr ""
12
  "X-Poedit-KeywordsList: _e;__\n"
13
  "X-Poedit-Language: English\n"
14
  "X-Poedit-Country: UNITED STATES\n"
15
- "X-Poedit-Basepath: .\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: bootstrap.php:12
19
- msgid "Could not find wp-load.php"
20
- msgstr ""
21
-
22
- #: gde-dialog.php:34
23
- msgid "I'll insert the shortcode myself"
24
- msgstr ""
25
-
26
- #: gde-dialog.php:36
27
- msgid "GDE Shortcode Options"
28
- msgstr ""
29
-
30
- #: gde-dialog.php:40
31
- msgid "Required"
32
  msgstr ""
33
 
34
- #: gde-dialog.php:43
35
- msgid "URL or Filename"
 
36
  msgstr ""
37
 
38
- #: gde-dialog.php:43
39
- msgid "Full URL or filename to append to File Base URL"
40
  msgstr ""
41
 
42
- #: gde-dialog.php:45
43
- msgid "File Base URL will be prefixed"
44
  msgstr ""
45
 
46
- #: gde-dialog.php:46
47
- msgid "Unsupported file type"
48
  msgstr ""
49
 
50
- #: gde-dialog.php:54
51
- msgid "Optional (Override Global Settings)"
52
  msgstr ""
53
 
54
- #: gde-dialog.php:57
55
- #: options.php:171
56
- msgid "Height"
57
  msgstr ""
58
 
59
- #: gde-dialog.php:57
60
- #: gde-dialog.php:61
61
- msgid "format:"
62
  msgstr ""
63
 
64
- #: gde-dialog.php:57
65
- #: gde-dialog.php:61
66
- msgid "or"
67
  msgstr ""
68
 
69
- #: gde-dialog.php:61
70
- #: options.php:167
71
- msgid "Width"
72
  msgstr ""
73
 
74
- #: gde-dialog.php:65
75
- msgid "Show Download Link"
76
  msgstr ""
77
 
78
- #: gde-dialog.php:66
79
- msgid "Yes"
80
  msgstr ""
81
 
82
- #: gde-dialog.php:66
83
- msgid "No"
84
  msgstr ""
85
 
86
- #: gde-dialog.php:71
87
- msgid "Show download link only if user is logged in"
88
  msgstr ""
89
 
90
- #: gde-dialog.php:77
91
- msgid "Disable caching (this document is frequently overwritten)"
92
  msgstr ""
93
 
94
- #: gde-dialog.php:84
95
- msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
96
- msgstr ""
97
-
98
- #: gde-dialog.php:94
99
- msgid "Shortcode Preview"
100
- msgstr ""
101
-
102
- #: gde-dialog.php:103
103
- msgid "Insert"
104
- msgstr ""
105
-
106
- #: gde-dialog.php:107
107
- msgid "Cancel"
108
  msgstr ""
109
 
110
- #: gde-functions.php:31
111
- msgid "Download"
112
  msgstr ""
113
 
114
- #: gde-functions.php:338
115
- msgid "Debug Information"
116
- msgstr ""
117
-
118
- #: gde-functions.php:365
119
- msgid ""
120
- "Copy and paste this information into an email to <a href=\"mailto:kev@tnw.org\">the author</a> to\n"
121
- "assist in troubleshooting problems. Remove or anonymize any information you do not wish to share."
122
  msgstr ""
123
 
124
  #: gviewer.php:137
125
  msgid "Error"
126
  msgstr ""
127
 
128
- #: gviewer.php:262
129
- #: gviewer.php:278
130
  #: options.php:130
131
  msgid "Settings"
132
  msgstr ""
133
 
134
- #: gviewer.php:269
135
  msgid "You do not have sufficient permissions to access this page"
136
  msgstr ""
137
 
138
- #: gviewer.php:286
139
- msgid "Support"
140
- msgstr ""
141
-
142
- #: gviewer.php:299
143
  msgid "Beta version available"
144
  msgstr ""
145
 
146
- #: gviewer.php:299
147
  msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
148
  msgstr ""
149
 
150
- #: gviewer.php:300
151
  msgid "Updated beta version available"
152
  msgstr ""
153
 
154
- #: gviewer.php:300
155
  msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
156
  msgstr ""
157
 
158
- #: gviewer.php:301
159
  msgid "You're running a beta version. Please give feedback."
160
  msgstr ""
161
 
162
- #: gviewer.php:301
163
  msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
164
  msgstr ""
165
 
166
- #: gviewer.php:302
167
  msgid "more info"
168
  msgstr ""
169
 
170
- #: gviewer.php:369
171
  msgid "plugin"
172
  msgstr ""
173
 
174
- #: gviewer.php:370
175
  msgid "Version"
176
  msgstr ""
177
 
@@ -233,6 +195,16 @@ msgstr ""
233
  msgid "Default Size"
234
  msgstr ""
235
 
 
 
 
 
 
 
 
 
 
 
236
  #: options.php:177
237
  msgid "Default Language"
238
  msgstr ""
@@ -349,31 +321,27 @@ msgstr ""
349
  msgid "Disable beta version notifications"
350
  msgstr ""
351
 
352
- #: options.php:309
353
- msgid "View Debug Information"
354
- msgstr ""
355
-
356
- #: options.php:312
357
  msgid "Disable all editor integration"
358
  msgstr ""
359
 
360
- #: options.php:317
361
  msgid "Insert shortcode from Media Library"
362
  msgstr ""
363
 
364
- #: options.php:319
365
  msgid "Allow uploads of all supported media types"
366
  msgstr ""
367
 
368
- #: options.php:329
369
  msgid "Save Options"
370
  msgstr ""
371
 
372
- #: options.php:331
373
  msgid "Reset to Defaults"
374
  msgstr ""
375
 
376
- #: options.php:331
377
  msgid "Are you sure you want to reset all settings to defaults?"
378
  msgstr ""
379
 
@@ -384,3 +352,85 @@ msgid ""
384
  "\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
385
  msgstr ""
386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-05-25 10:15-0600\n"
6
+ "PO-Revision-Date: 2012-05-25 10:16-0600\n"
7
  "Last-Translator: Kevin Davis <kev@tnw.org>\n"
8
  "Language-Team: Kevin Davis <kev@tnw.org>\n"
9
  "MIME-Version: 1.0\n"
12
  "X-Poedit-KeywordsList: _e;__\n"
13
  "X-Poedit-Language: English\n"
14
  "X-Poedit-Country: UNITED STATES\n"
 
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
+ #: gde-functions.php:32
18
+ msgid "Download"
 
 
 
 
 
 
 
 
 
 
 
 
19
  msgstr ""
20
 
21
+ #: gde-functions.php:344
22
+ #: gviewer.php:292
23
+ msgid "Support"
24
  msgstr ""
25
 
26
+ #: gde-functions.php:346
27
+ msgid "Please review the documentation before submitting a request for support:"
28
  msgstr ""
29
 
30
+ #: gde-functions.php:349
31
+ msgid "Plugin FAQ"
32
  msgstr ""
33
 
34
+ #: gde-functions.php:350
35
+ msgid "Support Forum"
36
  msgstr ""
37
 
38
+ #: gde-functions.php:353
39
+ msgid "If you're still experiencing a problem, please complete the form below."
40
  msgstr ""
41
 
42
+ #: gde-functions.php:359
43
+ msgid "Your Name"
 
44
  msgstr ""
45
 
46
+ #: gde-functions.php:363
47
+ msgid "Your E-mail"
 
48
  msgstr ""
49
 
50
+ #: gde-functions.php:369
51
+ msgid "Shortcode"
 
52
  msgstr ""
53
 
54
+ #: gde-functions.php:371
55
+ msgid "If you're having a problem getting a specific document to work, paste the shortcode you're trying to use here."
 
56
  msgstr ""
57
 
58
+ #: gde-functions.php:376
59
+ msgid "Message"
60
  msgstr ""
61
 
62
+ #: gde-functions.php:381
63
+ msgid "Message Options"
64
  msgstr ""
65
 
66
+ #: gde-functions.php:383
67
+ msgid "Send debug information"
68
  msgstr ""
69
 
70
+ #: gde-functions.php:384
71
+ msgid "View"
72
  msgstr ""
73
 
74
+ #: gde-functions.php:385
75
+ msgid "Send me a copy"
76
  msgstr ""
77
 
78
+ #: gde-functions.php:391
79
+ msgid "Debug Information"
 
 
 
 
 
 
 
 
 
 
 
 
80
  msgstr ""
81
 
82
+ #: gde-functions.php:430
83
+ msgid "I'm less likely to be able to help you if you do not include debug information."
84
  msgstr ""
85
 
86
+ #: gde-functions.php:432
87
+ msgid "Send Support Request"
 
 
 
 
 
 
88
  msgstr ""
89
 
90
  #: gviewer.php:137
91
  msgid "Error"
92
  msgstr ""
93
 
94
+ #: gviewer.php:268
95
+ #: gviewer.php:284
96
  #: options.php:130
97
  msgid "Settings"
98
  msgstr ""
99
 
100
+ #: gviewer.php:275
101
  msgid "You do not have sufficient permissions to access this page"
102
  msgstr ""
103
 
104
+ #: gviewer.php:305
 
 
 
 
105
  msgid "Beta version available"
106
  msgstr ""
107
 
108
+ #: gviewer.php:305
109
  msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
110
  msgstr ""
111
 
112
+ #: gviewer.php:306
113
  msgid "Updated beta version available"
114
  msgstr ""
115
 
116
+ #: gviewer.php:306
117
  msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
118
  msgstr ""
119
 
120
+ #: gviewer.php:307
121
  msgid "You're running a beta version. Please give feedback."
122
  msgstr ""
123
 
124
+ #: gviewer.php:307
125
  msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
126
  msgstr ""
127
 
128
+ #: gviewer.php:308
129
  msgid "more info"
130
  msgstr ""
131
 
132
+ #: gviewer.php:375
133
  msgid "plugin"
134
  msgstr ""
135
 
136
+ #: gviewer.php:376
137
  msgid "Version"
138
  msgstr ""
139
 
195
  msgid "Default Size"
196
  msgstr ""
197
 
198
+ #: options.php:167
199
+ #: libs/gde-dialog.php:61
200
+ msgid "Width"
201
+ msgstr ""
202
+
203
+ #: options.php:171
204
+ #: libs/gde-dialog.php:57
205
+ msgid "Height"
206
+ msgstr ""
207
+
208
  #: options.php:177
209
  msgid "Default Language"
210
  msgstr ""
321
  msgid "Disable beta version notifications"
322
  msgstr ""
323
 
324
+ #: options.php:311
 
 
 
 
325
  msgid "Disable all editor integration"
326
  msgstr ""
327
 
328
+ #: options.php:316
329
  msgid "Insert shortcode from Media Library"
330
  msgstr ""
331
 
332
+ #: options.php:318
333
  msgid "Allow uploads of all supported media types"
334
  msgstr ""
335
 
336
+ #: options.php:328
337
  msgid "Save Options"
338
  msgstr ""
339
 
340
+ #: options.php:330
341
  msgid "Reset to Defaults"
342
  msgstr ""
343
 
344
+ #: options.php:330
345
  msgid "Are you sure you want to reset all settings to defaults?"
346
  msgstr ""
347
 
352
  "\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
353
  msgstr ""
354
 
355
+ #: libs/bootstrap.php:15
356
+ msgid "Could not find wp-load.php"
357
+ msgstr ""
358
+
359
+ #: libs/gde-dialog.php:34
360
+ msgid "I'll insert the shortcode myself"
361
+ msgstr ""
362
+
363
+ #: libs/gde-dialog.php:36
364
+ msgid "GDE Shortcode Options"
365
+ msgstr ""
366
+
367
+ #: libs/gde-dialog.php:40
368
+ msgid "Required"
369
+ msgstr ""
370
+
371
+ #: libs/gde-dialog.php:43
372
+ msgid "URL or Filename"
373
+ msgstr ""
374
+
375
+ #: libs/gde-dialog.php:43
376
+ msgid "Full URL or filename to append to File Base URL"
377
+ msgstr ""
378
+
379
+ #: libs/gde-dialog.php:45
380
+ msgid "File Base URL will be prefixed"
381
+ msgstr ""
382
+
383
+ #: libs/gde-dialog.php:46
384
+ msgid "Unsupported file type"
385
+ msgstr ""
386
+
387
+ #: libs/gde-dialog.php:54
388
+ msgid "Optional (Override Global Settings)"
389
+ msgstr ""
390
+
391
+ #: libs/gde-dialog.php:57
392
+ #: libs/gde-dialog.php:61
393
+ msgid "format:"
394
+ msgstr ""
395
+
396
+ #: libs/gde-dialog.php:57
397
+ #: libs/gde-dialog.php:61
398
+ msgid "or"
399
+ msgstr ""
400
+
401
+ #: libs/gde-dialog.php:65
402
+ msgid "Show Download Link"
403
+ msgstr ""
404
+
405
+ #: libs/gde-dialog.php:66
406
+ msgid "Yes"
407
+ msgstr ""
408
+
409
+ #: libs/gde-dialog.php:66
410
+ msgid "No"
411
+ msgstr ""
412
+
413
+ #: libs/gde-dialog.php:71
414
+ msgid "Show download link only if user is logged in"
415
+ msgstr ""
416
+
417
+ #: libs/gde-dialog.php:77
418
+ msgid "Disable caching (this document is frequently overwritten)"
419
+ msgstr ""
420
+
421
+ #: libs/gde-dialog.php:84
422
+ msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
423
+ msgstr ""
424
+
425
+ #: libs/gde-dialog.php:94
426
+ msgid "Shortcode Preview"
427
+ msgstr ""
428
+
429
+ #: libs/gde-dialog.php:103
430
+ msgid "Insert"
431
+ msgstr ""
432
+
433
+ #: libs/gde-dialog.php:107
434
+ msgid "Cancel"
435
+ msgstr ""
436
+
languages/gde-es_ES.mo CHANGED
Binary file
languages/gde-es_ES.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder en español\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-05-04 08:17+0100\n"
6
- "PO-Revision-Date: 2012-05-04 08:27+0100\n"
7
- "Last-Translator: Eduardo Larequi <elarequi@gmail.com>\n"
8
  "Language-Team: PNTE <blogs@educacion.navarra.es>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -16,165 +16,126 @@ msgstr ""
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
- #: bootstrap.php:12
20
- msgid "Could not find wp-load.php"
21
- msgstr "No se ha podido encontrar wp-load.php"
22
-
23
- #: gde-dialog.php:34
24
- msgid "I'll insert the shortcode myself"
25
- msgstr "Insertaré el shortcode por mí mismo"
26
-
27
- #: gde-dialog.php:36
28
- msgid "GDE Shortcode Options"
29
- msgstr "Opciones de los shortcodes de GDE"
30
-
31
- #: gde-dialog.php:40
32
- msgid "Required"
33
- msgstr "Obligatorio"
34
-
35
- #: gde-dialog.php:43
36
- msgid "URL or Filename"
37
- msgstr "URL o nombre del fichero"
38
-
39
- #: gde-dialog.php:43
40
- msgid "Full URL or filename to append to File Base URL"
41
- msgstr "URL completa o nombre del fichero para añadirlo a la URL base de los ficheros"
42
-
43
- #: gde-dialog.php:45
44
- msgid "File Base URL will be prefixed"
45
- msgstr "La URL base que se añadirá como prefijo a los ficheros"
46
-
47
- #: gde-dialog.php:46
48
- msgid "Unsupported file type"
49
- msgstr "Tipo de fichero no soportado"
50
-
51
- #: gde-dialog.php:54
52
- msgid "Optional (Override Global Settings)"
53
- msgstr "Valores opcionales (sobrescriben la configuración global)"
54
 
55
- #: gde-dialog.php:57
56
- #: options.php:171
57
- msgid "Height"
58
- msgstr "Altura"
59
 
60
- #: gde-dialog.php:57
61
- #: gde-dialog.php:61
62
- msgid "format:"
63
- msgstr "formato:"
64
 
65
- #: gde-dialog.php:57
66
- #: gde-dialog.php:61
67
- msgid "or"
68
- msgstr "o"
69
 
70
- #: gde-dialog.php:61
71
- #: options.php:167
72
- msgid "Width"
73
- msgstr "Anchura"
74
 
75
- #: gde-dialog.php:65
76
- msgid "Show Download Link"
77
- msgstr "Mostrar enlace de descarga"
78
 
79
- #: gde-dialog.php:66
80
- msgid "Yes"
81
- msgstr ""
82
 
83
- #: gde-dialog.php:66
84
- msgid "No"
85
- msgstr "No"
86
 
87
- #: gde-dialog.php:71
88
- msgid "Show download link only if user is logged in"
89
- msgstr "Mostrar el enlace de descarga solo si el usuario ha iniciado sesión"
90
 
91
- #: gde-dialog.php:77
92
- msgid "Disable caching (this document is frequently overwritten)"
93
- msgstr "Desactivar el cacheo (adecuado para documentos que se sobrescriben con frecuencia)"
94
 
95
- #: gde-dialog.php:84
96
- msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
97
- msgstr "Desactivar la comprobación interna de errores (prueba con esta opción si has comprobado que la URL es correcta pero el documento no se muestra)"
98
 
99
- #: gde-dialog.php:94
100
- msgid "Shortcode Preview"
101
- msgstr "Vista previa del shortcode"
102
 
103
- #: gde-dialog.php:103
104
- msgid "Insert"
105
- msgstr "Insertar"
106
 
107
- #: gde-dialog.php:107
108
- msgid "Cancel"
109
- msgstr "Cancelar"
110
 
111
- #: gde-functions.php:31
112
- msgid "Download"
113
- msgstr "Descargar"
114
 
115
- #: gde-functions.php:338
116
  msgid "Debug Information"
117
  msgstr "Información de depuración"
118
 
119
- #: gde-functions.php:365
120
- msgid ""
121
- "Copy and paste this information into an email to <a href=\"mailto:kev@tnw.org\">the author</a> to\n"
122
- "assist in troubleshooting problems. Remove or anonymize any information you do not wish to share."
123
- msgstr ""
124
- "Copia y pega esta información en un email y envíalo al <a href=\"mailto:kev@tnw.org\">autor del plugin</a> para\n"
125
- "que te ayude a solucionar los problemas que puedas tener. Si lo deseas, elimina cualquier información que no quieras difundir."
126
 
127
  #: gviewer.php:137
128
  msgid "Error"
129
  msgstr "Error"
130
 
131
- #: gviewer.php:262
132
- #: gviewer.php:278
133
  #: options.php:130
134
  msgid "Settings"
135
- msgstr "Configuración"
136
 
137
- #: gviewer.php:269
138
  msgid "You do not have sufficient permissions to access this page"
139
  msgstr "No tienes suficientes permisos para acceder a esta página"
140
 
141
- #: gviewer.php:286
142
- msgid "Support"
143
- msgstr "Soporte"
144
-
145
- #: gviewer.php:299
146
  msgid "Beta version available"
147
  msgstr "Versión beta disponible"
148
 
149
- #: gviewer.php:299
150
  msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
151
  msgstr "Si quieres participar, por favor, desactiva el plugin e instala la versión actual. Si no quieres, puedes desactivar la versión beta marcando la correspondiente casilla en la página de configuración del plugin."
152
 
153
- #: gviewer.php:300
154
  msgid "Updated beta version available"
155
  msgstr "Versión beta actualizada disponible"
156
 
157
- #: gviewer.php:300
158
  msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
159
  msgstr "Se ha publicado una versión beta más reciente. Por favor, desactiva el plugin e instala la versión actual. ¡Gracias por tu ayuda!"
160
 
161
- #: gviewer.php:301
162
  msgid "You're running a beta version. Please give feedback."
163
  msgstr "Estás utilizando una versión beta. Por favor, envía información."
164
 
165
- #: gviewer.php:301
166
  msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
167
  msgstr "Gracias por utilizar esta versión de prueba de Google Doc Embedder. Estás utilizando la versión beta más actualizada. Por favor, envía información sobre está versión mediante el enlace de &quot;Soportet&quot; que tienes sobre estas líneas. Gracias por tu ayuda."
168
 
169
- #: gviewer.php:302
170
  msgid "more info"
171
  msgstr "más información"
172
 
173
- #: gviewer.php:369
174
  msgid "plugin"
175
  msgstr "plugin"
176
 
177
- #: gviewer.php:370
178
  msgid "Version"
179
  msgstr "Versión"
180
 
@@ -236,6 +197,16 @@ msgstr "Siempre utilizar el tema para dispositivos móviles"
236
  msgid "Default Size"
237
  msgstr "Tamaño por defecto"
238
 
 
 
 
 
 
 
 
 
 
 
239
  #: options.php:177
240
  msgid "Default Language"
241
  msgstr "Idioma por defecto"
@@ -352,31 +323,27 @@ msgstr "Desactivar el cacheo de documentos"
352
  msgid "Disable beta version notifications"
353
  msgstr "Desactivar las notificaciones de versiones beta"
354
 
355
- #: options.php:309
356
- msgid "View Debug Information"
357
- msgstr "Ver información de depuración"
358
-
359
- #: options.php:312
360
  msgid "Disable all editor integration"
361
  msgstr "Desactivar la integración con los editores"
362
 
363
- #: options.php:317
364
  msgid "Insert shortcode from Media Library"
365
  msgstr "Insertar shortcodes desde la librería multimedia"
366
 
367
- #: options.php:319
368
  msgid "Allow uploads of all supported media types"
369
  msgstr "Permitir subidas de todos los tipos de multimedia soportados"
370
 
371
- #: options.php:329
372
  msgid "Save Options"
373
  msgstr "Guardar opciones"
374
 
375
- #: options.php:331
376
  msgid "Reset to Defaults"
377
  msgstr "Volver a la configuración por defecto"
378
 
379
- #: options.php:331
380
  msgid "Are you sure you want to reset all settings to defaults?"
381
  msgstr "¿Estás seguro de que quieres volver a la configuración por defecto?"
382
 
@@ -389,14 +356,95 @@ msgstr ""
389
  "Esta función no está soportada en tu servidor web, Por favor, añade n\t\t\t<code>allow_url_fopen = 1</code> al fichero php.ini o activa la librería cURL.\n"
390
  "\t\t\tSi no puedes hacer esto por tus propios medios, por favor selecciona la opción Visor estándar de Google en la página de opciones del plugin."
391
 
392
- #~ msgid "Google Doc Embedder"
393
- #~ msgstr "Google Doc Embedder"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
 
395
- #~ msgid "(format: 40% or 300px)"
396
- #~ msgstr "(formato: 40% o 300 píxels, por ejemplo)"
 
 
397
 
398
- #~ msgid "Google Doc Embedder Settings"
399
- #~ msgstr "Configuración del plugin Google Doc Embedder"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
400
 
401
- #~ msgid "Hide Toolbar Buttons"
402
- #~ msgstr "Ocultar los botones de la barra de herramientas"
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder en español\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-05-28 19:04+0100\n"
6
+ "PO-Revision-Date: 2012-05-28 19:23+0100\n"
7
+ "Last-Translator: Eduardo Larequi García <elarequi@gmail.com>\n"
8
  "Language-Team: PNTE <blogs@educacion.navarra.es>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
+ #: gde-functions.php:32
20
+ msgid "Download"
21
+ msgstr "Descargar"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
+ #: gde-functions.php:344
24
+ #: gviewer.php:292
25
+ msgid "Support"
26
+ msgstr "Soporte"
27
 
28
+ #: gde-functions.php:346
29
+ msgid "Please review the documentation before submitting a request for support:"
30
+ msgstr "Por favor, revisa la documentación antes de enviar una solicitud de soporte:"
 
31
 
32
+ #: gde-functions.php:349
33
+ msgid "Plugin FAQ"
34
+ msgstr "FAQ del plugin"
 
35
 
36
+ #: gde-functions.php:350
37
+ msgid "Support Forum"
38
+ msgstr "Foro de soporte"
 
39
 
40
+ #: gde-functions.php:353
41
+ msgid "If you're still experiencing a problem, please complete the form below."
42
+ msgstr "Si todavía experimentas algún problema, por favor completa el formulario que tienes a continuación."
43
 
44
+ #: gde-functions.php:359
45
+ msgid "Your Name"
46
+ msgstr "Tu nombre"
47
 
48
+ #: gde-functions.php:363
49
+ msgid "Your E-mail"
50
+ msgstr "Tu email"
51
 
52
+ #: gde-functions.php:369
53
+ msgid "Shortcode"
54
+ msgstr "Shortcode"
55
 
56
+ #: gde-functions.php:371
57
+ msgid "If you're having a problem getting a specific document to work, paste the shortcode you're trying to use here."
58
+ msgstr "Si tienes problemas para conseguir que funcione un documento específico, pega aquí el shortcode que estás utilizando."
59
 
60
+ #: gde-functions.php:376
61
+ msgid "Message"
62
+ msgstr "Mensaje"
63
 
64
+ #: gde-functions.php:381
65
+ msgid "Message Options"
66
+ msgstr "Opciones del mensaje"
67
 
68
+ #: gde-functions.php:383
69
+ msgid "Send debug information"
70
+ msgstr "Enviar información de depuración"
71
 
72
+ #: gde-functions.php:384
73
+ msgid "View"
74
+ msgstr "Ver"
75
 
76
+ #: gde-functions.php:385
77
+ msgid "Send me a copy"
78
+ msgstr "Enviarme una copia"
79
 
80
+ #: gde-functions.php:391
81
  msgid "Debug Information"
82
  msgstr "Información de depuración"
83
 
84
+ #: gde-functions.php:430
85
+ msgid "I'm less likely to be able to help you if you do not include debug information."
86
+ msgstr "Si no incluyes la información de depuración, es menos probable que pueda ayudarte."
87
+
88
+ #: gde-functions.php:432
89
+ msgid "Send Support Request"
90
+ msgstr "Enviar solicitud de soporte"
91
 
92
  #: gviewer.php:137
93
  msgid "Error"
94
  msgstr "Error"
95
 
96
+ #: gviewer.php:268
97
+ #: gviewer.php:284
98
  #: options.php:130
99
  msgid "Settings"
100
+ msgstr "- Configuración"
101
 
102
+ #: gviewer.php:275
103
  msgid "You do not have sufficient permissions to access this page"
104
  msgstr "No tienes suficientes permisos para acceder a esta página"
105
 
106
+ #: gviewer.php:305
 
 
 
 
107
  msgid "Beta version available"
108
  msgstr "Versión beta disponible"
109
 
110
+ #: gviewer.php:305
111
  msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
112
  msgstr "Si quieres participar, por favor, desactiva el plugin e instala la versión actual. Si no quieres, puedes desactivar la versión beta marcando la correspondiente casilla en la página de configuración del plugin."
113
 
114
+ #: gviewer.php:306
115
  msgid "Updated beta version available"
116
  msgstr "Versión beta actualizada disponible"
117
 
118
+ #: gviewer.php:306
119
  msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
120
  msgstr "Se ha publicado una versión beta más reciente. Por favor, desactiva el plugin e instala la versión actual. ¡Gracias por tu ayuda!"
121
 
122
+ #: gviewer.php:307
123
  msgid "You're running a beta version. Please give feedback."
124
  msgstr "Estás utilizando una versión beta. Por favor, envía información."
125
 
126
+ #: gviewer.php:307
127
  msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
128
  msgstr "Gracias por utilizar esta versión de prueba de Google Doc Embedder. Estás utilizando la versión beta más actualizada. Por favor, envía información sobre está versión mediante el enlace de &quot;Soportet&quot; que tienes sobre estas líneas. Gracias por tu ayuda."
129
 
130
+ #: gviewer.php:308
131
  msgid "more info"
132
  msgstr "más información"
133
 
134
+ #: gviewer.php:375
135
  msgid "plugin"
136
  msgstr "plugin"
137
 
138
+ #: gviewer.php:376
139
  msgid "Version"
140
  msgstr "Versión"
141
 
197
  msgid "Default Size"
198
  msgstr "Tamaño por defecto"
199
 
200
+ #: options.php:167
201
+ #: libs/gde-dialog.php:61
202
+ msgid "Width"
203
+ msgstr "Anchura"
204
+
205
+ #: options.php:171
206
+ #: libs/gde-dialog.php:57
207
+ msgid "Height"
208
+ msgstr "Altura"
209
+
210
  #: options.php:177
211
  msgid "Default Language"
212
  msgstr "Idioma por defecto"
323
  msgid "Disable beta version notifications"
324
  msgstr "Desactivar las notificaciones de versiones beta"
325
 
326
+ #: options.php:311
 
 
 
 
327
  msgid "Disable all editor integration"
328
  msgstr "Desactivar la integración con los editores"
329
 
330
+ #: options.php:316
331
  msgid "Insert shortcode from Media Library"
332
  msgstr "Insertar shortcodes desde la librería multimedia"
333
 
334
+ #: options.php:318
335
  msgid "Allow uploads of all supported media types"
336
  msgstr "Permitir subidas de todos los tipos de multimedia soportados"
337
 
338
+ #: options.php:328
339
  msgid "Save Options"
340
  msgstr "Guardar opciones"
341
 
342
+ #: options.php:330
343
  msgid "Reset to Defaults"
344
  msgstr "Volver a la configuración por defecto"
345
 
346
+ #: options.php:330
347
  msgid "Are you sure you want to reset all settings to defaults?"
348
  msgstr "¿Estás seguro de que quieres volver a la configuración por defecto?"
349
 
356
  "Esta función no está soportada en tu servidor web, Por favor, añade n\t\t\t<code>allow_url_fopen = 1</code> al fichero php.ini o activa la librería cURL.\n"
357
  "\t\t\tSi no puedes hacer esto por tus propios medios, por favor selecciona la opción Visor estándar de Google en la página de opciones del plugin."
358
 
359
+ #: libs/bootstrap.php:15
360
+ msgid "Could not find wp-load.php"
361
+ msgstr "No se ha podido encontrar wp-load.php"
362
+
363
+ #: libs/gde-dialog.php:34
364
+ msgid "I'll insert the shortcode myself"
365
+ msgstr "Insertaré el shortcode por mí mismo"
366
+
367
+ #: libs/gde-dialog.php:36
368
+ msgid "GDE Shortcode Options"
369
+ msgstr "Opciones de los shortcodes de GDE"
370
+
371
+ #: libs/gde-dialog.php:40
372
+ msgid "Required"
373
+ msgstr "Obligatorio"
374
+
375
+ #: libs/gde-dialog.php:43
376
+ msgid "URL or Filename"
377
+ msgstr "URL o nombre del fichero"
378
+
379
+ #: libs/gde-dialog.php:43
380
+ msgid "Full URL or filename to append to File Base URL"
381
+ msgstr "URL completa o nombre del fichero para añadirlo a la URL base de los ficheros"
382
+
383
+ #: libs/gde-dialog.php:45
384
+ msgid "File Base URL will be prefixed"
385
+ msgstr "La URL base que se añadirá como prefijo a los ficheros"
386
+
387
+ #: libs/gde-dialog.php:46
388
+ msgid "Unsupported file type"
389
+ msgstr "Tipo de fichero no soportado"
390
+
391
+ #: libs/gde-dialog.php:54
392
+ msgid "Optional (Override Global Settings)"
393
+ msgstr "Valores opcionales (sobrescriben la configuración global)"
394
 
395
+ #: libs/gde-dialog.php:57
396
+ #: libs/gde-dialog.php:61
397
+ msgid "format:"
398
+ msgstr "formato:"
399
 
400
+ #: libs/gde-dialog.php:57
401
+ #: libs/gde-dialog.php:61
402
+ msgid "or"
403
+ msgstr "o"
404
+
405
+ #: libs/gde-dialog.php:65
406
+ msgid "Show Download Link"
407
+ msgstr "Mostrar enlace de descarga"
408
+
409
+ #: libs/gde-dialog.php:66
410
+ msgid "Yes"
411
+ msgstr "Sí"
412
+
413
+ #: libs/gde-dialog.php:66
414
+ msgid "No"
415
+ msgstr "No"
416
+
417
+ #: libs/gde-dialog.php:71
418
+ msgid "Show download link only if user is logged in"
419
+ msgstr "Mostrar el enlace de descarga solo si el usuario ha iniciado sesión"
420
+
421
+ #: libs/gde-dialog.php:77
422
+ msgid "Disable caching (this document is frequently overwritten)"
423
+ msgstr "Desactivar el cacheo (adecuado para documentos que se sobrescriben con frecuencia)"
424
+
425
+ #: libs/gde-dialog.php:84
426
+ msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
427
+ msgstr "Desactivar la comprobación interna de errores (prueba con esta opción si has comprobado que la URL es correcta pero el documento no se muestra)"
428
+
429
+ #: libs/gde-dialog.php:94
430
+ msgid "Shortcode Preview"
431
+ msgstr "Vista previa del shortcode"
432
+
433
+ #: libs/gde-dialog.php:103
434
+ msgid "Insert"
435
+ msgstr "Insertar"
436
+
437
+ #: libs/gde-dialog.php:107
438
+ msgid "Cancel"
439
+ msgstr "Cancelar"
440
 
441
+ #~ msgid ""
442
+ #~ "Copy and paste this information into an email to <a href=\"mailto:kev@tnw."
443
+ #~ "org\">the author</a> to\n"
444
+ #~ "assist in troubleshooting problems. Remove or anonymize any information "
445
+ #~ "you do not wish to share."
446
+ #~ msgstr ""
447
+ #~ "Copia y pega esta información en un email y envíalo al <a href=\"mailto:"
448
+ #~ "kev@tnw.org\">autor del plugin</a> para\n"
449
+ #~ "que te ayude a solucionar los problemas que puedas tener. Si lo deseas, "
450
+ #~ "elimina cualquier información que no quieras difundir."
languages/gde-tr_TR.mo ADDED
Binary file
languages/gde-tr_TR.po ADDED
@@ -0,0 +1,439 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Google Doc Embedder\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-05-25 10:14-0600\n"
6
+ "PO-Revision-Date: 2012-05-30 17:01+0200\n"
7
+ "Last-Translator: LettoBlog <support@lettoblog.com>\n"
8
+ "Language-Team: LettoBlog Türkiye <support@lettoblog.com>\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-Country: TURKEY\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SearchPath-0: .\n"
16
+
17
+ #: gde-functions.php:32
18
+ msgid "Download"
19
+ msgstr "İndir"
20
+
21
+ #: gde-functions.php:344
22
+ #: gviewer.php:292
23
+ msgid "Support"
24
+ msgstr "Destek"
25
+
26
+ #: gde-functions.php:346
27
+ msgid "Please review the documentation before submitting a request for support:"
28
+ msgstr "Lütfen destek isteği göndermeden önce, dökümantasyonu gözden geçirin:"
29
+
30
+ #: gde-functions.php:349
31
+ msgid "Plugin FAQ"
32
+ msgstr "Eklenti SSS"
33
+
34
+ #: gde-functions.php:350
35
+ msgid "Support Forum"
36
+ msgstr "Destek Forumu"
37
+
38
+ #: gde-functions.php:353
39
+ msgid "If you're still experiencing a problem, please complete the form below."
40
+ msgstr "Probleminiz hala devam ediyorsa, lütfen aşağıdaki formu doldurunuz."
41
+
42
+ #: gde-functions.php:359
43
+ msgid "Your Name"
44
+ msgstr "Adınız"
45
+
46
+ #: gde-functions.php:363
47
+ msgid "Your E-mail"
48
+ msgstr "E-posta Adresiniz"
49
+
50
+ #: gde-functions.php:369
51
+ msgid "Shortcode"
52
+ msgstr "Kısakod"
53
+
54
+ #: gde-functions.php:371
55
+ msgid "If you're having a problem getting a specific document to work, paste the shortcode you're trying to use here."
56
+ msgstr "Eğer özel bir döküman türünde çalışıyorsanız, kısakodu buraya yapıştırınız ve burda kullanmayı deneyiniz."
57
+
58
+ #: gde-functions.php:376
59
+ msgid "Message"
60
+ msgstr "Mesaj"
61
+
62
+ #: gde-functions.php:381
63
+ msgid "Message Options"
64
+ msgstr "Mesaj Seçenekleri"
65
+
66
+ #: gde-functions.php:383
67
+ msgid "Send debug information"
68
+ msgstr "Hata ayıklama bilgilerini gönder"
69
+
70
+ #: gde-functions.php:384
71
+ msgid "View"
72
+ msgstr "İncele"
73
+
74
+ #: gde-functions.php:385
75
+ msgid "Send me a copy"
76
+ msgstr "Bana bir kopyasını gönder"
77
+
78
+ #: gde-functions.php:391
79
+ msgid "Debug Information"
80
+ msgstr "Hata Ayıklama Bilgileri"
81
+
82
+ #: gde-functions.php:430
83
+ msgid "I'm less likely to be able to help you if you do not include debug information."
84
+ msgstr "Daha hızlı çözüm bulabilmemiz için, hata ayıklama bilgilerini gönderiniz."
85
+
86
+ #: gde-functions.php:432
87
+ msgid "Send Support Request"
88
+ msgstr "Destek İsteği Gönder"
89
+
90
+ #: gviewer.php:137
91
+ msgid "Error"
92
+ msgstr "Hata"
93
+
94
+ #: gviewer.php:268
95
+ #: gviewer.php:284
96
+ #: options.php:130
97
+ msgid "Settings"
98
+ msgstr "Ayarlar"
99
+
100
+ #: gviewer.php:275
101
+ msgid "You do not have sufficient permissions to access this page"
102
+ msgstr "Bu sayfaya erişmek için yeterli izinlere sahip değilsiniz"
103
+
104
+ #: gviewer.php:305
105
+ msgid "Beta version available"
106
+ msgstr "Bete güncellemesi"
107
+
108
+ #: gviewer.php:305
109
+ msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
110
+ msgstr "Eklentiyi yükseltmek için eklentiyi pasifleştirip, arındandan son sürüme güncelleyiniz. Yada isterseniz, GDE ayarlarından beta versiyon kontrolünü devre dışı bırakabilirsiniz."
111
+
112
+ #: gviewer.php:306
113
+ msgid "Updated beta version available"
114
+ msgstr "Beta güncellemesi mevcut"
115
+
116
+ #: gviewer.php:306
117
+ msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
118
+ msgstr "Yeni bir beta versiyonu yayınlandı. Lütfen eklentiyi pasifleştirerek şimdiki versiyona yükseltiniz. Yardımlarınız için teşekkürler!"
119
+
120
+ #: gviewer.php:307
121
+ msgid "You're running a beta version. Please give feedback."
122
+ msgstr "Şu anda beta versiyon kullanıyorsunuz. Lütfen geri bildirimde bulununuz."
123
+
124
+ #: gviewer.php:307
125
+ msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
126
+ msgstr "Google Doc Embedder'in test versiyonunu kullandığını için teşekkürler. Şu anda son çıkan beta sürümünü kullanıyorsunuz. Lütfen bize aşağıdaki destek linkinden geri bildirimde bulununuz. Yardımlarınız için teşekkürler!"
127
+
128
+ #: gviewer.php:308
129
+ msgid "more info"
130
+ msgstr "detay"
131
+
132
+ #: gviewer.php:375
133
+ msgid "plugin"
134
+ msgstr "eklenti"
135
+
136
+ #: gviewer.php:376
137
+ msgid "Version"
138
+ msgstr "Sürüm"
139
+
140
+ #: options.php:26
141
+ msgid "Options reset to defaults"
142
+ msgstr "Seçenekler varsayılan olarak ayarlandı"
143
+
144
+ #: options.php:123
145
+ msgid "Options updated"
146
+ msgstr "Seçenekler güncellendi"
147
+
148
+ #: options.php:141
149
+ msgid "Viewer Options"
150
+ msgstr "Görüntüleyici Seçenekleri"
151
+
152
+ #: options.php:146
153
+ msgid "Viewer Selection"
154
+ msgstr "Görüntüleyici Seçimi"
155
+
156
+ #: options.php:147
157
+ #: options.php:253
158
+ #: options.php:303
159
+ msgid "Help"
160
+ msgstr "Yardım"
161
+
162
+ #: options.php:149
163
+ msgid "Google Standard Viewer"
164
+ msgstr "Standart Google Görüntüleyici"
165
+
166
+ #: options.php:150
167
+ msgid "Embed the standard Google Viewer."
168
+ msgstr "Standart Google Görüntüleyiciden Embed"
169
+
170
+ #: options.php:151
171
+ msgid "Enhanced Viewer"
172
+ msgstr "Gelişmiş Görüntüleyici"
173
+
174
+ #: options.php:152
175
+ msgid "Use this option to enable toolbar customization and fix some display problems (experimental)."
176
+ msgstr "Bu seçeğeni bazı araç çubuğu düzeltmeleri ve görüntüleme sorunlarını düzeltmek için kullanın. (deneysel)"
177
+
178
+ #: options.php:156
179
+ msgid "Customize Toolbar"
180
+ msgstr "Araç Çubuğunu Özelleştir"
181
+
182
+ #: options.php:160
183
+ msgid "Hide Zoom In/Out"
184
+ msgstr "İçeri/Dışarı Yakınlaşma Özelliğini Gizle"
185
+
186
+ #: options.php:161
187
+ msgid "Hide Open in New Window"
188
+ msgstr "Yeni Pencerede Açma Özelliğini Gizle"
189
+
190
+ #: options.php:162
191
+ msgid "Always Use Mobile Theme"
192
+ msgstr "Her zaman Mobil Temayı Kullan"
193
+
194
+ #: options.php:166
195
+ msgid "Default Size"
196
+ msgstr "Varsayılan Boyut"
197
+
198
+ #: options.php:167
199
+ #: libs/gde-dialog.php:61
200
+ msgid "Width"
201
+ msgstr "Genişlik"
202
+
203
+ #: options.php:171
204
+ #: libs/gde-dialog.php:57
205
+ msgid "Height"
206
+ msgstr "Yükseklik"
207
+
208
+ #: options.php:177
209
+ msgid "Default Language"
210
+ msgstr "Varsayılan Dil"
211
+
212
+ #: options.php:235
213
+ msgid "Inline (Default)"
214
+ msgstr "Inline (Varsayılan)"
215
+
216
+ #: options.php:236
217
+ msgid "Collapsible (Open)"
218
+ msgstr "Collapsible (Açık)"
219
+
220
+ #: options.php:237
221
+ msgid "Collapsible (Closed)"
222
+ msgstr "Collapsible (Kapalı)"
223
+
224
+ #: options.php:249
225
+ msgid "Download Link Options"
226
+ msgstr "İndirme Bağlantısı Seçenekleri"
227
+
228
+ #: options.php:254
229
+ msgid "Display the download link by default"
230
+ msgstr "Varsayılan olarak indirme bağlantısını göster"
231
+
232
+ #: options.php:255
233
+ msgid "Only display download link to logged in users"
234
+ msgstr "İndirme bağlantısını sadece giriş yapmış kullanıcılara göster"
235
+
236
+ #: options.php:256
237
+ msgid "Track downloads in Google Analytics (tracking script must be installed on your site)"
238
+ msgstr "İndirmeleri Google Analytics ile takip et (daha önceden google analytics ayarlarını yapılandırmış olmanız gerekmektedir)"
239
+
240
+ #: options.php:259
241
+ msgid "File Base URL"
242
+ msgstr "Dosya Tabanlı URL"
243
+
244
+ #: options.php:261
245
+ msgid "Any file not starting with <em>http</em> will be prefixed by this value"
246
+ msgstr "<em>http</em> ile başlamayan dosyalara önek olarak eklenecektir"
247
+
248
+ #: options.php:264
249
+ msgid "Link Text"
250
+ msgstr "Bağlantı Metni"
251
+
252
+ #: options.php:266
253
+ msgid "You can further customize text using these dynamic replacements:"
254
+ msgstr "Bu dinamik metinleri kullanarak özelleştirebilirsiniz:"
255
+
256
+ #: options.php:267
257
+ msgid "filename"
258
+ msgstr "dosya adı"
259
+
260
+ #: options.php:268
261
+ msgid "file type"
262
+ msgstr "dosya türü"
263
+
264
+ #: options.php:269
265
+ msgid "file size"
266
+ msgstr "dosya boyutu"
267
+
268
+ #: options.php:272
269
+ msgid "Link Position"
270
+ msgstr "Bağlantı Konumu"
271
+
272
+ #: options.php:274
273
+ msgid "Above Viewer"
274
+ msgstr "Görüntüleyicinin Üstünde"
275
+
276
+ #: options.php:275
277
+ msgid "Below Viewer"
278
+ msgstr "Görüntüleyicinin Altında"
279
+
280
+ #: options.php:280
281
+ msgid "Link Behavior"
282
+ msgstr "Bağlantı Davranışı"
283
+
284
+ #: options.php:282
285
+ msgid "Browser Default"
286
+ msgstr "Tarayıcı Varsayılanı"
287
+
288
+ #: options.php:283
289
+ msgid "Force Download"
290
+ msgstr "İndirmeye Zorla"
291
+
292
+ #: options.php:284
293
+ msgid "Force Download (Mask URL)"
294
+ msgstr "İndirmeye Zorla (Gizli URL)"
295
+
296
+ #: options.php:298
297
+ msgid "Advanced Options"
298
+ msgstr "Gelişmiş Seçenekler"
299
+
300
+ #: options.php:300
301
+ msgid "Plugin Behavior"
302
+ msgstr "Eklenti Davranışları"
303
+
304
+ #: options.php:301
305
+ msgid "Editor Behavior"
306
+ msgstr "Editör Davranışları"
307
+
308
+ #: options.php:305
309
+ msgid "Display error messages inline (not hidden)"
310
+ msgstr "Hata mesajlarını açık olarak göster (gizlemeden)"
311
+
312
+ #: options.php:306
313
+ msgid "Disable internal error checking"
314
+ msgstr "İç hata denetimini devre dışı bırak"
315
+
316
+ #: options.php:307
317
+ msgid "Disable document caching"
318
+ msgstr "Dökümanları önbelleklemeyi devre dışı bırak"
319
+
320
+ #: options.php:308
321
+ msgid "Disable beta version notifications"
322
+ msgstr "Beta bildirimlerini devre dışı bırak"
323
+
324
+ #: options.php:311
325
+ msgid "Disable all editor integration"
326
+ msgstr "Tüm editör entegrasyonlarını devre dışı bırak"
327
+
328
+ #: options.php:316
329
+ msgid "Insert shortcode from Media Library"
330
+ msgstr "Medya Kütüphanesinden kısakod ekle"
331
+
332
+ #: options.php:318
333
+ msgid "Allow uploads of all supported media types"
334
+ msgstr "Tüm desteklenen dosya türünde yüklemelere izin ver"
335
+
336
+ #: options.php:328
337
+ msgid "Save Options"
338
+ msgstr "Seçenekleri Kaydet"
339
+
340
+ #: options.php:330
341
+ msgid "Reset to Defaults"
342
+ msgstr "Varsayılan Ayarlara Geri Dön"
343
+
344
+ #: options.php:330
345
+ msgid "Are you sure you want to reset all settings to defaults?"
346
+ msgstr "Seçenekleri sıfırlamak istediğinizden emin misiniz?"
347
+
348
+ #: proxy.php:29
349
+ msgid ""
350
+ "This function is not supported on your web server. Please add\n"
351
+ "\t\t\t<code>allow_url_fopen = 1</code> to your php.ini or enable cURL library.\n"
352
+ "\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
353
+ msgstr ""
354
+ "Bu fonksiyon web sunucunuz tarafından desteklenmiyor. Please add\n"
355
+ "\t\t\t<code>allow_url_fopen = 1</code> to your php.ini or enable cURL library.\n"
356
+ "\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
357
+
358
+ #: libs/bootstrap.php:15
359
+ msgid "Could not find wp-load.php"
360
+ msgstr "Olamaz! wp-load.php dosyasını bulamadık!"
361
+
362
+ #: libs/gde-dialog.php:34
363
+ msgid "I'll insert the shortcode myself"
364
+ msgstr "Kısakod'u kendim ekleyeceğim"
365
+
366
+ #: libs/gde-dialog.php:36
367
+ msgid "GDE Shortcode Options"
368
+ msgstr "GDE Kısakod Seçenekleri"
369
+
370
+ #: libs/gde-dialog.php:40
371
+ msgid "Required"
372
+ msgstr "Gerekli"
373
+
374
+ #: libs/gde-dialog.php:43
375
+ msgid "URL or Filename"
376
+ msgstr "URL yada Dosya adı"
377
+
378
+ #: libs/gde-dialog.php:43
379
+ msgid "Full URL or filename to append to File Base URL"
380
+ msgstr "Tam URL yada dosya temelli url"
381
+
382
+ #: libs/gde-dialog.php:45
383
+ msgid "File Base URL will be prefixed"
384
+ msgstr "Dosya Tabanlı URL 'e önekleri eklenecektir."
385
+
386
+ #: libs/gde-dialog.php:46
387
+ msgid "Unsupported file type"
388
+ msgstr "Desteklenmeyen dosya türü"
389
+
390
+ #: libs/gde-dialog.php:54
391
+ msgid "Optional (Override Global Settings)"
392
+ msgstr "İsteğe Bağlı (genel ayarları geçersiz kılar)"
393
+
394
+ #: libs/gde-dialog.php:57
395
+ #: libs/gde-dialog.php:61
396
+ msgid "format:"
397
+ msgstr "format:"
398
+
399
+ #: libs/gde-dialog.php:57
400
+ #: libs/gde-dialog.php:61
401
+ msgid "or"
402
+ msgstr "yada"
403
+
404
+ #: libs/gde-dialog.php:65
405
+ msgid "Show Download Link"
406
+ msgstr "İndirme Bağlantısını Göster"
407
+
408
+ #: libs/gde-dialog.php:66
409
+ msgid "Yes"
410
+ msgstr "Evet"
411
+
412
+ #: libs/gde-dialog.php:66
413
+ msgid "No"
414
+ msgstr "Hayır"
415
+
416
+ #: libs/gde-dialog.php:71
417
+ msgid "Show download link only if user is logged in"
418
+ msgstr "İndirme bağlantısını sadece giriş yapmış kullanıcılara göster"
419
+
420
+ #: libs/gde-dialog.php:77
421
+ msgid "Disable caching (this document is frequently overwritten)"
422
+ msgstr "Önbelleği devre dışı bırak (sık güncellenen dökümanlar için önerilir)"
423
+
424
+ #: libs/gde-dialog.php:84
425
+ msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
426
+ msgstr "İç hata denetimini devre dışı bırak ( döküman doğrulanmışsa güzel ama içerik yayınlanmayacaktır )"
427
+
428
+ #: libs/gde-dialog.php:94
429
+ msgid "Shortcode Preview"
430
+ msgstr "Kısakod Önizleme"
431
+
432
+ #: libs/gde-dialog.php:103
433
+ msgid "Insert"
434
+ msgstr "Ekle"
435
+
436
+ #: libs/gde-dialog.php:107
437
+ msgid "Cancel"
438
+ msgstr "İptal"
439
+
languages/gde.pot CHANGED
@@ -2,173 +2,136 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-05-03 12:40-0600\n"
6
- "PO-Revision-Date: 2012-05-03 12:40-0600\n"
7
  "Last-Translator: Kevin Davis <kev@tnw.org>\n"
8
  "Language-Team: Kevin Davis <kev@tnw.org>\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-SearchPath-0: .\n"
14
 
15
- #: bootstrap.php:12
16
- msgid "Could not find wp-load.php"
17
- msgstr ""
18
-
19
- #: gde-dialog.php:34
20
- msgid "I'll insert the shortcode myself"
21
- msgstr ""
22
-
23
- #: gde-dialog.php:36
24
- msgid "GDE Shortcode Options"
25
- msgstr ""
26
-
27
- #: gde-dialog.php:40
28
- msgid "Required"
29
  msgstr ""
30
 
31
- #: gde-dialog.php:43
32
- msgid "URL or Filename"
 
33
  msgstr ""
34
 
35
- #: gde-dialog.php:43
36
- msgid "Full URL or filename to append to File Base URL"
37
  msgstr ""
38
 
39
- #: gde-dialog.php:45
40
- msgid "File Base URL will be prefixed"
41
  msgstr ""
42
 
43
- #: gde-dialog.php:46
44
- msgid "Unsupported file type"
45
  msgstr ""
46
 
47
- #: gde-dialog.php:54
48
- msgid "Optional (Override Global Settings)"
49
  msgstr ""
50
 
51
- #: gde-dialog.php:57
52
- #: options.php:171
53
- msgid "Height"
54
  msgstr ""
55
 
56
- #: gde-dialog.php:57
57
- #: gde-dialog.php:61
58
- msgid "format:"
59
  msgstr ""
60
 
61
- #: gde-dialog.php:57
62
- #: gde-dialog.php:61
63
- msgid "or"
64
  msgstr ""
65
 
66
- #: gde-dialog.php:61
67
- #: options.php:167
68
- msgid "Width"
69
  msgstr ""
70
 
71
- #: gde-dialog.php:65
72
- msgid "Show Download Link"
73
  msgstr ""
74
 
75
- #: gde-dialog.php:66
76
- msgid "Yes"
77
  msgstr ""
78
 
79
- #: gde-dialog.php:66
80
- msgid "No"
81
  msgstr ""
82
 
83
- #: gde-dialog.php:71
84
- msgid "Show download link only if user is logged in"
85
  msgstr ""
86
 
87
- #: gde-dialog.php:77
88
- msgid "Disable caching (this document is frequently overwritten)"
89
  msgstr ""
90
 
91
- #: gde-dialog.php:84
92
- msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
93
- msgstr ""
94
-
95
- #: gde-dialog.php:94
96
- msgid "Shortcode Preview"
97
- msgstr ""
98
-
99
- #: gde-dialog.php:103
100
- msgid "Insert"
101
- msgstr ""
102
-
103
- #: gde-dialog.php:107
104
- msgid "Cancel"
105
  msgstr ""
106
 
107
- #: gde-functions.php:31
108
- msgid "Download"
109
  msgstr ""
110
 
111
- #: gde-functions.php:338
112
- msgid "Debug Information"
113
- msgstr ""
114
-
115
- #: gde-functions.php:365
116
- msgid ""
117
- "Copy and paste this information into an email to <a href=\"mailto:kev@tnw.org\">the author</a> to\n"
118
- "assist in troubleshooting problems. Remove or anonymize any information you do not wish to share."
119
  msgstr ""
120
 
121
  #: gviewer.php:137
122
  msgid "Error"
123
  msgstr ""
124
 
125
- #: gviewer.php:262
126
- #: gviewer.php:278
127
  #: options.php:130
128
  msgid "Settings"
129
  msgstr ""
130
 
131
- #: gviewer.php:269
132
  msgid "You do not have sufficient permissions to access this page"
133
  msgstr ""
134
 
135
- #: gviewer.php:286
136
- msgid "Support"
137
- msgstr ""
138
-
139
- #: gviewer.php:299
140
  msgid "Beta version available"
141
  msgstr ""
142
 
143
- #: gviewer.php:299
144
  msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
145
  msgstr ""
146
 
147
- #: gviewer.php:300
148
  msgid "Updated beta version available"
149
  msgstr ""
150
 
151
- #: gviewer.php:300
152
  msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
153
  msgstr ""
154
 
155
- #: gviewer.php:301
156
  msgid "You're running a beta version. Please give feedback."
157
  msgstr ""
158
 
159
- #: gviewer.php:301
160
  msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
161
  msgstr ""
162
 
163
- #: gviewer.php:302
164
  msgid "more info"
165
  msgstr ""
166
 
167
- #: gviewer.php:369
168
  msgid "plugin"
169
  msgstr ""
170
 
171
- #: gviewer.php:370
172
  msgid "Version"
173
  msgstr ""
174
 
@@ -230,6 +193,16 @@ msgstr ""
230
  msgid "Default Size"
231
  msgstr ""
232
 
 
 
 
 
 
 
 
 
 
 
233
  #: options.php:177
234
  msgid "Default Language"
235
  msgstr ""
@@ -346,31 +319,27 @@ msgstr ""
346
  msgid "Disable beta version notifications"
347
  msgstr ""
348
 
349
- #: options.php:309
350
- msgid "View Debug Information"
351
- msgstr ""
352
-
353
- #: options.php:312
354
  msgid "Disable all editor integration"
355
  msgstr ""
356
 
357
- #: options.php:317
358
  msgid "Insert shortcode from Media Library"
359
  msgstr ""
360
 
361
- #: options.php:319
362
  msgid "Allow uploads of all supported media types"
363
  msgstr ""
364
 
365
- #: options.php:329
366
  msgid "Save Options"
367
  msgstr ""
368
 
369
- #: options.php:331
370
  msgid "Reset to Defaults"
371
  msgstr ""
372
 
373
- #: options.php:331
374
  msgid "Are you sure you want to reset all settings to defaults?"
375
  msgstr ""
376
 
@@ -381,3 +350,85 @@ msgid ""
381
  "\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
382
  msgstr ""
383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-05-25 10:14-0600\n"
6
+ "PO-Revision-Date: 2012-05-25 10:14-0600\n"
7
  "Last-Translator: Kevin Davis <kev@tnw.org>\n"
8
  "Language-Team: Kevin Davis <kev@tnw.org>\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-SearchPath-0: .\n"
14
 
15
+ #: gde-functions.php:32
16
+ msgid "Download"
 
 
 
 
 
 
 
 
 
 
 
 
17
  msgstr ""
18
 
19
+ #: gde-functions.php:344
20
+ #: gviewer.php:292
21
+ msgid "Support"
22
  msgstr ""
23
 
24
+ #: gde-functions.php:346
25
+ msgid "Please review the documentation before submitting a request for support:"
26
  msgstr ""
27
 
28
+ #: gde-functions.php:349
29
+ msgid "Plugin FAQ"
30
  msgstr ""
31
 
32
+ #: gde-functions.php:350
33
+ msgid "Support Forum"
34
  msgstr ""
35
 
36
+ #: gde-functions.php:353
37
+ msgid "If you're still experiencing a problem, please complete the form below."
38
  msgstr ""
39
 
40
+ #: gde-functions.php:359
41
+ msgid "Your Name"
 
42
  msgstr ""
43
 
44
+ #: gde-functions.php:363
45
+ msgid "Your E-mail"
 
46
  msgstr ""
47
 
48
+ #: gde-functions.php:369
49
+ msgid "Shortcode"
 
50
  msgstr ""
51
 
52
+ #: gde-functions.php:371
53
+ msgid "If you're having a problem getting a specific document to work, paste the shortcode you're trying to use here."
 
54
  msgstr ""
55
 
56
+ #: gde-functions.php:376
57
+ msgid "Message"
58
  msgstr ""
59
 
60
+ #: gde-functions.php:381
61
+ msgid "Message Options"
62
  msgstr ""
63
 
64
+ #: gde-functions.php:383
65
+ msgid "Send debug information"
66
  msgstr ""
67
 
68
+ #: gde-functions.php:384
69
+ msgid "View"
70
  msgstr ""
71
 
72
+ #: gde-functions.php:385
73
+ msgid "Send me a copy"
74
  msgstr ""
75
 
76
+ #: gde-functions.php:391
77
+ msgid "Debug Information"
 
 
 
 
 
 
 
 
 
 
 
 
78
  msgstr ""
79
 
80
+ #: gde-functions.php:430
81
+ msgid "I'm less likely to be able to help you if you do not include debug information."
82
  msgstr ""
83
 
84
+ #: gde-functions.php:432
85
+ msgid "Send Support Request"
 
 
 
 
 
 
86
  msgstr ""
87
 
88
  #: gviewer.php:137
89
  msgid "Error"
90
  msgstr ""
91
 
92
+ #: gviewer.php:268
93
+ #: gviewer.php:284
94
  #: options.php:130
95
  msgid "Settings"
96
  msgstr ""
97
 
98
+ #: gviewer.php:275
99
  msgid "You do not have sufficient permissions to access this page"
100
  msgstr ""
101
 
102
+ #: gviewer.php:305
 
 
 
 
103
  msgid "Beta version available"
104
  msgstr ""
105
 
106
+ #: gviewer.php:305
107
  msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
108
  msgstr ""
109
 
110
+ #: gviewer.php:306
111
  msgid "Updated beta version available"
112
  msgstr ""
113
 
114
+ #: gviewer.php:306
115
  msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
116
  msgstr ""
117
 
118
+ #: gviewer.php:307
119
  msgid "You're running a beta version. Please give feedback."
120
  msgstr ""
121
 
122
+ #: gviewer.php:307
123
  msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the &quot;Support&quot; link above. Thanks for your help!"
124
  msgstr ""
125
 
126
+ #: gviewer.php:308
127
  msgid "more info"
128
  msgstr ""
129
 
130
+ #: gviewer.php:375
131
  msgid "plugin"
132
  msgstr ""
133
 
134
+ #: gviewer.php:376
135
  msgid "Version"
136
  msgstr ""
137
 
193
  msgid "Default Size"
194
  msgstr ""
195
 
196
+ #: options.php:167
197
+ #: libs/gde-dialog.php:61
198
+ msgid "Width"
199
+ msgstr ""
200
+
201
+ #: options.php:171
202
+ #: libs/gde-dialog.php:57
203
+ msgid "Height"
204
+ msgstr ""
205
+
206
  #: options.php:177
207
  msgid "Default Language"
208
  msgstr ""
319
  msgid "Disable beta version notifications"
320
  msgstr ""
321
 
322
+ #: options.php:311
 
 
 
 
323
  msgid "Disable all editor integration"
324
  msgstr ""
325
 
326
+ #: options.php:316
327
  msgid "Insert shortcode from Media Library"
328
  msgstr ""
329
 
330
+ #: options.php:318
331
  msgid "Allow uploads of all supported media types"
332
  msgstr ""
333
 
334
+ #: options.php:328
335
  msgid "Save Options"
336
  msgstr ""
337
 
338
+ #: options.php:330
339
  msgid "Reset to Defaults"
340
  msgstr ""
341
 
342
+ #: options.php:330
343
  msgid "Are you sure you want to reset all settings to defaults?"
344
  msgstr ""
345
 
350
  "\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
351
  msgstr ""
352
 
353
+ #: libs/bootstrap.php:15
354
+ msgid "Could not find wp-load.php"
355
+ msgstr ""
356
+
357
+ #: libs/gde-dialog.php:34
358
+ msgid "I'll insert the shortcode myself"
359
+ msgstr ""
360
+
361
+ #: libs/gde-dialog.php:36
362
+ msgid "GDE Shortcode Options"
363
+ msgstr ""
364
+
365
+ #: libs/gde-dialog.php:40
366
+ msgid "Required"
367
+ msgstr ""
368
+
369
+ #: libs/gde-dialog.php:43
370
+ msgid "URL or Filename"
371
+ msgstr ""
372
+
373
+ #: libs/gde-dialog.php:43
374
+ msgid "Full URL or filename to append to File Base URL"
375
+ msgstr ""
376
+
377
+ #: libs/gde-dialog.php:45
378
+ msgid "File Base URL will be prefixed"
379
+ msgstr ""
380
+
381
+ #: libs/gde-dialog.php:46
382
+ msgid "Unsupported file type"
383
+ msgstr ""
384
+
385
+ #: libs/gde-dialog.php:54
386
+ msgid "Optional (Override Global Settings)"
387
+ msgstr ""
388
+
389
+ #: libs/gde-dialog.php:57
390
+ #: libs/gde-dialog.php:61
391
+ msgid "format:"
392
+ msgstr ""
393
+
394
+ #: libs/gde-dialog.php:57
395
+ #: libs/gde-dialog.php:61
396
+ msgid "or"
397
+ msgstr ""
398
+
399
+ #: libs/gde-dialog.php:65
400
+ msgid "Show Download Link"
401
+ msgstr ""
402
+
403
+ #: libs/gde-dialog.php:66
404
+ msgid "Yes"
405
+ msgstr ""
406
+
407
+ #: libs/gde-dialog.php:66
408
+ msgid "No"
409
+ msgstr ""
410
+
411
+ #: libs/gde-dialog.php:71
412
+ msgid "Show download link only if user is logged in"
413
+ msgstr ""
414
+
415
+ #: libs/gde-dialog.php:77
416
+ msgid "Disable caching (this document is frequently overwritten)"
417
+ msgstr ""
418
+
419
+ #: libs/gde-dialog.php:84
420
+ msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
421
+ msgstr ""
422
+
423
+ #: libs/gde-dialog.php:94
424
+ msgid "Shortcode Preview"
425
+ msgstr ""
426
+
427
+ #: libs/gde-dialog.php:103
428
+ msgid "Insert"
429
+ msgstr ""
430
+
431
+ #: libs/gde-dialog.php:107
432
+ msgid "Cancel"
433
+ msgstr ""
434
+
bootstrap.php → libs/bootstrap.php RENAMED
@@ -1,8 +1,11 @@
1
  <?php
2
 
 
 
 
3
  // bootstrap for getting ABSPATH constant to wp-load.php outside the admin screen
4
  if (!defined('WP_LOAD_PATH')) {
5
- $classic_root = dirname(dirname(dirname(dirname(__FILE__)))).'/';
6
  if (file_exists($classic_root.'wp-load.php') ) {
7
  define('WP_LOAD_PATH', $classic_root);
8
  } else {
1
  <?php
2
 
3
+ // define custom path to wp-load.php (usually not necessary)
4
+ $path = '';
5
+
6
  // bootstrap for getting ABSPATH constant to wp-load.php outside the admin screen
7
  if (!defined('WP_LOAD_PATH')) {
8
+ $classic_root = dirname(dirname(dirname(dirname(dirname(__FILE__))))).'/';
9
  if (file_exists($classic_root.'wp-load.php') ) {
10
  define('WP_LOAD_PATH', $classic_root);
11
  } else {
gde-dialog.php → libs/gde-dialog.php RENAMED
@@ -10,7 +10,7 @@ require_once('bootstrap.php');
10
  <title>Google Doc Embedder</title>
11
  <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl'); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
12
  <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl'); ?>/wp-includes/js/jquery/jquery.js"></script>
13
- <script type="text/javascript" src="js/dialog.js"></script>
14
 
15
  <style type="text/css">
16
  h2 {
@@ -21,7 +21,7 @@ require_once('bootstrap.php');
21
  .mceActionPanel {
22
  margin-top:20px;
23
  }
24
- .diy{
25
  margin:5px 5px -5px 10px;
26
  }
27
  </style>
10
  <title>Google Doc Embedder</title>
11
  <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl'); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
12
  <script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl'); ?>/wp-includes/js/jquery/jquery.js"></script>
13
+ <script type="text/javascript" src="../js/dialog.js"></script>
14
 
15
  <style type="text/css">
16
  h2 {
21
  .mceActionPanel {
22
  margin-top:20px;
23
  }
24
+ .diy {
25
  margin:5px 5px -5px 10px;
26
  }
27
  </style>
libs/pdf.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ # This proxy code is a bypass of default browser handling of PDF files, used for the
4
+ # "Force Download" option of Google Doc Embedder plug-in for WordPress. If you do not
5
+ # wish to use this code, set the Link Behavior option to "Browser Default" in GDE Settings.
6
+
7
+ // test for allow_url_fopen in php config; try curl for function if disabled
8
+ if (ini_get('allow_url_fopen') !== "1") {
9
+ if (function_exists('curl_version')) {
10
+ $curl = 1;
11
+ } else {
12
+ $err = "This function is not supported on your web server. Please add ";
13
+ $err .= "<code>allow_url_fopen = 1</code> to your php.ini or enable cURL library. ";
14
+ $err .= "If you are unable to do this, please change the Link Behavior setting to ";
15
+ $err .= "Browser Default in GDE Options.";
16
+ showErr($err);
17
+ exit;
18
+ }
19
+ }
20
+
21
+ if ((isset($_GET['fn'])) && (isset($_GET['file']))) {
22
+ // check for invalid file type
23
+ if (!preg_match("/\.pdf$/i",$_GET['fn'])) {
24
+ showErr('Invalid file type; action cancelled.');
25
+ }
26
+
27
+ // get file
28
+ if ($curl) {
29
+ $code = @curl_get_contents("http://". $_GET['file']);
30
+ } else {
31
+ $code = @file_get_contents("http://". $_GET['file']);
32
+ }
33
+
34
+ // output file
35
+ header('Content-type: application/pdf');
36
+ header('Content-Disposition: attachment; filename="'.$_GET['fn'].'"');
37
+ echo $code;
38
+
39
+ } else {
40
+ showErr('No filename specified; action cancelled.');
41
+ }
42
+
43
+ function curl_get_contents($url) {
44
+ $ch = curl_init();
45
+ $timeout = 5; // set to zero for no timeout
46
+ curl_setopt ($ch, CURLOPT_URL, $url);
47
+ curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
48
+ curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
49
+ $file_contents = curl_exec($ch);
50
+ curl_close($ch);
51
+
52
+ return $file_contents;
53
+ }
54
+
55
+ function showErr($msg) {
56
+ echo "<html>$msg</html>";
57
+ exit;
58
+ }
59
+ ?>
libs/post-debug.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // access wp functions externally
4
+ require_once('bootstrap.php');
5
+ include_once(ABSPATH . 'wp-includes/pluggable.php');
6
+
7
+ if (!$_POST || !$_POST['email']) {
8
+ echo "fail";
9
+ exit;
10
+ } else {
11
+
12
+ function gde_change_mail( $mail ) {
13
+ return $_POST['email'];
14
+ }
15
+
16
+ function gde_change_sender ( $sendername ) {
17
+ if ($_POST['name']) {
18
+ return $_POST['name'];
19
+ } else {
20
+ return "GDE User";
21
+ }
22
+ }
23
+
24
+ add_filter( 'wp_mail_from', 'gde_change_mail', 1 );
25
+ add_filter( 'wp_mail_from_name', 'gde_change_sender', 1 );
26
+
27
+ /*
28
+ * Note to self: wp_mail doesn't deliver to Google Apps (at least in this config).
29
+ * It does deliver to regular Gmail, if necessary. Why? Hours wasted.
30
+ * Instead, deliver to POP account and let GA pick it up. Boo.
31
+ */
32
+ $to = "wpp@dev.davismetro.com";
33
+
34
+ $subject = "GDE Support Request";
35
+
36
+ $headers = "";
37
+ if ($_POST['cc'] == "yes") {
38
+ $headers .= "CC: " . $_POST['email'] . "\n";
39
+ }
40
+ $headers .= "Reply-To: <" . $_POST['email'] . ">\n";
41
+
42
+ $message = "A request was sent from the GDE Support Form.\n\n";
43
+ if ($_POST['msg']) {
44
+ $message .= stripslashes($_POST['msg']) . "\n\n";
45
+ } else {
46
+ $message .= "No message was included.\n\n";
47
+ }
48
+
49
+ if ($_POST['sc']) {
50
+ $message .= "Shortcode: " . stripslashes($_POST['sc']) . "\n\n";
51
+ } else {
52
+ $message .= "No shortcode was included.\n\n";
53
+ }
54
+
55
+ if ($_POST['senddb']) {
56
+ $message .= $_POST['senddb'];
57
+ } else {
58
+ $message .= "No debug info was included.";
59
+ }
60
+
61
+ if (wp_mail( $to, $subject, $message, $headers )) {
62
+ echo "success";
63
+ } else {
64
+ echo "fail";
65
+ }
66
+ }
67
+
68
+ ?>
options.php CHANGED
@@ -305,8 +305,7 @@ if (!$debug) {
305
  <?php gde_showCheck('disable_hideerrors', __('Display error messages inline (not hidden)', 'gde')); ?><br />
306
  <?php gde_showCheck('bypass_check', __('Disable internal error checking', 'gde')); ?><br />
307
  <?php gde_showCheck('disable_caching', __('Disable document caching', 'gde')); ?><br />
308
- <?php gde_showCheck('suppress_beta', __('Disable beta version notifications', 'gde')); ?><br/>
309
- <a href="<?php echo gde_this_url(); ?>&debug=1"><?php _e('View Debug Information', 'gde'); ?></a>
310
  </div>
311
  <div id="adv-editor" style="display:none;padding-left:250px;">
312
  <?php gde_showCheck('disable_editor', __('Disable all editor integration', 'gde')); ?><br />
@@ -389,13 +388,4 @@ function gde_showMessage($message, $type='updated') {
389
  print '<div id="message" class="'.$class.'"><p>' . $message . '</p></div>';
390
  }
391
 
392
- function gde_this_url() {
393
- $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
394
- $protocol = gde_strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
395
- $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
396
- return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
397
- }
398
-
399
- function gde_strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); }
400
-
401
  ?>
305
  <?php gde_showCheck('disable_hideerrors', __('Display error messages inline (not hidden)', 'gde')); ?><br />
306
  <?php gde_showCheck('bypass_check', __('Disable internal error checking', 'gde')); ?><br />
307
  <?php gde_showCheck('disable_caching', __('Disable document caching', 'gde')); ?><br />
308
+ <?php gde_showCheck('suppress_beta', __('Disable beta version notifications', 'gde')); ?>
 
309
  </div>
310
  <div id="adv-editor" style="display:none;padding-left:250px;">
311
  <?php gde_showCheck('disable_editor', __('Disable all editor integration', 'gde')); ?><br />
388
  print '<div id="message" class="'.$class.'"><p>' . $message . '</p></div>';
389
  }
390
 
 
 
 
 
 
 
 
 
 
391
  ?>
pdf.php DELETED
@@ -1,59 +0,0 @@
1
- <?php
2
-
3
- # This proxy code is a bypass of default browser handling of PDF files, used for the
4
- # "Force Download" option of Google Doc Embedder plug-in for WordPress. If you do not
5
- # wish to use this code, set the Link Behavior option to "Browser Default" in GDE Settings.
6
-
7
- // test for allow_url_fopen in php config; try curl for function if disabled
8
- if (ini_get('allow_url_fopen') !== "1") {
9
- if (function_exists('curl_version')) {
10
- $curl = 1;
11
- } else {
12
- $err = "This function is not supported on your web server. Please add ";
13
- $err .= "<code>allow_url_fopen = 1</code> to your php.ini or enable cURL library. ";
14
- $err .= "If you are unable to do this, please change the Link Behavior setting to ";
15
- $err .= "Browser Default in GDE Options.";
16
- showErr($err);
17
- exit;
18
- }
19
- }
20
-
21
- if ((isset($_GET['fn'])) && (isset($_GET['file']))) {
22
- // check for invalid file type
23
- if (!preg_match("/.pdf$/i",$_GET['fn'])) {
24
- showErr('Invalid file type; action cancelled.');
25
- }
26
-
27
- // get file
28
- if ($curl) {
29
- $code = @curl_get_contents("http://". $_GET['file']);
30
- } else {
31
- $code = @file_get_contents("http://". $_GET['file']);
32
- }
33
-
34
- // output file
35
- header('Content-type: application/pdf');
36
- header('Content-Disposition: attachment; filename="'.$_GET['fn'].'"');
37
- echo $code;
38
-
39
- } else {
40
- showErr('No filename specified; action cancelled.');
41
- }
42
-
43
- function curl_get_contents($url) {
44
- $ch = curl_init();
45
- $timeout = 5; // set to zero for no timeout
46
- curl_setopt ($ch, CURLOPT_URL, $url);
47
- curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
48
- curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
49
- $file_contents = curl_exec($ch);
50
- curl_close($ch);
51
-
52
- return $file_contents;
53
- }
54
-
55
- function showErr($msg) {
56
- echo "<html>$msg</html>";
57
- exit;
58
- }
59
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
proxy.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  // access wp functions externally
4
- require_once('bootstrap.php');
5
 
6
  // get settings
7
  $gdeoptions = get_option('gde_options');
@@ -87,9 +87,16 @@ if (isset($_GET['embedded']) || $_GET['mobile']) {
87
  $replace[] = "#page-footer { display: none !important;";
88
  }
89
 
90
- // perform replacements
91
  $code = str_replace($search, $replace, $code);
92
 
 
 
 
 
 
 
 
93
  // output page
94
  header('Content-type: text/html');
95
  echo $code;
1
  <?php
2
 
3
  // access wp functions externally
4
+ require_once('libs/bootstrap.php');
5
 
6
  // get settings
7
  $gdeoptions = get_option('gde_options');
87
  $replace[] = "#page-footer { display: none !important;";
88
  }
89
 
90
+ // perform string replacements
91
  $code = str_replace($search, $replace, $code);
92
 
93
+ // perform theme replacement (experimental)
94
+ if ($_GET['t'] == 'dark') {
95
+ $pattern = '#(<style type="text/css">.view.*</style>)#';
96
+ $replacement = '$1'."\n".'<link rel="stylesheet" type="text/css" href="themes/gde-dark.css">';
97
+ $code = preg_replace($pattern, $replacement, $code);
98
+ }
99
+
100
  // output page
101
  header('Content-type: text/html');
102
  echo $code;
readme.txt CHANGED
@@ -37,6 +37,7 @@ Translations are welcome; see [the FAQ](http://wordpress.org/extend/plugins/goog
37
 
38
  * English (en\_US), built-in
39
  * Spanish (es\_ES) by [elarequi](http://elarequi.com/propuestastic/ "elarequi"), thanks!
 
40
 
41
  == Installation ==
42
 
@@ -107,7 +108,7 @@ This plug-in utilizes the viewer from Google Docs in a standalone fashion. There
107
  = How can I translate the plugin? =
108
  You can use the [English translation](http://plugins.svn.wordpress.org/google-document-embedder/trunk/language/gde-en_US.po "English") as a start. After saving the file, you can translate it by using a text editor or [Poedit](http://www.poedit.net/ "Poedit"). Or, you may install and use the [Codestyling Localization](http://wordpress.org/extend/plugins/codestyling-localization/ "Codestyling Localization") plugin.
109
 
110
- Please email your translation, along with your name and link for credit, to <em>translation @ tnw . org</em> for inclusion in the plugin.
111
 
112
  = Where can I ask questions, report bug and request features? =
113
  You can open a topic [on the forum](http://wordpress.org/tags/google-document-embedder?forum_id=10#postform "forum") and I'll see what I can do. I review all messages posted here regularly.
@@ -120,6 +121,12 @@ You can open a topic [on the forum](http://wordpress.org/tags/google-document-em
120
 
121
  == Changelog ==
122
 
 
 
 
 
 
 
123
  = 2.4.2 =
124
  * Fixed: PHP Warning related to MIME type expansion (thanks Adebayo)
125
 
@@ -174,5 +181,5 @@ You can open a topic [on the forum](http://wordpress.org/tags/google-document-em
174
 
175
  == Upgrade Notice ==
176
 
177
- = 2.4.2 =
178
- MIME expansion bug fix
37
 
38
  * English (en\_US), built-in
39
  * Spanish (es\_ES) by [elarequi](http://elarequi.com/propuestastic/ "elarequi"), thanks!
40
+ * Turkish (tr\_TR) by [LettoBlog](http://profiles.wordpress.org/lettoblog "LettoBlog"), thanks!
41
 
42
  == Installation ==
43
 
108
  = How can I translate the plugin? =
109
  You can use the [English translation](http://plugins.svn.wordpress.org/google-document-embedder/trunk/language/gde-en_US.po "English") as a start. After saving the file, you can translate it by using a text editor or [Poedit](http://www.poedit.net/ "Poedit"). Or, you may install and use the [Codestyling Localization](http://wordpress.org/extend/plugins/codestyling-localization/ "Codestyling Localization") plugin.
110
 
111
+ Please email your translation, along with your name and link for credit, to <em>wpp @ tnw . org</em> for inclusion in the plugin.
112
 
113
  = Where can I ask questions, report bug and request features? =
114
  You can open a topic [on the forum](http://wordpress.org/tags/google-document-embedder?forum_id=10#postform "forum") and I'll see what I can do. I review all messages posted here regularly.
121
 
122
  == Changelog ==
123
 
124
+ = 2.4.3 =
125
+ * Added: Dark theme shortcode option (EXPERIMENTAL)
126
+ * Added: Turkish translation (thanks LettoBlog)
127
+ * Fixed: Visual editor integration for IIS webhosts (thanks Kristof)
128
+ * Changed: Debug information is now a support page from plugin list
129
+
130
  = 2.4.2 =
131
  * Fixed: PHP Warning related to MIME type expansion (thanks Adebayo)
132
 
181
 
182
  == Upgrade Notice ==
183
 
184
+ = 2.4.3 =
185
+ IIS bug fix, improved support form, experimental dark theme
themes/gde-dark-m-sprites.png ADDED
Binary file
themes/gde-dark-sprites.png ADDED
Binary file
themes/gde-dark.css ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Sample CSS file to override the appearance of the viewer area.
3
+ * The below modifies the default viewer style from Google as of 25-May-2012 but is subject to change.
4
+ *
5
+ * This is a volatile option (based on Google's whims) so it may break at any time. No warranty is
6
+ * expressed or implied... Keep an eye on the appearance in case you want to kill this off in the future
7
+ * when/if things go wonky from sudden Google changes.
8
+ *
9
+ * It's possible to modify just about every part of the viewer appearance using this technique if you
10
+ * are CSS savvy (and know your way around Firebug or similar tools, to help you find the appropriate
11
+ * selectors).
12
+ */
13
+
14
+ /* TOOLBAR AREA STYLES *****/
15
+
16
+ /* toolbar (desktop and mobile) */
17
+ #controlbar {
18
+ background-color: #000;
19
+ border: 0;
20
+ }
21
+
22
+ /* page number text (desktop and mobile) */
23
+ #controlbarPageNumber {
24
+ color: #ebebeb;
25
+ }
26
+
27
+ /* toolbar (mobile) */
28
+ .controlbar-mobile {
29
+ -moz-border-image: none;
30
+ text-shadow: none;
31
+ }
32
+
33
+ /* toolbar buttons (desktop) */
34
+ .toolbar-button-icon {
35
+ background-image: url("gde-dark-sprites.png");
36
+ }
37
+
38
+ /* toolbar buttons (mobile) */
39
+ .mobile-icon-zoom-out {
40
+ background: url("gde-dark-m-sprites.png") no-repeat 0 0px;
41
+ }
42
+ .mobile-icon-zoom-in {
43
+ background: url("gde-dark-m-sprites.png") no-repeat 0 -18px;
44
+ }
45
+ .mobile-icon-left {
46
+ background: url("gde-dark-m-sprites.png") no-repeat 0 -36px;
47
+ }
48
+ .mobile-icon-right {
49
+ background: url("gde-dark-m-sprites.png") no-repeat 0 -54px;
50
+ }
51
+
52
+ /* CONTENT AREA STYLES *****/
53
+
54
+ /* loading text (desktop and mobile) */
55
+ #loading {
56
+ color: #ebebeb;
57
+ }
58
+
59
+ /* progress bar border (desktop and mobile) */
60
+ .progress-bar-horizontal {
61
+ border: 1px solid #0066FF;
62
+ }
63
+
64
+ /* progress bar meter (desktop and mobile) */
65
+ .progress-bar-thumb {
66
+ background-color: #0066FF;
67
+ }
68
+
69
+ /* background of page pane (desktop and mobile) */
70
+ #content-pane {
71
+ background-color: #333;
72
+ }