Google Doc Embedder - Version 2.5.5

Version Description

  • Added: Option to restrict full screen view to logged-in users
  • Fixed: Rate limit exceeded on is.gd shortened URLs (thanks Dan)
  • Fixed: Some settings remain in database after uninstall
  • Fixed: Dimensions not sanitized in editor dialog
  • Changed: Activation rebuilt to alleviate profile related errors
  • Changed: Insert from Media Library ability restored for WP 3.5+
Download this release

Release Info

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

Code changes from version 2.5.4 to 2.5.5

css/admin-styles.css CHANGED
@@ -102,7 +102,7 @@ p.gde-submit {
102
  margin: 10px 0 5px;
103
  }
104
 
105
- #toolbuttons td input, #gdet_h, #fs_win, #fs_print, #gdev_t, #gdev_f, #gdev_b, #force, #mask, #docsec td input{
106
  margin-left: 3px;
107
  }
108
 
@@ -110,6 +110,10 @@ p.gde-submit {
110
  margin-right: 10px;
111
  }
112
 
 
 
 
 
113
  .gde-fnote {
114
  font-style: italic;
115
  padding-left: 2px;
102
  margin: 10px 0 5px;
103
  }
104
 
105
+ #toolbuttons td input, #gdet_h, #fs_user, #fs_win, #fs_print, #gdev_t, #gdev_f, #gdev_b, #force, #mask, #docsec td input{
106
  margin-left: 3px;
107
  }
108
 
110
  margin-right: 10px;
111
  }
112
 
113
+ ::-webkit-input-placeholder { color: #777777; }
114
+ ::-moz-placeholder { color: #777777; } /* firefox 19+ */
115
+ input:-moz-placeholder { color: #777777; }
116
+
117
  .gde-fnote {
118
  font-style: italic;
119
  padding-left: 2px;
functions-admin.php CHANGED
@@ -18,6 +18,7 @@ function gde_form_to_profile( $pid, $data ) {
18
  // initialize checkbox values (values if options unchecked)
19
  $profile['tb_flags'] = "przn";
20
  $profile['tb_fullwin'] = "same";
 
21
  $profile['tb_print'] = "no";
22
  $profile['vw_flags'] = "";
23
  $profile['link_force'] = "no";
@@ -50,6 +51,8 @@ function gde_form_to_profile( $pid, $data ) {
50
  }
51
  } elseif ( $k == "fs_win" ) {
52
  $profile['tb_fullwin'] = "new";
 
 
53
  } elseif ( $k == "fs_print" ) {
54
  $profile['tb_print'] = "yes";
55
  } elseif ( strstr( $k, 'gdev_' ) && ( strstr( $v, 'gdev_' ) ) ) {
@@ -99,32 +102,36 @@ function gde_profile_to_profile( $sourceid, $name, $desc = '' ) {
99
  *
100
  * @since 2.5.0.1
101
  * @return int 0 = fail, 1 = created, 2 = updated, 3 = nothing to do
 
102
  */
103
  function gde_write_profile( $data, $id = null, $overwrite = false ) {
104
  global $wpdb;
105
  $table = $wpdb->prefix . 'gde_profiles';
106
 
107
  if ( empty( $id ) ) {
 
 
 
108
  // new (non-default) profile
109
  if ( ! $wpdb->insert(
110
  $table,
111
  array(
112
- 'profile_name' => strtolower( $data[0] ),
113
  'profile_desc' => $data[1],
114
  'profile_data' => $data[2]
115
  )
116
  ) ) {
117
- gde_dx_log("Profile creation failed");
118
  return 0;
119
  } else {
120
- gde_dx_log("New profile created");
121
  return 1;
122
  }
123
  } else {
124
  // new (default) or updated profile
125
  if ( is_null( $wpdb->get_row( "SELECT * FROM $table WHERE profile_id = $id" ) ) ) {
126
  // new default profile
127
- gde_dx_log("Profile ID $id doesn't exist - creating");
128
 
129
  if ( ! $wpdb->insert(
130
  $table,
@@ -401,7 +408,7 @@ function gde_get_locale() {
401
  }
402
 
403
  function gde_option_page() {
404
- global $gde_settings_page;
405
 
406
  $gde_settings_page = add_options_page( 'GDE '.__('Settings', 'gde'), 'GDE '.__('Settings', 'gde'), 'manage_options', 'gde-settings', 'gde_options' );
407
 
@@ -646,6 +653,16 @@ function gde_media_insert( $html, $id, $attachment ) {
646
  }
647
  }
648
 
 
 
 
 
 
 
 
 
 
 
649
  /**
650
  * Add upload support for natively unsupported mimetypes used by this plugin
651
  *
@@ -749,13 +766,12 @@ function gde_is_beta() {
749
  */
750
  function gde_warn_on_plugin_page( $plugin_file ) {
751
  global $pdata;
752
- $master = 'gviewer.php';
753
 
754
- if ( strstr( $plugin_file, $master ) ) {
755
 
756
  // see if there's a release waiting first (prevent double messages)
757
  $updates = (array) get_site_option( '_site_transient_update_plugins' );
758
- if ( isset( $updates['response'] ) && array_key_exists( $pdata['Slug'] . '/' . $master, $updates['response'] ) ) {
759
  return;
760
  }
761
 
@@ -802,13 +818,13 @@ function gde_check_for_beta( $plugin_file ) {
802
  $betacheck = new PluginUpdateChecker(
803
  GDE_BETA_API . 'beta-info/gde',
804
  $plugin_file,
805
- $pdata['Slug']
806
  );
807
 
808
- if ( ! $state = get_option('external_updates-' . $pdata['Slug']) ) {
809
  // get beta info if not cached
810
  $betacheck->checkForUpdates();
811
- if ( ! $state = get_option('external_updates-' . $pdata['Slug']) ) {
812
  // something's wrong with the process - skip
813
  gde_dx_log("Can't fetch beta info - skipping");
814
  return false;
@@ -840,7 +856,7 @@ function gde_beta_available() {
840
 
841
  if ( $avail_version = get_site_transient( $key ) ) {
842
  // transient already set - compare versions
843
- if ( version_compare( $pdata['Version'], $avail_version ) >= 0 ) {
844
  // installed version is same or newer, don't do anything
845
  return false;
846
  } else {
@@ -862,7 +878,7 @@ function gde_beta_available() {
862
  if ( gde_is_beta() ) {
863
  $hours = 3;
864
  } else {
865
- $hours = 12;
866
  }
867
 
868
  if ( ! is_wp_error( $response ) ) {
@@ -878,7 +894,7 @@ function gde_beta_available() {
878
  // there is a beta available, let the checker decide if it's relevant
879
  return true;
880
  } else {
881
- // no beta available - don't check again for 24 hours
882
  gde_dx_log("No beta detected, check again in $hours hours");
883
  set_site_transient( $key, $pdata['Version'], 60*60*24 );
884
  return false;
18
  // initialize checkbox values (values if options unchecked)
19
  $profile['tb_flags'] = "przn";
20
  $profile['tb_fullwin'] = "same";
21
+ $profile['tb_fulluser'] = "no";
22
  $profile['tb_print'] = "no";
23
  $profile['vw_flags'] = "";
24
  $profile['link_force'] = "no";
51
  }
52
  } elseif ( $k == "fs_win" ) {
53
  $profile['tb_fullwin'] = "new";
54
+ } elseif ( $k == "fs_user" ) {
55
+ $profile['tb_fulluser'] = "yes";
56
  } elseif ( $k == "fs_print" ) {
57
  $profile['tb_print'] = "yes";
58
  } elseif ( strstr( $k, 'gdev_' ) && ( strstr( $v, 'gdev_' ) ) ) {
102
  *
103
  * @since 2.5.0.1
104
  * @return int 0 = fail, 1 = created, 2 = updated, 3 = nothing to do
105
+ * @note data array expected: [0] name, [1] desc, [2] serialized data
106
  */
107
  function gde_write_profile( $data, $id = null, $overwrite = false ) {
108
  global $wpdb;
109
  $table = $wpdb->prefix . 'gde_profiles';
110
 
111
  if ( empty( $id ) ) {
112
+ // get profile name
113
+ $pname = strtolower( $data[0] );
114
+
115
  // new (non-default) profile
116
  if ( ! $wpdb->insert(
117
  $table,
118
  array(
119
+ 'profile_name' => $pname,
120
  'profile_desc' => $data[1],
121
  'profile_data' => $data[2]
122
  )
123
  ) ) {
124
+ gde_dx_log("Failed to create profile '$pname'");
125
  return 0;
126
  } else {
127
+ gde_dx_log("New profile '$pname' created");
128
  return 1;
129
  }
130
  } else {
131
  // new (default) or updated profile
132
  if ( is_null( $wpdb->get_row( "SELECT * FROM $table WHERE profile_id = $id" ) ) ) {
133
  // new default profile
134
+ //gde_dx_log("Profile ID $id doesn't exist - creating");
135
 
136
  if ( ! $wpdb->insert(
137
  $table,
408
  }
409
 
410
  function gde_option_page() {
411
+ global $gde_settings_page, $gdeoptions;
412
 
413
  $gde_settings_page = add_options_page( 'GDE '.__('Settings', 'gde'), 'GDE '.__('Settings', 'gde'), 'manage_options', 'gde-settings', 'gde_options' );
414
 
653
  }
654
  }
655
 
656
+ function gde_media_insert_35( $html, $id, $attachment ) {
657
+ global $gdeoptions;
658
+
659
+ if ( gde_valid_type( $attachment['url'] ) && $gdeoptions['ed_embed_sc'] == "yes" ) {
660
+ return '[gview file="' . $attachment['url'] . '"]';
661
+ } else {
662
+ return $html;
663
+ }
664
+ }
665
+
666
  /**
667
  * Add upload support for natively unsupported mimetypes used by this plugin
668
  *
766
  */
767
  function gde_warn_on_plugin_page( $plugin_file ) {
768
  global $pdata;
 
769
 
770
+ if ( strstr( $plugin_file, $pdata['mainfile'] ) ) {
771
 
772
  // see if there's a release waiting first (prevent double messages)
773
  $updates = (array) get_site_option( '_site_transient_update_plugins' );
774
+ if ( isset( $updates['response'] ) && array_key_exists( $pdata['basename'], $updates['response'] ) ) {
775
  return;
776
  }
777
 
818
  $betacheck = new PluginUpdateChecker(
819
  GDE_BETA_API . 'beta-info/gde',
820
  $plugin_file,
821
+ $pdata['slug']
822
  );
823
 
824
+ if ( ! $state = get_option('external_updates-' . $pdata['slug']) ) {
825
  // get beta info if not cached
826
  $betacheck->checkForUpdates();
827
+ if ( ! $state = get_option('external_updates-' . $pdata['slug']) ) {
828
  // something's wrong with the process - skip
829
  gde_dx_log("Can't fetch beta info - skipping");
830
  return false;
856
 
857
  if ( $avail_version = get_site_transient( $key ) ) {
858
  // transient already set - compare versions
859
+ if ( version_compare( $pdata['Version'], $avail_version, '>=' ) ) {
860
  // installed version is same or newer, don't do anything
861
  return false;
862
  } else {
878
  if ( gde_is_beta() ) {
879
  $hours = 3;
880
  } else {
881
+ $hours = 24;
882
  }
883
 
884
  if ( ! is_wp_error( $response ) ) {
894
  // there is a beta available, let the checker decide if it's relevant
895
  return true;
896
  } else {
897
+ // no beta available - don't check again for x hours
898
  gde_dx_log("No beta detected, check again in $hours hours");
899
  set_site_transient( $key, $pdata['Version'], 60*60*24 );
900
  return false;
functions.php CHANGED
@@ -26,9 +26,6 @@ if ( ! defined( 'ABSPATH' ) ) { exit; }
26
  @define( 'GDE_WP_URL', 'http://wordpress.org/extend/plugins/google-document-embedder/' );
27
  @define( 'GDE_BETA_API', 'http://dev.davismetro.com/api/1.0/' );
28
 
29
- // add admin functions only if needed
30
- if ( is_admin() ) { require_once( GDE_PLUGIN_DIR . 'functions-admin.php' ); }
31
-
32
  /**
33
  * List supported extensions & MIME types
34
  *
@@ -276,15 +273,15 @@ function gde_sanitize_dims( $dim ) {
276
  }
277
 
278
  /**
279
- *
280
  *
281
  * @since 2.5.0.1
282
  * @return string Short url response from API call, or false on error
283
  */
284
  function gde_get_short_url( $u ) {
285
  $u = urlencode( $u );
286
- $service[] = "http://is.gd/create.php?format=simple&url=" . $u;
287
  $service[] = "http://tinyurl.com/api-create.php?url=" . $u;
 
288
 
289
  foreach ( $service as $url ) {
290
  $passed = false;
@@ -292,12 +289,17 @@ function gde_get_short_url( $u ) {
292
  if ( is_wp_error( $response ) || empty ( $response['body'] ) ) {
293
  continue;
294
  } else {
295
- $passed = true;
296
- break;
 
 
 
 
 
297
  }
298
  }
299
 
300
- if ( $passed && ! empty( $response['body'] ) ) {
301
  return $response['body'];
302
  } else {
303
  // can't shorten - return original URL
@@ -375,13 +377,18 @@ function gde_ga_event( $file ) {
375
  * @return array Array of plugin data parsed from main plugin file
376
  */
377
  function gde_get_plugin_data() {
 
 
 
378
  if ( ! function_exists( 'get_plugin_data' ) ) {
379
  require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
380
  }
381
- $plugin_data = get_plugin_data( GDE_PLUGIN_DIR . 'gviewer.php' );
382
 
383
- // add custom data
384
- $plugin_data['Slug'] = 'google-document-embedder';
 
 
385
 
386
  return $plugin_data;
387
  }
@@ -439,7 +446,7 @@ function gde_dx_log( $text ) {
439
  * @return bool Whether or not table creation/update was successful
440
  */
441
  function gde_dx_log_create() {
442
- global $wpdb;
443
 
444
  $table = $wpdb->base_prefix . 'gde_dx_log';
445
  $db_ver_installed = get_site_option( 'gde_db_version', 0 );
@@ -450,8 +457,8 @@ function gde_dx_log_create() {
450
  data longtext NOT NULL,
451
  UNIQUE KEY (id)
452
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
453
-
454
- if ( version_compare( GDE_DB_VER, $db_ver_installed, ">" ) ) {
455
  // upgrade table if needed
456
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
457
  dbDelta( $sql );
@@ -474,7 +481,7 @@ function gde_dx_log_create() {
474
  }
475
 
476
  /**
477
- * GDE Capture Activation Errors
478
  *
479
  * @since 2.5.0.1
480
  * @return void
@@ -504,7 +511,7 @@ function gde_show_error( $status ) {
504
  * Check health of database tables
505
  *
506
  * @since 2.5.0.3
507
- * @return bool or string
508
  * @note Verbose text used in debug information
509
  */
510
  function gde_debug_tables( $table = array('gde_profiles', 'gde_secure'), $verbose = false ) {
26
  @define( 'GDE_WP_URL', 'http://wordpress.org/extend/plugins/google-document-embedder/' );
27
  @define( 'GDE_BETA_API', 'http://dev.davismetro.com/api/1.0/' );
28
 
 
 
 
29
  /**
30
  * List supported extensions & MIME types
31
  *
273
  }
274
 
275
  /**
276
+ * Shorten ("mask") the URL to the embedded file
277
  *
278
  * @since 2.5.0.1
279
  * @return string Short url response from API call, or false on error
280
  */
281
  function gde_get_short_url( $u ) {
282
  $u = urlencode( $u );
 
283
  $service[] = "http://tinyurl.com/api-create.php?url=" . $u;
284
+ $service[] = "http://is.gd/create.php?format=simple&url=" . $u;
285
 
286
  foreach ( $service as $url ) {
287
  $passed = false;
289
  if ( is_wp_error( $response ) || empty ( $response['body'] ) ) {
290
  continue;
291
  } else {
292
+ // check for rate limit exceeded or other error response
293
+ if ( ! gde_valid_link( $response['body'] ) ) {
294
+ continue;
295
+ } else {
296
+ $passed = true;
297
+ break;
298
+ }
299
  }
300
  }
301
 
302
+ if ( $passed ) {
303
  return $response['body'];
304
  } else {
305
  // can't shorten - return original URL
377
  * @return array Array of plugin data parsed from main plugin file
378
  */
379
  function gde_get_plugin_data() {
380
+ $mainfile = 'gviewer.php';
381
+ $slug = 'google-document-embedder';
382
+
383
  if ( ! function_exists( 'get_plugin_data' ) ) {
384
  require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
385
  }
386
+ $plugin_data = get_plugin_data( GDE_PLUGIN_DIR . $mainfile );
387
 
388
+ // add custom data (lowercase to avoid any future conflicts)
389
+ $plugin_data['slug'] = $slug;
390
+ $plugin_data['mainfile'] = $mainfile;
391
+ $plugin_data['basename'] = $plugin_data['slug'] . "/" . $mainfile;
392
 
393
  return $plugin_data;
394
  }
446
  * @return bool Whether or not table creation/update was successful
447
  */
448
  function gde_dx_log_create() {
449
+ global $wpdb, $gde_db_ver;
450
 
451
  $table = $wpdb->base_prefix . 'gde_dx_log';
452
  $db_ver_installed = get_site_option( 'gde_db_version', 0 );
457
  data longtext NOT NULL,
458
  UNIQUE KEY (id)
459
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
460
+
461
+ if ( version_compare( $gde_db_ver, $db_ver_installed, ">" ) ) {
462
  // upgrade table if needed
463
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
464
  dbDelta( $sql );
481
  }
482
 
483
  /**
484
+ * Capture activation errors ("unexpected output") to dx log
485
  *
486
  * @since 2.5.0.1
487
  * @return void
511
  * Check health of database tables
512
  *
513
  * @since 2.5.0.3
514
+ * @return mixed
515
  * @note Verbose text used in debug information
516
  */
517
  function gde_debug_tables( $table = array('gde_profiles', 'gde_secure'), $verbose = false ) {
gviewer.php CHANGED
@@ -8,12 +8,10 @@ Author: Kevin Davis
8
  Author URI: http://www.davistribe.org/
9
  Text Domain: gde
10
  Domain Path: /languages/
11
- Version: 2.5.4
12
  License: GPLv2
13
  */
14
 
15
- $gde_ver = "2.5.4.98";
16
-
17
  /**
18
  * LICENSE
19
  * This file is part of Google Doc Embedder.
@@ -40,33 +38,39 @@ $gde_ver = "2.5.4.98";
40
  */
41
 
42
  // boring init junk
 
 
 
43
  require_once( plugin_dir_path( __FILE__ ) . 'functions.php' );
 
 
44
  $pdata = gde_get_plugin_data();
45
  $gdeoptions = get_option( 'gde_options' );
46
- $healthy = gde_debug_tables( 'gde_profiles' );
47
- $gdetypes = gde_supported_types();
48
- global $wp_version;
49
 
50
- @define( 'GDE_DB_VER', '1.2' ); // when updated, also update gde_activate()
 
51
 
52
- // get global settings
 
 
 
 
53
  if ( is_multisite() ) {
54
  $gdeglobals = get_site_option( 'gde_globals' );
55
  }
 
56
 
57
- // activate plugin, allow full uninstall
58
  register_activation_hook( __FILE__, 'gde_activate' );
59
  register_deactivation_hook( __FILE__, 'gde_deactivate' );
60
- register_uninstall_hook( __FILE__, 'gde_uninstall' );
61
 
62
  // bring the magic
63
  add_action( 'plugins_loaded', 'gde_load' );
64
  add_shortcode( 'gview', 'gde_do_shortcode' );
65
 
66
  function gde_do_shortcode( $atts ) {
67
-
68
- // current settings
69
- global $gdeoptions, $healthy; //$gdeglobals
70
 
71
  // check profile table health
72
  if ( ! $healthy ) {
@@ -94,7 +98,7 @@ function gde_do_shortcode( $atts ) {
94
  'title' => '', // not yet implemented
95
  'page' => '',
96
 
97
- // backwards compatibility < gde 2.5 (still work but make undocumented as shortcode opts)
98
  'authonly' => '',
99
  'lang' => ''
100
  ), $atts ) );
@@ -348,6 +352,9 @@ if ( is_admin() ) {
348
  // embed shortcode instead of link from media library for supported types
349
  add_filter( 'attachment_fields_to_edit', 'gde_attachment_fields_to_edit', null, 2 );
350
  add_filter( 'media_send_to_editor', 'gde_media_insert', 20, 3 );
 
 
 
351
  }
352
  }
353
 
@@ -368,8 +375,13 @@ if ( is_admin() ) {
368
  * @note This function must remain in this file
369
  */
370
  function gde_activate( $network_wide ) {
 
 
 
 
 
371
  // set db schema version for this release - global not available here
372
- @define( 'GDE_DB_VER', '1.2' );
373
 
374
  // check for network-wide activation (currently not supported)
375
  if ( $network_wide ) {
@@ -377,7 +389,14 @@ function gde_activate( $network_wide ) {
377
  }
378
 
379
  require_once( plugin_dir_path( __FILE__ ) . 'libs/lib-setup.php' );
380
- gde_setup();
 
 
 
 
 
 
 
381
  }
382
 
383
  /**
@@ -388,10 +407,14 @@ function gde_activate( $network_wide ) {
388
  */
389
  function gde_deactivate() {
390
  global $wpdb;
391
- $blogid = get_current_blog_id();
392
 
393
  $table = $wpdb->base_prefix . 'gde_dx_log';
394
- $wpdb->query("DELETE FROM $table WHERE blogid = '$blogid'");
 
 
 
 
 
395
  }
396
 
397
  /**
@@ -405,48 +428,4 @@ function gde_load() {
405
  load_plugin_textdomain( 'gde', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
406
  }
407
 
408
- /**
409
- * Uninstall the plugin
410
- *
411
- * @since 2.5.0.1
412
- * @return void
413
- * @note This function must remain in this file. Was using uninstall.php in prior versions.
414
- */
415
- function gde_uninstall() {
416
- global $wpdb;
417
-
418
- // delete all options
419
- delete_option( 'gde_options' );
420
- delete_site_option( 'gde_db_version' );
421
- delete_site_option( 'gde_globals' );
422
-
423
- // remove beta cache, if any
424
- delete_option( 'external_updates-google-document-embedder' );
425
- delete_site_transient( 'gde_beta_version' );
426
-
427
- // drop db tables
428
- $table = $wpdb->prefix . 'gde_profiles';
429
- $wpdb->query( "DROP TABLE IF EXISTS $table" );
430
- $table = $wpdb->prefix . 'gde_secure';
431
- $wpdb->query( "DROP TABLE IF EXISTS $table" );
432
- $table = $wpdb->base_prefix . 'gde_dx_log';
433
- $wpdb->query( "DROP TABLE IF EXISTS $table" );
434
-
435
- // multisite cleanup
436
- if ( is_multisite() ) {
437
- $blogids = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs" ) );
438
- foreach ( $blogids as $blogid ) {
439
- switch_to_blog( $blogid );
440
-
441
- delete_option( 'gde_options' );
442
-
443
- $table = $wpdb->prefix . 'gde_profiles';
444
- $wpdb->query( "DROP TABLE IF EXISTS $table" );
445
- $table = $wpdb->prefix . 'gde_secure';
446
- $wpdb->query( "DROP TABLE IF EXISTS $table" );
447
- }
448
- restore_current_blog();
449
- }
450
- }
451
-
452
  ?>
8
  Author URI: http://www.davistribe.org/
9
  Text Domain: gde
10
  Domain Path: /languages/
11
+ Version: 2.5.5
12
  License: GPLv2
13
  */
14
 
 
 
15
  /**
16
  * LICENSE
17
  * This file is part of Google Doc Embedder.
38
  */
39
 
40
  // boring init junk
41
+ $gde_ver = "2.5.5.98";
42
+ $gde_db_ver = "1.2"; // update also in gde_activate()
43
+
44
  require_once( plugin_dir_path( __FILE__ ) . 'functions.php' );
45
+ global $wp_version;
46
+
47
  $pdata = gde_get_plugin_data();
48
  $gdeoptions = get_option( 'gde_options' );
49
+ $gdetypes = gde_supported_types();
 
 
50
 
51
+ // check for db health
52
+ $healthy = gde_debug_tables();
53
 
54
+ // add admin functions only if needed
55
+ if ( is_admin() ) { require_once( GDE_PLUGIN_DIR . 'functions-admin.php' ); }
56
+
57
+ // get global settings - not implemented in this release
58
+ /*
59
  if ( is_multisite() ) {
60
  $gdeglobals = get_site_option( 'gde_globals' );
61
  }
62
+ */
63
 
64
+ // activate plugin, allow clear dx log on deactivate
65
  register_activation_hook( __FILE__, 'gde_activate' );
66
  register_deactivation_hook( __FILE__, 'gde_deactivate' );
 
67
 
68
  // bring the magic
69
  add_action( 'plugins_loaded', 'gde_load' );
70
  add_shortcode( 'gview', 'gde_do_shortcode' );
71
 
72
  function gde_do_shortcode( $atts ) {
73
+ global $healthy, $gdeoptions; //$gdeglobals
 
 
74
 
75
  // check profile table health
76
  if ( ! $healthy ) {
98
  'title' => '', // not yet implemented
99
  'page' => '',
100
 
101
+ // backwards compatibility < gde 2.5 (still work but now "deprecated" and discouraged in the documentation)
102
  'authonly' => '',
103
  'lang' => ''
104
  ), $atts ) );
352
  // embed shortcode instead of link from media library for supported types
353
  add_filter( 'attachment_fields_to_edit', 'gde_attachment_fields_to_edit', null, 2 );
354
  add_filter( 'media_send_to_editor', 'gde_media_insert', 20, 3 );
355
+ } else {
356
+ //add_filter( 'attachment_fields_to_edit', 'gde_attachment_fields_to_edit_35', null, 2 );
357
+ add_filter( 'media_send_to_editor', 'gde_media_insert_35', 20, 3 );
358
  }
359
  }
360
 
375
  * @note This function must remain in this file
376
  */
377
  function gde_activate( $network_wide ) {
378
+ // check for sufficient php version (minimum supports json_encode)
379
+ if ( ! ( phpversion() >= '5.2.0' ) ) {
380
+ wp_die( 'Your server is running PHP version ' . phpversion() . ' but this plugin requires at least 5.2.0' );
381
+ }
382
+
383
  // set db schema version for this release - global not available here
384
+ $gde_db_ver = "1.2";
385
 
386
  // check for network-wide activation (currently not supported)
387
  if ( $network_wide ) {
389
  }
390
 
391
  require_once( plugin_dir_path( __FILE__ ) . 'libs/lib-setup.php' );
392
+
393
+ // create/update profile db, if necessary
394
+ if ( gde_db_tables( $gde_db_ver ) ) {
395
+ gde_setup();
396
+ } else {
397
+ gde_dx_log("Table creation failed; setup halted");
398
+ wp_die( __("Setup wasn't able to create the required database tables.", 'gde') );
399
+ }
400
  }
401
 
402
  /**
407
  */
408
  function gde_deactivate() {
409
  global $wpdb;
 
410
 
411
  $table = $wpdb->base_prefix . 'gde_dx_log';
412
+ if ( is_multisite() ) {
413
+ $blogid = get_current_blog_id();
414
+ $wpdb->query("DELETE FROM $table WHERE blogid = '$blogid'");
415
+ } else {
416
+ $wpdb->query("DROP TABLE $table");
417
+ }
418
  }
419
 
420
  /**
428
  load_plugin_textdomain( 'gde', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
429
  }
430
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  ?>
js/dialog.js CHANGED
@@ -15,6 +15,10 @@ var GDEInsertDialog = {
15
  update_sc();
16
  });
17
 
 
 
 
 
18
  jQuery('#height').blur(function(){
19
  update_sc();
20
  });
@@ -69,6 +73,15 @@ var GDEInsertDialog = {
69
  }
70
  }
71
 
 
 
 
 
 
 
 
 
 
72
  function update_insert() {
73
  if ( jQuery('#shortcode').val() !='' ) {
74
  jQuery('#insert').removeAttr('disabled');
@@ -96,25 +109,37 @@ var GDEInsertDialog = {
96
  shortcode = shortcode + ' profile="'+jQuery('#profile').val()+'"';
97
  }
98
 
99
- if (( jQuery('#height').val() !=0 ) & ( jQuery('#height').val() ) !=null) {
100
- shortcode = shortcode + ' height="'+jQuery('#height').val()+'"';
101
- }
102
- if (( jQuery('#width').val() !=0 ) & ( jQuery('#width').val() ) !=null) {
103
- shortcode = shortcode + ' width="'+jQuery('#width').val()+'"';
104
- }
105
-
106
- if (( jQuery('#page').val() != "1" ) & ( jQuery('#page').val() ) !='') {
107
- shortcode = shortcode + ' page="'+jQuery('#page').val()+'"';
108
- }
109
 
110
- if ( jQuery("input[name='save']:checked").val() == '1') {
111
- shortcode = shortcode + ' save="1"';
112
- } else if ( jQuery("input[name='save']:checked").val() == '0') {
113
- shortcode = shortcode + ' save="0"';
114
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
- if ( jQuery('.disable_cache').is(':checked') ) {
117
- shortcode = shortcode + ' cache="0"';
118
  }
119
 
120
  var newsc = shortcode.replace(/ /g,' ');
@@ -122,6 +147,18 @@ var GDEInsertDialog = {
122
  jQuery('#shortcode').val('['+newsc+']');
123
  update_insert();
124
  }
 
 
 
 
 
 
 
 
 
 
 
 
125
  },
126
  insert : function() {
127
  // insert the contents from the input into the document
15
  update_sc();
16
  });
17
 
18
+ //jQuery('.use_defaults').change(function(){
19
+ // use_defaults();
20
+ //});
21
+
22
  jQuery('#height').blur(function(){
23
  update_sc();
24
  });
73
  }
74
  }
75
 
76
+ /*function use_defaults() {
77
+ if ( jQuery('.use_defaults').is(':checked') ) {
78
+ jQuery('.ovrride').hide();
79
+ } else {
80
+ jQuery('.ovrride').show();
81
+ }
82
+ update_sc();
83
+ }*/
84
+
85
  function update_insert() {
86
  if ( jQuery('#shortcode').val() !='' ) {
87
  jQuery('#insert').removeAttr('disabled');
109
  shortcode = shortcode + ' profile="'+jQuery('#profile').val()+'"';
110
  }
111
 
112
+ if ( ! jQuery('.use_defaults').is(':checked') ) {
 
 
 
 
 
 
 
 
 
113
 
114
+ var height = jQuery('#height').val();
115
+ var width = jQuery('#width').val();
116
+
117
+ if ( height != 0 && height != null ) {
118
+ height = sanitize(height);
119
+ jQuery('#height').val(height);
120
+ shortcode = shortcode + ' height="'+height+'"';
121
+ }
122
+
123
+ if ( width != 0 && width != null ) {
124
+ width = sanitize(width);
125
+ jQuery('#width').val(width);
126
+ shortcode = shortcode + ' width="'+width+'"';
127
+ }
128
+
129
+ if (( jQuery('#page').val() != "1" ) & ( jQuery('#page').val() ) !='') {
130
+ shortcode = shortcode + ' page="'+jQuery('#page').val()+'"';
131
+ }
132
+
133
+ if ( jQuery("input[name='save']:checked").val() == '1') {
134
+ shortcode = shortcode + ' save="1"';
135
+ } else if ( jQuery("input[name='save']:checked").val() == '0') {
136
+ shortcode = shortcode + ' save="0"';
137
+ }
138
+
139
+ if ( jQuery('.disable_cache').is(':checked') ) {
140
+ shortcode = shortcode + ' cache="0"';
141
+ }
142
 
 
 
143
  }
144
 
145
  var newsc = shortcode.replace(/ /g,' ');
147
  jQuery('#shortcode').val('['+newsc+']');
148
  update_insert();
149
  }
150
+
151
+ function sanitize( dim ) {
152
+ if (dim.indexOf("%") == -1) {
153
+ dim = dim.replace(/[^0-9]/g, '');
154
+ dim += "px";
155
+ } else {
156
+ dim = dim.replace(/[^0-9]/g, '');
157
+ dim += "%";
158
+ }
159
+
160
+ return dim;
161
+ }
162
  },
163
  insert : function() {
164
  // insert the contents from the input into the document
js/gde-jquery.js CHANGED
@@ -151,8 +151,10 @@ jQuery(function ($) {
151
  function allowPrint() {
152
  if ($('#tb_fullscr').val() == "default") {
153
  $('#allowPrint').hide();
 
154
  } else if ($('#gdet_n').is(':checked')) {
155
  $('#allowPrint').show();
 
156
  }
157
  }
158
 
@@ -393,6 +395,7 @@ jQuery(function ($) {
393
  var debug = $('#debugtxt').val();
394
  var email = $('#sender').val();
395
  var sc = $('#sc').val();
 
396
  var msg = $('#msg').val();
397
 
398
  // check for debug info
@@ -414,6 +417,7 @@ jQuery(function ($) {
414
  name: name,
415
  email: email,
416
  sc: sc,
 
417
  msg: msg,
418
  senddb: senddb,
419
  cc: sendcc
151
  function allowPrint() {
152
  if ($('#tb_fullscr').val() == "default") {
153
  $('#allowPrint').hide();
154
+ $('#blockAnon').hide();
155
  } else if ($('#gdet_n').is(':checked')) {
156
  $('#allowPrint').show();
157
+ $('#blockAnon').show();
158
  }
159
  }
160
 
395
  var debug = $('#debugtxt').val();
396
  var email = $('#sender').val();
397
  var sc = $('#sc').val();
398
+ var eurl = $('#url').val();
399
  var msg = $('#msg').val();
400
 
401
  // check for debug info
417
  name: name,
418
  email: email,
419
  sc: sc,
420
+ url: eurl,
421
  msg: msg,
422
  senddb: senddb,
423
  cc: sendcc
languages/gde-en_US.mo CHANGED
Binary file
languages/gde-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
- "POT-Creation-Date: 2012-12-20 08:12-0600\n"
5
- "PO-Revision-Date: 2012-12-20 08:12-0600\n"
6
  "Last-Translator: Kevin Davis <wpp@tnw.org>\n"
7
  "Language-Team: Kevin Davis <wpp@tnw.org>\n"
8
  "MIME-Version: 1.0\n"
@@ -11,158 +11,162 @@ msgstr ""
11
  "X-Poedit-KeywordsList: __;_e\n"
12
  "X-Poedit-SearchPath-0: .\n"
13
 
14
- #: functions-admin.php:258
15
  msgid "Import"
16
  msgstr ""
17
 
18
- #: functions-admin.php:269
19
  msgid "Performing full import..."
20
  msgstr ""
21
 
22
- #: functions-admin.php:273 functions-admin.php:298
23
  msgid "Importing profiles"
24
  msgstr ""
25
 
26
- #: functions-admin.php:279 functions-admin.php:293 functions-admin.php:304
27
- #: functions-admin.php:317
28
  msgid "done"
29
  msgstr ""
30
 
31
- #: functions-admin.php:282 functions-admin.php:291 functions-admin.php:307
32
- #: functions-admin.php:315
33
  msgid "failed"
34
  msgstr ""
35
 
36
- #: functions-admin.php:288
37
  msgid "Importing settings"
38
  msgstr ""
39
 
40
- #: functions-admin.php:311
41
  msgid "Importing settings... "
42
  msgstr ""
43
 
44
- #: functions-admin.php:320 functions-admin.php:563 options.php:141
45
  msgid "Please select a valid export file to import."
46
  msgstr ""
47
 
48
- #: functions-admin.php:324
49
  msgid "All or part of the import failed. See above for information."
50
  msgstr ""
51
 
52
- #: functions-admin.php:326
53
  msgid "Import completed successfully."
54
  msgstr ""
55
 
56
- #: functions-admin.php:329
57
  msgid "Return to GDE Settings"
58
  msgstr ""
59
 
60
- #: functions-admin.php:406 functions-admin.php:532 options.php:168
61
- #: libs/tab-advanced.php:145
62
  msgid "Settings"
63
  msgstr ""
64
 
65
- #: functions-admin.php:415
66
  msgid "You do not have sufficient permissions to access this page"
67
  msgstr ""
68
 
69
- #: functions-admin.php:520
70
  msgid "plugin"
71
  msgstr ""
72
 
73
- #: functions-admin.php:521
74
  msgid "Version"
75
  msgstr ""
76
 
77
- #: functions-admin.php:559
78
  msgid "This profile will be permanently deleted."
79
  msgstr ""
80
 
81
- #: functions-admin.php:559 functions-admin.php:560 functions-admin.php:561
82
- #: functions-admin.php:564
83
  msgid "Are you sure?"
84
  msgstr ""
85
 
86
- #: functions-admin.php:560
87
  msgid "Settings for this profile will overwrite the default profile."
88
  msgstr ""
89
 
90
- #: functions-admin.php:561
91
  msgid ""
92
  "Your profile list will be reset to its original state. All changes will be "
93
  "lost."
94
  msgstr ""
95
 
96
- #: functions-admin.php:564
97
  msgid ""
98
  "Any settings or duplicate profile names in this import will overwrite the "
99
  "current values."
100
  msgstr ""
101
 
102
- #: functions-admin.php:566
103
  msgid "Please include a shortcode or message to request support."
104
  msgstr ""
105
 
106
- #: functions-admin.php:604
107
  msgid "Embed file using Google Doc Embedder"
108
  msgstr ""
109
 
110
- #: functions-admin.php:621 libs/lib-eddialog.php:85
111
  msgid "Select the GDE viewer profile to use"
112
  msgstr ""
113
 
114
- #: functions-admin.php:763
115
  msgid ""
116
  "You are running a pre-release version of Google Doc Embedder. Please watch "
117
  "this space for important updates."
118
  msgstr ""
119
 
120
- #: functions.php:107
121
  msgid "File not specified, check shortcode syntax"
122
  msgstr ""
123
 
124
- #: functions.php:108
125
  msgid "Requested URL is invalid"
126
  msgstr ""
127
 
128
- #: functions.php:109
129
  msgid "Unsupported File Type"
130
  msgstr ""
131
 
132
- #: functions.php:110
133
  msgid "Error retrieving file - if necessary turn off error checking"
134
  msgstr ""
135
 
136
- #: functions.php:214
137
  msgid "Unknown"
138
  msgstr ""
139
 
140
  # Megabytes (for file size reporting)
141
- #: functions.php:216 libs/tab-advanced.php:40
142
  msgid "MB"
143
  msgstr ""
144
 
145
- #: functions.php:343 gviewer.php:295 libs/lib-setup.php:88
146
- #: libs/lib-setup.php:136
147
  msgid "Download"
148
  msgstr ""
149
 
150
- #: functions.php:468 view.php:399
151
  msgid "Error"
152
  msgstr ""
153
 
154
- #: gviewer.php:72
155
  msgid "Unable to load profile settings"
156
  msgstr ""
157
 
158
- #: gviewer.php:107 gviewer.php:119
159
  msgid "Unable to load requested profile."
160
  msgstr ""
161
 
162
- #: gviewer.php:229
163
  msgid "Unable to secure document"
164
  msgstr ""
165
 
 
 
 
 
166
  #: load.php:8 libs/lib-formsubmit.php:9 libs/lib-secure.php:9
167
  #: libs/lib-service.php:53 libs/lib-service.php:71 libs/lib-service.php:74
168
  msgid "You do not have sufficient permissions to access this page."
@@ -232,7 +236,7 @@ msgstr ""
232
  msgid "General"
233
  msgstr ""
234
 
235
- #: options.php:182 options.php:195 libs/tab-advanced.php:144
236
  msgid "Profiles"
237
  msgstr ""
238
 
@@ -244,19 +248,19 @@ msgstr ""
244
  msgid "Support"
245
  msgstr ""
246
 
247
- #: options.php:346
248
  msgid "Help"
249
  msgstr ""
250
 
251
- #: options.php:372
252
  msgid "Edit"
253
  msgstr ""
254
 
255
- #: options.php:373
256
  msgid "Delete"
257
  msgstr ""
258
 
259
- #: options.php:374
260
  msgid "Make Default"
261
  msgstr ""
262
 
@@ -314,52 +318,56 @@ msgstr ""
314
  msgid "Optional (Override Profile Settings)"
315
  msgstr ""
316
 
317
- #: libs/lib-eddialog.php:97 libs/lib-profile.php:187
 
 
 
 
318
  msgid "Height"
319
  msgstr ""
320
 
321
- #: libs/lib-eddialog.php:102 libs/lib-profile.php:183
322
  msgid "Width"
323
  msgstr ""
324
 
325
- #: libs/lib-eddialog.php:103
326
  #, php-format
327
  msgid "Format: 40% or 300px"
328
  msgstr ""
329
 
330
- #: libs/lib-eddialog.php:108
331
  msgid "Start Page #"
332
  msgstr ""
333
 
334
- #: libs/lib-eddialog.php:116
335
  msgid "Show Download Link"
336
  msgstr ""
337
 
338
- #: libs/lib-eddialog.php:119
339
  msgid "Yes"
340
  msgstr ""
341
 
342
- #: libs/lib-eddialog.php:120
343
  msgid "No"
344
  msgstr ""
345
 
346
- #: libs/lib-eddialog.php:126
347
  msgid "Disable caching (this document is frequently overwritten)"
348
  msgstr ""
349
 
350
- #: libs/lib-eddialog.php:136
351
  msgid "Shortcode Preview"
352
  msgstr ""
353
 
354
- #: libs/lib-eddialog.php:144
355
  msgid "Insert"
356
  msgstr ""
357
 
358
- #: libs/lib-eddialog.php:148
359
  msgid "Cancel"
360
  msgstr ""
361
 
362
- #: libs/lib-profile.php:12 libs/tab-advanced.php:136 libs/tab-profiles.php:20
363
  msgid ""
364
  "Unable to load profile settings. Please re-activate GDE and if the problem "
365
  "persists, request help using the \"Support\" tab."
@@ -477,166 +485,164 @@ msgstr ""
477
  msgid "Full Screen Viewer"
478
  msgstr ""
479
 
480
- #: libs/lib-profile.php:114
481
  msgid "Open in New Window"
482
  msgstr ""
483
 
484
- #: libs/lib-profile.php:115
 
 
 
 
485
  msgid "Allow Printing"
486
  msgstr ""
487
 
488
- #: libs/lib-profile.php:120
489
  msgid "Page Area Background Color"
490
  msgstr ""
491
 
492
- #: libs/lib-profile.php:125
493
  msgid "None (Transparent)"
494
  msgstr ""
495
 
496
- #: libs/lib-profile.php:130
497
  msgid "Page Border Color"
498
  msgstr ""
499
 
500
- #: libs/lib-profile.php:135
501
  msgid "No Border"
502
  msgstr ""
503
 
504
- #: libs/lib-profile.php:140
505
  msgid "Custom CSS File"
506
  msgstr ""
507
 
508
- #: libs/lib-profile.php:146
509
  msgid "URL of custom CSS file (may override some of the above options)"
510
  msgstr ""
511
 
512
- #: libs/lib-profile.php:150
513
  msgid "Security"
514
  msgstr ""
515
 
516
- #: libs/lib-profile.php:153
517
  msgid "Hide ability to select/copy/paste text"
518
  msgstr ""
519
 
520
- #: libs/lib-profile.php:154
521
  msgid "Block all download requests for file"
522
  msgstr ""
523
 
524
- #: libs/lib-profile.php:165
525
  msgid "Default Language"
526
  msgstr ""
527
 
528
- #: libs/lib-profile.php:177
529
  msgid "Language of toolbar button tips"
530
  msgstr ""
531
 
532
- #: libs/lib-profile.php:181
533
  msgid "Default Size"
534
  msgstr ""
535
 
536
- #: libs/lib-profile.php:192
537
  msgid "Enter as pixels or percentage (example: 500px or 100%)"
538
  msgstr ""
539
 
540
- #: libs/lib-profile.php:196
541
  msgid "File Base URL"
542
  msgstr ""
543
 
544
- #: libs/lib-profile.php:202
545
  msgid ""
546
  "Any file not starting with <code>http</code> will be prefixed by this value"
547
  msgstr ""
548
 
549
- #: libs/lib-profile.php:206
550
  msgid "Download Link"
551
  msgstr ""
552
 
553
- #: libs/lib-profile.php:210
554
  msgid "All Users"
555
  msgstr ""
556
 
557
- #: libs/lib-profile.php:210
558
  msgid "Download link visible to everyone by default"
559
  msgstr ""
560
 
561
- #: libs/lib-profile.php:211
562
  msgid "Logged-in Users"
563
  msgstr ""
564
 
565
- #: libs/lib-profile.php:211
566
  msgid "Download link visible to logged-in users"
567
  msgstr ""
568
 
569
- #: libs/lib-profile.php:212 libs/tab-advanced.php:95
570
  msgid "None"
571
  msgstr ""
572
 
573
- #: libs/lib-profile.php:212
574
  msgid "Download link is not visible by default"
575
  msgstr ""
576
 
577
- #: libs/lib-profile.php:219
578
  msgid "Link Text"
579
  msgstr ""
580
 
581
- #: libs/lib-profile.php:222
582
  msgid "You can further customize text using these dynamic replacements:"
583
  msgstr ""
584
 
585
- #: libs/lib-profile.php:223
586
  msgid "filename"
587
  msgstr ""
588
 
589
- #: libs/lib-profile.php:224
590
  msgid "file type"
591
  msgstr ""
592
 
593
- #: libs/lib-profile.php:225
594
  msgid "file size"
595
  msgstr ""
596
 
597
- #: libs/lib-profile.php:229
598
  msgid "Link Position"
599
  msgstr ""
600
 
601
- #: libs/lib-profile.php:233
602
  msgid "Above Viewer"
603
  msgstr ""
604
 
605
- #: libs/lib-profile.php:234
606
  msgid "Below Viewer"
607
  msgstr ""
608
 
609
- #: libs/lib-profile.php:240
610
  msgid "Link Behavior"
611
  msgstr ""
612
 
613
- #: libs/lib-profile.php:243
614
  msgid "Force download (bypass browser plugins)"
615
  msgstr ""
616
 
617
- #: libs/lib-profile.php:244
618
  msgid "Shorten URL"
619
  msgstr ""
620
 
621
- #: libs/lib-profile.php:252 libs/tab-advanced.php:124
622
  msgid "Save Changes"
623
  msgstr ""
624
 
625
- #: libs/lib-setup.php:48
626
- msgid ""
627
- "Setup wasn't able to create the required tables. Please reactivate GDE or "
628
- "perform a clean installation."
629
- msgstr ""
630
-
631
- #: libs/lib-setup.php:70 libs/lib-setup.php:314
632
  msgid "This is the default profile, used when no profile is specified."
633
  msgstr ""
634
 
635
- #: libs/lib-setup.php:94
636
  msgid "Hide document location and text selection, prevent downloads"
637
  msgstr ""
638
 
639
- #: libs/lib-setup.php:118
640
  msgid "Dark-colored theme, example of custom CSS option"
641
  msgstr ""
642
 
@@ -652,148 +658,148 @@ msgstr ""
652
  msgid "Disable all editor integration"
653
  msgstr ""
654
 
655
- #: libs/tab-advanced.php:29
656
  msgid "Insert shortcode from Media Library by default"
657
  msgstr ""
658
 
659
- #: libs/tab-advanced.php:31
660
  msgid "Allow uploads of all supported media types"
661
  msgstr ""
662
 
663
- #: libs/tab-advanced.php:36
664
  msgid "Maximum File Size"
665
  msgstr ""
666
 
667
- #: libs/tab-advanced.php:42
668
  msgid ""
669
  "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
670
  msgstr ""
671
 
672
- #: libs/tab-advanced.php:46
673
  msgid "Error Handling"
674
  msgstr ""
675
 
676
- #: libs/tab-advanced.php:49
677
  msgid "Show error messages inline (otherwise, they appear in HTML comments)"
678
  msgstr ""
679
 
680
- #: libs/tab-advanced.php:50
681
  msgid "Check for errors before loading viewer"
682
  msgstr ""
683
 
684
- #: libs/tab-advanced.php:52
685
  msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
686
  msgstr ""
687
 
688
- #: libs/tab-advanced.php:54
689
  msgid "Enable extended diagnostic logging"
690
  msgstr ""
691
 
692
- #: libs/tab-advanced.php:56
693
  msgid "clear log"
694
  msgstr ""
695
 
696
- #: libs/tab-advanced.php:61
697
  msgid "show log"
698
  msgstr ""
699
 
700
- #: libs/tab-advanced.php:67
701
  msgid "Version Notifications"
702
  msgstr ""
703
 
704
- #: libs/tab-advanced.php:71
705
  msgid "All Versions"
706
  msgstr ""
707
 
708
- #: libs/tab-advanced.php:71
709
  msgid "You will receive release and beta notifications"
710
  msgstr ""
711
 
712
- #: libs/tab-advanced.php:72
713
  msgid "Release Versions Only"
714
  msgstr ""
715
 
716
- #: libs/tab-advanced.php:72
717
  msgid "You will not receive beta notifications"
718
  msgstr ""
719
 
720
- #: libs/tab-advanced.php:81
721
  msgid "Google Analytics"
722
  msgstr ""
723
 
724
- #: libs/tab-advanced.php:83
725
  msgid ""
726
  "To use Google Analytics integration, the GA tracking code must already be "
727
  "installed on your site."
728
  msgstr ""
729
 
730
- #: libs/tab-advanced.php:84
731
  msgid "More Info"
732
  msgstr ""
733
 
734
- #: libs/tab-advanced.php:89
735
  msgid "Event Tracking"
736
  msgstr ""
737
 
738
- #: libs/tab-advanced.php:93
739
  msgid "Enabled"
740
  msgstr ""
741
 
742
- #: libs/tab-advanced.php:93
743
  msgid "Track events in Google Analytics"
744
  msgstr ""
745
 
746
- #: libs/tab-advanced.php:94
747
  msgid "Enabled (Compatibility Mode)"
748
  msgstr ""
749
 
750
- #: libs/tab-advanced.php:94
751
  msgid "Track events using older GDE format (< 2.5)"
752
  msgstr ""
753
 
754
- #: libs/tab-advanced.php:95
755
  msgid "Disable Google Analytics integration"
756
  msgstr ""
757
 
758
- #: libs/tab-advanced.php:102
759
  msgid "Category"
760
  msgstr ""
761
 
762
- #: libs/tab-advanced.php:110
763
  msgid "Label"
764
  msgstr ""
765
 
766
- #: libs/tab-advanced.php:114
767
  msgid "Document URL"
768
  msgstr ""
769
 
770
- #: libs/tab-advanced.php:115
771
  msgid "Document Filename"
772
  msgstr ""
773
 
774
- #: libs/tab-advanced.php:132
775
  msgid "Backup and Import"
776
  msgstr ""
777
 
778
- #: libs/tab-advanced.php:140
779
  msgid ""
780
  "Download a file to your computer containing your profiles, settings, or "
781
  "both, for backup or migration purposes."
782
  msgstr ""
783
 
784
- #: libs/tab-advanced.php:143
785
  msgid "All Profiles and Settings"
786
  msgstr ""
787
 
788
- #: libs/tab-advanced.php:149
789
  msgid "Download Export File"
790
  msgstr ""
791
 
792
- #: libs/tab-advanced.php:157
793
  msgid "To import, choose a file from your computer:"
794
  msgstr ""
795
 
796
- #: libs/tab-advanced.php:163
797
  msgid "Upload File and Import"
798
  msgstr ""
799
 
@@ -875,54 +881,64 @@ msgid ""
875
  msgstr ""
876
 
877
  #: libs/tab-support.php:60
 
 
 
 
 
 
 
 
 
 
878
  msgid "Message"
879
  msgstr ""
880
 
881
- #: libs/tab-support.php:66
882
  msgid "Message Options"
883
  msgstr ""
884
 
885
- #: libs/tab-support.php:68
886
  msgid "Send debug information"
887
  msgstr ""
888
 
889
- #: libs/tab-support.php:69
890
  msgid "View"
891
  msgstr ""
892
 
893
- #: libs/tab-support.php:70
894
  msgid "Hide"
895
  msgstr ""
896
 
897
- #: libs/tab-support.php:71
898
  msgid "Send me a copy"
899
  msgstr ""
900
 
901
- #: libs/tab-support.php:77
902
  msgid "Debug Information"
903
  msgstr ""
904
 
905
- #: libs/tab-support.php:78
906
  msgid ""
907
  "Note: Profile and settings export and diagnostic log (if present) will be "
908
  "attached."
909
  msgstr ""
910
 
911
- #: libs/tab-support.php:151
912
  msgid ""
913
  "I'm less likely to be able to help you if you do not include debug "
914
  "information."
915
  msgstr ""
916
 
917
- #: libs/tab-support.php:153
918
  msgid "Send Request"
919
  msgstr ""
920
 
921
- #: libs/tab-support.php:157
922
  msgid "Request Sent"
923
  msgstr ""
924
 
925
- #: libs/tab-support.php:158
926
  msgid ""
927
  "Delivery failed. You can manually send this information to wpp@tnw.org for "
928
  "help."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
+ "POT-Creation-Date: 2013-01-29 13:40-0600\n"
5
+ "PO-Revision-Date: 2013-01-29 13:41-0600\n"
6
  "Last-Translator: Kevin Davis <wpp@tnw.org>\n"
7
  "Language-Team: Kevin Davis <wpp@tnw.org>\n"
8
  "MIME-Version: 1.0\n"
11
  "X-Poedit-KeywordsList: __;_e\n"
12
  "X-Poedit-SearchPath-0: .\n"
13
 
14
+ #: functions-admin.php:264
15
  msgid "Import"
16
  msgstr ""
17
 
18
+ #: functions-admin.php:275
19
  msgid "Performing full import..."
20
  msgstr ""
21
 
22
+ #: functions-admin.php:279 functions-admin.php:304
23
  msgid "Importing profiles"
24
  msgstr ""
25
 
26
+ #: functions-admin.php:285 functions-admin.php:299 functions-admin.php:310
27
+ #: functions-admin.php:323
28
  msgid "done"
29
  msgstr ""
30
 
31
+ #: functions-admin.php:288 functions-admin.php:297 functions-admin.php:313
32
+ #: functions-admin.php:321
33
  msgid "failed"
34
  msgstr ""
35
 
36
+ #: functions-admin.php:294
37
  msgid "Importing settings"
38
  msgstr ""
39
 
40
+ #: functions-admin.php:317
41
  msgid "Importing settings... "
42
  msgstr ""
43
 
44
+ #: functions-admin.php:326 functions-admin.php:569 options.php:141
45
  msgid "Please select a valid export file to import."
46
  msgstr ""
47
 
48
+ #: functions-admin.php:330
49
  msgid "All or part of the import failed. See above for information."
50
  msgstr ""
51
 
52
+ #: functions-admin.php:332
53
  msgid "Import completed successfully."
54
  msgstr ""
55
 
56
+ #: functions-admin.php:335
57
  msgid "Return to GDE Settings"
58
  msgstr ""
59
 
60
+ #: functions-admin.php:412 functions-admin.php:538 options.php:168
61
+ #: libs/tab-advanced.php:143
62
  msgid "Settings"
63
  msgstr ""
64
 
65
+ #: functions-admin.php:421
66
  msgid "You do not have sufficient permissions to access this page"
67
  msgstr ""
68
 
69
+ #: functions-admin.php:526
70
  msgid "plugin"
71
  msgstr ""
72
 
73
+ #: functions-admin.php:527
74
  msgid "Version"
75
  msgstr ""
76
 
77
+ #: functions-admin.php:565
78
  msgid "This profile will be permanently deleted."
79
  msgstr ""
80
 
81
+ #: functions-admin.php:565 functions-admin.php:566 functions-admin.php:567
82
+ #: functions-admin.php:570
83
  msgid "Are you sure?"
84
  msgstr ""
85
 
86
+ #: functions-admin.php:566
87
  msgid "Settings for this profile will overwrite the default profile."
88
  msgstr ""
89
 
90
+ #: functions-admin.php:567
91
  msgid ""
92
  "Your profile list will be reset to its original state. All changes will be "
93
  "lost."
94
  msgstr ""
95
 
96
+ #: functions-admin.php:570
97
  msgid ""
98
  "Any settings or duplicate profile names in this import will overwrite the "
99
  "current values."
100
  msgstr ""
101
 
102
+ #: functions-admin.php:572
103
  msgid "Please include a shortcode or message to request support."
104
  msgstr ""
105
 
106
+ #: functions-admin.php:610
107
  msgid "Embed file using Google Doc Embedder"
108
  msgstr ""
109
 
110
+ #: functions-admin.php:627 libs/lib-eddialog.php:85
111
  msgid "Select the GDE viewer profile to use"
112
  msgstr ""
113
 
114
+ #: functions-admin.php:778
115
  msgid ""
116
  "You are running a pre-release version of Google Doc Embedder. Please watch "
117
  "this space for important updates."
118
  msgstr ""
119
 
120
+ #: functions.php:104
121
  msgid "File not specified, check shortcode syntax"
122
  msgstr ""
123
 
124
+ #: functions.php:105
125
  msgid "Requested URL is invalid"
126
  msgstr ""
127
 
128
+ #: functions.php:106
129
  msgid "Unsupported File Type"
130
  msgstr ""
131
 
132
+ #: functions.php:107
133
  msgid "Error retrieving file - if necessary turn off error checking"
134
  msgstr ""
135
 
136
+ #: functions.php:227
137
  msgid "Unknown"
138
  msgstr ""
139
 
140
  # Megabytes (for file size reporting)
141
+ #: functions.php:229 libs/tab-advanced.php:38
142
  msgid "MB"
143
  msgstr ""
144
 
145
+ #: functions.php:361 gviewer.php:301 libs/lib-setup.php:83
146
+ #: libs/lib-setup.php:133
147
  msgid "Download"
148
  msgstr ""
149
 
150
+ #: functions.php:500 view.php:399
151
  msgid "Error"
152
  msgstr ""
153
 
154
+ #: gviewer.php:78
155
  msgid "Unable to load profile settings"
156
  msgstr ""
157
 
158
+ #: gviewer.php:113 gviewer.php:125
159
  msgid "Unable to load requested profile."
160
  msgstr ""
161
 
162
+ #: gviewer.php:235
163
  msgid "Unable to secure document"
164
  msgstr ""
165
 
166
+ #: gviewer.php:398
167
+ msgid "Setup wasn't able to create the required database tables."
168
+ msgstr ""
169
+
170
  #: load.php:8 libs/lib-formsubmit.php:9 libs/lib-secure.php:9
171
  #: libs/lib-service.php:53 libs/lib-service.php:71 libs/lib-service.php:74
172
  msgid "You do not have sufficient permissions to access this page."
236
  msgid "General"
237
  msgstr ""
238
 
239
+ #: options.php:182 options.php:195 libs/tab-advanced.php:142
240
  msgid "Profiles"
241
  msgstr ""
242
 
248
  msgid "Support"
249
  msgstr ""
250
 
251
+ #: options.php:349
252
  msgid "Help"
253
  msgstr ""
254
 
255
+ #: options.php:375
256
  msgid "Edit"
257
  msgstr ""
258
 
259
+ #: options.php:376
260
  msgid "Delete"
261
  msgstr ""
262
 
263
+ #: options.php:377
264
  msgid "Make Default"
265
  msgstr ""
266
 
318
  msgid "Optional (Override Profile Settings)"
319
  msgstr ""
320
 
321
+ #: libs/lib-eddialog.php:98
322
+ msgid "Use selected profile settings"
323
+ msgstr ""
324
+
325
+ #: libs/lib-eddialog.php:103 libs/lib-profile.php:189
326
  msgid "Height"
327
  msgstr ""
328
 
329
+ #: libs/lib-eddialog.php:108 libs/lib-profile.php:185
330
  msgid "Width"
331
  msgstr ""
332
 
333
+ #: libs/lib-eddialog.php:109
334
  #, php-format
335
  msgid "Format: 40% or 300px"
336
  msgstr ""
337
 
338
+ #: libs/lib-eddialog.php:114
339
  msgid "Start Page #"
340
  msgstr ""
341
 
342
+ #: libs/lib-eddialog.php:122
343
  msgid "Show Download Link"
344
  msgstr ""
345
 
346
+ #: libs/lib-eddialog.php:125
347
  msgid "Yes"
348
  msgstr ""
349
 
350
+ #: libs/lib-eddialog.php:126
351
  msgid "No"
352
  msgstr ""
353
 
354
+ #: libs/lib-eddialog.php:132
355
  msgid "Disable caching (this document is frequently overwritten)"
356
  msgstr ""
357
 
358
+ #: libs/lib-eddialog.php:143
359
  msgid "Shortcode Preview"
360
  msgstr ""
361
 
362
+ #: libs/lib-eddialog.php:151
363
  msgid "Insert"
364
  msgstr ""
365
 
366
+ #: libs/lib-eddialog.php:155
367
  msgid "Cancel"
368
  msgstr ""
369
 
370
+ #: libs/lib-profile.php:12 libs/tab-advanced.php:134 libs/tab-profiles.php:20
371
  msgid ""
372
  "Unable to load profile settings. Please re-activate GDE and if the problem "
373
  "persists, request help using the \"Support\" tab."
485
  msgid "Full Screen Viewer"
486
  msgstr ""
487
 
488
+ #: libs/lib-profile.php:115
489
  msgid "Open in New Window"
490
  msgstr ""
491
 
492
+ #: libs/lib-profile.php:116
493
+ msgid "Allow Logged-in Users Only"
494
+ msgstr ""
495
+
496
+ #: libs/lib-profile.php:117
497
  msgid "Allow Printing"
498
  msgstr ""
499
 
500
+ #: libs/lib-profile.php:122
501
  msgid "Page Area Background Color"
502
  msgstr ""
503
 
504
+ #: libs/lib-profile.php:127
505
  msgid "None (Transparent)"
506
  msgstr ""
507
 
508
+ #: libs/lib-profile.php:132
509
  msgid "Page Border Color"
510
  msgstr ""
511
 
512
+ #: libs/lib-profile.php:137
513
  msgid "No Border"
514
  msgstr ""
515
 
516
+ #: libs/lib-profile.php:142
517
  msgid "Custom CSS File"
518
  msgstr ""
519
 
520
+ #: libs/lib-profile.php:148
521
  msgid "URL of custom CSS file (may override some of the above options)"
522
  msgstr ""
523
 
524
+ #: libs/lib-profile.php:152
525
  msgid "Security"
526
  msgstr ""
527
 
528
+ #: libs/lib-profile.php:155
529
  msgid "Hide ability to select/copy/paste text"
530
  msgstr ""
531
 
532
+ #: libs/lib-profile.php:156
533
  msgid "Block all download requests for file"
534
  msgstr ""
535
 
536
+ #: libs/lib-profile.php:167
537
  msgid "Default Language"
538
  msgstr ""
539
 
540
+ #: libs/lib-profile.php:179
541
  msgid "Language of toolbar button tips"
542
  msgstr ""
543
 
544
+ #: libs/lib-profile.php:183
545
  msgid "Default Size"
546
  msgstr ""
547
 
548
+ #: libs/lib-profile.php:194
549
  msgid "Enter as pixels or percentage (example: 500px or 100%)"
550
  msgstr ""
551
 
552
+ #: libs/lib-profile.php:198
553
  msgid "File Base URL"
554
  msgstr ""
555
 
556
+ #: libs/lib-profile.php:204
557
  msgid ""
558
  "Any file not starting with <code>http</code> will be prefixed by this value"
559
  msgstr ""
560
 
561
+ #: libs/lib-profile.php:208
562
  msgid "Download Link"
563
  msgstr ""
564
 
565
+ #: libs/lib-profile.php:212
566
  msgid "All Users"
567
  msgstr ""
568
 
569
+ #: libs/lib-profile.php:212
570
  msgid "Download link visible to everyone by default"
571
  msgstr ""
572
 
573
+ #: libs/lib-profile.php:213
574
  msgid "Logged-in Users"
575
  msgstr ""
576
 
577
+ #: libs/lib-profile.php:213
578
  msgid "Download link visible to logged-in users"
579
  msgstr ""
580
 
581
+ #: libs/lib-profile.php:214 libs/tab-advanced.php:93
582
  msgid "None"
583
  msgstr ""
584
 
585
+ #: libs/lib-profile.php:214
586
  msgid "Download link is not visible by default"
587
  msgstr ""
588
 
589
+ #: libs/lib-profile.php:221
590
  msgid "Link Text"
591
  msgstr ""
592
 
593
+ #: libs/lib-profile.php:224
594
  msgid "You can further customize text using these dynamic replacements:"
595
  msgstr ""
596
 
597
+ #: libs/lib-profile.php:225
598
  msgid "filename"
599
  msgstr ""
600
 
601
+ #: libs/lib-profile.php:226
602
  msgid "file type"
603
  msgstr ""
604
 
605
+ #: libs/lib-profile.php:227
606
  msgid "file size"
607
  msgstr ""
608
 
609
+ #: libs/lib-profile.php:231
610
  msgid "Link Position"
611
  msgstr ""
612
 
613
+ #: libs/lib-profile.php:235
614
  msgid "Above Viewer"
615
  msgstr ""
616
 
617
+ #: libs/lib-profile.php:236
618
  msgid "Below Viewer"
619
  msgstr ""
620
 
621
+ #: libs/lib-profile.php:242
622
  msgid "Link Behavior"
623
  msgstr ""
624
 
625
+ #: libs/lib-profile.php:245
626
  msgid "Force download (bypass browser plugins)"
627
  msgstr ""
628
 
629
+ #: libs/lib-profile.php:246
630
  msgid "Shorten URL"
631
  msgstr ""
632
 
633
+ #: libs/lib-profile.php:254 libs/tab-advanced.php:122
634
  msgid "Save Changes"
635
  msgstr ""
636
 
637
+ #: libs/lib-setup.php:64
 
 
 
 
 
 
638
  msgid "This is the default profile, used when no profile is specified."
639
  msgstr ""
640
 
641
+ #: libs/lib-setup.php:89
642
  msgid "Hide document location and text selection, prevent downloads"
643
  msgstr ""
644
 
645
+ #: libs/lib-setup.php:114
646
  msgid "Dark-colored theme, example of custom CSS option"
647
  msgstr ""
648
 
658
  msgid "Disable all editor integration"
659
  msgstr ""
660
 
661
+ #: libs/tab-advanced.php:28
662
  msgid "Insert shortcode from Media Library by default"
663
  msgstr ""
664
 
665
+ #: libs/tab-advanced.php:29
666
  msgid "Allow uploads of all supported media types"
667
  msgstr ""
668
 
669
+ #: libs/tab-advanced.php:34
670
  msgid "Maximum File Size"
671
  msgstr ""
672
 
673
+ #: libs/tab-advanced.php:40
674
  msgid ""
675
  "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
676
  msgstr ""
677
 
678
+ #: libs/tab-advanced.php:44
679
  msgid "Error Handling"
680
  msgstr ""
681
 
682
+ #: libs/tab-advanced.php:47
683
  msgid "Show error messages inline (otherwise, they appear in HTML comments)"
684
  msgstr ""
685
 
686
+ #: libs/tab-advanced.php:48
687
  msgid "Check for errors before loading viewer"
688
  msgstr ""
689
 
690
+ #: libs/tab-advanced.php:50
691
  msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
692
  msgstr ""
693
 
694
+ #: libs/tab-advanced.php:52
695
  msgid "Enable extended diagnostic logging"
696
  msgstr ""
697
 
698
+ #: libs/tab-advanced.php:54
699
  msgid "clear log"
700
  msgstr ""
701
 
702
+ #: libs/tab-advanced.php:59
703
  msgid "show log"
704
  msgstr ""
705
 
706
+ #: libs/tab-advanced.php:65
707
  msgid "Version Notifications"
708
  msgstr ""
709
 
710
+ #: libs/tab-advanced.php:69
711
  msgid "All Versions"
712
  msgstr ""
713
 
714
+ #: libs/tab-advanced.php:69
715
  msgid "You will receive release and beta notifications"
716
  msgstr ""
717
 
718
+ #: libs/tab-advanced.php:70
719
  msgid "Release Versions Only"
720
  msgstr ""
721
 
722
+ #: libs/tab-advanced.php:70
723
  msgid "You will not receive beta notifications"
724
  msgstr ""
725
 
726
+ #: libs/tab-advanced.php:79
727
  msgid "Google Analytics"
728
  msgstr ""
729
 
730
+ #: libs/tab-advanced.php:81
731
  msgid ""
732
  "To use Google Analytics integration, the GA tracking code must already be "
733
  "installed on your site."
734
  msgstr ""
735
 
736
+ #: libs/tab-advanced.php:82
737
  msgid "More Info"
738
  msgstr ""
739
 
740
+ #: libs/tab-advanced.php:87
741
  msgid "Event Tracking"
742
  msgstr ""
743
 
744
+ #: libs/tab-advanced.php:91
745
  msgid "Enabled"
746
  msgstr ""
747
 
748
+ #: libs/tab-advanced.php:91
749
  msgid "Track events in Google Analytics"
750
  msgstr ""
751
 
752
+ #: libs/tab-advanced.php:92
753
  msgid "Enabled (Compatibility Mode)"
754
  msgstr ""
755
 
756
+ #: libs/tab-advanced.php:92
757
  msgid "Track events using older GDE format (< 2.5)"
758
  msgstr ""
759
 
760
+ #: libs/tab-advanced.php:93
761
  msgid "Disable Google Analytics integration"
762
  msgstr ""
763
 
764
+ #: libs/tab-advanced.php:100
765
  msgid "Category"
766
  msgstr ""
767
 
768
+ #: libs/tab-advanced.php:108
769
  msgid "Label"
770
  msgstr ""
771
 
772
+ #: libs/tab-advanced.php:112
773
  msgid "Document URL"
774
  msgstr ""
775
 
776
+ #: libs/tab-advanced.php:113
777
  msgid "Document Filename"
778
  msgstr ""
779
 
780
+ #: libs/tab-advanced.php:130
781
  msgid "Backup and Import"
782
  msgstr ""
783
 
784
+ #: libs/tab-advanced.php:138
785
  msgid ""
786
  "Download a file to your computer containing your profiles, settings, or "
787
  "both, for backup or migration purposes."
788
  msgstr ""
789
 
790
+ #: libs/tab-advanced.php:141
791
  msgid "All Profiles and Settings"
792
  msgstr ""
793
 
794
+ #: libs/tab-advanced.php:147
795
  msgid "Download Export File"
796
  msgstr ""
797
 
798
+ #: libs/tab-advanced.php:155
799
  msgid "To import, choose a file from your computer:"
800
  msgstr ""
801
 
802
+ #: libs/tab-advanced.php:161
803
  msgid "Upload File and Import"
804
  msgstr ""
805
 
881
  msgstr ""
882
 
883
  #: libs/tab-support.php:60
884
+ msgid "URL"
885
+ msgstr ""
886
+
887
+ #: libs/tab-support.php:63
888
+ msgid ""
889
+ "Paste the full web address of a page where I should be able to see the "
890
+ "problem occurring."
891
+ msgstr ""
892
+
893
+ #: libs/tab-support.php:67
894
  msgid "Message"
895
  msgstr ""
896
 
897
+ #: libs/tab-support.php:73
898
  msgid "Message Options"
899
  msgstr ""
900
 
901
+ #: libs/tab-support.php:75
902
  msgid "Send debug information"
903
  msgstr ""
904
 
905
+ #: libs/tab-support.php:76
906
  msgid "View"
907
  msgstr ""
908
 
909
+ #: libs/tab-support.php:77
910
  msgid "Hide"
911
  msgstr ""
912
 
913
+ #: libs/tab-support.php:78
914
  msgid "Send me a copy"
915
  msgstr ""
916
 
917
+ #: libs/tab-support.php:84
918
  msgid "Debug Information"
919
  msgstr ""
920
 
921
+ #: libs/tab-support.php:85
922
  msgid ""
923
  "Note: Profile and settings export and diagnostic log (if present) will be "
924
  "attached."
925
  msgstr ""
926
 
927
+ #: libs/tab-support.php:158
928
  msgid ""
929
  "I'm less likely to be able to help you if you do not include debug "
930
  "information."
931
  msgstr ""
932
 
933
+ #: libs/tab-support.php:160
934
  msgid "Send Request"
935
  msgstr ""
936
 
937
+ #: libs/tab-support.php:164
938
  msgid "Request Sent"
939
  msgstr ""
940
 
941
+ #: libs/tab-support.php:165
942
  msgid ""
943
  "Delivery failed. You can manually send this information to wpp@tnw.org for "
944
  "help."
languages/gde-hu_HU.mo CHANGED
Binary file
languages/gde-hu_HU.po CHANGED
@@ -2,220 +2,330 @@
2
  # This file is distributed under the same license as the Google Doc Embedder package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2012-11-12 14:15:05+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
  "Project-Id-Version: Google Doc Embedder\n"
 
 
 
12
 
13
- #: functions-admin.php:270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  msgid "Import"
15
  msgstr "Import"
16
 
17
- #: functions-admin.php:281
18
  msgid "Performing full import..."
19
  msgstr "Teljes importálás végrehajtása..."
20
 
21
- #: functions-admin.php:285 functions-admin.php:310
22
  msgid "Importing profiles"
23
  msgstr "Profilok importálása"
24
 
25
- #: functions-admin.php:291 functions-admin.php:305 functions-admin.php:316
26
- #: functions-admin.php:329
27
  msgid "done"
28
  msgstr "kész"
29
 
30
- #: functions-admin.php:294 functions-admin.php:303 functions-admin.php:319
31
- #: functions-admin.php:327
32
  msgid "failed"
33
  msgstr "nem sikerült"
34
 
35
- #: functions-admin.php:300
36
  msgid "Importing settings"
37
  msgstr "Beállítások importálása"
38
 
39
- #: functions-admin.php:323
40
  msgid "Importing settings... "
41
  msgstr "Beállítások importálása... "
42
 
43
- #: functions-admin.php:332 functions-admin.php:618 options.php:134
44
  msgid "Please select a valid export file to import."
45
  msgstr "Jelöljön ki egy érvényes exportfájlt az importáláshoz."
46
 
47
- #: functions-admin.php:336
48
  msgid "All or part of the import failed. See above for information."
49
- msgstr "Részben vagy egészben nem sikerült az importálás. Lásd a fenti információkat."
 
50
 
51
- #: functions-admin.php:338
52
  msgid "Import completed successfully."
53
  msgstr "Importálás sikeresen befejeződött."
54
 
55
- #: functions-admin.php:341
56
  msgid "Return to GDE Settings"
57
  msgstr "Vissza a GDE beállításokhoz"
58
 
59
- #: functions-admin.php:619
60
- msgid "Any settings or duplicate profile names in this import will overwrite the current values."
61
- msgstr "Minden beállítás vagy ismétlődő profil nevek, ebben az importálásban felülíródnak."
 
 
 
 
62
 
63
- #: functions-admin.php:621
64
  msgid "Please include a shortcode or message to request support."
65
- msgstr "Kérjük, töltse ki a hiányzó rövidkódot vagy üzenetet, és kérjen támogatást."
66
-
67
- #: gviewer.php:0
68
- msgid "2.5b3"
69
- msgstr "2.5b3"
70
 
71
- #: gviewer.php:72
72
  msgid "Unable to load profile settings"
73
  msgstr "Nem sikerült betölteni a profil beállításait"
74
 
75
- #: libs/lib-formsubmit.php:9 libs/lib-secure.php:9 libs/lib-service.php:53
76
- #: libs/lib-service.php:56 load.php:8
 
77
  msgid "You do not have sufficient permissions to access this page."
78
  msgstr "Nem rendelkezik megfelelő jogosultsággal az oldal megtekintéséhez."
79
 
80
- #: libs/lib-profile.php:12 libs/tab-advanced.php:128 libs/tab-profiles.php:22
81
- msgid "Unable to load profile settings. Please re-activate GDE and if the problem persists, request help using the \"Support\" tab."
82
- msgstr "Nem sikerült betölteni a profil beállításait. Kérjük újból aktiválni a GDE bővítményt és ha a probléma továbbra is fennáll, kérjen segítséget a \"Támogatás\" fülön keresztül."
 
 
 
 
 
83
 
84
- #: libs/tab-advanced.php:51
85
  msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
86
- msgstr "Kiterjesztett diagnosztikai naplózás engedélyezése <em>(kézi engedélyezés)</em>"
 
 
87
 
88
- #: libs/tab-advanced.php:53
89
  msgid "Enable extended diagnostic logging"
90
  msgstr "Kiterjesztett diagnosztikai naplózás engedélyezése"
91
 
92
- #: libs/tab-advanced.php:124
93
  msgid "Backup and Import"
94
  msgstr "Mentés És Visszaállítás"
95
 
96
- #: libs/tab-advanced.php:132
97
- msgid "Download a file to your computer containing your profiles, settings, or both, for backup or migration purposes."
98
- msgstr "Töltse le a fájlt a számítógépére, amely tartalmazza a profilokat, beállításokat, vagy mindkettőt, mentés és/vagy költöztetés céljából."
 
 
 
 
99
 
100
- #: libs/tab-advanced.php:135
101
  msgid "All Profiles and Settings"
102
  msgstr "Minden Profil És Beállítás"
103
 
104
- #: libs/tab-advanced.php:141
105
  msgid "Download Export File"
106
  msgstr "Export Fájl Letöltése"
107
 
108
- #: libs/tab-advanced.php:149
109
  msgid "To import, choose a file from your computer:"
110
  msgstr "Importáláshoz válasszon egy fájlt a számítógépéről (.json):"
111
 
112
- #: libs/tab-advanced.php:155
113
  msgid "Upload File and Import"
114
  msgstr "Fájl Feltöltése És Importálása"
115
 
116
- #: libs/tab-profiles.php:53 libs/tab-profiles.php:69
117
  msgid "ID"
118
  msgstr "ID"
119
 
120
- #: libs/tab-support.php:77
121
- msgid "Note: Profile and settings export and diagnostic log (if present) will be attached."
122
- msgstr "Megjegyzés: A profil és beállítások exportálási és diagnosztikai log-ja (ha van) akkor azt kell csatolni."
 
 
 
 
123
 
124
- #: view.php:373
125
- msgid "Unable to retrieve document contents. Please try again or switch to Standard Viewer."
126
- msgstr "Nem sikerült lekérni a dokumentum tartalmát. Kérjük, próbálja újra, vagy kapcsoljon át Normál Megjelenítőre."
 
 
 
 
127
 
128
- #: functions.php:114
129
  msgid "File not specified, check shortcode syntax"
130
- msgstr "A fájl nincs megadva, a megtekintéséhez ellenőrizze a rövidkód szintaxisát."
 
131
 
132
- #: functions.php:115
133
  msgid "Requested URL is invalid"
134
  msgstr "A kért URL-cím érvénytelen"
135
 
136
- #: functions.php:116
137
  msgid "Unsupported File Type"
138
  msgstr "Nem támogatott fájl típus"
139
 
140
- #: functions.php:117
141
  msgid "Error retrieving file - if necessary turn off error checking"
142
- msgstr "Hiba a fájlletöltés közben - Ha szükséges kapcsolja ki a hibaellenőrzést."
 
143
 
144
- #: libs/lib-profile.php:256 libs/tab-advanced.php:116
145
  msgid "Save Changes"
146
  msgstr "Módosítások mentése"
147
 
148
- #: libs/tab-advanced.php:87
149
  msgid "Disable Google Analytics integration"
150
  msgstr "Google Analítikák integrációjának letiltása."
151
 
152
- #: libs/tab-profiles.php:56 libs/tab-profiles.php:72 libs/tab-profiles.php:128
153
  msgid "Name"
154
  msgstr "Név:"
155
 
156
- #: libs/tab-profiles.php:130
157
- msgid ""
158
- "The name (or ID number) is used to select the profile via the shortcode. It is all\n"
159
- "\t\t\t\t\t\tlowercase and contains only letters, numbers, and hyphens."
160
- msgstr "A neve (vagy az ID száma) segítségével válassza ki a használni kívánt profilt a rövidkód segítségével. Ez csak csupa kisbetűt, számokat és kötőjeleket tartalmazhat."
161
-
162
- #: libs/tab-profiles.php:134
163
  msgid "Parent"
164
  msgstr "Kiinduási Pont:"
165
 
166
- #: libs/tab-profiles.php:142
167
  msgid "Select which profile to use as a starting point."
168
  msgstr "Válassza ki, melyik profilt használja kiindulási pontként."
169
 
170
- #: libs/tab-profiles.php:59 libs/tab-profiles.php:75 libs/tab-profiles.php:145
171
  msgid "Description"
172
  msgstr "Leírás:"
173
 
174
- #: libs/tab-profiles.php:147
175
  msgid "Describe the profile's purpose, for your own reference (optional)."
176
- msgstr "Ismertesse a profil célját. Ennek a használatára csupán saját magának lehet szüksége (nem kötelező)."
 
 
177
 
178
- #: options.php:28
179
  msgid "Profile name already exists. Please choose another name."
180
  msgstr "A profilnév már létezik. Kérjük válasszon másik nevet."
181
 
182
- #: functions-admin.php:615
183
  msgid "This profile will be permanently deleted."
184
  msgstr "Ez a profil végleges törlésre került."
185
 
186
- #: functions-admin.php:615 functions-admin.php:616 functions-admin.php:619
 
187
  msgid "Are you sure?"
188
  msgstr "Biztos benne?"
189
 
190
- #: functions-admin.php:616
191
  msgid "Settings for this profile will overwrite the default profile."
192
  msgstr "Ezek a profil beállítások felülírják az alapértelmezett profilt."
193
 
194
- #: functions-admin.php:652
195
  msgid "Embed file using Google Doc Embedder"
196
  msgstr "A Google Doc Embedder beágyazza a fájlt"
197
 
198
- #: functions-admin.php:670 libs/lib-eddialog.php:89
199
  msgid "Select the GDE viewer profile to use"
200
  msgstr "GDE megjelenítő profil kiválasztása"
201
 
202
- #: functions-admin.php:802
203
- msgid "You are running a pre-release version of Google Doc Embedder. Please watch this space for important updates."
204
- msgstr "Ha fut a Google Doc Embedder kiadás előtti verziója. Kérem, nézze meg ezt a helyet néha a fontos frissítések miatt."
 
 
 
 
205
 
206
- #: functions.php:200
207
  msgid "Unknown"
208
  msgstr "Ismeretlen"
209
 
210
- #: functions.php:362
211
- msgid "GDE could not create diagnostic log"
212
- msgstr "GDE nem tudta létrehozni a diagnosztikai naplót"
213
-
214
- #: gviewer.php:107 gviewer.php:119
215
  msgid "Unable to load requested profile."
216
  msgstr "Nem sikerült betölteni a kért profil."
217
 
218
- #: gviewer.php:213
219
  msgid "Unable to secure document"
220
  msgstr "Nem biztonságos dokumentum"
221
 
@@ -231,31 +341,31 @@ msgstr "Nyitása új ablakban"
231
  msgid "Access denied."
232
  msgstr "Hozzáférés letiltva."
233
 
234
- #: libs/lib-eddialog.php:56
235
  msgid "Insert Google Doc Embedder Shortcode"
236
  msgstr "Google Doc Embedder Rövidkód Beillesztése"
237
 
238
- #: libs/lib-eddialog.php:64
239
  msgid "Full URL or filename to append to profile Base URL"
240
  msgstr "Teljes URL-t vagy fájlnevet csatolja az alap profil URL címhez"
241
 
242
- #: libs/lib-eddialog.php:69
243
  msgid "Profile Base URL will be prefixed"
244
  msgstr "Alap Profil URL kerül elé"
245
 
246
- #: libs/lib-eddialog.php:78
247
  msgid "Profile"
248
  msgstr "Profil"
249
 
250
- #: libs/lib-eddialog.php:97
251
  msgid "Optional (Override Profile Settings)"
252
  msgstr "Választható (Profil Beállítások Felülírása)"
253
 
254
- #: libs/lib-eddialog.php:107
255
  msgid "Format: 40% or 300px"
256
  msgstr "Formátum: 40% vagy 300px"
257
 
258
- #: libs/lib-eddialog.php:112
259
  msgid "Start Page #"
260
  msgstr "Kezdő oldal #"
261
 
@@ -264,443 +374,431 @@ msgid "Default Settings"
264
  msgstr "Alapértelmezett Beállítások"
265
 
266
  #: libs/lib-profile.php:26
267
- msgid "These settings define the default viewer profile, which is used when no other profile is specified."
268
- msgstr "Ezek a beállítások meghatározzák az alapértelmezetten megjelenítő profilt, amely akkor használható, ha nincs más profil megadva."
 
 
 
 
269
 
270
  #: libs/lib-profile.php:30
271
  msgid "Edit Profile"
272
  msgstr "Profil Szerkesztése"
273
 
274
- #: libs/lib-profile.php:49
275
  msgid "Viewer Mode"
276
  msgstr "Megjelenítési Mód:"
277
 
278
- #: libs/lib-profile.php:53
279
  msgid "Standard Viewer"
280
  msgstr "Normál Megjelenítő"
281
 
282
- #: libs/lib-profile.php:53
283
  msgid "Embed the basic viewer only"
284
  msgstr "Csak az alap megjelenítő beágyazása."
285
 
286
- #: libs/lib-profile.php:54
287
  msgid "Enable extended viewer options"
288
  msgstr "Engedélyezte a kiterjesztett megjelenítő beállításait."
289
 
290
- #: libs/lib-profile.php:64
291
  msgid "Enhanced Viewer Settings"
292
  msgstr "Továbbfejlesztett Megjelenítő Beállítások"
293
 
294
- #: libs/lib-profile.php:68
295
  msgid "Toolbar"
296
  msgstr "Eszköztár:"
297
 
298
- #: libs/lib-profile.php:71
299
  msgid "Remove Toolbar"
300
  msgstr "Eszköztár Eltávolítása"
301
 
302
- #: libs/lib-profile.php:76
303
  msgid "Use Mobile Toolbar"
304
  msgstr "Mobil Eszköztár Használata:"
305
 
306
- #: libs/lib-profile.php:80
307
  msgid "Mobile Devices Only (Default)"
308
  msgstr "Csak Mobil Eszközökön (Alapértelmezett)"
309
 
310
- #: libs/lib-profile.php:80
311
  msgid "Use mobile toolbar when mobile device detected"
312
  msgstr "Mobil eszköztár használata mobil eszköz észlelésekor."
313
 
314
- #: libs/lib-profile.php:81
315
  msgid "Always"
316
  msgstr "Mindig"
317
 
318
- #: libs/lib-profile.php:81
319
  msgid "Use mobile toolbar for all visitors"
320
  msgstr "Mobil eszköztár használata minden látogatónál."
321
 
322
- #: libs/lib-profile.php:82
323
  msgid "Never"
324
  msgstr "Soha"
325
 
326
- #: libs/lib-profile.php:82
327
  msgid "Never use mobile toolbar"
328
  msgstr "Soha ne használjon mobil eszköztárt"
329
 
330
- #: libs/lib-profile.php:89
331
  msgid "Toolbar Items"
332
  msgstr "Eszköztár Elemek:"
333
 
334
- #: libs/lib-profile.php:92
335
  msgid "Page Numbers"
336
  msgstr "Oldal Számok"
337
 
338
- #: libs/lib-profile.php:93
339
  msgid "Previous/Next Page"
340
  msgstr "Előző/Következő oldal"
341
 
342
- #: libs/lib-profile.php:94
343
  msgid "Zoom In/Out"
344
  msgstr "Nagyító +/-"
345
 
346
- #: libs/lib-profile.php:95
347
  msgid "Full Screen/New Window"
348
  msgstr "Teljes képernyő/Új ablak"
349
 
350
- #: libs/lib-profile.php:98
351
- msgid "Uncheck items to remove from toolbar. Buttons will vary based on file type and device used."
352
- msgstr "Szüntesse meg a pipákat az eszköztárból való eltávolításhoz. A gombok megjelenése attól is függ, hogy milyen fájltípust és milyen eszközt használ."
 
 
 
 
353
 
354
- #: libs/lib-profile.php:102
355
  msgid "Full Screen Behavior"
356
  msgstr "Teljes méretű kép Viselkedése:"
357
 
358
- #: libs/lib-profile.php:106
359
  msgid "Google-Hosted Page (Default)"
360
  msgstr "Google Által Tárolt Oldal (Alapértelmezett)"
361
 
362
- #: libs/lib-profile.php:108
363
  msgid "Full Screen Viewer"
364
  msgstr "Teljes Méretű Megjelenítő"
365
 
366
- #: libs/lib-profile.php:112
367
  msgid "Open in New Window"
368
  msgstr "Megnyitása Új Ablakban"
369
 
370
- #: libs/lib-profile.php:113
371
  msgid "Allow Printing"
372
  msgstr "Nyomtatás Engedélyezése"
373
 
374
- #: libs/lib-profile.php:118
375
- msgid "Document Area"
376
- msgstr "Dokumentum Terület"
377
-
378
- #: libs/lib-profile.php:124
379
  msgid "Page Area Background Color"
380
  msgstr "Oldal Terület Háttérszín:"
381
 
382
- #: libs/lib-profile.php:129
383
  msgid "None (Transparent)"
384
  msgstr "Nincs (Átlátszó)"
385
 
386
- #: libs/lib-profile.php:134
387
  msgid "Page Border Color"
388
  msgstr "Oldal Keret Színe:"
389
 
390
- #: libs/lib-profile.php:139
391
  msgid "No Border"
392
  msgstr "Nincs Keret"
393
 
394
- #: libs/lib-profile.php:144
395
  msgid "Custom CSS File"
396
  msgstr "Egyedi CSS Fájl:"
397
 
398
- #: libs/lib-profile.php:150
399
  msgid "URL of custom CSS file (may override some of the above options)"
400
- msgstr "Az URL címen lévő egyéni CSS fájl (felülbírálhat néhányat a fenti beállításokból)."
 
 
401
 
402
- #: libs/lib-profile.php:154
403
  msgid "Security"
404
  msgstr "Biztonság:"
405
 
406
- #: libs/lib-profile.php:157
407
  msgid "Hide ability to select/copy/paste text"
408
  msgstr "A Másolás/Beillesztés képesség elrejtése"
409
 
410
- #: libs/lib-profile.php:158
411
  msgid "Block all download requests for file"
412
  msgstr "Blokkolja az összes letöltési kérelmet a fájlnál"
413
 
414
- #: libs/lib-profile.php:181
415
  msgid "Language of toolbar button tips"
416
  msgstr "Az eszköztár gombok tippjeinek nyelve."
417
 
418
- #: libs/lib-profile.php:196
419
  msgid "Enter as pixels or percentage (example: 500px or 100%)"
420
- msgstr "Írja be a képpontok számát, vagy határozza meg százalékban a megjelenés mértékét (például: 500px vagy 100%)."
 
 
421
 
422
- #: libs/lib-profile.php:206
423
- msgid "Any file not starting with <code>http</code> will be prefixed by this value"
424
- msgstr "Minden bejegyzéshez, amely nem <code>http</code>-vel kezdődik, alapértelmezettként hozzá lesz csatolva."
 
 
 
425
 
426
- #: libs/lib-profile.php:210
427
  msgid "Download Link"
428
  msgstr "Letöltési Link:"
429
 
430
- #: libs/lib-profile.php:214
431
  msgid "All Users"
432
  msgstr "Összes felhasználó"
433
 
434
- #: libs/lib-profile.php:214
435
  msgid "Download link visible to everyone by default"
436
  msgstr "Letöltési link látható mindenki számára alapértelmezés szerint."
437
 
438
- #: libs/lib-profile.php:215
439
  msgid "Logged-in Users"
440
  msgstr "Bejelentkezett Felhasználók"
441
 
442
- #: libs/lib-profile.php:215
443
  msgid "Download link visible to logged-in users"
444
  msgstr "Link letöltése a látható bejelentkezett felhasználóknak"
445
 
446
- #: libs/lib-profile.php:216 libs/tab-advanced.php:87
447
  msgid "None"
448
  msgstr "Egyik sem"
449
 
450
- #: libs/lib-profile.php:216
451
  msgid "Download link is not visible by default"
452
  msgstr "Letöltési link nem látható alapértelmezés szerint."
453
 
454
- #: libs/lib-profile.php:247
455
  msgid "Force download (bypass browser plugins)"
456
  msgstr "Kényszerített letöltő (megkerülő böngésző bővítmények)."
457
 
458
- #: libs/lib-profile.php:248
459
  msgid "Shorten URL"
460
  msgstr "URL Rövidítése."
461
 
462
- #: libs/lib-setup.php:43 libs/lib-setup.php:289
463
  msgid "This is the default profile, used when no profile is specified."
464
- msgstr "Ez az alapértelmezett profil, akkor használja a bővítmény, ha nincs a profil külön meghatározva."
 
 
465
 
466
- #: libs/lib-setup.php:67
467
  msgid "Hide document location and text selection, prevent downloads"
468
- msgstr "Elrejti a dokumentum helyét és a szövegkijelölések opciót, megakadályozza a letöltést"
 
 
469
 
470
- #: libs/lib-setup.php:91
471
  msgid "Dark-colored theme, example of custom CSS option"
472
  msgstr "Sötét színű téma, mint például az egyéni CSS opció"
473
 
474
- #: libs/tab-advanced.php:25
475
  msgid "Editor Integration"
476
  msgstr "Szerkesztő Integrálása:"
477
 
478
- #: libs/tab-advanced.php:29
479
  msgid "Insert shortcode from Media Library by default"
480
- msgstr "Helyezzea rövidkódot a Médiatárba alapértelmezés szerint."
481
 
482
- #: libs/tab-advanced.php:35
483
  msgid "Maximum File Size"
484
  msgstr "Maximális Fájl Méret:"
485
 
486
- #: libs/tab-advanced.php:41
487
- msgid "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
488
- msgstr "Túl nagy fájl nem lehet (általában 8-12MB lehet), mivel nem támogatja a Google Doc Viewer."
 
 
 
489
 
490
- #: libs/tab-advanced.php:45
491
  msgid "Error Handling"
492
  msgstr "Hibakezelés:"
493
 
494
- #: libs/tab-advanced.php:48
495
  msgid "Show error messages inline (otherwise, they appear in HTML comments)"
496
- msgstr "Hibaüzenetek beágyazott megjelenítése (egyébként, olyan mint a HTML megjegyzések)."
 
 
497
 
498
- #: libs/tab-advanced.php:49
499
  msgid "Check for errors before loading viewer"
500
  msgstr "Ellenőrizze a hibákat a megjelenítő betöltése előtt."
501
 
502
- #: libs/tab-advanced.php:59
503
  msgid "Version Notifications"
504
  msgstr "Verzió Értesítések:"
505
 
506
- #: libs/tab-advanced.php:63
507
  msgid "All Versions"
508
  msgstr "Összes verzióról"
509
 
510
- #: libs/tab-advanced.php:63
511
  msgid "You will receive release and beta notifications"
512
  msgstr "A bővítmény béta verzióiról is kap értesítést."
513
 
514
- #: libs/tab-advanced.php:64
515
  msgid "Release Versions Only"
516
  msgstr "Csak a kiadott verziókról"
517
 
518
- #: libs/tab-advanced.php:64
519
  msgid "You will not receive beta notifications"
520
  msgstr "Nem kap értesítést a bővítmény béta verzióiról."
521
 
522
- #: libs/tab-advanced.php:73
523
  msgid "Google Analytics"
524
  msgstr "Google Analítikák"
525
 
526
- #: libs/tab-advanced.php:75
527
- msgid "To use Google Analytics integration, the GA tracking code must already be installed on your site."
528
- msgstr "Ahhoz, hogy a Google Analítikák integrálódjanak a rendszerébe, a GA követőkódnak már telepítve kell lennie a webhelyén."
 
 
 
 
529
 
530
- #: libs/tab-advanced.php:76
531
  msgid "More Info"
532
  msgstr "Még több információt erről itt olvashat."
533
 
534
- #: libs/tab-advanced.php:81
535
  msgid "Event Tracking"
536
  msgstr "Eseménykövetés:"
537
 
538
- #: libs/tab-advanced.php:85
539
  msgid "Enabled"
540
  msgstr "Bekapcsolva"
541
 
542
- #: libs/tab-advanced.php:85
543
  msgid "Track events in Google Analytics"
544
  msgstr "Kövesse nyomon az eseményeket Google Analítikák segítségével."
545
 
546
- #: libs/tab-advanced.php:86
547
  msgid "Enabled (Compatibility Mode)"
548
  msgstr "Bekapcsolva (Kompatibilis mód)"
549
 
550
- #: libs/tab-advanced.php:86
551
  msgid "Track events using older GDE format (< 2.5)"
552
  msgstr "Események, változások a GDE bővítményben (< 2.5) verzió előtt."
553
 
554
- #: libs/tab-advanced.php:94
555
  msgid "Category"
556
  msgstr "Kategória:"
557
 
558
- #: libs/tab-advanced.php:102
559
  msgid "Label"
560
  msgstr "Címke:"
561
 
562
- #: libs/tab-advanced.php:106
563
  msgid "Document URL"
564
  msgstr "Dokumentum URL"
565
 
566
- #: libs/tab-advanced.php:107
567
  msgid "Document Filename"
568
  msgstr "Dokumentum fájlneve"
569
 
570
- #: libs/tab-profiles.php:36
571
- msgid "Bulk Actions"
572
- msgstr "Csoportművelet"
573
-
574
- #: libs/tab-profiles.php:37 options.php:395
575
  msgid "Delete"
576
  msgstr "Törlés"
577
 
578
- #: libs/tab-profiles.php:124 libs/tab-profiles.php:150
579
  msgid "Add New Profile"
580
  msgstr "Új Profil Hozzáadása"
581
 
582
- #: libs/tab-support.php:37
583
  msgid "Support Request"
584
  msgstr "Támogatási Kérelem"
585
 
586
- #: libs/tab-support.php:69
587
  msgid "Hide"
588
  msgstr "Elrejtés"
589
 
590
- #: libs/tab-support.php:140
591
  msgid "Send Request"
592
  msgstr "Kérelem Küldése"
593
 
594
- #: libs/tab-support.php:144
595
  msgid "Request Sent"
596
  msgstr "Kérelem Elküldve"
597
 
598
- #: load.php:41
599
  msgid "Direct access to this file is not permitted."
600
  msgstr "Közvetlen hozzáférés, a fájl nem engedélyezett."
601
 
602
- #: load.php:61
603
  msgid "The requested file was not found."
604
  msgstr "A lehívott fájl nem található."
605
 
606
- #: load.php:66
607
  msgid "Unable to open the requested file. "
608
  msgstr "Nem sikerült megnyitni a lehívott fájlt."
609
 
610
- #: load.php:81
611
- msgid "Unable to determine document type."
612
- msgstr "Nem sikerült meghatározni a dokumentum típusát."
613
-
614
- #: load.php:89 load.php:93
615
  msgid "The document file type is not supported."
616
  msgstr "A dokumentum fájltípus nem támogatott."
617
 
618
- #: options.php:13 options.php:65
619
  msgid "Default profile <strong>updated</strong>."
620
  msgstr "Alapértelmezett profil <strong>frissítve</strong>."
621
 
622
- #: options.php:15 options.php:50
623
  msgid "Unable to update profile."
624
  msgstr "Nem lehet frissíteni a profilt."
625
 
626
- #: options.php:35
627
  msgid "New profile <strong>created</strong>."
628
  msgstr "Új profil <strong>létrehozva</strong>."
629
 
630
- #: options.php:37 options.php:40
631
  msgid "Unable to create profile."
632
  msgstr "Nem lehet létrehozni a profilt."
633
 
634
- #: options.php:48
635
  msgid "Profile <strong>updated</strong>."
636
  msgstr "Profil <strong>frissítve</strong>."
637
 
638
- #: options.php:58
639
  msgid "Profile <strong>deleted</strong>."
640
  msgstr "Profil <strong>törölve</strong>."
641
 
642
- #: options.php:60
643
  msgid "Unable to delete profile."
644
  msgstr "Nem lehet törölni a profilt."
645
 
646
- #: options.php:110 options.php:112
647
  msgid "Settings <strong>updated</strong>."
648
  msgstr "Beállítások <strong>frissítve</strong>."
649
 
650
- #: options.php:191 options.php:204
651
  msgid "General"
652
  msgstr "Általános"
653
 
654
- #: libs/tab-advanced.php:136 options.php:196 options.php:209
655
  msgid "Profiles"
656
  msgstr "Profilok"
657
 
658
- #: options.php:217
659
  msgid "Advanced"
660
  msgstr "Haladó"
661
 
662
- #: options.php:394
663
  msgid "Edit"
664
  msgstr "Szerkesztés"
665
 
666
- #: options.php:396
667
  msgid "Make Default"
668
  msgstr "Legyen Alapértelmezett"
669
 
670
- #: site-options.php:19
671
- msgid "Global settings reset to defaults"
672
- msgstr "Általános beállítások visszaállítása az alapértékekre"
673
-
674
- #: site-options.php:116
675
- msgid "Global settings updated"
676
- msgstr "Általános beállítások frissítve"
677
-
678
- #: site-options.php:123
679
- msgid "Global Settings"
680
- msgstr "Általános Beállítások"
681
-
682
- #: site-options.php:125
683
- msgid "These settings will be enforced on all sites with Google Doc Embedder enabled."
684
- msgstr "Ezek a beállítások kerülnek végrehajtásra az összes oldalon, ha a Google Doc Embedder be van kapcsolva."
685
-
686
- #: site-options.php:141
687
- msgid "Enforce Viewer"
688
- msgstr "Megjelenítő Érvényesítése"
689
-
690
- #: site-options.php:148 site-options.php:158
691
- msgid "None (User Selected)"
692
- msgstr "Egyik sem (Felhasználó Válassza Ki)"
693
-
694
- #: site-options.php:155
695
- msgid "Enforce Language"
696
- msgstr "Alapértelmezett nyelv"
697
-
698
- #: view.php:40
699
  msgid "Invalid URL format"
700
  msgstr "Érvénytelen URL formátum"
701
 
702
- #: functions.php:318 gviewer.php:279 libs/lib-setup.php:61
703
- #: libs/lib-setup.php:109
704
  msgid "Download"
705
  msgstr "Letöltés"
706
 
@@ -713,8 +811,13 @@ msgid "http://www.davistribe.org/gde/"
713
  msgstr "http://www.davistribe.org/gde/"
714
 
715
  #: gviewer.php:0
716
- msgid "Lets you embed MS Office, PDF, TIFF, and many other file types in a web page using the Google Docs Viewer (no Flash or PDF browser plug-ins required)."
717
- msgstr "Lehetővé teszi, hogy beágyazzon MS Office, PDF, TIFF és sok más fájltípust az oldalon a Google Docs Megjelenítőbe (nem kell hozzá Flash vagy PDF böngésző plugin)."
 
 
 
 
 
718
 
719
  #: gviewer.php:0
720
  msgid "Kevin Davis"
@@ -724,231 +827,210 @@ msgstr "Kevin Davis"
724
  msgid "http://www.davistribe.org/"
725
  msgstr "http://www.davistribe.org/"
726
 
727
- #: options.php:222
728
  msgid "Support"
729
  msgstr "Támogatás"
730
 
731
- #: functions.php:390 view.php:372
732
  msgid "Error"
733
  msgstr "Hiba"
734
 
735
- #: functions-admin.php:431 functions-admin.php:449 functions-admin.php:588
736
- #: libs/tab-advanced.php:137 options.php:182
737
  msgid "Settings"
738
  msgstr "Beállítások"
739
 
740
- #: functions-admin.php:440
741
  msgid "You do not have sufficient permissions to access this page"
742
  msgstr "Nincs elegendő jogosultsága hozzáférni ehhez az oldalhoz"
743
 
744
- #: functions-admin.php:576
745
  msgid "plugin"
746
  msgstr "plugin"
747
 
748
- #: functions-admin.php:577
749
  msgid "Version"
750
  msgstr "Verzió"
751
 
752
- #: libs/lib-bootstrap.php:15
753
- msgid "Could not find wp-load.php"
754
- msgstr "A wp-load.php fájl nem található"
755
-
756
- #: libs/tab-support.php:26
757
- msgid "Please review the documentation before submitting a request for support:"
758
  msgstr "Olvassa el a dokumentációkat, a támogatási kérelem benyújtása előtt:"
759
 
760
- #: libs/tab-support.php:29
761
  msgid "Plugin FAQ"
762
  msgstr "Bővítmény Gyakran ismételt Kérdések"
763
 
764
- #: libs/tab-support.php:30
765
- msgid "Support Forum"
766
- msgstr "Támogatás Fóruma"
767
-
768
- #: libs/tab-support.php:33
769
  msgid "If you're still experiencing a problem, please complete the form below."
770
- msgstr "Ha továbbra is tapasztal problémát, kérjük, töltse ki az alábbi űrlapot."
 
771
 
772
- #: libs/tab-support.php:41
773
  msgid "Your Name"
774
  msgstr "Az Ön Neve:"
775
 
776
- #: libs/tab-support.php:45
777
  msgid "Your E-mail"
778
  msgstr "Az Ön E-mail Címe:"
779
 
780
- #: libs/tab-support.php:52
781
  msgid "Shortcode"
782
  msgstr "Rövidkód:"
783
 
784
- #: libs/tab-support.php:55
785
- msgid "If you're having a problem getting a specific document to work, paste the shortcode you're trying to use here."
786
- msgstr "Ha a probléma egy adott dokumentum esetében jön létre, illessze be a rövidkódot, amit használni szeretne."
 
 
 
 
787
 
788
- #: libs/tab-support.php:59
789
  msgid "Message"
790
  msgstr "Üzenet Szövege:"
791
 
792
- #: libs/tab-support.php:65
793
  msgid "Message Options"
794
  msgstr "Üzenet Beállításai:"
795
 
796
- #: libs/tab-support.php:67
797
  msgid "Send debug information"
798
  msgstr "Hibakeresési információkat küldjön."
799
 
800
- #: libs/tab-support.php:68
801
  msgid "View"
802
  msgstr "Megtekintés"
803
 
804
- #: libs/tab-support.php:70
805
  msgid "Send me a copy"
806
  msgstr "Küldjön másolatot az e-mail címemre is."
807
 
808
- #: libs/tab-support.php:76
809
  msgid "Debug Information"
810
  msgstr "Hibakeresési információ"
811
 
812
- #: libs/tab-support.php:138
813
- msgid "I'm less likely to be able to help you if you do not include debug information."
814
- msgstr "Nem valószínű, hogy tudok segíteni, ha nem tartalmazza a hibakeresési információkat a levél."
815
-
816
- #: libs/lib-eddialog.php:53
817
- msgid "I'll insert the shortcode myself"
818
- msgstr "A rövidkódot manuálisan, függetlenül írom be"
819
 
820
- #: libs/lib-eddialog.php:59
821
  msgid "Required"
822
  msgstr "Kötelező"
823
 
824
- #: libs/lib-eddialog.php:63
825
  msgid "URL or Filename"
826
  msgstr "URL vagy Fájlnév"
827
 
828
- #: libs/lib-eddialog.php:72
829
  msgid "Unsupported file type"
830
  msgstr "Nem támogatott fájl típus"
831
 
832
- #: libs/lib-eddialog.php:101 libs/lib-profile.php:191
833
  msgid "Height"
834
  msgstr "Magasság"
835
 
836
- #: libs/lib-eddialog.php:106 libs/lib-profile.php:187
837
  msgid "Width"
838
  msgstr "Szélesség"
839
 
840
- #: libs/lib-eddialog.php:120
841
  msgid "Show Download Link"
842
  msgstr "Letöltési hivatkozás megjelenítése"
843
 
844
- #: libs/lib-eddialog.php:123
845
  msgid "Yes"
846
  msgstr "Igen"
847
 
848
- #: libs/lib-eddialog.php:124
849
  msgid "No"
850
  msgstr "Nem"
851
 
852
- #: libs/lib-eddialog.php:130
853
  msgid "Disable caching (this document is frequently overwritten)"
854
  msgstr "Cache letiltása (ez a dokumentumot gyakran felülírja)"
855
 
856
- #: libs/lib-eddialog.php:140
857
  msgid "Shortcode Preview"
858
  msgstr "Rövidkód Előnézete"
859
 
860
- #: libs/lib-eddialog.php:148
861
  msgid "Insert"
862
  msgstr "Beszúrás"
863
 
864
- #: libs/lib-eddialog.php:152
865
  msgid "Cancel"
866
  msgstr "Mégse"
867
 
868
- #: site-options.php:136
869
- msgid "Viewer Options"
870
- msgstr "Megjelenítő Beállításai"
871
-
872
- #: options.php:368 site-options.php:144
873
  msgid "Help"
874
  msgstr "Segítség"
875
 
876
- #: site-options.php:149
877
- msgid "Google Standard Viewer"
878
- msgstr "Google Standard Megjelenítő"
879
-
880
- #: libs/lib-profile.php:54 site-options.php:150
881
  msgid "Enhanced Viewer"
882
  msgstr "Továbbfejlesztett Megjelenítő"
883
 
884
- #: libs/lib-profile.php:185
885
  msgid "Default Size"
886
  msgstr "Alapértelmezett Méret:"
887
 
888
- #: libs/lib-profile.php:169
889
  msgid "Default Language"
890
  msgstr "Alapértelmezett Nyelv:"
891
 
892
- #: libs/lib-profile.php:200
893
  msgid "File Base URL"
894
  msgstr "Fájlok alapértelmezett URL helye:"
895
 
896
- #: libs/lib-profile.php:223
897
  msgid "Link Text"
898
  msgstr "Link Szövege:"
899
 
900
- #: libs/lib-profile.php:226
901
  msgid "You can further customize text using these dynamic replacements:"
902
- msgstr "További testreszabásához, használja ezeket a dinamikus helyettesítő kódokat:"
 
903
 
904
- #: libs/lib-profile.php:227
905
  msgid "filename"
906
  msgstr "fájlnév"
907
 
908
- #: libs/lib-profile.php:228
909
  msgid "file type"
910
  msgstr "fájl típus"
911
 
912
- #: libs/lib-profile.php:229
913
  msgid "file size"
914
  msgstr "fájl mérete"
915
 
916
- #: libs/lib-profile.php:233
917
  msgid "Link Position"
918
  msgstr "Link Pozíciója:"
919
 
920
- #: libs/lib-profile.php:237
921
  msgid "Above Viewer"
922
  msgstr "Ablak felett"
923
 
924
- #: libs/lib-profile.php:238
925
  msgid "Below Viewer"
926
  msgstr "Ablak alatt"
927
 
928
- #: libs/lib-profile.php:244
929
  msgid "Link Behavior"
930
  msgstr "Link Viselkedése:"
931
 
932
- #: libs/tab-advanced.php:20
933
  msgid "Plugin Behavior"
934
  msgstr "Plugin Viselkedése"
935
 
936
- #: libs/tab-advanced.php:28
937
  msgid "Disable all editor integration"
938
  msgstr "Az összes szerkesztő integrálásának letiltása."
939
 
940
- #: libs/tab-advanced.php:30
941
  msgid "Allow uploads of all supported media types"
942
  msgstr "Engedje a feltöltését az összes támogatott médiatípusoknak."
943
-
944
- #: site-options.php:219
945
- msgid "Save Options"
946
- msgstr "Beállítások Mentése"
947
-
948
- #: site-options.php:221
949
- msgid "Reset to Defaults"
950
- msgstr "Visszaállítás Alapértelmezettre"
951
-
952
- #: site-options.php:221
953
- msgid "Are you sure you want to reset all settings to defaults?"
954
- msgstr "Valóban szeretne minden beállítást visszaállítani az alapértékekre?"
2
  # This file is distributed under the same license as the Google Doc Embedder package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2013-02-01 05:59-0600\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Generator: Poedit 1.5.4\n"
11
  "Project-Id-Version: Google Doc Embedder\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: Kevin Davis <kev@tnw.org>\n"
14
+ "Language-Team: \n"
15
 
16
+ #: gviewer.php:0
17
+ msgid "2.5.5"
18
+ msgstr "2.5.5"
19
+
20
+ #: gviewer.php:398
21
+ msgid "Setup wasn't able to create the required database tables."
22
+ msgstr "A telepítő nem tudta létrehozni a szükséges adatbázis táblákat."
23
+
24
+ #: libs/lib-eddialog.php:98
25
+ msgid "Use selected profile settings"
26
+ msgstr "Kiválasztott profil beállítások használata"
27
+
28
+ #: libs/lib-profile.php:116
29
+ msgid "Allow Logged-in Users Only"
30
+ msgstr "Csak a bejelentkezett felhasználók"
31
+
32
+ #: libs/tab-support.php:60
33
+ msgid "URL"
34
+ msgstr "URL"
35
+
36
+ #: libs/tab-support.php:63
37
+ msgid ""
38
+ "Paste the full web address of a page where I should be able to see the "
39
+ "problem occurring."
40
+ msgstr ""
41
+ "Illessze be a teljes webcímét annak az oldalnak, ahol a bővítménynek "
42
+ "képesnek kell lennie arra, ami a feladata, hogy a probléma kialakulását "
43
+ "láthassam."
44
+
45
+ #: functions.php:229 libs/tab-advanced.php:38
46
+ msgid "MB"
47
+ msgstr "MB"
48
+
49
+ #: options.php:28
50
+ msgid "Profile name must contain at least one letter."
51
+ msgstr "Profil név mezőnek tartalmaznia kell legalább egy betűt."
52
+
53
+ #: libs/tab-profiles.php:83
54
+ msgid "profile_desc"
55
+ msgstr "profile_desc"
56
+
57
+ #: libs/tab-support.php:165
58
+ msgid ""
59
+ "Delivery failed. You can manually send this information to wpp@tnw.org for "
60
+ "help."
61
+ msgstr ""
62
+ "Sikertelen kézbesítés. Ezt az információt kézi módszerrel küldheti el a "
63
+ "wpp@tnw.org címre, hogy segítsenek."
64
+
65
+ #: functions-admin.php:568
66
+ msgid ""
67
+ "Your profile list will be reset to its original state. All changes will be "
68
+ "lost."
69
+ msgstr ""
70
+ "A profilok listája visszaáll eredeti állapotába. Minden eddigi módosítás "
71
+ "elvész."
72
+
73
+ #: libs/tab-advanced.php:59
74
+ msgid "show log"
75
+ msgstr "napló mutatása"
76
+
77
+ #: libs/tab-advanced.php:54
78
+ msgid "clear log"
79
+ msgstr "napló törlése"
80
+
81
+ #: libs/tab-profiles.php:92
82
+ msgid "Reset Profiles"
83
+ msgstr "Profilok Visszaállítása"
84
+
85
+ #: libs/tab-profiles.php:106
86
+ msgid ""
87
+ "The name (or ID number) is used to select the profile via the shortcode. It "
88
+ "is all lowercase and contains only letters, numbers, and hyphens."
89
+ msgstr ""
90
+ "A neve (vagy ID száma) segítségével válassza ki a kívánt profilt a rövid "
91
+ "kódja segítségével. Ez csupa kisbetűt, betűket, számokat és kötőjeleket "
92
+ "tartalmazhat csak."
93
+
94
+ #: libs/tab-support.php:49
95
+ msgid "A valid email address is required."
96
+ msgstr "Érvényes E-mail cím szükséges."
97
+
98
+ #: options.php:105
99
+ msgid "Unable to enable diagnostic logging."
100
+ msgstr "Nem sikerült a diagnosztikai naplózás engedélyezése."
101
+
102
+ #: functions-admin.php:265
103
  msgid "Import"
104
  msgstr "Import"
105
 
106
+ #: functions-admin.php:276
107
  msgid "Performing full import..."
108
  msgstr "Teljes importálás végrehajtása..."
109
 
110
+ #: functions-admin.php:280 functions-admin.php:305
111
  msgid "Importing profiles"
112
  msgstr "Profilok importálása"
113
 
114
+ #: functions-admin.php:286 functions-admin.php:300 functions-admin.php:311
115
+ #: functions-admin.php:324
116
  msgid "done"
117
  msgstr "kész"
118
 
119
+ #: functions-admin.php:289 functions-admin.php:298 functions-admin.php:314
120
+ #: functions-admin.php:322
121
  msgid "failed"
122
  msgstr "nem sikerült"
123
 
124
+ #: functions-admin.php:295
125
  msgid "Importing settings"
126
  msgstr "Beállítások importálása"
127
 
128
+ #: functions-admin.php:318
129
  msgid "Importing settings... "
130
  msgstr "Beállítások importálása... "
131
 
132
+ #: functions-admin.php:327 functions-admin.php:570 options.php:141
133
  msgid "Please select a valid export file to import."
134
  msgstr "Jelöljön ki egy érvényes exportfájlt az importáláshoz."
135
 
136
+ #: functions-admin.php:331
137
  msgid "All or part of the import failed. See above for information."
138
+ msgstr ""
139
+ "Részben vagy egészben nem sikerült az importálás. Lásd a fenti információkat."
140
 
141
+ #: functions-admin.php:333
142
  msgid "Import completed successfully."
143
  msgstr "Importálás sikeresen befejeződött."
144
 
145
+ #: functions-admin.php:336
146
  msgid "Return to GDE Settings"
147
  msgstr "Vissza a GDE beállításokhoz"
148
 
149
+ #: functions-admin.php:571
150
+ msgid ""
151
+ "Any settings or duplicate profile names in this import will overwrite the "
152
+ "current values."
153
+ msgstr ""
154
+ "Minden beállítás vagy ismétlődő profil nevek, ebben az importálásban "
155
+ "felülíródnak."
156
 
157
+ #: functions-admin.php:573
158
  msgid "Please include a shortcode or message to request support."
159
+ msgstr ""
160
+ "Kérjük, töltse ki a hiányzó rövid kódot vagy üzenetet, és kérjen támogatást."
 
 
 
161
 
162
+ #: gviewer.php:78
163
  msgid "Unable to load profile settings"
164
  msgstr "Nem sikerült betölteni a profil beállításait"
165
 
166
+ #: libs/lib-formsubmit.php:9 libs/lib-secure.php:9 libs/lib-service.php:12
167
+ #: libs/lib-service.php:58 libs/lib-service.php:76 libs/lib-service.php:79
168
+ #: load.php:8
169
  msgid "You do not have sufficient permissions to access this page."
170
  msgstr "Nem rendelkezik megfelelő jogosultsággal az oldal megtekintéséhez."
171
 
172
+ #: libs/lib-profile.php:12 libs/tab-advanced.php:134 libs/tab-profiles.php:20
173
+ msgid ""
174
+ "Unable to load profile settings. Please re-activate GDE and if the problem "
175
+ "persists, request help using the \"Support\" tab."
176
+ msgstr ""
177
+ "Nem sikerült betölteni a profil beállításait. Kérjük újból aktiválni a GDE "
178
+ "bővítményt és ha a probléma továbbra is fennáll, kérjen segítséget a "
179
+ "\"Támogatás\" fülön keresztül."
180
 
181
+ #: libs/tab-advanced.php:50
182
  msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
183
+ msgstr ""
184
+ "Kiterjesztett diagnosztikai naplózás engedélyezése <em>(kézi engedélyezés)</"
185
+ "em>"
186
 
187
+ #: libs/tab-advanced.php:52
188
  msgid "Enable extended diagnostic logging"
189
  msgstr "Kiterjesztett diagnosztikai naplózás engedélyezése"
190
 
191
+ #: libs/tab-advanced.php:130
192
  msgid "Backup and Import"
193
  msgstr "Mentés És Visszaállítás"
194
 
195
+ #: libs/tab-advanced.php:138
196
+ msgid ""
197
+ "Download a file to your computer containing your profiles, settings, or "
198
+ "both, for backup or migration purposes."
199
+ msgstr ""
200
+ "Töltse le a fájlt a számítógépére, amely tartalmazza a profilokat, "
201
+ "beállításokat, vagy mindkettőt, mentés és/vagy költöztetés céljából."
202
 
203
+ #: libs/tab-advanced.php:141
204
  msgid "All Profiles and Settings"
205
  msgstr "Minden Profil És Beállítás"
206
 
207
+ #: libs/tab-advanced.php:147
208
  msgid "Download Export File"
209
  msgstr "Export Fájl Letöltése"
210
 
211
+ #: libs/tab-advanced.php:155
212
  msgid "To import, choose a file from your computer:"
213
  msgstr "Importáláshoz válasszon egy fájlt a számítógépéről (.json):"
214
 
215
+ #: libs/tab-advanced.php:161
216
  msgid "Upload File and Import"
217
  msgstr "Fájl Feltöltése És Importálása"
218
 
219
+ #: libs/tab-profiles.php:34 libs/tab-profiles.php:47
220
  msgid "ID"
221
  msgstr "ID"
222
 
223
+ #: libs/tab-support.php:85
224
+ msgid ""
225
+ "Note: Profile and settings export and diagnostic log (if present) will be "
226
+ "attached."
227
+ msgstr ""
228
+ "Megjegyzés: A profil és beállítások exportálási és diagnosztikai log-ja (ha "
229
+ "van) akkor azt kell csatolni."
230
 
231
+ #: view.php:400
232
+ msgid ""
233
+ "Unable to retrieve document contents. Please try again or switch to Standard "
234
+ "Viewer."
235
+ msgstr ""
236
+ "Nem sikerült lekérni a dokumentum tartalmát. Kérjük, próbálja újra, vagy "
237
+ "kapcsoljon át Normál Megjelenítőre."
238
 
239
+ #: functions.php:104
240
  msgid "File not specified, check shortcode syntax"
241
+ msgstr ""
242
+ "A fájl nincs megadva, a megtekintéséhez ellenőrizze a rövid kód szintaxisát."
243
 
244
+ #: functions.php:105
245
  msgid "Requested URL is invalid"
246
  msgstr "A kért URL-cím érvénytelen"
247
 
248
+ #: functions.php:106
249
  msgid "Unsupported File Type"
250
  msgstr "Nem támogatott fájl típus"
251
 
252
+ #: functions.php:107
253
  msgid "Error retrieving file - if necessary turn off error checking"
254
+ msgstr ""
255
+ "Hiba a fájlletöltés közben - Ha szükséges kapcsolja ki a hibaellenőrzést."
256
 
257
+ #: libs/lib-profile.php:254 libs/tab-advanced.php:122
258
  msgid "Save Changes"
259
  msgstr "Módosítások mentése"
260
 
261
+ #: libs/tab-advanced.php:93
262
  msgid "Disable Google Analytics integration"
263
  msgstr "Google Analítikák integrációjának letiltása."
264
 
265
+ #: libs/tab-profiles.php:37 libs/tab-profiles.php:50 libs/tab-profiles.php:104
266
  msgid "Name"
267
  msgstr "Név:"
268
 
269
+ #: libs/tab-profiles.php:109
 
 
 
 
 
 
270
  msgid "Parent"
271
  msgstr "Kiinduási Pont:"
272
 
273
+ #: libs/tab-profiles.php:117
274
  msgid "Select which profile to use as a starting point."
275
  msgstr "Válassza ki, melyik profilt használja kiindulási pontként."
276
 
277
+ #: libs/tab-profiles.php:40 libs/tab-profiles.php:53 libs/tab-profiles.php:120
278
  msgid "Description"
279
  msgstr "Leírás:"
280
 
281
+ #: libs/tab-profiles.php:122
282
  msgid "Describe the profile's purpose, for your own reference (optional)."
283
+ msgstr ""
284
+ "Ismertesse a profil célját. Ennek a használatára csupán saját magának lehet "
285
+ "szüksége (nem kötelező)."
286
 
287
+ #: options.php:31
288
  msgid "Profile name already exists. Please choose another name."
289
  msgstr "A profilnév már létezik. Kérjük válasszon másik nevet."
290
 
291
+ #: functions-admin.php:566
292
  msgid "This profile will be permanently deleted."
293
  msgstr "Ez a profil végleges törlésre került."
294
 
295
+ #: functions-admin.php:566 functions-admin.php:567 functions-admin.php:568
296
+ #: functions-admin.php:571
297
  msgid "Are you sure?"
298
  msgstr "Biztos benne?"
299
 
300
+ #: functions-admin.php:567
301
  msgid "Settings for this profile will overwrite the default profile."
302
  msgstr "Ezek a profil beállítások felülírják az alapértelmezett profilt."
303
 
304
+ #: functions-admin.php:611
305
  msgid "Embed file using Google Doc Embedder"
306
  msgstr "A Google Doc Embedder beágyazza a fájlt"
307
 
308
+ #: functions-admin.php:628 libs/lib-eddialog.php:85
309
  msgid "Select the GDE viewer profile to use"
310
  msgstr "GDE megjelenítő profil kiválasztása"
311
 
312
+ #: functions-admin.php:779
313
+ msgid ""
314
+ "You are running a pre-release version of Google Doc Embedder. Please watch "
315
+ "this space for important updates."
316
+ msgstr ""
317
+ "Ha fut a Google Doc Embedder kiadás előtti verziója. Kérem, nézze meg ezt a "
318
+ "helyet néha a fontos frissítések miatt."
319
 
320
+ #: functions.php:227
321
  msgid "Unknown"
322
  msgstr "Ismeretlen"
323
 
324
+ #: gviewer.php:113 gviewer.php:125
 
 
 
 
325
  msgid "Unable to load requested profile."
326
  msgstr "Nem sikerült betölteni a kért profil."
327
 
328
+ #: gviewer.php:235
329
  msgid "Unable to secure document"
330
  msgstr "Nem biztonságos dokumentum"
331
 
341
  msgid "Access denied."
342
  msgstr "Hozzáférés letiltva."
343
 
344
+ #: libs/lib-eddialog.php:52
345
  msgid "Insert Google Doc Embedder Shortcode"
346
  msgstr "Google Doc Embedder Rövidkód Beillesztése"
347
 
348
+ #: libs/lib-eddialog.php:60
349
  msgid "Full URL or filename to append to profile Base URL"
350
  msgstr "Teljes URL-t vagy fájlnevet csatolja az alap profil URL címhez"
351
 
352
+ #: libs/lib-eddialog.php:65
353
  msgid "Profile Base URL will be prefixed"
354
  msgstr "Alap Profil URL kerül elé"
355
 
356
+ #: libs/lib-eddialog.php:74
357
  msgid "Profile"
358
  msgstr "Profil"
359
 
360
+ #: libs/lib-eddialog.php:93
361
  msgid "Optional (Override Profile Settings)"
362
  msgstr "Választható (Profil Beállítások Felülírása)"
363
 
364
+ #: libs/lib-eddialog.php:109
365
  msgid "Format: 40% or 300px"
366
  msgstr "Formátum: 40% vagy 300px"
367
 
368
+ #: libs/lib-eddialog.php:114
369
  msgid "Start Page #"
370
  msgstr "Kezdő oldal #"
371
 
374
  msgstr "Alapértelmezett Beállítások"
375
 
376
  #: libs/lib-profile.php:26
377
+ msgid ""
378
+ "These settings define the default viewer profile, which is used when no "
379
+ "other profile is specified."
380
+ msgstr ""
381
+ "Ezek a beállítások meghatározzák az alapértelmezetten megjelenítő profilt, "
382
+ "amely akkor használható, ha nincs más profil megadva."
383
 
384
  #: libs/lib-profile.php:30
385
  msgid "Edit Profile"
386
  msgstr "Profil Szerkesztése"
387
 
388
+ #: libs/lib-profile.php:50
389
  msgid "Viewer Mode"
390
  msgstr "Megjelenítési Mód:"
391
 
392
+ #: libs/lib-profile.php:54
393
  msgid "Standard Viewer"
394
  msgstr "Normál Megjelenítő"
395
 
396
+ #: libs/lib-profile.php:54
397
  msgid "Embed the basic viewer only"
398
  msgstr "Csak az alap megjelenítő beágyazása."
399
 
400
+ #: libs/lib-profile.php:55
401
  msgid "Enable extended viewer options"
402
  msgstr "Engedélyezte a kiterjesztett megjelenítő beállításait."
403
 
404
+ #: libs/lib-profile.php:65
405
  msgid "Enhanced Viewer Settings"
406
  msgstr "Továbbfejlesztett Megjelenítő Beállítások"
407
 
408
+ #: libs/lib-profile.php:69
409
  msgid "Toolbar"
410
  msgstr "Eszköztár:"
411
 
412
+ #: libs/lib-profile.php:73
413
  msgid "Remove Toolbar"
414
  msgstr "Eszköztár Eltávolítása"
415
 
416
+ #: libs/lib-profile.php:78
417
  msgid "Use Mobile Toolbar"
418
  msgstr "Mobil Eszköztár Használata:"
419
 
420
+ #: libs/lib-profile.php:82
421
  msgid "Mobile Devices Only (Default)"
422
  msgstr "Csak Mobil Eszközökön (Alapértelmezett)"
423
 
424
+ #: libs/lib-profile.php:82
425
  msgid "Use mobile toolbar when mobile device detected"
426
  msgstr "Mobil eszköztár használata mobil eszköz észlelésekor."
427
 
428
+ #: libs/lib-profile.php:83
429
  msgid "Always"
430
  msgstr "Mindig"
431
 
432
+ #: libs/lib-profile.php:83
433
  msgid "Use mobile toolbar for all visitors"
434
  msgstr "Mobil eszköztár használata minden látogatónál."
435
 
436
+ #: libs/lib-profile.php:84
437
  msgid "Never"
438
  msgstr "Soha"
439
 
440
+ #: libs/lib-profile.php:84
441
  msgid "Never use mobile toolbar"
442
  msgstr "Soha ne használjon mobil eszköztárt"
443
 
444
+ #: libs/lib-profile.php:91
445
  msgid "Toolbar Items"
446
  msgstr "Eszköztár Elemek:"
447
 
448
+ #: libs/lib-profile.php:94
449
  msgid "Page Numbers"
450
  msgstr "Oldal Számok"
451
 
452
+ #: libs/lib-profile.php:95
453
  msgid "Previous/Next Page"
454
  msgstr "Előző/Következő oldal"
455
 
456
+ #: libs/lib-profile.php:96
457
  msgid "Zoom In/Out"
458
  msgstr "Nagyító +/-"
459
 
460
+ #: libs/lib-profile.php:97
461
  msgid "Full Screen/New Window"
462
  msgstr "Teljes képernyő/Új ablak"
463
 
464
+ #: libs/lib-profile.php:100
465
+ msgid ""
466
+ "Uncheck items to remove from toolbar. Buttons will vary based on file type "
467
+ "and device used."
468
+ msgstr ""
469
+ "Szüntesse meg a pipákat az eszköztárból való eltávolításhoz. A gombok "
470
+ "megjelenése attól is függ, hogy milyen fájltípust és milyen eszközt használ."
471
 
472
+ #: libs/lib-profile.php:104
473
  msgid "Full Screen Behavior"
474
  msgstr "Teljes méretű kép Viselkedése:"
475
 
476
+ #: libs/lib-profile.php:108
477
  msgid "Google-Hosted Page (Default)"
478
  msgstr "Google Által Tárolt Oldal (Alapértelmezett)"
479
 
480
+ #: libs/lib-profile.php:110
481
  msgid "Full Screen Viewer"
482
  msgstr "Teljes Méretű Megjelenítő"
483
 
484
+ #: libs/lib-profile.php:115
485
  msgid "Open in New Window"
486
  msgstr "Megnyitása Új Ablakban"
487
 
488
+ #: libs/lib-profile.php:117
489
  msgid "Allow Printing"
490
  msgstr "Nyomtatás Engedélyezése"
491
 
492
+ #: libs/lib-profile.php:122
 
 
 
 
493
  msgid "Page Area Background Color"
494
  msgstr "Oldal Terület Háttérszín:"
495
 
496
+ #: libs/lib-profile.php:127
497
  msgid "None (Transparent)"
498
  msgstr "Nincs (Átlátszó)"
499
 
500
+ #: libs/lib-profile.php:132
501
  msgid "Page Border Color"
502
  msgstr "Oldal Keret Színe:"
503
 
504
+ #: libs/lib-profile.php:137
505
  msgid "No Border"
506
  msgstr "Nincs Keret"
507
 
508
+ #: libs/lib-profile.php:142
509
  msgid "Custom CSS File"
510
  msgstr "Egyedi CSS Fájl:"
511
 
512
+ #: libs/lib-profile.php:148
513
  msgid "URL of custom CSS file (may override some of the above options)"
514
+ msgstr ""
515
+ "Az URL címen lévő egyéni CSS fájl (felülbírálhat néhányat a fenti "
516
+ "beállításokból)."
517
 
518
+ #: libs/lib-profile.php:152
519
  msgid "Security"
520
  msgstr "Biztonság:"
521
 
522
+ #: libs/lib-profile.php:155
523
  msgid "Hide ability to select/copy/paste text"
524
  msgstr "A Másolás/Beillesztés képesség elrejtése"
525
 
526
+ #: libs/lib-profile.php:156
527
  msgid "Block all download requests for file"
528
  msgstr "Blokkolja az összes letöltési kérelmet a fájlnál"
529
 
530
+ #: libs/lib-profile.php:179
531
  msgid "Language of toolbar button tips"
532
  msgstr "Az eszköztár gombok tippjeinek nyelve."
533
 
534
+ #: libs/lib-profile.php:194
535
  msgid "Enter as pixels or percentage (example: 500px or 100%)"
536
+ msgstr ""
537
+ "Írja be a képpontok számát, vagy határozza meg százalékban a megjelenés "
538
+ "mértékét (például: 500px vagy 100%)."
539
 
540
+ #: libs/lib-profile.php:204
541
+ msgid ""
542
+ "Any file not starting with <code>http</code> will be prefixed by this value"
543
+ msgstr ""
544
+ "Minden bejegyzéshez, amely nem <code>http</code>-vel kezdődik, "
545
+ "alapértelmezettként hozzá lesz csatolva."
546
 
547
+ #: libs/lib-profile.php:208
548
  msgid "Download Link"
549
  msgstr "Letöltési Link:"
550
 
551
+ #: libs/lib-profile.php:212
552
  msgid "All Users"
553
  msgstr "Összes felhasználó"
554
 
555
+ #: libs/lib-profile.php:212
556
  msgid "Download link visible to everyone by default"
557
  msgstr "Letöltési link látható mindenki számára alapértelmezés szerint."
558
 
559
+ #: libs/lib-profile.php:213
560
  msgid "Logged-in Users"
561
  msgstr "Bejelentkezett Felhasználók"
562
 
563
+ #: libs/lib-profile.php:213
564
  msgid "Download link visible to logged-in users"
565
  msgstr "Link letöltése a látható bejelentkezett felhasználóknak"
566
 
567
+ #: libs/lib-profile.php:214 libs/tab-advanced.php:93
568
  msgid "None"
569
  msgstr "Egyik sem"
570
 
571
+ #: libs/lib-profile.php:214
572
  msgid "Download link is not visible by default"
573
  msgstr "Letöltési link nem látható alapértelmezés szerint."
574
 
575
+ #: libs/lib-profile.php:245
576
  msgid "Force download (bypass browser plugins)"
577
  msgstr "Kényszerített letöltő (megkerülő böngésző bővítmények)."
578
 
579
+ #: libs/lib-profile.php:246
580
  msgid "Shorten URL"
581
  msgstr "URL Rövidítése."
582
 
583
+ #: libs/lib-setup.php:46
584
  msgid "This is the default profile, used when no profile is specified."
585
+ msgstr ""
586
+ "Ez az alapértelmezett profil, akkor használja a bővítmény, ha nincs a profil "
587
+ "külön meghatározva."
588
 
589
+ #: libs/lib-setup.php:71
590
  msgid "Hide document location and text selection, prevent downloads"
591
+ msgstr ""
592
+ "Elrejti a dokumentum helyét és a szövegkijelölések opciót, megakadályozza a "
593
+ "letöltést"
594
 
595
+ #: libs/lib-setup.php:96
596
  msgid "Dark-colored theme, example of custom CSS option"
597
  msgstr "Sötét színű téma, mint például az egyéni CSS opció"
598
 
599
+ #: libs/tab-advanced.php:24
600
  msgid "Editor Integration"
601
  msgstr "Szerkesztő Integrálása:"
602
 
603
+ #: libs/tab-advanced.php:28
604
  msgid "Insert shortcode from Media Library by default"
605
+ msgstr "Helyezze a rövid kódot a Médiatárba alapértelmezés szerint."
606
 
607
+ #: libs/tab-advanced.php:34
608
  msgid "Maximum File Size"
609
  msgstr "Maximális Fájl Méret:"
610
 
611
+ #: libs/tab-advanced.php:40
612
+ msgid ""
613
+ "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
614
+ msgstr ""
615
+ "Túl nagy fájl nem lehet (általában 8-12MB lehet), mivel nem támogatja a "
616
+ "Google Doc Viewer."
617
 
618
+ #: libs/tab-advanced.php:44
619
  msgid "Error Handling"
620
  msgstr "Hibakezelés:"
621
 
622
+ #: libs/tab-advanced.php:47
623
  msgid "Show error messages inline (otherwise, they appear in HTML comments)"
624
+ msgstr ""
625
+ "Hibaüzenetek beágyazott megjelenítése (egyébként, olyan mint a HTML "
626
+ "megjegyzések)."
627
 
628
+ #: libs/tab-advanced.php:48
629
  msgid "Check for errors before loading viewer"
630
  msgstr "Ellenőrizze a hibákat a megjelenítő betöltése előtt."
631
 
632
+ #: libs/tab-advanced.php:65
633
  msgid "Version Notifications"
634
  msgstr "Verzió Értesítések:"
635
 
636
+ #: libs/tab-advanced.php:69
637
  msgid "All Versions"
638
  msgstr "Összes verzióról"
639
 
640
+ #: libs/tab-advanced.php:69
641
  msgid "You will receive release and beta notifications"
642
  msgstr "A bővítmény béta verzióiról is kap értesítést."
643
 
644
+ #: libs/tab-advanced.php:70
645
  msgid "Release Versions Only"
646
  msgstr "Csak a kiadott verziókról"
647
 
648
+ #: libs/tab-advanced.php:70
649
  msgid "You will not receive beta notifications"
650
  msgstr "Nem kap értesítést a bővítmény béta verzióiról."
651
 
652
+ #: libs/tab-advanced.php:79
653
  msgid "Google Analytics"
654
  msgstr "Google Analítikák"
655
 
656
+ #: libs/tab-advanced.php:81
657
+ msgid ""
658
+ "To use Google Analytics integration, the GA tracking code must already be "
659
+ "installed on your site."
660
+ msgstr ""
661
+ "Ahhoz, hogy a Google Analítikák integrálódjanak a rendszerébe, a GA "
662
+ "követőkódnak már telepítve kell lennie a webhelyén."
663
 
664
+ #: libs/tab-advanced.php:82
665
  msgid "More Info"
666
  msgstr "Még több információt erről itt olvashat."
667
 
668
+ #: libs/tab-advanced.php:87
669
  msgid "Event Tracking"
670
  msgstr "Eseménykövetés:"
671
 
672
+ #: libs/tab-advanced.php:91
673
  msgid "Enabled"
674
  msgstr "Bekapcsolva"
675
 
676
+ #: libs/tab-advanced.php:91
677
  msgid "Track events in Google Analytics"
678
  msgstr "Kövesse nyomon az eseményeket Google Analítikák segítségével."
679
 
680
+ #: libs/tab-advanced.php:92
681
  msgid "Enabled (Compatibility Mode)"
682
  msgstr "Bekapcsolva (Kompatibilis mód)"
683
 
684
+ #: libs/tab-advanced.php:92
685
  msgid "Track events using older GDE format (< 2.5)"
686
  msgstr "Események, változások a GDE bővítményben (< 2.5) verzió előtt."
687
 
688
+ #: libs/tab-advanced.php:100
689
  msgid "Category"
690
  msgstr "Kategória:"
691
 
692
+ #: libs/tab-advanced.php:108
693
  msgid "Label"
694
  msgstr "Címke:"
695
 
696
+ #: libs/tab-advanced.php:112
697
  msgid "Document URL"
698
  msgstr "Dokumentum URL"
699
 
700
+ #: libs/tab-advanced.php:113
701
  msgid "Document Filename"
702
  msgstr "Dokumentum fájlneve"
703
 
704
+ #: options.php:376
 
 
 
 
705
  msgid "Delete"
706
  msgstr "Törlés"
707
 
708
+ #: libs/tab-profiles.php:100 libs/tab-profiles.php:125
709
  msgid "Add New Profile"
710
  msgstr "Új Profil Hozzáadása"
711
 
712
+ #: libs/tab-support.php:38
713
  msgid "Support Request"
714
  msgstr "Támogatási Kérelem"
715
 
716
+ #: libs/tab-support.php:77
717
  msgid "Hide"
718
  msgstr "Elrejtés"
719
 
720
+ #: libs/tab-support.php:160
721
  msgid "Send Request"
722
  msgstr "Kérelem Küldése"
723
 
724
+ #: libs/tab-support.php:164
725
  msgid "Request Sent"
726
  msgstr "Kérelem Elküldve"
727
 
728
+ #: load.php:45
729
  msgid "Direct access to this file is not permitted."
730
  msgstr "Közvetlen hozzáférés, a fájl nem engedélyezett."
731
 
732
+ #: load.php:71
733
  msgid "The requested file was not found."
734
  msgstr "A lehívott fájl nem található."
735
 
736
+ #: load.php:76
737
  msgid "Unable to open the requested file. "
738
  msgstr "Nem sikerült megnyitni a lehívott fájlt."
739
 
740
+ #: load.php:92 load.php:96
 
 
 
 
741
  msgid "The document file type is not supported."
742
  msgstr "A dokumentum fájltípus nem támogatott."
743
 
744
+ #: options.php:13 options.php:68
745
  msgid "Default profile <strong>updated</strong>."
746
  msgstr "Alapértelmezett profil <strong>frissítve</strong>."
747
 
748
+ #: options.php:15 options.php:53
749
  msgid "Unable to update profile."
750
  msgstr "Nem lehet frissíteni a profilt."
751
 
752
+ #: options.php:38
753
  msgid "New profile <strong>created</strong>."
754
  msgstr "Új profil <strong>létrehozva</strong>."
755
 
756
+ #: options.php:40 options.php:43
757
  msgid "Unable to create profile."
758
  msgstr "Nem lehet létrehozni a profilt."
759
 
760
+ #: options.php:51
761
  msgid "Profile <strong>updated</strong>."
762
  msgstr "Profil <strong>frissítve</strong>."
763
 
764
+ #: options.php:61
765
  msgid "Profile <strong>deleted</strong>."
766
  msgstr "Profil <strong>törölve</strong>."
767
 
768
+ #: options.php:63
769
  msgid "Unable to delete profile."
770
  msgstr "Nem lehet törölni a profilt."
771
 
772
+ #: options.php:117 options.php:119
773
  msgid "Settings <strong>updated</strong>."
774
  msgstr "Beállítások <strong>frissítve</strong>."
775
 
776
+ #: options.php:177 options.php:190
777
  msgid "General"
778
  msgstr "Általános"
779
 
780
+ #: libs/tab-advanced.php:142 options.php:182 options.php:195
781
  msgid "Profiles"
782
  msgstr "Profilok"
783
 
784
+ #: options.php:203
785
  msgid "Advanced"
786
  msgstr "Haladó"
787
 
788
+ #: options.php:375
789
  msgid "Edit"
790
  msgstr "Szerkesztés"
791
 
792
+ #: options.php:377
793
  msgid "Make Default"
794
  msgstr "Legyen Alapértelmezett"
795
 
796
+ #: view.php:44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
797
  msgid "Invalid URL format"
798
  msgstr "Érvénytelen URL formátum"
799
 
800
+ #: functions.php:361 gviewer.php:301 libs/lib-setup.php:65
801
+ #: libs/lib-setup.php:115
802
  msgid "Download"
803
  msgstr "Letöltés"
804
 
811
  msgstr "http://www.davistribe.org/gde/"
812
 
813
  #: gviewer.php:0
814
+ msgid ""
815
+ "Lets you embed MS Office, PDF, TIFF, and many other file types in a web page "
816
+ "using the Google Docs Viewer (no Flash or PDF browser plug-ins required)."
817
+ msgstr ""
818
+ "Lehetővé teszi, hogy beágyazzon MS Office, PDF, TIFF és sok más fájltípust "
819
+ "az oldalon a Google Docs Megjelenítőbe (nem kell hozzá Flash vagy PDF "
820
+ "böngésző plugin)."
821
 
822
  #: gviewer.php:0
823
  msgid "Kevin Davis"
827
  msgid "http://www.davistribe.org/"
828
  msgstr "http://www.davistribe.org/"
829
 
830
+ #: options.php:208
831
  msgid "Support"
832
  msgstr "Támogatás"
833
 
834
+ #: functions.php:500 view.php:399
835
  msgid "Error"
836
  msgstr "Hiba"
837
 
838
+ #: functions-admin.php:413 functions-admin.php:539 libs/tab-advanced.php:143
839
+ #: options.php:168
840
  msgid "Settings"
841
  msgstr "Beállítások"
842
 
843
+ #: functions-admin.php:422
844
  msgid "You do not have sufficient permissions to access this page"
845
  msgstr "Nincs elegendő jogosultsága hozzáférni ehhez az oldalhoz"
846
 
847
+ #: functions-admin.php:527
848
  msgid "plugin"
849
  msgstr "plugin"
850
 
851
+ #: functions-admin.php:528
852
  msgid "Version"
853
  msgstr "Verzió"
854
 
855
+ #: libs/tab-support.php:27
856
+ msgid ""
857
+ "Please review the documentation before submitting a request for support:"
 
 
 
858
  msgstr "Olvassa el a dokumentációkat, a támogatási kérelem benyújtása előtt:"
859
 
860
+ #: libs/tab-support.php:30
861
  msgid "Plugin FAQ"
862
  msgstr "Bővítmény Gyakran ismételt Kérdések"
863
 
864
+ #: libs/tab-support.php:32
 
 
 
 
865
  msgid "If you're still experiencing a problem, please complete the form below."
866
+ msgstr ""
867
+ "Ha továbbra is tapasztal problémát, kérjük, töltse ki az alábbi űrlapot."
868
 
869
+ #: libs/tab-support.php:42
870
  msgid "Your Name"
871
  msgstr "Az Ön Neve:"
872
 
873
+ #: libs/tab-support.php:46
874
  msgid "Your E-mail"
875
  msgstr "Az Ön E-mail Címe:"
876
 
877
+ #: libs/tab-support.php:53
878
  msgid "Shortcode"
879
  msgstr "Rövidkód:"
880
 
881
+ #: libs/tab-support.php:56
882
+ msgid ""
883
+ "If you're having a problem getting a specific document to work, paste the "
884
+ "shortcode you're trying to use here."
885
+ msgstr ""
886
+ "Ha a probléma egy adott dokumentum esetében jön létre, illessze be a rövid "
887
+ "kódot, amit használni szeretne."
888
 
889
+ #: libs/tab-support.php:67
890
  msgid "Message"
891
  msgstr "Üzenet Szövege:"
892
 
893
+ #: libs/tab-support.php:73
894
  msgid "Message Options"
895
  msgstr "Üzenet Beállításai:"
896
 
897
+ #: libs/tab-support.php:75
898
  msgid "Send debug information"
899
  msgstr "Hibakeresési információkat küldjön."
900
 
901
+ #: libs/tab-support.php:76
902
  msgid "View"
903
  msgstr "Megtekintés"
904
 
905
+ #: libs/tab-support.php:78
906
  msgid "Send me a copy"
907
  msgstr "Küldjön másolatot az e-mail címemre is."
908
 
909
+ #: libs/tab-support.php:84
910
  msgid "Debug Information"
911
  msgstr "Hibakeresési információ"
912
 
913
+ #: libs/tab-support.php:158
914
+ msgid ""
915
+ "I'm less likely to be able to help you if you do not include debug "
916
+ "information."
917
+ msgstr ""
918
+ "Nem valószínű, hogy tudok segíteni, ha nem tartalmazza a hibakeresési "
919
+ "információkat a levél."
920
 
921
+ #: libs/lib-eddialog.php:55
922
  msgid "Required"
923
  msgstr "Kötelező"
924
 
925
+ #: libs/lib-eddialog.php:59
926
  msgid "URL or Filename"
927
  msgstr "URL vagy Fájlnév"
928
 
929
+ #: libs/lib-eddialog.php:68
930
  msgid "Unsupported file type"
931
  msgstr "Nem támogatott fájl típus"
932
 
933
+ #: libs/lib-eddialog.php:103 libs/lib-profile.php:189
934
  msgid "Height"
935
  msgstr "Magasság"
936
 
937
+ #: libs/lib-eddialog.php:108 libs/lib-profile.php:185
938
  msgid "Width"
939
  msgstr "Szélesség"
940
 
941
+ #: libs/lib-eddialog.php:122
942
  msgid "Show Download Link"
943
  msgstr "Letöltési hivatkozás megjelenítése"
944
 
945
+ #: libs/lib-eddialog.php:125
946
  msgid "Yes"
947
  msgstr "Igen"
948
 
949
+ #: libs/lib-eddialog.php:126
950
  msgid "No"
951
  msgstr "Nem"
952
 
953
+ #: libs/lib-eddialog.php:132
954
  msgid "Disable caching (this document is frequently overwritten)"
955
  msgstr "Cache letiltása (ez a dokumentumot gyakran felülírja)"
956
 
957
+ #: libs/lib-eddialog.php:143
958
  msgid "Shortcode Preview"
959
  msgstr "Rövidkód Előnézete"
960
 
961
+ #: libs/lib-eddialog.php:151
962
  msgid "Insert"
963
  msgstr "Beszúrás"
964
 
965
+ #: libs/lib-eddialog.php:155
966
  msgid "Cancel"
967
  msgstr "Mégse"
968
 
969
+ #: options.php:349
 
 
 
 
970
  msgid "Help"
971
  msgstr "Segítség"
972
 
973
+ #: libs/lib-profile.php:55
 
 
 
 
974
  msgid "Enhanced Viewer"
975
  msgstr "Továbbfejlesztett Megjelenítő"
976
 
977
+ #: libs/lib-profile.php:183
978
  msgid "Default Size"
979
  msgstr "Alapértelmezett Méret:"
980
 
981
+ #: libs/lib-profile.php:167
982
  msgid "Default Language"
983
  msgstr "Alapértelmezett Nyelv:"
984
 
985
+ #: libs/lib-profile.php:198
986
  msgid "File Base URL"
987
  msgstr "Fájlok alapértelmezett URL helye:"
988
 
989
+ #: libs/lib-profile.php:221
990
  msgid "Link Text"
991
  msgstr "Link Szövege:"
992
 
993
+ #: libs/lib-profile.php:224
994
  msgid "You can further customize text using these dynamic replacements:"
995
+ msgstr ""
996
+ "További testreszabásához, használja ezeket a dinamikus helyettesítő kódokat:"
997
 
998
+ #: libs/lib-profile.php:225
999
  msgid "filename"
1000
  msgstr "fájlnév"
1001
 
1002
+ #: libs/lib-profile.php:226
1003
  msgid "file type"
1004
  msgstr "fájl típus"
1005
 
1006
+ #: libs/lib-profile.php:227
1007
  msgid "file size"
1008
  msgstr "fájl mérete"
1009
 
1010
+ #: libs/lib-profile.php:231
1011
  msgid "Link Position"
1012
  msgstr "Link Pozíciója:"
1013
 
1014
+ #: libs/lib-profile.php:235
1015
  msgid "Above Viewer"
1016
  msgstr "Ablak felett"
1017
 
1018
+ #: libs/lib-profile.php:236
1019
  msgid "Below Viewer"
1020
  msgstr "Ablak alatt"
1021
 
1022
+ #: libs/lib-profile.php:242
1023
  msgid "Link Behavior"
1024
  msgstr "Link Viselkedése:"
1025
 
1026
+ #: libs/tab-advanced.php:19
1027
  msgid "Plugin Behavior"
1028
  msgstr "Plugin Viselkedése"
1029
 
1030
+ #: libs/tab-advanced.php:27
1031
  msgid "Disable all editor integration"
1032
  msgstr "Az összes szerkesztő integrálásának letiltása."
1033
 
1034
+ #: libs/tab-advanced.php:29
1035
  msgid "Allow uploads of all supported media types"
1036
  msgstr "Engedje a feltöltését az összes támogatott médiatípusoknak."
 
 
 
 
 
 
 
 
 
 
 
 
languages/gde.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
- "POT-Creation-Date: 2012-12-20 08:12-0600\n"
5
- "PO-Revision-Date: 2012-12-20 08:12-0600\n"
6
  "Last-Translator: Kevin Davis <wpp@tnw.org>\n"
7
  "Language-Team: Kevin Davis <wpp@tnw.org>\n"
8
  "MIME-Version: 1.0\n"
@@ -11,158 +11,162 @@ msgstr ""
11
  "X-Poedit-KeywordsList: __;_e\n"
12
  "X-Poedit-SearchPath-0: .\n"
13
 
14
- #: functions-admin.php:258
15
  msgid "Import"
16
  msgstr ""
17
 
18
- #: functions-admin.php:269
19
  msgid "Performing full import..."
20
  msgstr ""
21
 
22
- #: functions-admin.php:273 functions-admin.php:298
23
  msgid "Importing profiles"
24
  msgstr ""
25
 
26
- #: functions-admin.php:279 functions-admin.php:293 functions-admin.php:304
27
- #: functions-admin.php:317
28
  msgid "done"
29
  msgstr ""
30
 
31
- #: functions-admin.php:282 functions-admin.php:291 functions-admin.php:307
32
- #: functions-admin.php:315
33
  msgid "failed"
34
  msgstr ""
35
 
36
- #: functions-admin.php:288
37
  msgid "Importing settings"
38
  msgstr ""
39
 
40
- #: functions-admin.php:311
41
  msgid "Importing settings... "
42
  msgstr ""
43
 
44
- #: functions-admin.php:320 functions-admin.php:563 options.php:141
45
  msgid "Please select a valid export file to import."
46
  msgstr ""
47
 
48
- #: functions-admin.php:324
49
  msgid "All or part of the import failed. See above for information."
50
  msgstr ""
51
 
52
- #: functions-admin.php:326
53
  msgid "Import completed successfully."
54
  msgstr ""
55
 
56
- #: functions-admin.php:329
57
  msgid "Return to GDE Settings"
58
  msgstr ""
59
 
60
- #: functions-admin.php:406 functions-admin.php:532 options.php:168
61
- #: libs/tab-advanced.php:145
62
  msgid "Settings"
63
  msgstr ""
64
 
65
- #: functions-admin.php:415
66
  msgid "You do not have sufficient permissions to access this page"
67
  msgstr ""
68
 
69
- #: functions-admin.php:520
70
  msgid "plugin"
71
  msgstr ""
72
 
73
- #: functions-admin.php:521
74
  msgid "Version"
75
  msgstr ""
76
 
77
- #: functions-admin.php:559
78
  msgid "This profile will be permanently deleted."
79
  msgstr ""
80
 
81
- #: functions-admin.php:559 functions-admin.php:560 functions-admin.php:561
82
- #: functions-admin.php:564
83
  msgid "Are you sure?"
84
  msgstr ""
85
 
86
- #: functions-admin.php:560
87
  msgid "Settings for this profile will overwrite the default profile."
88
  msgstr ""
89
 
90
- #: functions-admin.php:561
91
  msgid ""
92
  "Your profile list will be reset to its original state. All changes will be "
93
  "lost."
94
  msgstr ""
95
 
96
- #: functions-admin.php:564
97
  msgid ""
98
  "Any settings or duplicate profile names in this import will overwrite the "
99
  "current values."
100
  msgstr ""
101
 
102
- #: functions-admin.php:566
103
  msgid "Please include a shortcode or message to request support."
104
  msgstr ""
105
 
106
- #: functions-admin.php:604
107
  msgid "Embed file using Google Doc Embedder"
108
  msgstr ""
109
 
110
- #: functions-admin.php:621 libs/lib-eddialog.php:85
111
  msgid "Select the GDE viewer profile to use"
112
  msgstr ""
113
 
114
- #: functions-admin.php:763
115
  msgid ""
116
  "You are running a pre-release version of Google Doc Embedder. Please watch "
117
  "this space for important updates."
118
  msgstr ""
119
 
120
- #: functions.php:107
121
  msgid "File not specified, check shortcode syntax"
122
  msgstr ""
123
 
124
- #: functions.php:108
125
  msgid "Requested URL is invalid"
126
  msgstr ""
127
 
128
- #: functions.php:109
129
  msgid "Unsupported File Type"
130
  msgstr ""
131
 
132
- #: functions.php:110
133
  msgid "Error retrieving file - if necessary turn off error checking"
134
  msgstr ""
135
 
136
- #: functions.php:214
137
  msgid "Unknown"
138
  msgstr ""
139
 
140
  # Megabytes (for file size reporting)
141
- #: functions.php:216 libs/tab-advanced.php:40
142
  msgid "MB"
143
  msgstr ""
144
 
145
- #: functions.php:343 gviewer.php:295 libs/lib-setup.php:88
146
- #: libs/lib-setup.php:136
147
  msgid "Download"
148
  msgstr ""
149
 
150
- #: functions.php:468 view.php:399
151
  msgid "Error"
152
  msgstr ""
153
 
154
- #: gviewer.php:72
155
  msgid "Unable to load profile settings"
156
  msgstr ""
157
 
158
- #: gviewer.php:107 gviewer.php:119
159
  msgid "Unable to load requested profile."
160
  msgstr ""
161
 
162
- #: gviewer.php:229
163
  msgid "Unable to secure document"
164
  msgstr ""
165
 
 
 
 
 
166
  #: load.php:8 libs/lib-formsubmit.php:9 libs/lib-secure.php:9
167
  #: libs/lib-service.php:53 libs/lib-service.php:71 libs/lib-service.php:74
168
  msgid "You do not have sufficient permissions to access this page."
@@ -232,7 +236,7 @@ msgstr ""
232
  msgid "General"
233
  msgstr ""
234
 
235
- #: options.php:182 options.php:195 libs/tab-advanced.php:144
236
  msgid "Profiles"
237
  msgstr ""
238
 
@@ -244,19 +248,19 @@ msgstr ""
244
  msgid "Support"
245
  msgstr ""
246
 
247
- #: options.php:346
248
  msgid "Help"
249
  msgstr ""
250
 
251
- #: options.php:372
252
  msgid "Edit"
253
  msgstr ""
254
 
255
- #: options.php:373
256
  msgid "Delete"
257
  msgstr ""
258
 
259
- #: options.php:374
260
  msgid "Make Default"
261
  msgstr ""
262
 
@@ -314,52 +318,56 @@ msgstr ""
314
  msgid "Optional (Override Profile Settings)"
315
  msgstr ""
316
 
317
- #: libs/lib-eddialog.php:97 libs/lib-profile.php:187
 
 
 
 
318
  msgid "Height"
319
  msgstr ""
320
 
321
- #: libs/lib-eddialog.php:102 libs/lib-profile.php:183
322
  msgid "Width"
323
  msgstr ""
324
 
325
- #: libs/lib-eddialog.php:103
326
  #, php-format
327
  msgid "Format: 40% or 300px"
328
  msgstr ""
329
 
330
- #: libs/lib-eddialog.php:108
331
  msgid "Start Page #"
332
  msgstr ""
333
 
334
- #: libs/lib-eddialog.php:116
335
  msgid "Show Download Link"
336
  msgstr ""
337
 
338
- #: libs/lib-eddialog.php:119
339
  msgid "Yes"
340
  msgstr ""
341
 
342
- #: libs/lib-eddialog.php:120
343
  msgid "No"
344
  msgstr ""
345
 
346
- #: libs/lib-eddialog.php:126
347
  msgid "Disable caching (this document is frequently overwritten)"
348
  msgstr ""
349
 
350
- #: libs/lib-eddialog.php:136
351
  msgid "Shortcode Preview"
352
  msgstr ""
353
 
354
- #: libs/lib-eddialog.php:144
355
  msgid "Insert"
356
  msgstr ""
357
 
358
- #: libs/lib-eddialog.php:148
359
  msgid "Cancel"
360
  msgstr ""
361
 
362
- #: libs/lib-profile.php:12 libs/tab-advanced.php:136 libs/tab-profiles.php:20
363
  msgid ""
364
  "Unable to load profile settings. Please re-activate GDE and if the problem "
365
  "persists, request help using the \"Support\" tab."
@@ -477,166 +485,164 @@ msgstr ""
477
  msgid "Full Screen Viewer"
478
  msgstr ""
479
 
480
- #: libs/lib-profile.php:114
481
  msgid "Open in New Window"
482
  msgstr ""
483
 
484
- #: libs/lib-profile.php:115
 
 
 
 
485
  msgid "Allow Printing"
486
  msgstr ""
487
 
488
- #: libs/lib-profile.php:120
489
  msgid "Page Area Background Color"
490
  msgstr ""
491
 
492
- #: libs/lib-profile.php:125
493
  msgid "None (Transparent)"
494
  msgstr ""
495
 
496
- #: libs/lib-profile.php:130
497
  msgid "Page Border Color"
498
  msgstr ""
499
 
500
- #: libs/lib-profile.php:135
501
  msgid "No Border"
502
  msgstr ""
503
 
504
- #: libs/lib-profile.php:140
505
  msgid "Custom CSS File"
506
  msgstr ""
507
 
508
- #: libs/lib-profile.php:146
509
  msgid "URL of custom CSS file (may override some of the above options)"
510
  msgstr ""
511
 
512
- #: libs/lib-profile.php:150
513
  msgid "Security"
514
  msgstr ""
515
 
516
- #: libs/lib-profile.php:153
517
  msgid "Hide ability to select/copy/paste text"
518
  msgstr ""
519
 
520
- #: libs/lib-profile.php:154
521
  msgid "Block all download requests for file"
522
  msgstr ""
523
 
524
- #: libs/lib-profile.php:165
525
  msgid "Default Language"
526
  msgstr ""
527
 
528
- #: libs/lib-profile.php:177
529
  msgid "Language of toolbar button tips"
530
  msgstr ""
531
 
532
- #: libs/lib-profile.php:181
533
  msgid "Default Size"
534
  msgstr ""
535
 
536
- #: libs/lib-profile.php:192
537
  msgid "Enter as pixels or percentage (example: 500px or 100%)"
538
  msgstr ""
539
 
540
- #: libs/lib-profile.php:196
541
  msgid "File Base URL"
542
  msgstr ""
543
 
544
- #: libs/lib-profile.php:202
545
  msgid ""
546
  "Any file not starting with <code>http</code> will be prefixed by this value"
547
  msgstr ""
548
 
549
- #: libs/lib-profile.php:206
550
  msgid "Download Link"
551
  msgstr ""
552
 
553
- #: libs/lib-profile.php:210
554
  msgid "All Users"
555
  msgstr ""
556
 
557
- #: libs/lib-profile.php:210
558
  msgid "Download link visible to everyone by default"
559
  msgstr ""
560
 
561
- #: libs/lib-profile.php:211
562
  msgid "Logged-in Users"
563
  msgstr ""
564
 
565
- #: libs/lib-profile.php:211
566
  msgid "Download link visible to logged-in users"
567
  msgstr ""
568
 
569
- #: libs/lib-profile.php:212 libs/tab-advanced.php:95
570
  msgid "None"
571
  msgstr ""
572
 
573
- #: libs/lib-profile.php:212
574
  msgid "Download link is not visible by default"
575
  msgstr ""
576
 
577
- #: libs/lib-profile.php:219
578
  msgid "Link Text"
579
  msgstr ""
580
 
581
- #: libs/lib-profile.php:222
582
  msgid "You can further customize text using these dynamic replacements:"
583
  msgstr ""
584
 
585
- #: libs/lib-profile.php:223
586
  msgid "filename"
587
  msgstr ""
588
 
589
- #: libs/lib-profile.php:224
590
  msgid "file type"
591
  msgstr ""
592
 
593
- #: libs/lib-profile.php:225
594
  msgid "file size"
595
  msgstr ""
596
 
597
- #: libs/lib-profile.php:229
598
  msgid "Link Position"
599
  msgstr ""
600
 
601
- #: libs/lib-profile.php:233
602
  msgid "Above Viewer"
603
  msgstr ""
604
 
605
- #: libs/lib-profile.php:234
606
  msgid "Below Viewer"
607
  msgstr ""
608
 
609
- #: libs/lib-profile.php:240
610
  msgid "Link Behavior"
611
  msgstr ""
612
 
613
- #: libs/lib-profile.php:243
614
  msgid "Force download (bypass browser plugins)"
615
  msgstr ""
616
 
617
- #: libs/lib-profile.php:244
618
  msgid "Shorten URL"
619
  msgstr ""
620
 
621
- #: libs/lib-profile.php:252 libs/tab-advanced.php:124
622
  msgid "Save Changes"
623
  msgstr ""
624
 
625
- #: libs/lib-setup.php:48
626
- msgid ""
627
- "Setup wasn't able to create the required tables. Please reactivate GDE or "
628
- "perform a clean installation."
629
- msgstr ""
630
-
631
- #: libs/lib-setup.php:70 libs/lib-setup.php:314
632
  msgid "This is the default profile, used when no profile is specified."
633
  msgstr ""
634
 
635
- #: libs/lib-setup.php:94
636
  msgid "Hide document location and text selection, prevent downloads"
637
  msgstr ""
638
 
639
- #: libs/lib-setup.php:118
640
  msgid "Dark-colored theme, example of custom CSS option"
641
  msgstr ""
642
 
@@ -652,148 +658,148 @@ msgstr ""
652
  msgid "Disable all editor integration"
653
  msgstr ""
654
 
655
- #: libs/tab-advanced.php:29
656
  msgid "Insert shortcode from Media Library by default"
657
  msgstr ""
658
 
659
- #: libs/tab-advanced.php:31
660
  msgid "Allow uploads of all supported media types"
661
  msgstr ""
662
 
663
- #: libs/tab-advanced.php:36
664
  msgid "Maximum File Size"
665
  msgstr ""
666
 
667
- #: libs/tab-advanced.php:42
668
  msgid ""
669
  "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
670
  msgstr ""
671
 
672
- #: libs/tab-advanced.php:46
673
  msgid "Error Handling"
674
  msgstr ""
675
 
676
- #: libs/tab-advanced.php:49
677
  msgid "Show error messages inline (otherwise, they appear in HTML comments)"
678
  msgstr ""
679
 
680
- #: libs/tab-advanced.php:50
681
  msgid "Check for errors before loading viewer"
682
  msgstr ""
683
 
684
- #: libs/tab-advanced.php:52
685
  msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
686
  msgstr ""
687
 
688
- #: libs/tab-advanced.php:54
689
  msgid "Enable extended diagnostic logging"
690
  msgstr ""
691
 
692
- #: libs/tab-advanced.php:56
693
  msgid "clear log"
694
  msgstr ""
695
 
696
- #: libs/tab-advanced.php:61
697
  msgid "show log"
698
  msgstr ""
699
 
700
- #: libs/tab-advanced.php:67
701
  msgid "Version Notifications"
702
  msgstr ""
703
 
704
- #: libs/tab-advanced.php:71
705
  msgid "All Versions"
706
  msgstr ""
707
 
708
- #: libs/tab-advanced.php:71
709
  msgid "You will receive release and beta notifications"
710
  msgstr ""
711
 
712
- #: libs/tab-advanced.php:72
713
  msgid "Release Versions Only"
714
  msgstr ""
715
 
716
- #: libs/tab-advanced.php:72
717
  msgid "You will not receive beta notifications"
718
  msgstr ""
719
 
720
- #: libs/tab-advanced.php:81
721
  msgid "Google Analytics"
722
  msgstr ""
723
 
724
- #: libs/tab-advanced.php:83
725
  msgid ""
726
  "To use Google Analytics integration, the GA tracking code must already be "
727
  "installed on your site."
728
  msgstr ""
729
 
730
- #: libs/tab-advanced.php:84
731
  msgid "More Info"
732
  msgstr ""
733
 
734
- #: libs/tab-advanced.php:89
735
  msgid "Event Tracking"
736
  msgstr ""
737
 
738
- #: libs/tab-advanced.php:93
739
  msgid "Enabled"
740
  msgstr ""
741
 
742
- #: libs/tab-advanced.php:93
743
  msgid "Track events in Google Analytics"
744
  msgstr ""
745
 
746
- #: libs/tab-advanced.php:94
747
  msgid "Enabled (Compatibility Mode)"
748
  msgstr ""
749
 
750
- #: libs/tab-advanced.php:94
751
  msgid "Track events using older GDE format (< 2.5)"
752
  msgstr ""
753
 
754
- #: libs/tab-advanced.php:95
755
  msgid "Disable Google Analytics integration"
756
  msgstr ""
757
 
758
- #: libs/tab-advanced.php:102
759
  msgid "Category"
760
  msgstr ""
761
 
762
- #: libs/tab-advanced.php:110
763
  msgid "Label"
764
  msgstr ""
765
 
766
- #: libs/tab-advanced.php:114
767
  msgid "Document URL"
768
  msgstr ""
769
 
770
- #: libs/tab-advanced.php:115
771
  msgid "Document Filename"
772
  msgstr ""
773
 
774
- #: libs/tab-advanced.php:132
775
  msgid "Backup and Import"
776
  msgstr ""
777
 
778
- #: libs/tab-advanced.php:140
779
  msgid ""
780
  "Download a file to your computer containing your profiles, settings, or "
781
  "both, for backup or migration purposes."
782
  msgstr ""
783
 
784
- #: libs/tab-advanced.php:143
785
  msgid "All Profiles and Settings"
786
  msgstr ""
787
 
788
- #: libs/tab-advanced.php:149
789
  msgid "Download Export File"
790
  msgstr ""
791
 
792
- #: libs/tab-advanced.php:157
793
  msgid "To import, choose a file from your computer:"
794
  msgstr ""
795
 
796
- #: libs/tab-advanced.php:163
797
  msgid "Upload File and Import"
798
  msgstr ""
799
 
@@ -875,54 +881,64 @@ msgid ""
875
  msgstr ""
876
 
877
  #: libs/tab-support.php:60
 
 
 
 
 
 
 
 
 
 
878
  msgid "Message"
879
  msgstr ""
880
 
881
- #: libs/tab-support.php:66
882
  msgid "Message Options"
883
  msgstr ""
884
 
885
- #: libs/tab-support.php:68
886
  msgid "Send debug information"
887
  msgstr ""
888
 
889
- #: libs/tab-support.php:69
890
  msgid "View"
891
  msgstr ""
892
 
893
- #: libs/tab-support.php:70
894
  msgid "Hide"
895
  msgstr ""
896
 
897
- #: libs/tab-support.php:71
898
  msgid "Send me a copy"
899
  msgstr ""
900
 
901
- #: libs/tab-support.php:77
902
  msgid "Debug Information"
903
  msgstr ""
904
 
905
- #: libs/tab-support.php:78
906
  msgid ""
907
  "Note: Profile and settings export and diagnostic log (if present) will be "
908
  "attached."
909
  msgstr ""
910
 
911
- #: libs/tab-support.php:151
912
  msgid ""
913
  "I'm less likely to be able to help you if you do not include debug "
914
  "information."
915
  msgstr ""
916
 
917
- #: libs/tab-support.php:153
918
  msgid "Send Request"
919
  msgstr ""
920
 
921
- #: libs/tab-support.php:157
922
  msgid "Request Sent"
923
  msgstr ""
924
 
925
- #: libs/tab-support.php:158
926
  msgid ""
927
  "Delivery failed. You can manually send this information to wpp@tnw.org for "
928
  "help."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Doc Embedder\n"
4
+ "POT-Creation-Date: 2013-01-29 13:40-0600\n"
5
+ "PO-Revision-Date: 2013-01-29 13:41-0600\n"
6
  "Last-Translator: Kevin Davis <wpp@tnw.org>\n"
7
  "Language-Team: Kevin Davis <wpp@tnw.org>\n"
8
  "MIME-Version: 1.0\n"
11
  "X-Poedit-KeywordsList: __;_e\n"
12
  "X-Poedit-SearchPath-0: .\n"
13
 
14
+ #: functions-admin.php:264
15
  msgid "Import"
16
  msgstr ""
17
 
18
+ #: functions-admin.php:275
19
  msgid "Performing full import..."
20
  msgstr ""
21
 
22
+ #: functions-admin.php:279 functions-admin.php:304
23
  msgid "Importing profiles"
24
  msgstr ""
25
 
26
+ #: functions-admin.php:285 functions-admin.php:299 functions-admin.php:310
27
+ #: functions-admin.php:323
28
  msgid "done"
29
  msgstr ""
30
 
31
+ #: functions-admin.php:288 functions-admin.php:297 functions-admin.php:313
32
+ #: functions-admin.php:321
33
  msgid "failed"
34
  msgstr ""
35
 
36
+ #: functions-admin.php:294
37
  msgid "Importing settings"
38
  msgstr ""
39
 
40
+ #: functions-admin.php:317
41
  msgid "Importing settings... "
42
  msgstr ""
43
 
44
+ #: functions-admin.php:326 functions-admin.php:569 options.php:141
45
  msgid "Please select a valid export file to import."
46
  msgstr ""
47
 
48
+ #: functions-admin.php:330
49
  msgid "All or part of the import failed. See above for information."
50
  msgstr ""
51
 
52
+ #: functions-admin.php:332
53
  msgid "Import completed successfully."
54
  msgstr ""
55
 
56
+ #: functions-admin.php:335
57
  msgid "Return to GDE Settings"
58
  msgstr ""
59
 
60
+ #: functions-admin.php:412 functions-admin.php:538 options.php:168
61
+ #: libs/tab-advanced.php:143
62
  msgid "Settings"
63
  msgstr ""
64
 
65
+ #: functions-admin.php:421
66
  msgid "You do not have sufficient permissions to access this page"
67
  msgstr ""
68
 
69
+ #: functions-admin.php:526
70
  msgid "plugin"
71
  msgstr ""
72
 
73
+ #: functions-admin.php:527
74
  msgid "Version"
75
  msgstr ""
76
 
77
+ #: functions-admin.php:565
78
  msgid "This profile will be permanently deleted."
79
  msgstr ""
80
 
81
+ #: functions-admin.php:565 functions-admin.php:566 functions-admin.php:567
82
+ #: functions-admin.php:570
83
  msgid "Are you sure?"
84
  msgstr ""
85
 
86
+ #: functions-admin.php:566
87
  msgid "Settings for this profile will overwrite the default profile."
88
  msgstr ""
89
 
90
+ #: functions-admin.php:567
91
  msgid ""
92
  "Your profile list will be reset to its original state. All changes will be "
93
  "lost."
94
  msgstr ""
95
 
96
+ #: functions-admin.php:570
97
  msgid ""
98
  "Any settings or duplicate profile names in this import will overwrite the "
99
  "current values."
100
  msgstr ""
101
 
102
+ #: functions-admin.php:572
103
  msgid "Please include a shortcode or message to request support."
104
  msgstr ""
105
 
106
+ #: functions-admin.php:610
107
  msgid "Embed file using Google Doc Embedder"
108
  msgstr ""
109
 
110
+ #: functions-admin.php:627 libs/lib-eddialog.php:85
111
  msgid "Select the GDE viewer profile to use"
112
  msgstr ""
113
 
114
+ #: functions-admin.php:778
115
  msgid ""
116
  "You are running a pre-release version of Google Doc Embedder. Please watch "
117
  "this space for important updates."
118
  msgstr ""
119
 
120
+ #: functions.php:104
121
  msgid "File not specified, check shortcode syntax"
122
  msgstr ""
123
 
124
+ #: functions.php:105
125
  msgid "Requested URL is invalid"
126
  msgstr ""
127
 
128
+ #: functions.php:106
129
  msgid "Unsupported File Type"
130
  msgstr ""
131
 
132
+ #: functions.php:107
133
  msgid "Error retrieving file - if necessary turn off error checking"
134
  msgstr ""
135
 
136
+ #: functions.php:227
137
  msgid "Unknown"
138
  msgstr ""
139
 
140
  # Megabytes (for file size reporting)
141
+ #: functions.php:229 libs/tab-advanced.php:38
142
  msgid "MB"
143
  msgstr ""
144
 
145
+ #: functions.php:361 gviewer.php:301 libs/lib-setup.php:83
146
+ #: libs/lib-setup.php:133
147
  msgid "Download"
148
  msgstr ""
149
 
150
+ #: functions.php:500 view.php:399
151
  msgid "Error"
152
  msgstr ""
153
 
154
+ #: gviewer.php:78
155
  msgid "Unable to load profile settings"
156
  msgstr ""
157
 
158
+ #: gviewer.php:113 gviewer.php:125
159
  msgid "Unable to load requested profile."
160
  msgstr ""
161
 
162
+ #: gviewer.php:235
163
  msgid "Unable to secure document"
164
  msgstr ""
165
 
166
+ #: gviewer.php:398
167
+ msgid "Setup wasn't able to create the required database tables."
168
+ msgstr ""
169
+
170
  #: load.php:8 libs/lib-formsubmit.php:9 libs/lib-secure.php:9
171
  #: libs/lib-service.php:53 libs/lib-service.php:71 libs/lib-service.php:74
172
  msgid "You do not have sufficient permissions to access this page."
236
  msgid "General"
237
  msgstr ""
238
 
239
+ #: options.php:182 options.php:195 libs/tab-advanced.php:142
240
  msgid "Profiles"
241
  msgstr ""
242
 
248
  msgid "Support"
249
  msgstr ""
250
 
251
+ #: options.php:349
252
  msgid "Help"
253
  msgstr ""
254
 
255
+ #: options.php:375
256
  msgid "Edit"
257
  msgstr ""
258
 
259
+ #: options.php:376
260
  msgid "Delete"
261
  msgstr ""
262
 
263
+ #: options.php:377
264
  msgid "Make Default"
265
  msgstr ""
266
 
318
  msgid "Optional (Override Profile Settings)"
319
  msgstr ""
320
 
321
+ #: libs/lib-eddialog.php:98
322
+ msgid "Use selected profile settings"
323
+ msgstr ""
324
+
325
+ #: libs/lib-eddialog.php:103 libs/lib-profile.php:189
326
  msgid "Height"
327
  msgstr ""
328
 
329
+ #: libs/lib-eddialog.php:108 libs/lib-profile.php:185
330
  msgid "Width"
331
  msgstr ""
332
 
333
+ #: libs/lib-eddialog.php:109
334
  #, php-format
335
  msgid "Format: 40% or 300px"
336
  msgstr ""
337
 
338
+ #: libs/lib-eddialog.php:114
339
  msgid "Start Page #"
340
  msgstr ""
341
 
342
+ #: libs/lib-eddialog.php:122
343
  msgid "Show Download Link"
344
  msgstr ""
345
 
346
+ #: libs/lib-eddialog.php:125
347
  msgid "Yes"
348
  msgstr ""
349
 
350
+ #: libs/lib-eddialog.php:126
351
  msgid "No"
352
  msgstr ""
353
 
354
+ #: libs/lib-eddialog.php:132
355
  msgid "Disable caching (this document is frequently overwritten)"
356
  msgstr ""
357
 
358
+ #: libs/lib-eddialog.php:143
359
  msgid "Shortcode Preview"
360
  msgstr ""
361
 
362
+ #: libs/lib-eddialog.php:151
363
  msgid "Insert"
364
  msgstr ""
365
 
366
+ #: libs/lib-eddialog.php:155
367
  msgid "Cancel"
368
  msgstr ""
369
 
370
+ #: libs/lib-profile.php:12 libs/tab-advanced.php:134 libs/tab-profiles.php:20
371
  msgid ""
372
  "Unable to load profile settings. Please re-activate GDE and if the problem "
373
  "persists, request help using the \"Support\" tab."
485
  msgid "Full Screen Viewer"
486
  msgstr ""
487
 
488
+ #: libs/lib-profile.php:115
489
  msgid "Open in New Window"
490
  msgstr ""
491
 
492
+ #: libs/lib-profile.php:116
493
+ msgid "Allow Logged-in Users Only"
494
+ msgstr ""
495
+
496
+ #: libs/lib-profile.php:117
497
  msgid "Allow Printing"
498
  msgstr ""
499
 
500
+ #: libs/lib-profile.php:122
501
  msgid "Page Area Background Color"
502
  msgstr ""
503
 
504
+ #: libs/lib-profile.php:127
505
  msgid "None (Transparent)"
506
  msgstr ""
507
 
508
+ #: libs/lib-profile.php:132
509
  msgid "Page Border Color"
510
  msgstr ""
511
 
512
+ #: libs/lib-profile.php:137
513
  msgid "No Border"
514
  msgstr ""
515
 
516
+ #: libs/lib-profile.php:142
517
  msgid "Custom CSS File"
518
  msgstr ""
519
 
520
+ #: libs/lib-profile.php:148
521
  msgid "URL of custom CSS file (may override some of the above options)"
522
  msgstr ""
523
 
524
+ #: libs/lib-profile.php:152
525
  msgid "Security"
526
  msgstr ""
527
 
528
+ #: libs/lib-profile.php:155
529
  msgid "Hide ability to select/copy/paste text"
530
  msgstr ""
531
 
532
+ #: libs/lib-profile.php:156
533
  msgid "Block all download requests for file"
534
  msgstr ""
535
 
536
+ #: libs/lib-profile.php:167
537
  msgid "Default Language"
538
  msgstr ""
539
 
540
+ #: libs/lib-profile.php:179
541
  msgid "Language of toolbar button tips"
542
  msgstr ""
543
 
544
+ #: libs/lib-profile.php:183
545
  msgid "Default Size"
546
  msgstr ""
547
 
548
+ #: libs/lib-profile.php:194
549
  msgid "Enter as pixels or percentage (example: 500px or 100%)"
550
  msgstr ""
551
 
552
+ #: libs/lib-profile.php:198
553
  msgid "File Base URL"
554
  msgstr ""
555
 
556
+ #: libs/lib-profile.php:204
557
  msgid ""
558
  "Any file not starting with <code>http</code> will be prefixed by this value"
559
  msgstr ""
560
 
561
+ #: libs/lib-profile.php:208
562
  msgid "Download Link"
563
  msgstr ""
564
 
565
+ #: libs/lib-profile.php:212
566
  msgid "All Users"
567
  msgstr ""
568
 
569
+ #: libs/lib-profile.php:212
570
  msgid "Download link visible to everyone by default"
571
  msgstr ""
572
 
573
+ #: libs/lib-profile.php:213
574
  msgid "Logged-in Users"
575
  msgstr ""
576
 
577
+ #: libs/lib-profile.php:213
578
  msgid "Download link visible to logged-in users"
579
  msgstr ""
580
 
581
+ #: libs/lib-profile.php:214 libs/tab-advanced.php:93
582
  msgid "None"
583
  msgstr ""
584
 
585
+ #: libs/lib-profile.php:214
586
  msgid "Download link is not visible by default"
587
  msgstr ""
588
 
589
+ #: libs/lib-profile.php:221
590
  msgid "Link Text"
591
  msgstr ""
592
 
593
+ #: libs/lib-profile.php:224
594
  msgid "You can further customize text using these dynamic replacements:"
595
  msgstr ""
596
 
597
+ #: libs/lib-profile.php:225
598
  msgid "filename"
599
  msgstr ""
600
 
601
+ #: libs/lib-profile.php:226
602
  msgid "file type"
603
  msgstr ""
604
 
605
+ #: libs/lib-profile.php:227
606
  msgid "file size"
607
  msgstr ""
608
 
609
+ #: libs/lib-profile.php:231
610
  msgid "Link Position"
611
  msgstr ""
612
 
613
+ #: libs/lib-profile.php:235
614
  msgid "Above Viewer"
615
  msgstr ""
616
 
617
+ #: libs/lib-profile.php:236
618
  msgid "Below Viewer"
619
  msgstr ""
620
 
621
+ #: libs/lib-profile.php:242
622
  msgid "Link Behavior"
623
  msgstr ""
624
 
625
+ #: libs/lib-profile.php:245
626
  msgid "Force download (bypass browser plugins)"
627
  msgstr ""
628
 
629
+ #: libs/lib-profile.php:246
630
  msgid "Shorten URL"
631
  msgstr ""
632
 
633
+ #: libs/lib-profile.php:254 libs/tab-advanced.php:122
634
  msgid "Save Changes"
635
  msgstr ""
636
 
637
+ #: libs/lib-setup.php:64
 
 
 
 
 
 
638
  msgid "This is the default profile, used when no profile is specified."
639
  msgstr ""
640
 
641
+ #: libs/lib-setup.php:89
642
  msgid "Hide document location and text selection, prevent downloads"
643
  msgstr ""
644
 
645
+ #: libs/lib-setup.php:114
646
  msgid "Dark-colored theme, example of custom CSS option"
647
  msgstr ""
648
 
658
  msgid "Disable all editor integration"
659
  msgstr ""
660
 
661
+ #: libs/tab-advanced.php:28
662
  msgid "Insert shortcode from Media Library by default"
663
  msgstr ""
664
 
665
+ #: libs/tab-advanced.php:29
666
  msgid "Allow uploads of all supported media types"
667
  msgstr ""
668
 
669
+ #: libs/tab-advanced.php:34
670
  msgid "Maximum File Size"
671
  msgstr ""
672
 
673
+ #: libs/tab-advanced.php:40
674
  msgid ""
675
  "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
676
  msgstr ""
677
 
678
+ #: libs/tab-advanced.php:44
679
  msgid "Error Handling"
680
  msgstr ""
681
 
682
+ #: libs/tab-advanced.php:47
683
  msgid "Show error messages inline (otherwise, they appear in HTML comments)"
684
  msgstr ""
685
 
686
+ #: libs/tab-advanced.php:48
687
  msgid "Check for errors before loading viewer"
688
  msgstr ""
689
 
690
+ #: libs/tab-advanced.php:50
691
  msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
692
  msgstr ""
693
 
694
+ #: libs/tab-advanced.php:52
695
  msgid "Enable extended diagnostic logging"
696
  msgstr ""
697
 
698
+ #: libs/tab-advanced.php:54
699
  msgid "clear log"
700
  msgstr ""
701
 
702
+ #: libs/tab-advanced.php:59
703
  msgid "show log"
704
  msgstr ""
705
 
706
+ #: libs/tab-advanced.php:65
707
  msgid "Version Notifications"
708
  msgstr ""
709
 
710
+ #: libs/tab-advanced.php:69
711
  msgid "All Versions"
712
  msgstr ""
713
 
714
+ #: libs/tab-advanced.php:69
715
  msgid "You will receive release and beta notifications"
716
  msgstr ""
717
 
718
+ #: libs/tab-advanced.php:70
719
  msgid "Release Versions Only"
720
  msgstr ""
721
 
722
+ #: libs/tab-advanced.php:70
723
  msgid "You will not receive beta notifications"
724
  msgstr ""
725
 
726
+ #: libs/tab-advanced.php:79
727
  msgid "Google Analytics"
728
  msgstr ""
729
 
730
+ #: libs/tab-advanced.php:81
731
  msgid ""
732
  "To use Google Analytics integration, the GA tracking code must already be "
733
  "installed on your site."
734
  msgstr ""
735
 
736
+ #: libs/tab-advanced.php:82
737
  msgid "More Info"
738
  msgstr ""
739
 
740
+ #: libs/tab-advanced.php:87
741
  msgid "Event Tracking"
742
  msgstr ""
743
 
744
+ #: libs/tab-advanced.php:91
745
  msgid "Enabled"
746
  msgstr ""
747
 
748
+ #: libs/tab-advanced.php:91
749
  msgid "Track events in Google Analytics"
750
  msgstr ""
751
 
752
+ #: libs/tab-advanced.php:92
753
  msgid "Enabled (Compatibility Mode)"
754
  msgstr ""
755
 
756
+ #: libs/tab-advanced.php:92
757
  msgid "Track events using older GDE format (< 2.5)"
758
  msgstr ""
759
 
760
+ #: libs/tab-advanced.php:93
761
  msgid "Disable Google Analytics integration"
762
  msgstr ""
763
 
764
+ #: libs/tab-advanced.php:100
765
  msgid "Category"
766
  msgstr ""
767
 
768
+ #: libs/tab-advanced.php:108
769
  msgid "Label"
770
  msgstr ""
771
 
772
+ #: libs/tab-advanced.php:112
773
  msgid "Document URL"
774
  msgstr ""
775
 
776
+ #: libs/tab-advanced.php:113
777
  msgid "Document Filename"
778
  msgstr ""
779
 
780
+ #: libs/tab-advanced.php:130
781
  msgid "Backup and Import"
782
  msgstr ""
783
 
784
+ #: libs/tab-advanced.php:138
785
  msgid ""
786
  "Download a file to your computer containing your profiles, settings, or "
787
  "both, for backup or migration purposes."
788
  msgstr ""
789
 
790
+ #: libs/tab-advanced.php:141
791
  msgid "All Profiles and Settings"
792
  msgstr ""
793
 
794
+ #: libs/tab-advanced.php:147
795
  msgid "Download Export File"
796
  msgstr ""
797
 
798
+ #: libs/tab-advanced.php:155
799
  msgid "To import, choose a file from your computer:"
800
  msgstr ""
801
 
802
+ #: libs/tab-advanced.php:161
803
  msgid "Upload File and Import"
804
  msgstr ""
805
 
881
  msgstr ""
882
 
883
  #: libs/tab-support.php:60
884
+ msgid "URL"
885
+ msgstr ""
886
+
887
+ #: libs/tab-support.php:63
888
+ msgid ""
889
+ "Paste the full web address of a page where I should be able to see the "
890
+ "problem occurring."
891
+ msgstr ""
892
+
893
+ #: libs/tab-support.php:67
894
  msgid "Message"
895
  msgstr ""
896
 
897
+ #: libs/tab-support.php:73
898
  msgid "Message Options"
899
  msgstr ""
900
 
901
+ #: libs/tab-support.php:75
902
  msgid "Send debug information"
903
  msgstr ""
904
 
905
+ #: libs/tab-support.php:76
906
  msgid "View"
907
  msgstr ""
908
 
909
+ #: libs/tab-support.php:77
910
  msgid "Hide"
911
  msgstr ""
912
 
913
+ #: libs/tab-support.php:78
914
  msgid "Send me a copy"
915
  msgstr ""
916
 
917
+ #: libs/tab-support.php:84
918
  msgid "Debug Information"
919
  msgstr ""
920
 
921
+ #: libs/tab-support.php:85
922
  msgid ""
923
  "Note: Profile and settings export and diagnostic log (if present) will be "
924
  "attached."
925
  msgstr ""
926
 
927
+ #: libs/tab-support.php:158
928
  msgid ""
929
  "I'm less likely to be able to help you if you do not include debug "
930
  "information."
931
  msgstr ""
932
 
933
+ #: libs/tab-support.php:160
934
  msgid "Send Request"
935
  msgstr ""
936
 
937
+ #: libs/tab-support.php:164
938
  msgid "Request Sent"
939
  msgstr ""
940
 
941
+ #: libs/tab-support.php:165
942
  msgid ""
943
  "Delivery failed. You can manually send this information to wpp@tnw.org for "
944
  "help."
libs/lib-eddialog.php CHANGED
@@ -92,7 +92,13 @@ $profiles = gde_get_profiles();
92
  <fieldset>
93
  <legend class="gray dwl_gray"><?php _e('Optional (Override Profile Settings)', 'gde'); ?></legend>
94
  <table width="100%" border="0" cellspacing="0" cellpadding="5">
95
- <tr>
 
 
 
 
 
 
96
  <td align="right" valign="top" class="gray dwl_gray" style="width:40%">
97
  <strong><?php _e('Height', 'gde'); ?></strong>
98
  </td>
@@ -103,7 +109,7 @@ $profiles = gde_get_profiles();
103
  <span class="note"><?php _e('Format: 40% or 300px', 'gde'); ?></span>
104
  </td>
105
  </tr>
106
- <tr>
107
  <td align="right" class="gray dwl_gray">
108
  <strong><?php _e('Start Page #', 'gde'); ?></strong>
109
  </td>
@@ -111,7 +117,7 @@ $profiles = gde_get_profiles();
111
  <input name="page" type="text" class="opt dwl" id="page" size="6" value="1" />
112
  </td>
113
  </tr>
114
- <tr>
115
  <td align="right" class="gray dwl_gray">
116
  <strong><?php _e('Show Download Link', 'gde'); ?></strong>
117
  </td>
@@ -120,12 +126,13 @@ $profiles = gde_get_profiles();
120
  <input name="save" type="radio" class="opt dwl save" value="0" /> <?php _e('No', 'gde'); ?>
121
  </td>
122
  </tr>
123
- <tr>
124
  <td colspan="2" class="gray dwl_gray">
125
  <input name="disable_cache" type="checkbox" value="-1" class="disable_cache dwl opt" />
126
  <?php _e('Disable caching (this document is frequently overwritten)', 'gde'); ?>
127
  </td>
128
  </tr>
 
129
  </table>
130
  </fieldset>
131
 
92
  <fieldset>
93
  <legend class="gray dwl_gray"><?php _e('Optional (Override Profile Settings)', 'gde'); ?></legend>
94
  <table width="100%" border="0" cellspacing="0" cellpadding="5">
95
+ <!--tr class="switch">
96
+ <td colspan="2" class="gray dwl_gray">
97
+ <input name="use_defaults" type="checkbox" value="-1" class="use_defaults dwl opt" />
98
+ <?php _e('Use selected profile settings', 'gde'); ?>
99
+ </td>
100
+ </tr-->
101
+ <tr class="ovrride">
102
  <td align="right" valign="top" class="gray dwl_gray" style="width:40%">
103
  <strong><?php _e('Height', 'gde'); ?></strong>
104
  </td>
109
  <span class="note"><?php _e('Format: 40% or 300px', 'gde'); ?></span>
110
  </td>
111
  </tr>
112
+ <tr class="ovrride">
113
  <td align="right" class="gray dwl_gray">
114
  <strong><?php _e('Start Page #', 'gde'); ?></strong>
115
  </td>
117
  <input name="page" type="text" class="opt dwl" id="page" size="6" value="1" />
118
  </td>
119
  </tr>
120
+ <tr class="ovrride">
121
  <td align="right" class="gray dwl_gray">
122
  <strong><?php _e('Show Download Link', 'gde'); ?></strong>
123
  </td>
126
  <input name="save" type="radio" class="opt dwl save" value="0" /> <?php _e('No', 'gde'); ?>
127
  </td>
128
  </tr>
129
+ <tr class="ovrride">
130
  <td colspan="2" class="gray dwl_gray">
131
  <input name="disable_cache" type="checkbox" value="-1" class="disable_cache dwl opt" />
132
  <?php _e('Disable caching (this document is frequently overwritten)', 'gde'); ?>
133
  </td>
134
  </tr>
135
+ </span>
136
  </table>
137
  </fieldset>
138
 
libs/lib-formsubmit.php CHANGED
@@ -22,7 +22,7 @@ if ( ! function_exists('gde_activate') ) {
22
  $file = "export-error.txt";
23
  } else {
24
  $contents = $response['body'];
25
- $file = "gde-export.json";
26
  }
27
  $phpmailer->AddStringAttachment( $contents, $file, 'base64', 'text/plain' );
28
 
@@ -45,7 +45,7 @@ if ( ! function_exists('gde_activate') ) {
45
  return $_POST['email'];
46
  }
47
 
48
- function gde_change_sender ( $sendername ) {
49
  if ($_POST['name']) {
50
  return $_POST['name'];
51
  } else {
@@ -72,19 +72,25 @@ if ( ! function_exists('gde_activate') ) {
72
  $headers .= "Reply-To: <" . $_POST['email'] . ">\n";
73
 
74
  $message = "A request was sent from the GDE Support Form.\n\n";
75
- if ($_POST['msg']) {
76
- $message .= stripslashes($_POST['msg']) . "\n\n";
77
  } else {
78
  $message .= "No message was included.\n\n";
79
  }
80
 
81
- if ($_POST['sc']) {
82
- $message .= "Shortcode: " . stripslashes($_POST['sc']) . "\n\n";
83
  } else {
84
  $message .= "No shortcode was included.\n\n";
85
  }
86
 
87
- if ($_POST['senddb']) {
 
 
 
 
 
 
88
  $message .= $_POST['senddb'];
89
 
90
  // add debug attachment
22
  $file = "export-error.txt";
23
  } else {
24
  $contents = $response['body'];
25
+ $file = "gde-export.txt";
26
  }
27
  $phpmailer->AddStringAttachment( $contents, $file, 'base64', 'text/plain' );
28
 
45
  return $_POST['email'];
46
  }
47
 
48
+ function gde_change_sender( $sendername ) {
49
  if ($_POST['name']) {
50
  return $_POST['name'];
51
  } else {
72
  $headers .= "Reply-To: <" . $_POST['email'] . ">\n";
73
 
74
  $message = "A request was sent from the GDE Support Form.\n\n";
75
+ if ( $_POST['msg'] ) {
76
+ $message .= stripslashes( $_POST['msg'] ) . "\n\n";
77
  } else {
78
  $message .= "No message was included.\n\n";
79
  }
80
 
81
+ if ( $_POST['sc'] ) {
82
+ $message .= "Shortcode: " . stripslashes( $_POST['sc'] ) . "\n\n";
83
  } else {
84
  $message .= "No shortcode was included.\n\n";
85
  }
86
 
87
+ if ( $_POST['url'] ) {
88
+ $message .= "URL: " . stripslashes( $_POST['url'] ) . "\n\n";
89
+ } else {
90
+ $message .= "No URL was included.\n\n";
91
+ }
92
+
93
+ if ( $_POST['senddb'] ) {
94
  $message .= $_POST['senddb'];
95
 
96
  // add debug attachment
libs/lib-profile.php CHANGED
@@ -106,12 +106,14 @@ function gde_profile_form( $id = 1 ) {
106
  <select name="tb_fullscr" id="tb_fullscr">
107
  <?php
108
  gde_profile_option( $p['tb_fullscr'], 'default', __('Google-Hosted Page (Default)', 'gde') );
109
- //gde_profile_option( $p['tb_fullscr'], 'branded', __('Cusom-Branded Page', 'gde') );
110
  gde_profile_option( $p['tb_fullscr'], 'viewer', __('Full Screen Viewer', 'gde') );
111
  ?>
112
- </select>
 
113
  <?php
114
  gde_profile_checkbox( $p['tb_fullwin'], 'fs_win', __('Open in New Window', 'gde') );
 
115
  gde_profile_checkbox( $p['tb_print'], 'fs_print', __('Allow Printing', 'gde'), 'allowPrint' );
116
  ?>
117
  </td>
@@ -136,7 +138,7 @@ function gde_profile_form( $id = 1 ) {
136
  ?>
137
  </td>
138
  </tr>
139
- <tr valign="top" id="pbcolor">
140
  <th scope="row"><?php _e('Custom CSS File', 'gde'); ?></th>
141
  <td>
142
  <?php
106
  <select name="tb_fullscr" id="tb_fullscr">
107
  <?php
108
  gde_profile_option( $p['tb_fullscr'], 'default', __('Google-Hosted Page (Default)', 'gde') );
109
+ //gde_profile_option( $p['tb_fullscr'], 'branded', __('Custom-Branded Page', 'gde') );
110
  gde_profile_option( $p['tb_fullscr'], 'viewer', __('Full Screen Viewer', 'gde') );
111
  ?>
112
+ </select><br/>
113
+
114
  <?php
115
  gde_profile_checkbox( $p['tb_fullwin'], 'fs_win', __('Open in New Window', 'gde') );
116
+ gde_profile_checkbox( $p['tb_fulluser'], 'fs_user', __('Allow Logged-in Users Only', 'gde'), 'blockAnon' );
117
  gde_profile_checkbox( $p['tb_print'], 'fs_print', __('Allow Printing', 'gde'), 'allowPrint' );
118
  ?>
119
  </td>
138
  ?>
139
  </td>
140
  </tr>
141
+ <tr valign="top" id="cssfile">
142
  <th scope="row"><?php _e('Custom CSS File', 'gde'); ?></th>
143
  <td>
144
  <?php
libs/lib-service.php CHANGED
@@ -7,6 +7,11 @@
7
  // access wp functions externally
8
  require_once('lib-bootstrap.php');
9
 
 
 
 
 
 
10
  if ( isset( $_REQUEST['json'] ) ) {
11
  switch ( $_REQUEST['json'] ) {
12
  case "profiles":
@@ -59,7 +64,7 @@ if ( isset( $_REQUEST['json'] ) ) {
59
  $blogid = get_current_blog_id();
60
 
61
  $table = $wpdb->base_prefix . 'gde_dx_log';
62
- $data = $wpdb->get_col( "SELECT * FROM $table WHERE blogid = '$blogid'", 2 );
63
 
64
  header('Content-type: text/plain');
65
 
7
  // access wp functions externally
8
  require_once('lib-bootstrap.php');
9
 
10
+ // no access if parent plugin is disabled
11
+ if ( ! function_exists('gde_activate') ) {
12
+ wp_die('<p>'.__('You do not have sufficient permissions to access this page.').'</p>');
13
+ }
14
+
15
  if ( isset( $_REQUEST['json'] ) ) {
16
  switch ( $_REQUEST['json'] ) {
17
  case "profiles":
64
  $blogid = get_current_blog_id();
65
 
66
  $table = $wpdb->base_prefix . 'gde_dx_log';
67
+ $data = $wpdb->get_col( "SELECT * FROM $table WHERE blogid = '$blogid' ORDER BY id ASC", 2 );
68
 
69
  header('Content-type: text/plain');
70
 
libs/lib-setup.php CHANGED
@@ -1,54 +1,30 @@
1
  <?php
2
 
3
  /**
4
- * Initialize environment (settings/profiles)
5
  *
6
- * @since 2.5.0.1
7
- * @return void
8
  */
9
- function gde_setup() {
10
- // check for sufficient php version (minimum supports json_encode)
11
- if ( ! ( phpversion() >= '5.2.0' ) ) {
12
- wp_die( 'Your server is running PHP version ' . phpversion() . ' but this plugin requires at least 5.2.0' );
13
- }
14
-
15
- if ( GDE_DX_LOGGING > 0 ) {
16
- gde_dx_log("Dx log manually enabled in functions.php");
17
- }
18
- gde_dx_log("Activating...");
19
 
20
- // gather environment info
21
- $baseurl = gde_base_url();
22
- $default_lang = gde_get_locale();
23
- $pdata = gde_get_plugin_data();
24
- $apikey = gde_get_api_key( $pdata['Version'] );
25
- if ( empty( $apikey ) ) {
26
- gde_dx_log("Failed to set API key");
27
- } else {
28
- gde_dx_log("API Key: $apikey");
29
  }
30
 
31
- if ( is_multisite() ) {
32
- // define multisite "global" options
33
- $globalopts = array(
34
- 'file_maxsize' => '12',
35
- 'beta_check' => 'yes',
36
- 'api_key' => $apikey
37
- );
38
-
39
- if ( ! $gdeglobals = get_site_option( 'gde_globals' ) ) {
40
- gde_dx_log("Writing multisite global options");
41
- update_site_option( 'gde_globals', $globalopts );
42
- }
43
- }
44
-
45
- // create/update profile db, if necessary
46
- if ( ! gde_db_tables() ) {
47
- gde_dx_log("Table creation failed; setup halted");
48
- wp_die( __("Setup wasn't able to create the required tables. Please reactivate GDE or perform a clean installation.", 'gde') );
49
- }
50
-
51
- // define default options (does not include multisite yet)
52
  $defopts = array(
53
  'ed_disable' => 'no',
54
  'ed_extend_upload' => 'yes',
@@ -59,9 +35,9 @@ function gde_setup() {
59
  'error_log' => 'no',
60
  'beta_check' => 'yes',
61
  'ga_enable' => 'no',
62
- 'ga_category' => $pdata['Name'],
63
  'ga_label' => 'url',
64
- 'api_key' => $apikey
65
  );
66
 
67
  // define default profile(s)
@@ -75,13 +51,14 @@ function gde_setup() {
75
  "tb_flags" => '',
76
  "tb_fullscr" => 'default',
77
  "tb_fullwin" => 'new',
 
78
  "tb_print" => 'no',
79
  "vw_bgcolor" => '#EBEBEB',
80
  "vw_pbcolor" => '#DADADA',
81
  "vw_css" => '',
82
  "vw_flags" => '',
83
- "language" => $default_lang,
84
- "base_url" => $baseurl,
85
  "link_show" => 'all',
86
  "link_mask" => 'no',
87
  "link_block" => 'no',
@@ -99,13 +76,14 @@ function gde_setup() {
99
  "tb_flags" => '',
100
  "tb_fullscr" => 'viewer',
101
  "tb_fullwin" => 'new',
 
102
  "tb_print" => 'no',
103
  "vw_bgcolor" => '#EBEBEB',
104
  "vw_pbcolor" => '#DADADA',
105
  "vw_css" => '',
106
  "vw_flags" => '',
107
- "language" => $default_lang,
108
- "base_url" => $baseurl,
109
  "link_show" => 'none',
110
  "link_mask" => 'no',
111
  "link_block" => 'yes',
@@ -123,13 +101,14 @@ function gde_setup() {
123
  "tb_flags" => '',
124
  "tb_fullscr" => 'viewer',
125
  "tb_fullwin" => 'new',
 
126
  "tb_print" => 'no',
127
  "vw_bgcolor" => '',
128
  "vw_pbcolor" => '',
129
  "vw_css" => GDE_PLUGIN_URL . 'css/gde-dark.css',
130
  "vw_flags" => '',
131
- "language" => $default_lang,
132
- "base_url" => $baseurl,
133
  "link_show" => 'all',
134
  "link_mask" => 'no',
135
  "link_block" => 'no',
@@ -140,52 +119,60 @@ function gde_setup() {
140
  )
141
  );
142
 
143
- $upgrade = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
 
145
- if ( ! $gdeoptions = get_option('gde_options') ) {
146
- // write default options
147
- gde_dx_log("Writing default options");
148
- update_option('gde_options', $defopts);
149
- } else {
150
- // check or upgrade options
151
- gde_dx_log("Options already exist");
152
- foreach ( $defopts as $k => $v ) {
153
- if ( ! array_key_exists( $k, $gdeoptions ) ) {
154
- $gdeoptions[$k] = $v;
155
- //gde_dx_log("New option $k added");
156
- $updated = true;
157
- }
158
- if ( isset( $updated ) ) {
159
- update_option('gde_options', $defopts);
160
- }
161
- }
162
-
163
- // set API key if empty (ie., failed on earlier attempt or first upgrade)
164
- if ( empty( $gdeoptions['api_key'] ) && ! empty( $apikey ) ) {
165
- $gdeoptions['api_key'] = $apikey;
166
- gde_dx_log("Updated API Key");
167
- update_option( 'gde_options', $gdeoptions );
168
- }
169
-
170
- if ( isset( $gdeoptions['default_width'] ) ) {
171
- // old (pre-2.5) settings exist - convert to profile
172
- gde_upgrade( $gdeoptions, $defopts, $defpros['default'] );
173
- $upgrade = true;
174
  }
175
  }
176
 
 
 
 
177
  // check for existence of default profile (re-activation?)
178
- if ( ! gde_get_profiles( 1 ) || $upgrade ) {
179
  // new activation - write profile(s)
 
180
  foreach ( $defpros as $key => $prodata ) {
181
  if ( $key == "default" ) {
182
- if ( $upgrade ) {
183
- // upgrade conversion handled this - skip
184
- continue;
185
- } else {
186
- // default profile is always ID 1
187
- $id = 1;
188
- }
189
  } else {
190
  $id = null; // assign next id
191
  }
@@ -194,169 +181,104 @@ function gde_setup() {
194
  $desc = $prodata['desc'];
195
  unset( $prodata['desc'] );
196
 
197
- // does profile already exist (check for new options)
198
- if ( $id !== null ) {
199
- if ( $current = gde_get_profiles( $id ) ) {
200
- $changed = false;
201
- foreach ( $prodata as $k => $v ) {
202
- if ( ! array_key_exists( $k, $current ) ) {
203
- $current[$k] = $v;
204
- $changed = true;
205
- gde_dx_log("Setting added: $k");
206
- }
207
- }
208
- foreach ( $current as $k => $v ) {
209
- if ( ! array_key_exists( $k, $prodata ) ) {
210
- unset( $current[$k] );
211
- $changed = true;
212
- gde_dx_log("Setting removed: $k");
213
- }
214
- }
215
- }
216
- }
217
-
218
- if ( isset( $current ) && $current && isset( $changed ) && $changed ) {
219
- // updating current profile
220
- $data = serialize( $current );
221
- $profile = array( $key, $desc, $data );
222
- if ( gde_write_profile( $profile, $id, true ) < 1 ) {
223
- gde_dx_log("Failed to update profile '$key'");
224
- }
225
- } elseif ( ! isset( $changed ) ) {
226
- // write new profile
227
- $data = serialize( $prodata );
228
- $profile = array( $key, $desc, $data );
229
- if ( gde_write_profile( $profile, $id ) < 1 ) {
230
- gde_dx_log("Failed to write profile '$key'");
231
- }
232
  }
233
  }
234
  } else {
235
- gde_dx_log("Profiles already exist - skip creation");
 
236
  }
237
 
238
  gde_dx_log("Activation complete.");
239
  }
240
 
241
  /**
242
- * Upgrade settings to profiles (for pre-2.5 installs)
243
  *
244
- * @since 2.5.0.1
245
  * @return void
246
  */
247
- function gde_upgrade( $gdeoptions, $defopts, $defaults ) {
248
- gde_dx_log("Old settings found - upgrade initiated");
249
-
250
- // reformat some settings
251
- if ( $gdeoptions['disable_proxy'] == "no" ) {
252
- $viewer = "enhanced";
253
- } else {
254
- $viewer = "standard";
255
- }
256
- if ( $gdeoptions['disable_caching'] == "no" ) {
257
- $cache = "on";
258
- } else {
259
- $cache = "off";
260
- }
261
- if ( strstr( $gdeoptions['restrict_tb'], 'm') !== false ) {
262
- $mobile = "always";
263
- $gdeoptions['restrict_tb'] = str_replace( "m", "", $gdeoptions['restrict_tb'] );
264
- } else {
265
- $mobile = "default";
266
- }
267
- if ( $gdeoptions['show_dl'] == "no" ) {
268
- $link_show = "none";
269
- } elseif ( $gdeoptions['restrict_dl'] == "yes" ) {
270
- $link_show = "users";
271
- } else {
272
- $link_show = "all";
273
- }
274
- if ( $gdeoptions['link_func'] == "force-mask" ) {
275
- $link_force = "yes";
276
- $link_mask = "yes";
277
- } elseif ( $gdeoptions['link_func'] == "force" ) {
278
- $link_force = "yes";
279
- $link_mask = "no";
280
- } else {
281
- $link_force = "no";
282
- $link_mask = "no";
283
- }
284
-
285
- // define new default profile - take default profile and override from old settings
286
- $profile = $defaults;
287
- $profile['viewer'] = $viewer;
288
-
289
- // height and width are now combined with their type
290
- $profile['default_width'] = $gdeoptions['default_width'].$gdeoptions['width_type'];
291
- $profile['default_width'] = str_replace( "pc", "%", $profile['default_width'] );
292
- $profile['default_height'] = $gdeoptions['default_height'].$gdeoptions['height_type'];
293
- $profile['default_height'] = str_replace( "pc", "%", $profile['default_height'] );
294
 
295
- $profile['tb_mobile'] = $mobile;
296
- $profile['tb_flags'] = $gdeoptions['restrict_tb'];
297
- $profile['language'] = $gdeoptions['default_lang'];
298
- $profile['base_url'] = $gdeoptions['base_url'];
299
- $profile['link_show'] = $link_show;
300
- $profile['link_mask'] = $link_mask;
301
-
302
- // download link replacements changed
303
- $profile['link_text'] = $gdeoptions['link_text'];
304
- $profile['link_text'] = str_replace( "%FN", "%FILE", $profile['link_text'] );
305
- $profile['link_text'] = str_replace( "%FT", "%TYPE", $profile['link_text'] );
306
- $profile['link_text'] = str_replace( "%FS", "%SIZE", $profile['link_text'] );
307
-
308
- $profile['link_pos'] = $gdeoptions['link_pos'];
309
- $profile['link_force'] = $link_force;
310
- $profile['cache'] = $cache;
311
-
312
- $default = array(
313
- 'default',
314
- __('This is the default profile, used when no profile is specified.', 'gde'),
315
- serialize($profile)
316
- );
317
-
318
- if ( gde_write_profile( $default, 1 ) > 0 ) { // default profile is always ID 1
319
- // profile conversion successful; write new settings array
320
- $oldsets = print_r($gdeoptions, true);
321
- $newprofile = serialize($profile);
322
- //gde_dx_log("Converting old settings to default profile: \n\n $oldsets \n\n $newprofile \n\n");
323
 
324
- if ($gdeoptions['bypass_check'] == "yes") {
325
- $errorchk = "no";
326
- } else {
327
- $errorchk = "yes";
328
- }
329
- if ($gdeoptions['suppress_beta'] == "yes") {
330
- $betachk = "no";
331
- } else {
332
- $betachk = "yes";
333
- }
334
- if ($gdeoptions['enable_ga'] == "yes") {
335
- $ga = "compat";
336
- } else {
337
- $ga = "no";
338
  }
339
 
340
- // build new settings - start with default and overwrite
341
- $newopts = $defopts;
342
-
343
- $newopts['ed_disable'] = $gdeoptions['disable_editor'];
344
- if ( $newopts['ed_disable'] == "yes" ) {
345
- $newopts['ed_extend_upload'] = "yes";
346
- $newopts['ed_embed_sc'] = "yes";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
347
  } else {
348
- $newopts['ed_extend_upload'] = $gdeoptions['ed_extend_upload'];
349
- $newopts['ed_embed_sc'] = $gdeoptions['ed_embed_sc'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  }
351
- $newopts['error_check'] = $errorchk;
352
- $newopts['beta_check'] = $betachk;
353
- $newopts['ga_enable'] = $ga;
354
- $newopts['api_key'] = $gdeoptions['api_key'];
355
-
356
- update_option('gde_options', $newopts);
357
-
358
- gde_dx_log("Old settings converted");
359
  }
 
 
360
  }
361
 
362
  /**
@@ -374,11 +296,15 @@ function gde_get_api_key( $ver ) {
374
  $api = $gdeglobals['api_key'];
375
  } else {
376
  $gdeoptions = get_option( 'gde_options' );
377
- $api = $gdeoptions['api_key'];
 
 
 
 
378
  }
379
 
380
  if ( ! empty ( $api ) ) {
381
- gde_dx_log("API key already set");
382
  return $api;
383
  } else {
384
  gde_dx_log("Requesting new API key");
@@ -404,6 +330,7 @@ function gde_get_api_key( $ver ) {
404
  $key = $json->api_key;
405
  }
406
  if ( ! empty( $key ) ) {
 
407
  return $key;
408
  } else {
409
  gde_dx_log("API returned empty response");
@@ -425,7 +352,7 @@ function gde_get_api_key( $ver ) {
425
  * @since 2.5.0.1
426
  * @return bool Whether or not table creation/update was successful
427
  */
428
- function gde_db_tables() {
429
  global $wpdb;
430
 
431
  // attempt to trap table creation failures
@@ -444,9 +371,14 @@ function gde_db_tables() {
444
  delete_site_option( 'gde_db_version' );
445
  }
446
 
447
- $db_ver_installed = get_site_option( 'gde_db_version', 0 );
448
- gde_dx_log("Installed DB ver: $db_ver_installed; This DB ver: " . GDE_DB_VER );
449
- if ( version_compare( GDE_DB_VER, $db_ver_installed, ">" ) ) {
 
 
 
 
 
450
  // install or upgrade profile table
451
  $table = $wpdb->prefix . 'gde_profiles';
452
 
@@ -502,7 +434,7 @@ function gde_db_tables() {
502
  delete_site_option( 'gde_db_version' );
503
  return false;
504
  } else {
505
- update_site_option( 'gde_db_version', GDE_DB_VER );
506
  return true;
507
  }
508
  }
1
  <?php
2
 
3
  /**
4
+ * Define system defaults (settings/profiles)
5
  *
6
+ * @since 2.5.5.1
7
+ * @return mixed
8
  */
9
+ function gde_defaults( $type ) {
10
+ global $env;
 
 
 
 
 
 
 
 
11
 
12
+ // gather/set environment info
13
+ if ( ! $env ) {
14
+ $env['pdata'] = gde_get_plugin_data();
15
+ $env['baseurl'] = gde_base_url();
16
+ $env['default_lang'] = gde_get_locale();
17
+ $env['apikey'] = gde_get_api_key( $env['pdata']['Version'] );
 
 
 
18
  }
19
 
20
+ // define "global" options (multisite only)
21
+ $globalopts = array(
22
+ 'file_maxsize' => '12',
23
+ 'beta_check' => 'yes',
24
+ 'api_key' => $env['apikey']
25
+ );
26
+
27
+ // define default options
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  $defopts = array(
29
  'ed_disable' => 'no',
30
  'ed_extend_upload' => 'yes',
35
  'error_log' => 'no',
36
  'beta_check' => 'yes',
37
  'ga_enable' => 'no',
38
+ 'ga_category' => $env['pdata']['Name'],
39
  'ga_label' => 'url',
40
+ 'api_key' => $env['apikey']
41
  );
42
 
43
  // define default profile(s)
51
  "tb_flags" => '',
52
  "tb_fullscr" => 'default',
53
  "tb_fullwin" => 'new',
54
+ "tb_fulluser" => 'no',
55
  "tb_print" => 'no',
56
  "vw_bgcolor" => '#EBEBEB',
57
  "vw_pbcolor" => '#DADADA',
58
  "vw_css" => '',
59
  "vw_flags" => '',
60
+ "language" => $env['default_lang'],
61
+ "base_url" => $env['baseurl'],
62
  "link_show" => 'all',
63
  "link_mask" => 'no',
64
  "link_block" => 'no',
76
  "tb_flags" => '',
77
  "tb_fullscr" => 'viewer',
78
  "tb_fullwin" => 'new',
79
+ "tb_fulluser" => 'no',
80
  "tb_print" => 'no',
81
  "vw_bgcolor" => '#EBEBEB',
82
  "vw_pbcolor" => '#DADADA',
83
  "vw_css" => '',
84
  "vw_flags" => '',
85
+ "language" => $env['default_lang'],
86
+ "base_url" => $env['baseurl'],
87
  "link_show" => 'none',
88
  "link_mask" => 'no',
89
  "link_block" => 'yes',
101
  "tb_flags" => '',
102
  "tb_fullscr" => 'viewer',
103
  "tb_fullwin" => 'new',
104
+ "tb_fulluser" => 'no',
105
  "tb_print" => 'no',
106
  "vw_bgcolor" => '',
107
  "vw_pbcolor" => '',
108
  "vw_css" => GDE_PLUGIN_URL . 'css/gde-dark.css',
109
  "vw_flags" => '',
110
+ "language" => $env['default_lang'],
111
+ "base_url" => $env['baseurl'],
112
  "link_show" => 'all',
113
  "link_mask" => 'no',
114
  "link_block" => 'no',
119
  )
120
  );
121
 
122
+ switch ( $type ) {
123
+ case "globals":
124
+ return $globalopts;
125
+ break;
126
+ case "options":
127
+ return $defopts;
128
+ break;
129
+ case "profiles":
130
+ return $defpros;
131
+ break;
132
+ default:
133
+ gde_dx_log('Defaults requested but type not specified');
134
+ return false;
135
+ break;
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Perform activation
141
+ *
142
+ * @since 2.5.0.1
143
+ * @return void
144
+ */
145
+ function gde_setup() {
146
+ if ( GDE_DX_LOGGING > 0 ) {
147
+ gde_dx_log("Dx log manually enabled in functions.php");
148
+ }
149
+
150
+ // clear any beta transient
151
+ gde_dx_log("Clearing beta cache");
152
+ delete_site_transient( 'gde_beta_version' );
153
+ delete_transient( 'gde_beta_version' );
154
+ delete_option( 'external_updates-google-document-embedder' );
155
 
156
+ gde_dx_log("Activating...");
157
+
158
+ if ( is_multisite() ) {
159
+ if ( ! $gdeglobals = get_site_option( 'gde_globals' ) ) {
160
+ gde_dx_log("Writing multisite global options");
161
+ $globalopts = gde_defaults('global');
162
+ update_site_option( 'gde_globals', $globalopts );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  }
164
  }
165
 
166
+ // check for existing or updated options
167
+ $gdeoptions = gde_get_options();
168
+
169
  // check for existence of default profile (re-activation?)
170
+ if ( ! gde_get_profiles( 1 ) ) {
171
  // new activation - write profile(s)
172
+ $defpros = gde_defaults('profiles');
173
  foreach ( $defpros as $key => $prodata ) {
174
  if ( $key == "default" ) {
175
+ $id = 1; // default profile is always ID 1
 
 
 
 
 
 
176
  } else {
177
  $id = null; // assign next id
178
  }
181
  $desc = $prodata['desc'];
182
  unset( $prodata['desc'] );
183
 
184
+ // write profile
185
+ $data = serialize( $prodata );
186
+ $profile = array( $key, $desc, $data );
187
+ if ( gde_write_profile( $profile, $id ) < 1 ) {
188
+ gde_dx_log("Failed to write profile '$key'");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
189
  }
190
  }
191
  } else {
192
+ gde_dx_log("Profiles already exist");
193
+ update_profiles();
194
  }
195
 
196
  gde_dx_log("Activation complete.");
197
  }
198
 
199
  /**
200
+ * Upgrade profiles if changes have been made
201
  *
202
+ * @since 2.5.5.1
203
  * @return void
204
  */
205
+ function update_profiles() {
206
+ $prodata = gde_get_profiles();
207
+ $defpros = gde_defaults('profiles');
208
+ $default = $defpros['default'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
 
210
+ foreach ( $prodata as $profile ) {
211
+ $updated = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
 
213
+ $id = $profile['profile_id'];
214
+ $data = unserialize( $profile['profile_data'] );
215
+
216
+ foreach ( $default as $k => $v ) {
217
+ if ( $k !== "desc" && ! array_key_exists( $k, $data ) ) {
218
+ $data[$k] = $default[$k];
219
+
220
+ $updated = true;
221
+ }
 
 
 
 
 
222
  }
223
 
224
+ if ( $updated ) {
225
+ // write updated profile
226
+ $data = serialize( $data );
227
+ $newpro = array( $profile['profile_name'], $profile['profile_desc'], $data );
228
+ if ( gde_write_profile( $newpro, $id, true ) < 1 ) {
229
+ gde_dx_log("Failed to update profile '" . $profile['profile_name'] . "'");
230
+ }
231
+ }
232
+ }
233
+ }
234
+
235
+ /**
236
+ * Get the current options, upgrading or resetting them as needed
237
+ *
238
+ * @since 2.5.5.1
239
+ * @return array Current value of gde_options
240
+ */
241
+ function gde_get_options() {
242
+ $defopts = gde_defaults('options');
243
+
244
+ if ( ! $gdeoptions = get_option('gde_options') ) {
245
+ // options don't exist
246
+ gde_dx_log("Writing default options");
247
+ update_option('gde_options', $defopts);
248
+ } else {
249
+ // check if upgrading from < 2.5
250
+ if ( isset( $gdeoptions['default_width'] ) ) {
251
+ gde_dx_log("Old options found - resetting");
252
+ $defopts['upgraded'] = "yes";
253
+ update_option('gde_options', $defopts);
254
  } else {
255
+ gde_dx_log("Options already exist");
256
+
257
+ // check or upgrade options
258
+ $updated = false;
259
+ foreach ( $defopts as $k => $v ) {
260
+ if ( ! array_key_exists( $k, $gdeoptions ) ) {
261
+ $gdeoptions[$k] = $v;
262
+ //gde_dx_log("New option $k added");
263
+ $updated = true;
264
+ }
265
+ }
266
+
267
+ if ( $updated ) {
268
+ gde_dx_log('Options were updated');
269
+ update_option('gde_options', $defopts);
270
+ }
271
+
272
+ // set API key if empty (ie., failed on earlier attempt or first upgrade)
273
+ if ( empty( $gdeoptions['api_key'] ) && ! empty( $apikey ) ) {
274
+ $gdeoptions['api_key'] = $apikey;
275
+ gde_dx_log("Updated API Key");
276
+ update_option( 'gde_options', $gdeoptions );
277
+ }
278
  }
 
 
 
 
 
 
 
 
279
  }
280
+
281
+ return $gdeoptions;
282
  }
283
 
284
  /**
296
  $api = $gdeglobals['api_key'];
297
  } else {
298
  $gdeoptions = get_option( 'gde_options' );
299
+ if ( isset( $gdeoptions['api_key'] ) ) {
300
+ $api = $gdeoptions['api_key'];
301
+ } else {
302
+ $api = "";
303
+ }
304
  }
305
 
306
  if ( ! empty ( $api ) ) {
307
+ gde_dx_log("API key already set: $api");
308
  return $api;
309
  } else {
310
  gde_dx_log("Requesting new API key");
330
  $key = $json->api_key;
331
  }
332
  if ( ! empty( $key ) ) {
333
+ gde_dx_log("API Key: $key");
334
  return $key;
335
  } else {
336
  gde_dx_log("API returned empty response");
352
  * @since 2.5.0.1
353
  * @return bool Whether or not table creation/update was successful
354
  */
355
+ function gde_db_tables( $gde_db_ver ) {
356
  global $wpdb;
357
 
358
  // attempt to trap table creation failures
371
  delete_site_option( 'gde_db_version' );
372
  }
373
 
374
+ if ( is_multisite() ) {
375
+ $db_ver_installed = get_site_option( 'gde_db_version', 0 );
376
+ } else {
377
+ $db_ver_installed = get_option( 'gde_db_version', 0 );
378
+ }
379
+
380
+ gde_dx_log("Installed DB ver: $db_ver_installed; This DB ver: " . $gde_db_ver );
381
+ if ( version_compare( $gde_db_ver, $db_ver_installed, ">" ) ) {
382
  // install or upgrade profile table
383
  $table = $wpdb->prefix . 'gde_profiles';
384
 
434
  delete_site_option( 'gde_db_version' );
435
  return false;
436
  } else {
437
+ update_site_option( 'gde_db_version', $gde_db_ver );
438
  return true;
439
  }
440
  }
libs/tab-advanced.php CHANGED
@@ -25,9 +25,7 @@
25
  <td>
26
  <?php
27
  gde_opts_checkbox( 'ed_disable', __('Disable all editor integration', 'gde'), '', 1 );
28
- if ( version_compare( $wp_version, "3.5", "<" ) ) {
29
- gde_opts_checkbox( 'ed_embed_sc', __('Insert shortcode from Media Library by default', 'gde'), 'ed-embed', 1 );
30
- }
31
  gde_opts_checkbox( 'ed_extend_upload', __('Allow uploads of all supported media types', 'gde'), 'ed-upload', 1 );
32
  ?>
33
  </td>
25
  <td>
26
  <?php
27
  gde_opts_checkbox( 'ed_disable', __('Disable all editor integration', 'gde'), '', 1 );
28
+ gde_opts_checkbox( 'ed_embed_sc', __('Insert shortcode from Media Library by default', 'gde'), 'ed-embed', 1 );
 
 
29
  gde_opts_checkbox( 'ed_extend_upload', __('Allow uploads of all supported media types', 'gde'), 'ed-upload', 1 );
30
  ?>
31
  </td>
libs/tab-support.php CHANGED
@@ -52,10 +52,17 @@
52
  <tr valign="top">
53
  <th scope="row"><label for="sc" id="sc_label"><?php _e('Shortcode', 'gde'); ?></label></th>
54
  <td>
55
- <input size="50" name="shortcode" id="sc" value="" type="text"><br/>
56
  <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>
57
  </td>
58
  </tr>
 
 
 
 
 
 
 
59
  <tr valign="top">
60
  <th scope="row"><label for="msg" id="msg_label"><?php _e('Message', 'gde'); ?></label></th>
61
  <td>
@@ -146,7 +153,7 @@
146
  ?>
147
  <br/><br/>
148
  </div>
149
- </div>
150
  <div id="debugwarn" style="display:none;color:red;font-weight:bold;">
151
  <p><?php _e("I'm less likely to be able to help you if you do not include debug information.", 'gde'); ?></p>
152
  </div>
52
  <tr valign="top">
53
  <th scope="row"><label for="sc" id="sc_label"><?php _e('Shortcode', 'gde'); ?></label></th>
54
  <td>
55
+ <input size="50" name="shortcode" id="sc" value="" type="text" placeholder="[gview file=&quot;...&quot;]"><br/>
56
  <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>
57
  </td>
58
  </tr>
59
+ <tr valign="top">
60
+ <th scope="row"><label for="url" id="url_label"><?php _e('URL', 'gde'); ?></label></th>
61
+ <td>
62
+ <input size="50" name="url" id="url" value="" type="text" placeholder="http://..."><br/>
63
+ <em><?php _e("Paste the full web address of a page where I should be able to see the problem occurring.", 'gde'); ?></em>
64
+ </td>
65
+ </tr>
66
  <tr valign="top">
67
  <th scope="row"><label for="msg" id="msg_label"><?php _e('Message', 'gde'); ?></label></th>
68
  <td>
153
  ?>
154
  <br/><br/>
155
  </div>
156
+
157
  <div id="debugwarn" style="display:none;color:red;font-weight:bold;">
158
  <p><?php _e("I'm less likely to be able to help you if you do not include debug information.", 'gde'); ?></p>
159
  </div>
options.php CHANGED
@@ -301,6 +301,9 @@ function gde_profile_checkbox( $option, $field, $label, $wrap = '', $br = '' ) {
301
  // open in new window
302
  } elseif ( $field == "fs_win" && $option !== "same" ) {
303
  echo ' checked="checked"';
 
 
 
304
  // allow print
305
  } elseif ( $field == "fs_print" && $option !== "no" ) {
306
  echo ' checked="checked"';
301
  // open in new window
302
  } elseif ( $field == "fs_win" && $option !== "same" ) {
303
  echo ' checked="checked"';
304
+ // logged-in users only
305
+ } elseif ( $field == "fs_user" && $option == "yes" ) {
306
+ echo ' checked="checked"';
307
  // allow print
308
  } elseif ( $field == "fs_print" && $option !== "no" ) {
309
  echo ' checked="checked"';
readme.txt CHANGED
@@ -137,6 +137,14 @@ More common questions are answered on the GDE web site [here](http://www.davistr
137
 
138
  (E) Enhanced Viewer
139
 
 
 
 
 
 
 
 
 
140
  = 2.5.4 =
141
  * Fixed: Force download option gives PHP error (thanks Zverina)
142
  * Fixed: Force download breaks on filenames with multiple extensions
137
 
138
  (E) Enhanced Viewer
139
 
140
+ = 2.5.5 =
141
+ * Added: Option to restrict full screen view to logged-in users
142
+ * Fixed: Rate limit exceeded on is.gd shortened URLs (thanks Dan)
143
+ * Fixed: Some settings remain in database after uninstall
144
+ * Fixed: Dimensions not sanitized in editor dialog
145
+ * Changed: Activation rebuilt to alleviate profile related errors
146
+ * Changed: Insert from Media Library ability restored for WP 3.5+
147
+
148
  = 2.5.4 =
149
  * Fixed: Force download option gives PHP error (thanks Zverina)
150
  * Fixed: Force download breaks on filenames with multiple extensions
uninstall.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ global $wpdb;
4
+
5
+ if ( is_multisite() ) {
6
+ // multisite cleanup
7
+ delete_site_option( 'gde_db_version' );
8
+ delete_site_option( 'gde_globals' );
9
+ delete_site_transient( 'gde_beta_version' );
10
+
11
+ $blogids = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs" ) );
12
+ foreach ( $blogids as $blogid ) {
13
+ switch_to_blog( $blogid );
14
+
15
+ delete_option( 'gde_options' );
16
+
17
+ $table = $wpdb->prefix . 'gde_profiles';
18
+ $wpdb->query( "DROP TABLE IF EXISTS $table" );
19
+ $table = $wpdb->prefix . 'gde_secure';
20
+ $wpdb->query( "DROP TABLE IF EXISTS $table" );
21
+ }
22
+ restore_current_blog();
23
+ } else {
24
+ // standalone cleanup
25
+ delete_option( 'gde_db_version' );
26
+ delete_transient( 'gde_beta_version' );
27
+
28
+ $table = $wpdb->prefix . 'gde_profiles';
29
+ $wpdb->query( "DROP TABLE IF EXISTS $table" );
30
+ $table = $wpdb->prefix . 'gde_secure';
31
+ $wpdb->query( "DROP TABLE IF EXISTS $table" );
32
+ }
33
+
34
+ // delete options and beta cache
35
+ delete_option( 'gde_options' );
36
+ delete_option( 'external_updates-google-document-embedder' );
37
+
38
+ // drop dx log table, if any
39
+ $table = $wpdb->base_prefix . 'gde_dx_log';
40
+ $wpdb->query( "DROP TABLE IF EXISTS $table" );
41
+
42
+ ?>
view.php CHANGED
@@ -113,7 +113,7 @@ if ( isset( $_GET['a'] ) && $_GET['a'] == 'gt') {
113
  ';
114
 
115
  // hide open in new window
116
- if (strstr($tb, 'n') !== false) {
117
  $newstyles[] = "#controlbarOpenInViewerButton, #gdeControlbarOpenInViewerButton { display: none !important; }";
118
  }
119
  }
113
  ';
114
 
115
  // hide open in new window
116
+ if ( strstr( $tb, 'n' ) !== false || ( $profile['tb_fulluser'] == "yes" && ! is_user_logged_in() ) ) {
117
  $newstyles[] = "#controlbarOpenInViewerButton, #gdeControlbarOpenInViewerButton { display: none !important; }";
118
  }
119
  }