Version Description
- Fixed: Fatal error with certain plugins and themes
- Changed: Network activation halted for now (multisite single activation OK)
- Changed: Removed reliance on web services for file type recognition
- Changed: Multisite database improvements
- Changed: Text domain now called on the appropriate hook
Download this release
Release Info
Developer | k3davis |
Plugin | Google Doc Embedder |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- css/admin-styles.css +14 -0
- functions-admin.php +41 -9
- functions.php +72 -55
- gviewer.php +67 -20
- js/gde-jquery.js +16 -0
- languages/gde-en_US.mo +0 -0
- languages/gde-en_US.po +203 -196
- languages/gde.pot +96 -89
- libs/lib-eddialog.php +3 -3
- libs/lib-formsubmit.php +2 -1
- libs/lib-service.php +4 -2
- libs/lib-setup.php +76 -34
- libs/tab-advanced.php +10 -5
- libs/tab-support.php +26 -10
- readme.txt +14 -4
css/admin-styles.css
CHANGED
@@ -121,4 +121,18 @@ p.gde-submit {
|
|
121 |
|
122 |
.gde-tab-active {
|
123 |
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
}
|
121 |
|
122 |
.gde-tab-active {
|
123 |
display: block;
|
124 |
+
}
|
125 |
+
|
126 |
+
.gde-support-warn {
|
127 |
+
margin-top: 1em;
|
128 |
+
-moz-border-radius: 5px;
|
129 |
+
border-radius: 15px;
|
130 |
+
border: 1px solid #CCCCCC;
|
131 |
+
padding: 10px 15px;
|
132 |
+
float: left;
|
133 |
+
background-color: #F9F9F9;
|
134 |
+
}
|
135 |
+
|
136 |
+
#pro-submit, #profile-submit, #import-submit, #debugsend {
|
137 |
+
margin-bottom: 3em;
|
138 |
}
|
functions-admin.php
CHANGED
@@ -710,7 +710,7 @@ function gde_mce_addbuttons() {
|
|
710 |
}
|
711 |
}
|
712 |
|
713 |
-
function gde_add_tinymce_plugin($plugin_array) {
|
714 |
// load the TinyMCE plugin
|
715 |
$plugin_array['gde'] = GDE_PLUGIN_URL . 'js/editor_plugin.js';
|
716 |
return $plugin_array;
|
@@ -748,7 +748,16 @@ function gde_is_beta() {
|
|
748 |
* @return void
|
749 |
*/
|
750 |
function gde_warn_on_plugin_page( $plugin_file ) {
|
751 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
752 |
|
753 |
if ( gde_is_beta() ) {
|
754 |
$message[] = __('You are running a pre-release version of Google Doc Embedder. Please watch this space for important updates.', 'gde');
|
@@ -829,7 +838,7 @@ function gde_beta_available() {
|
|
829 |
|
830 |
$key = 'gde_beta_version';
|
831 |
|
832 |
-
if ( $avail_version =
|
833 |
// transient already set - compare versions
|
834 |
if ( version_compare( $pdata['Version'], $avail_version ) >= 0 ) {
|
835 |
// installed version is same or newer, don't do anything
|
@@ -842,7 +851,7 @@ function gde_beta_available() {
|
|
842 |
// beta status unknown - attempt to fetch
|
843 |
$api_url = GDE_BETA_API . "versions/gde";
|
844 |
|
845 |
-
if ( ! empty ($gdeoptions['api_key']) ) {
|
846 |
$api_url .= '?api_key=' . $gdeoptions['api_key'];
|
847 |
}
|
848 |
|
@@ -856,22 +865,22 @@ function gde_beta_available() {
|
|
856 |
$hours = 12;
|
857 |
}
|
858 |
|
859 |
-
if ( ! is_wp_error($response)) {
|
860 |
-
if ( $json = json_decode(wp_remote_retrieve_body($response)) ) {
|
861 |
if ( isset( $json->beta->version ) ) {
|
862 |
$ver = $json->beta->version;
|
863 |
gde_dx_log("Beta detected: ".$ver);
|
864 |
}
|
865 |
-
if ( ! empty($ver) ) {
|
866 |
gde_dx_log("Beta detected, don't check again for $hours hours");
|
867 |
-
|
868 |
|
869 |
// there is a beta available, let the checker decide if it's relevant
|
870 |
return true;
|
871 |
} else {
|
872 |
// no beta available - don't check again for 24 hours
|
873 |
gde_dx_log("No beta detected, check again in $hours hours");
|
874 |
-
|
875 |
return false;
|
876 |
}
|
877 |
}
|
@@ -897,4 +906,27 @@ function gde_admin_beta_js_update() {
|
|
897 |
}
|
898 |
}
|
899 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
?>
|
710 |
}
|
711 |
}
|
712 |
|
713 |
+
function gde_add_tinymce_plugin( $plugin_array ) {
|
714 |
// load the TinyMCE plugin
|
715 |
$plugin_array['gde'] = GDE_PLUGIN_URL . 'js/editor_plugin.js';
|
716 |
return $plugin_array;
|
748 |
* @return void
|
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 |
|
762 |
if ( gde_is_beta() ) {
|
763 |
$message[] = __('You are running a pre-release version of Google Doc Embedder. Please watch this space for important updates.', 'gde');
|
838 |
|
839 |
$key = 'gde_beta_version';
|
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
|
851 |
// beta status unknown - attempt to fetch
|
852 |
$api_url = GDE_BETA_API . "versions/gde";
|
853 |
|
854 |
+
if ( ! empty ( $gdeoptions['api_key'] ) ) {
|
855 |
$api_url .= '?api_key=' . $gdeoptions['api_key'];
|
856 |
}
|
857 |
|
865 |
$hours = 12;
|
866 |
}
|
867 |
|
868 |
+
if ( ! is_wp_error( $response ) ) {
|
869 |
+
if ( $json = json_decode( wp_remote_retrieve_body( $response ) ) ) {
|
870 |
if ( isset( $json->beta->version ) ) {
|
871 |
$ver = $json->beta->version;
|
872 |
gde_dx_log("Beta detected: ".$ver);
|
873 |
}
|
874 |
+
if ( ! empty( $ver ) ) {
|
875 |
gde_dx_log("Beta detected, don't check again for $hours hours");
|
876 |
+
set_site_transient( $key, $ver, 60*60*$hours );
|
877 |
|
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;
|
885 |
}
|
886 |
}
|
906 |
}
|
907 |
}
|
908 |
|
909 |
+
/**
|
910 |
+
* Check for existence and valid content of dx log
|
911 |
+
*
|
912 |
+
* @since 2.5.2.1
|
913 |
+
* @return bool
|
914 |
+
*/
|
915 |
+
function gde_log_available() {
|
916 |
+
global $wpdb;
|
917 |
+
|
918 |
+
$table = $wpdb->base_prefix . 'gde_dx_log';
|
919 |
+
$blogid = get_current_blog_id();
|
920 |
+
$log = false;
|
921 |
+
|
922 |
+
if ( $wpdb->get_var( "SHOW TABLES LIKE '$table'" ) == $table ) {
|
923 |
+
$c = $wpdb->get_var( "SELECT COUNT(*) FROM $table WHERE blogid = $blogid" );
|
924 |
+
if ( $c > 0 ) {
|
925 |
+
$log = true;
|
926 |
+
}
|
927 |
+
}
|
928 |
+
|
929 |
+
return $log;
|
930 |
+
}
|
931 |
+
|
932 |
?>
|
functions.php
CHANGED
@@ -14,8 +14,8 @@
|
|
14 |
|
15 |
// set up environment
|
16 |
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
17 |
-
|
18 |
-
|
19 |
|
20 |
// external urls (help, beta API, etc.)
|
21 |
@define( 'GDE_STDOPT_URL', 'http://www.davistribe.org/gde/settings/viewer-options/' );
|
@@ -27,7 +27,7 @@ if ( ! defined( 'GDE_PLUGIN_URL' ) ) { define( 'GDE_PLUGIN_URL', trailingslashit
|
|
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('functions-admin.php'); }
|
31 |
|
32 |
/**
|
33 |
* List supported extensions & MIME types
|
@@ -36,17 +36,13 @@ if ( is_admin() ) { require_once('functions-admin.php'); }
|
|
36 |
* @return array List of all supported extensions and their MIME types
|
37 |
*/
|
38 |
function gde_supported_types() {
|
39 |
-
$
|
|
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
if ( is_wp_error( $response ) ) {
|
45 |
-
// unable to retrieve
|
46 |
-
return false;
|
47 |
} else {
|
48 |
-
|
49 |
-
return $answer;
|
50 |
}
|
51 |
}
|
52 |
|
@@ -150,18 +146,18 @@ function gde_validate_file( $file = NULL, $force ) {
|
|
150 |
}
|
151 |
}
|
152 |
|
153 |
-
function gde_valid_link($link) {
|
154 |
|
155 |
$urlregex = '/^(([\w]+:)?\/\/)(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?$/i';
|
156 |
|
157 |
-
if (preg_match($urlregex, $link)) {
|
158 |
return true;
|
159 |
} else {
|
160 |
return false;
|
161 |
}
|
162 |
}
|
163 |
|
164 |
-
function gde_valid_type($link) {
|
165 |
$supported_exts = implode( "|", array_keys( gde_supported_types() ) );
|
166 |
|
167 |
if ( preg_match( "/\.($supported_exts)$/i", $link ) ) {
|
@@ -192,14 +188,14 @@ function gde_valid_url( $url ) {
|
|
192 |
}
|
193 |
}
|
194 |
|
195 |
-
function gde_split_filename($filename) {
|
196 |
-
$pos = strrpos($filename, '.');
|
197 |
-
if ($pos === false) {
|
198 |
-
return array($filename, ''); // no extension (dot is not found in the filename)
|
199 |
} else {
|
200 |
-
$basename = substr($filename, 0, $pos);
|
201 |
-
$ext = substr($filename, $pos+1);
|
202 |
-
return array($basename, $ext);
|
203 |
}
|
204 |
}
|
205 |
|
@@ -207,7 +203,7 @@ function gde_format_bytes( $bytes, $precision = 2 ) {
|
|
207 |
if ( ! is_numeric( $bytes ) || $bytes < 1 ) {
|
208 |
return __('Unknown', 'gde');
|
209 |
} else {
|
210 |
-
$units = array( 'B', 'KB', 'MB', 'GB', 'TB' );
|
211 |
|
212 |
$bytes = max( $bytes, 0 );
|
213 |
$pow = floor( ( $bytes ? log( $bytes ) : 0 ) / log( 1024 ) );
|
@@ -374,47 +370,35 @@ function gde_dx_log( $text ) {
|
|
374 |
global $gdeoptions, $wpdb;
|
375 |
|
376 |
if ( GDE_DX_LOGGING > 0 || ( isset( $gdeoptions['error_log'] ) && $gdeoptions['error_log'] == "yes" ) ) {
|
377 |
-
// trap any "unexpected output" to log
|
378 |
add_action( 'activated_plugin', 'gde_save_error' );
|
379 |
|
380 |
-
$table = $wpdb->
|
381 |
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
$
|
386 |
-
|
387 |
-
data longtext NOT NULL,
|
388 |
-
UNIQUE KEY (id)
|
389 |
-
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
|
390 |
|
391 |
-
|
392 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
393 |
-
dbDelta($sql);
|
394 |
-
|
395 |
-
if ($wpdb->get_var("SHOW TABLES LIKE '$table'") == $table) {
|
396 |
-
// we're good
|
397 |
-
} else {
|
398 |
-
// table count not be written
|
399 |
-
return false;
|
400 |
-
}
|
401 |
-
}
|
402 |
-
|
403 |
-
// write to log
|
404 |
-
$text = date( "d-m-Y, H:i:s" ) . " - $text";
|
405 |
-
if ( ! $wpdb->insert(
|
406 |
$table,
|
407 |
array(
|
408 |
-
'
|
|
|
409 |
),
|
410 |
array(
|
411 |
-
'%s'
|
412 |
)
|
413 |
) ) {
|
414 |
-
|
415 |
-
|
|
|
|
|
|
|
416 |
} else {
|
417 |
-
|
|
|
418 |
}
|
419 |
} else {
|
420 |
// logging disabled
|
@@ -422,6 +406,38 @@ function gde_dx_log( $text ) {
|
|
422 |
}
|
423 |
}
|
424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
/**
|
426 |
* GDE Capture Activation Errors
|
427 |
*
|
@@ -429,7 +445,7 @@ function gde_dx_log( $text ) {
|
|
429 |
* @return void
|
430 |
* @note Writes any activation errors to log, when enabled
|
431 |
*/
|
432 |
-
function gde_save_error(){
|
433 |
$buffer = ob_get_contents();
|
434 |
if ( ! empty( $buffer ) ) {
|
435 |
gde_dx_log('Activation Msg: '. $buffer );
|
@@ -453,7 +469,8 @@ function gde_show_error( $status ) {
|
|
453 |
* Check health of database tables
|
454 |
*
|
455 |
* @since 2.5.0.3
|
456 |
-
* @return
|
|
|
457 |
*/
|
458 |
function gde_debug_tables( $table = array('gde_profiles', 'gde_secure'), $verbose = false ) {
|
459 |
global $wpdb;
|
14 |
|
15 |
// set up environment
|
16 |
if ( ! defined( 'ABSPATH' ) ) { exit; }
|
17 |
+
@define( 'GDE_PLUGIN_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
18 |
+
@define( 'GDE_PLUGIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
19 |
|
20 |
// external urls (help, beta API, etc.)
|
21 |
@define( 'GDE_STDOPT_URL', 'http://www.davistribe.org/gde/settings/viewer-options/' );
|
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
|
36 |
* @return array List of all supported extensions and their MIME types
|
37 |
*/
|
38 |
function gde_supported_types() {
|
39 |
+
$no_output = 1;
|
40 |
+
include_once( GDE_PLUGIN_DIR . 'libs/lib-exts.php');
|
41 |
|
42 |
+
if ( isset( $types ) ) {
|
43 |
+
return $types;
|
|
|
|
|
|
|
|
|
44 |
} else {
|
45 |
+
return false;
|
|
|
46 |
}
|
47 |
}
|
48 |
|
146 |
}
|
147 |
}
|
148 |
|
149 |
+
function gde_valid_link( $link ) {
|
150 |
|
151 |
$urlregex = '/^(([\w]+:)?\/\/)(([\d\w]|%[a-fA-f\d]{2,2})+(:([\d\w]|%[a-fA-f\d]{2,2})+)?@)?([\d\w][-\d\w]{0,253}[\d\w]\.)+[\w]{2,4}(:[\d]+)?(\/([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)*(\?(&?([-+_~.\d\w]|%[a-fA-f\d]{2,2})=?)*)?(#([-+_~.\d\w]|%[a-fA-f\d]{2,2})*)?$/i';
|
152 |
|
153 |
+
if ( preg_match( $urlregex, $link ) ) {
|
154 |
return true;
|
155 |
} else {
|
156 |
return false;
|
157 |
}
|
158 |
}
|
159 |
|
160 |
+
function gde_valid_type( $link ) {
|
161 |
$supported_exts = implode( "|", array_keys( gde_supported_types() ) );
|
162 |
|
163 |
if ( preg_match( "/\.($supported_exts)$/i", $link ) ) {
|
188 |
}
|
189 |
}
|
190 |
|
191 |
+
function gde_split_filename( $filename ) {
|
192 |
+
$pos = strrpos( $filename, '.' );
|
193 |
+
if ( $pos === false ) {
|
194 |
+
return array( $filename, '' ); // no extension (dot is not found in the filename)
|
195 |
} else {
|
196 |
+
$basename = substr( $filename, 0, $pos );
|
197 |
+
$ext = substr( $filename, $pos + 1 );
|
198 |
+
return array( $basename, $ext );
|
199 |
}
|
200 |
}
|
201 |
|
203 |
if ( ! is_numeric( $bytes ) || $bytes < 1 ) {
|
204 |
return __('Unknown', 'gde');
|
205 |
} else {
|
206 |
+
$units = array( 'B', 'KB', __('MB', 'gde'), 'GB', 'TB' );
|
207 |
|
208 |
$bytes = max( $bytes, 0 );
|
209 |
$pow = floor( ( $bytes ? log( $bytes ) : 0 ) / log( 1024 ) );
|
370 |
global $gdeoptions, $wpdb;
|
371 |
|
372 |
if ( GDE_DX_LOGGING > 0 || ( isset( $gdeoptions['error_log'] ) && $gdeoptions['error_log'] == "yes" ) ) {
|
373 |
+
// filter to trap any "unexpected output" to log
|
374 |
add_action( 'activated_plugin', 'gde_save_error' );
|
375 |
|
376 |
+
$table = $wpdb->base_prefix . 'gde_dx_log';
|
377 |
|
378 |
+
// create/update table if necessary, then write to log
|
379 |
+
if ( gde_dx_log_create() ) {
|
380 |
+
// write to log
|
381 |
+
$blogid = get_current_blog_id();
|
382 |
+
$text = date( "d-m-Y, H:i:s" ) . " - $text";
|
|
|
|
|
|
|
383 |
|
384 |
+
if ( ! $wpdb->insert(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
$table,
|
386 |
array(
|
387 |
+
'blogid' => $blogid,
|
388 |
+
'data' => $text
|
389 |
),
|
390 |
array(
|
391 |
+
'%d', '%s'
|
392 |
)
|
393 |
) ) {
|
394 |
+
// couldn't write to db
|
395 |
+
return false;
|
396 |
+
} else {
|
397 |
+
return true;
|
398 |
+
}
|
399 |
} else {
|
400 |
+
// can't create db table
|
401 |
+
return false;
|
402 |
}
|
403 |
} else {
|
404 |
// logging disabled
|
406 |
}
|
407 |
}
|
408 |
|
409 |
+
/**
|
410 |
+
* Create/update database table to store dx log
|
411 |
+
*
|
412 |
+
* @since 2.5.2.1
|
413 |
+
* @return bool Whether or not table creation/update was successful
|
414 |
+
*/
|
415 |
+
function gde_dx_log_create() {
|
416 |
+
global $wpdb, $gde_db_ver;
|
417 |
+
|
418 |
+
$db_ver_installed = get_site_option( 'gde_db_version', 0 );
|
419 |
+
|
420 |
+
$table = $wpdb->base_prefix . 'gde_dx_log';
|
421 |
+
|
422 |
+
$sql = "CREATE TABLE " . $table . " (
|
423 |
+
id mediumint(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
424 |
+
blogid smallint(5) UNSIGNED NOT NULL,
|
425 |
+
data longtext NOT NULL,
|
426 |
+
UNIQUE KEY (id)
|
427 |
+
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
|
428 |
+
|
429 |
+
// write table to database
|
430 |
+
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
431 |
+
dbDelta( $sql );
|
432 |
+
|
433 |
+
if ( $wpdb->get_var( "SHOW TABLES LIKE '$table'" ) == $table ) {
|
434 |
+
return true;
|
435 |
+
} else {
|
436 |
+
// table count not be written
|
437 |
+
return false;
|
438 |
+
}
|
439 |
+
}
|
440 |
+
|
441 |
/**
|
442 |
* GDE Capture Activation Errors
|
443 |
*
|
445 |
* @return void
|
446 |
* @note Writes any activation errors to log, when enabled
|
447 |
*/
|
448 |
+
function gde_save_error() {
|
449 |
$buffer = ob_get_contents();
|
450 |
if ( ! empty( $buffer ) ) {
|
451 |
gde_dx_log('Activation Msg: '. $buffer );
|
469 |
* Check health of database tables
|
470 |
*
|
471 |
* @since 2.5.0.3
|
472 |
+
* @return bool or string
|
473 |
+
* @note Verbose text used in debug information
|
474 |
*/
|
475 |
function gde_debug_tables( $table = array('gde_profiles', 'gde_secure'), $verbose = false ) {
|
476 |
global $wpdb;
|
gviewer.php
CHANGED
@@ -8,11 +8,11 @@ Author: Kevin Davis
|
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
-
Version: 2.5.
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
-
$gde_ver = "2.5.
|
16 |
|
17 |
/**
|
18 |
* LICENSE
|
@@ -40,7 +40,7 @@ $gde_ver = "2.5.1.96";
|
|
40 |
*/
|
41 |
|
42 |
// boring init junk
|
43 |
-
require_once('functions.php');
|
44 |
$pdata = gde_get_plugin_data();
|
45 |
$gdeoptions = get_option('gde_options');
|
46 |
$healthy = gde_debug_tables('gde_profiles');
|
@@ -48,20 +48,18 @@ global $wp_version;
|
|
48 |
|
49 |
// get global settings
|
50 |
if ( is_multisite() ) {
|
51 |
-
|
52 |
}
|
53 |
|
54 |
// activate plugin, allow full uninstall
|
55 |
register_activation_hook( __FILE__, 'gde_activate' );
|
|
|
56 |
register_uninstall_hook( __FILE__, 'gde_uninstall' );
|
57 |
|
58 |
-
//
|
59 |
-
|
60 |
-
|
61 |
-
// activate shortcode
|
62 |
add_shortcode( 'gview', 'gde_do_shortcode' );
|
63 |
|
64 |
-
// basic usage: [gview file="http://path.to/file.pdf"]
|
65 |
function gde_do_shortcode( $atts ) {
|
66 |
|
67 |
// current settings
|
@@ -83,7 +81,7 @@ function gde_do_shortcode( $atts ) {
|
|
83 |
}
|
84 |
*/
|
85 |
|
86 |
-
extract(shortcode_atts(array(
|
87 |
'file' => '',
|
88 |
'profile' => 1, // default profile is always ID 1
|
89 |
'save' => '',
|
@@ -96,7 +94,7 @@ function gde_do_shortcode( $atts ) {
|
|
96 |
// backwards compatibility < gde 2.5 (still work but make undocumented as shortcode opts)
|
97 |
'authonly' => '',
|
98 |
'lang' => ''
|
99 |
-
), $atts));
|
100 |
|
101 |
// get requested profile data (or default if doesn't exist)
|
102 |
$term = $profile;
|
@@ -319,7 +317,7 @@ function gde_do_shortcode( $atts ) {
|
|
319 |
|
320 |
if ( is_admin() ) {
|
321 |
// add quick settings link to plugin list
|
322 |
-
add_filter("plugin_action_links_" . plugin_basename(__FILE__), 'gde_actlinks');
|
323 |
|
324 |
// beta notification (if enabled)
|
325 |
if ( gde_check_for_beta( __FILE__ ) ) {
|
@@ -366,11 +364,44 @@ if ( is_admin() ) {
|
|
366 |
* @return void
|
367 |
* @note This function must remain in this file
|
368 |
*/
|
369 |
-
function gde_activate() {
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
gde_setup();
|
372 |
}
|
373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
/**
|
375 |
* Uninstall the plugin
|
376 |
*
|
@@ -382,21 +413,37 @@ function gde_uninstall() {
|
|
382 |
global $wpdb;
|
383 |
|
384 |
// delete all options
|
385 |
-
delete_option('gde_options');
|
386 |
-
|
387 |
-
delete_site_option('gde_globals');
|
388 |
|
389 |
// remove beta cache, if any
|
390 |
-
delete_option('external_updates-google-document-embedder');
|
391 |
-
|
392 |
|
393 |
// drop db tables
|
394 |
$table = $wpdb->prefix . 'gde_profiles';
|
395 |
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
396 |
$table = $wpdb->prefix . 'gde_secure';
|
397 |
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
398 |
-
$table = $wpdb->
|
399 |
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
}
|
401 |
|
402 |
?>
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
+
Version: 2.5.2
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
+
$gde_ver = "2.5.2.98";
|
16 |
|
17 |
/**
|
18 |
* LICENSE
|
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');
|
48 |
|
49 |
// get global settings
|
50 |
if ( is_multisite() ) {
|
51 |
+
$gdeglobals = get_site_option( 'gde_globals' );
|
52 |
}
|
53 |
|
54 |
// activate plugin, allow full uninstall
|
55 |
register_activation_hook( __FILE__, 'gde_activate' );
|
56 |
+
register_deactivation_hook( __FILE__, 'gde_deactivate' );
|
57 |
register_uninstall_hook( __FILE__, 'gde_uninstall' );
|
58 |
|
59 |
+
// bring the magic
|
60 |
+
add_action( 'plugins_loaded', 'gde_load' );
|
|
|
|
|
61 |
add_shortcode( 'gview', 'gde_do_shortcode' );
|
62 |
|
|
|
63 |
function gde_do_shortcode( $atts ) {
|
64 |
|
65 |
// current settings
|
81 |
}
|
82 |
*/
|
83 |
|
84 |
+
extract( shortcode_atts( array (
|
85 |
'file' => '',
|
86 |
'profile' => 1, // default profile is always ID 1
|
87 |
'save' => '',
|
94 |
// backwards compatibility < gde 2.5 (still work but make undocumented as shortcode opts)
|
95 |
'authonly' => '',
|
96 |
'lang' => ''
|
97 |
+
), $atts ) );
|
98 |
|
99 |
// get requested profile data (or default if doesn't exist)
|
100 |
$term = $profile;
|
317 |
|
318 |
if ( is_admin() ) {
|
319 |
// add quick settings link to plugin list
|
320 |
+
add_filter( "plugin_action_links_" . plugin_basename( __FILE__ ), 'gde_actlinks' );
|
321 |
|
322 |
// beta notification (if enabled)
|
323 |
if ( gde_check_for_beta( __FILE__ ) ) {
|
364 |
* @return void
|
365 |
* @note This function must remain in this file
|
366 |
*/
|
367 |
+
function gde_activate( $network_wide ) {
|
368 |
+
// set db schema version for this release
|
369 |
+
@define( 'GDE_DB_VER', '1.2' );
|
370 |
+
|
371 |
+
// check for network-wide activation (currently not supported)
|
372 |
+
if ( $network_wide ) {
|
373 |
+
wp_die("Network activation is not supported at this time. Please activate individually until an update is available.");
|
374 |
+
}
|
375 |
+
|
376 |
+
require_once( plugin_dir_path( __FILE__ ) . 'libs/lib-setup.php' );
|
377 |
gde_setup();
|
378 |
}
|
379 |
|
380 |
+
/**
|
381 |
+
* Remove dx log on deactivation
|
382 |
+
*
|
383 |
+
* @since 2.5.2.1
|
384 |
+
* @return void
|
385 |
+
*/
|
386 |
+
function gde_deactivate() {
|
387 |
+
global $wpdb;
|
388 |
+
$blogid = get_current_blog_id();
|
389 |
+
|
390 |
+
$table = $wpdb->base_prefix . 'gde_dx_log';
|
391 |
+
$wpdb->query("DELETE FROM $table WHERE blogid = '$blogid'");
|
392 |
+
}
|
393 |
+
|
394 |
+
/**
|
395 |
+
* Actions to perform when plugins have finished loading (before init)
|
396 |
+
*
|
397 |
+
* @since 2.5.2.1
|
398 |
+
* @return void
|
399 |
+
*/
|
400 |
+
function gde_load() {
|
401 |
+
// localization
|
402 |
+
load_plugin_textdomain( 'gde', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
403 |
+
}
|
404 |
+
|
405 |
/**
|
406 |
* Uninstall the plugin
|
407 |
*
|
413 |
global $wpdb;
|
414 |
|
415 |
// delete all options
|
416 |
+
delete_option( 'gde_options' );
|
417 |
+
delete_site_option( 'gde_db_version' );
|
418 |
+
delete_site_option( 'gde_globals' );
|
419 |
|
420 |
// remove beta cache, if any
|
421 |
+
delete_option( 'external_updates-google-document-embedder' );
|
422 |
+
delete_site_transient( 'gde_beta_version' );
|
423 |
|
424 |
// drop db tables
|
425 |
$table = $wpdb->prefix . 'gde_profiles';
|
426 |
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
427 |
$table = $wpdb->prefix . 'gde_secure';
|
428 |
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
429 |
+
$table = $wpdb->base_prefix . 'gde_dx_log';
|
430 |
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
431 |
+
|
432 |
+
// multisite cleanup
|
433 |
+
if ( is_multisite() ) {
|
434 |
+
$blogids = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM $wpdb->blogs" ) );
|
435 |
+
foreach ( $blogids as $blogid ) {
|
436 |
+
switch_to_blog( $blogid );
|
437 |
+
|
438 |
+
delete_option( 'gde_options' );
|
439 |
+
|
440 |
+
$table = $wpdb->prefix . 'gde_profiles';
|
441 |
+
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
442 |
+
$table = $wpdb->prefix . 'gde_secure';
|
443 |
+
$wpdb->query( "DROP TABLE IF EXISTS $table" );
|
444 |
+
}
|
445 |
+
restore_current_blog();
|
446 |
+
}
|
447 |
}
|
448 |
|
449 |
?>
|
js/gde-jquery.js
CHANGED
@@ -249,6 +249,22 @@ jQuery(function ($) {
|
|
249 |
}
|
250 |
}
|
251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
/**
|
253 |
* Used for import/export
|
254 |
*/
|
249 |
}
|
250 |
}
|
251 |
|
252 |
+
/**
|
253 |
+
* Used for dx logging
|
254 |
+
*/
|
255 |
+
$('.gde-viewlog').click(function(e) {
|
256 |
+
var id = this.id;
|
257 |
+
id = id.replace('log-', '');
|
258 |
+
|
259 |
+
var url = jqs_vars.gde_url + "libs/lib-service.php";
|
260 |
+
|
261 |
+
|
262 |
+
// write data in new window // onsubmit="this.target=\'_blank\'"
|
263 |
+
var form = $('<form action="' + url + '" method="post" target="_blank"><input type="hidden" name="blogid" value="' + id + '" /><input type="hidden" name="viewlog" value="all"></form>');
|
264 |
+
$('body').append(form);
|
265 |
+
$(form).submit();
|
266 |
+
});
|
267 |
+
|
268 |
/**
|
269 |
* Used for import/export
|
270 |
*/
|
languages/gde-en_US.mo
CHANGED
Binary file
|
languages/gde-en_US.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
-
"POT-Creation-Date: 2012-
|
5 |
-
"PO-Revision-Date: 2012-
|
6 |
-
"Last-Translator: Kevin Davis <
|
7 |
"Language-Team: Kevin Davis <wpp@tnw.org>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -11,171 +11,176 @@ msgstr ""
|
|
11 |
"X-Poedit-KeywordsList: __;_e\n"
|
12 |
"X-Poedit-SearchPath-0: .\n"
|
13 |
|
14 |
-
#: functions-admin.php:
|
15 |
msgid "Import"
|
16 |
msgstr ""
|
17 |
|
18 |
-
#: functions-admin.php:
|
19 |
msgid "Performing full import..."
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: functions-admin.php:
|
23 |
msgid "Importing profiles"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: functions-admin.php:
|
27 |
-
#: functions-admin.php:
|
28 |
msgid "done"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: functions-admin.php:
|
32 |
-
#: functions-admin.php:
|
33 |
msgid "failed"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: functions-admin.php:
|
37 |
msgid "Importing settings"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: functions-admin.php:
|
41 |
msgid "Importing settings... "
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: functions-admin.php:
|
45 |
msgid "Please select a valid export file to import."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: functions-admin.php:
|
49 |
msgid "All or part of the import failed. See above for information."
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: functions-admin.php:
|
53 |
msgid "Import completed successfully."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: functions-admin.php:
|
57 |
msgid "Return to GDE Settings"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: functions-admin.php:
|
61 |
-
#: libs/tab-advanced.php:
|
62 |
msgid "Settings"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: functions-admin.php:
|
66 |
msgid "You do not have sufficient permissions to access this page"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: functions-admin.php:
|
70 |
msgid "plugin"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: functions-admin.php:
|
74 |
msgid "Version"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: functions-admin.php:
|
78 |
msgid "This profile will be permanently deleted."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: functions-admin.php:
|
82 |
-
#: functions-admin.php:
|
83 |
msgid "Are you sure?"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: functions-admin.php:
|
87 |
msgid "Settings for this profile will overwrite the default profile."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: functions-admin.php:
|
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:
|
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:
|
103 |
msgid "Please include a shortcode or message to request support."
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: functions-admin.php:
|
107 |
msgid "Embed file using Google Doc Embedder"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: functions-admin.php:
|
111 |
msgid "Select the GDE viewer profile to use"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: functions-admin.php:
|
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:
|
121 |
msgid "File not specified, check shortcode syntax"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: functions.php:
|
125 |
msgid "Requested URL is invalid"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: functions.php:
|
129 |
msgid "Unsupported File Type"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: functions.php:
|
133 |
msgid "Error retrieving file - if necessary turn off error checking"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: functions.php:
|
137 |
msgid "Unknown"
|
138 |
msgstr ""
|
139 |
|
140 |
-
|
141 |
-
#: libs/
|
|
|
|
|
|
|
|
|
|
|
142 |
msgid "Download"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: functions.php:
|
146 |
msgid "Error"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: gviewer.php:
|
150 |
msgid "Unable to load profile settings"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: gviewer.php:
|
154 |
msgid "Unable to load requested profile."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: gviewer.php:
|
158 |
msgid "Unable to secure document"
|
159 |
msgstr ""
|
160 |
|
161 |
#: load.php:8 libs/lib-formsubmit.php:9 libs/lib-secure.php:9
|
162 |
-
#: libs/lib-service.php:53 libs/lib-service.php:
|
163 |
msgid "You do not have sufficient permissions to access this page."
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: load.php:
|
167 |
msgid "Direct access to this file is not permitted."
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: load.php:
|
171 |
msgid "The requested file was not found."
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: load.php:
|
175 |
msgid "Unable to open the requested file. "
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: load.php:
|
179 |
msgid "The document file type is not supported."
|
180 |
msgstr ""
|
181 |
|
@@ -219,43 +224,43 @@ msgstr ""
|
|
219 |
msgid "Settings <strong>updated</strong>."
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: options.php:
|
223 |
msgid "General"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: options.php:
|
227 |
msgid "Profiles"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: options.php:
|
231 |
msgid "Advanced"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: options.php:
|
235 |
msgid "Support"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: options.php:
|
239 |
msgid "Help"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: options.php:
|
243 |
msgid "Edit"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: options.php:
|
247 |
msgid "Delete"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: options.php:
|
251 |
msgid "Make Default"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: view.php:
|
255 |
msgid "Invalid URL format"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: view.php:
|
259 |
msgid ""
|
260 |
"Unable to retrieve document contents. Please try again or switch to Standard "
|
261 |
"Viewer."
|
@@ -305,11 +310,11 @@ msgstr ""
|
|
305 |
msgid "Optional (Override Profile Settings)"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: libs/lib-eddialog.php:97 libs/lib-profile.php:
|
309 |
msgid "Height"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: libs/lib-eddialog.php:102 libs/lib-profile.php:
|
313 |
msgid "Width"
|
314 |
msgstr ""
|
315 |
|
@@ -350,7 +355,7 @@ msgstr ""
|
|
350 |
msgid "Cancel"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: libs/lib-profile.php:12 libs/tab-advanced.php:
|
354 |
msgid ""
|
355 |
"Unable to load profile settings. Please re-activate GDE and if the problem "
|
356 |
"persists, request help using the \"Support\" tab."
|
@@ -370,548 +375,550 @@ msgstr ""
|
|
370 |
msgid "Edit Profile"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: libs/lib-profile.php:
|
374 |
msgid "Viewer Mode"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: libs/lib-profile.php:
|
378 |
msgid "Standard Viewer"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: libs/lib-profile.php:
|
382 |
msgid "Embed the basic viewer only"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: libs/lib-profile.php:
|
386 |
msgid "Enhanced Viewer"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: libs/lib-profile.php:
|
390 |
msgid "Enable extended viewer options"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: libs/lib-profile.php:
|
394 |
msgid "Enhanced Viewer Settings"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: libs/lib-profile.php:
|
398 |
msgid "Toolbar"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: libs/lib-profile.php:
|
402 |
msgid "Remove Toolbar"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: libs/lib-profile.php:
|
406 |
msgid "Use Mobile Toolbar"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: libs/lib-profile.php:
|
410 |
msgid "Mobile Devices Only (Default)"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: libs/lib-profile.php:
|
414 |
msgid "Use mobile toolbar when mobile device detected"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: libs/lib-profile.php:
|
418 |
msgid "Always"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: libs/lib-profile.php:
|
422 |
msgid "Use mobile toolbar for all visitors"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: libs/lib-profile.php:
|
426 |
msgid "Never"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: libs/lib-profile.php:
|
430 |
msgid "Never use mobile toolbar"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: libs/lib-profile.php:
|
434 |
msgid "Toolbar Items"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: libs/lib-profile.php:
|
438 |
msgid "Page Numbers"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: libs/lib-profile.php:
|
442 |
msgid "Previous/Next Page"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: libs/lib-profile.php:
|
446 |
msgid "Zoom In/Out"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: libs/lib-profile.php:
|
450 |
msgid "Full Screen/New Window"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: libs/lib-profile.php:
|
454 |
msgid ""
|
455 |
"Uncheck items to remove from toolbar. Buttons will vary based on file type "
|
456 |
"and device used."
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: libs/lib-profile.php:
|
460 |
msgid "Full Screen Behavior"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: libs/lib-profile.php:
|
464 |
msgid "Google-Hosted Page (Default)"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: libs/lib-profile.php:
|
468 |
msgid "Full Screen Viewer"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: libs/lib-profile.php:
|
472 |
msgid "Open in New Window"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: libs/lib-profile.php:
|
476 |
msgid "Allow Printing"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: libs/lib-profile.php:
|
480 |
msgid "Page Area Background Color"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: libs/lib-profile.php:
|
484 |
msgid "None (Transparent)"
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: libs/lib-profile.php:
|
488 |
msgid "Page Border Color"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: libs/lib-profile.php:
|
492 |
msgid "No Border"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: libs/lib-profile.php:
|
496 |
msgid "Custom CSS File"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: libs/lib-profile.php:
|
500 |
msgid "URL of custom CSS file (may override some of the above options)"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: libs/lib-profile.php:
|
504 |
msgid "Security"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: libs/lib-profile.php:
|
508 |
msgid "Hide ability to select/copy/paste text"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: libs/lib-profile.php:
|
512 |
msgid "Block all download requests for file"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: libs/lib-profile.php:
|
516 |
msgid "Default Language"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: libs/lib-profile.php:
|
520 |
msgid "Language of toolbar button tips"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: libs/lib-profile.php:
|
524 |
msgid "Default Size"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: libs/lib-profile.php:
|
528 |
msgid "Enter as pixels or percentage (example: 500px or 100%)"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: libs/lib-profile.php:
|
532 |
msgid "File Base URL"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: libs/lib-profile.php:
|
536 |
msgid ""
|
537 |
"Any file not starting with <code>http</code> will be prefixed by this value"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: libs/lib-profile.php:
|
541 |
msgid "Download Link"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: libs/lib-profile.php:
|
545 |
msgid "All Users"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: libs/lib-profile.php:
|
549 |
msgid "Download link visible to everyone by default"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: libs/lib-profile.php:
|
553 |
msgid "Logged-in Users"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: libs/lib-profile.php:
|
557 |
msgid "Download link visible to logged-in users"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: libs/lib-profile.php:
|
561 |
msgid "None"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: libs/lib-profile.php:
|
565 |
msgid "Download link is not visible by default"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: libs/lib-profile.php:
|
569 |
msgid "Link Text"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: libs/lib-profile.php:
|
573 |
msgid "You can further customize text using these dynamic replacements:"
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: libs/lib-profile.php:
|
577 |
msgid "filename"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: libs/lib-profile.php:
|
581 |
msgid "file type"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: libs/lib-profile.php:
|
585 |
msgid "file size"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: libs/lib-profile.php:
|
589 |
msgid "Link Position"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: libs/lib-profile.php:
|
593 |
msgid "Above Viewer"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: libs/lib-profile.php:
|
597 |
msgid "Below Viewer"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: libs/lib-profile.php:
|
601 |
msgid "Link Behavior"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: libs/lib-profile.php:
|
605 |
msgid "Force download (bypass browser plugins)"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: libs/lib-profile.php:
|
609 |
msgid "Shorten URL"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: libs/lib-profile.php:
|
613 |
msgid "Save Changes"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: libs/lib-setup.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
msgid "This is the default profile, used when no profile is specified."
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: libs/lib-setup.php:
|
621 |
msgid "Hide document location and text selection, prevent downloads"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: libs/lib-setup.php:
|
625 |
msgid "Dark-colored theme, example of custom CSS option"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: libs/tab-advanced.php:
|
629 |
msgid "Plugin Behavior"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: libs/tab-advanced.php:
|
633 |
msgid "Editor Integration"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: libs/tab-advanced.php:
|
637 |
msgid "Disable all editor integration"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: libs/tab-advanced.php:
|
641 |
msgid "Insert shortcode from Media Library by default"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: libs/tab-advanced.php:
|
645 |
msgid "Allow uploads of all supported media types"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: libs/tab-advanced.php:
|
649 |
msgid "Maximum File Size"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: libs/tab-advanced.php:
|
653 |
msgid ""
|
654 |
"Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: libs/tab-advanced.php:
|
658 |
msgid "Error Handling"
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: libs/tab-advanced.php:
|
662 |
msgid "Show error messages inline (otherwise, they appear in HTML comments)"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: libs/tab-advanced.php:
|
666 |
msgid "Check for errors before loading viewer"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: libs/tab-advanced.php:
|
670 |
msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: libs/tab-advanced.php:
|
674 |
msgid "Enable extended diagnostic logging"
|
675 |
msgstr ""
|
676 |
|
677 |
#: libs/tab-advanced.php:56
|
678 |
-
msgid "
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: libs/tab-advanced.php:
|
682 |
-
msgid "
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: libs/tab-advanced.php:
|
686 |
msgid "Version Notifications"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: libs/tab-advanced.php:
|
690 |
msgid "All Versions"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: libs/tab-advanced.php:
|
694 |
msgid "You will receive release and beta notifications"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: libs/tab-advanced.php:
|
698 |
msgid "Release Versions Only"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: libs/tab-advanced.php:
|
702 |
msgid "You will not receive beta notifications"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: libs/tab-advanced.php:
|
706 |
msgid "Google Analytics"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: libs/tab-advanced.php:
|
710 |
msgid ""
|
711 |
"To use Google Analytics integration, the GA tracking code must already be "
|
712 |
"installed on your site."
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: libs/tab-advanced.php:
|
716 |
msgid "More Info"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: libs/tab-advanced.php:
|
720 |
msgid "Event Tracking"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: libs/tab-advanced.php:
|
724 |
msgid "Enabled"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: libs/tab-advanced.php:
|
728 |
msgid "Track events in Google Analytics"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: libs/tab-advanced.php:
|
732 |
msgid "Enabled (Compatibility Mode)"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: libs/tab-advanced.php:
|
736 |
msgid "Track events using older GDE format (< 2.5)"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: libs/tab-advanced.php:
|
740 |
msgid "Disable Google Analytics integration"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: libs/tab-advanced.php:
|
744 |
msgid "Category"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: libs/tab-advanced.php:
|
748 |
msgid "Label"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: libs/tab-advanced.php:
|
752 |
msgid "Document URL"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: libs/tab-advanced.php:
|
756 |
msgid "Document Filename"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: libs/tab-advanced.php:
|
760 |
msgid "Backup and Import"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: libs/tab-advanced.php:
|
764 |
msgid ""
|
765 |
"Download a file to your computer containing your profiles, settings, or "
|
766 |
"both, for backup or migration purposes."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: libs/tab-advanced.php:
|
770 |
msgid "All Profiles and Settings"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: libs/tab-advanced.php:
|
774 |
msgid "Download Export File"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: libs/tab-advanced.php:
|
778 |
msgid "To import, choose a file from your computer:"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: libs/tab-advanced.php:
|
782 |
msgid "Upload File and Import"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: libs/tab-profiles.php:
|
786 |
msgid "ID"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: libs/tab-profiles.php:
|
790 |
msgid "Name"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: libs/tab-profiles.php:
|
794 |
msgid "Description"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: libs/tab-profiles.php:
|
798 |
msgid "Reset Profiles"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: libs/tab-profiles.php:
|
802 |
msgid "Add New Profile"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: libs/tab-profiles.php:
|
806 |
msgid ""
|
807 |
"The name (or ID number) is used to select the profile via the shortcode. It "
|
808 |
"is all lowercase and contains only letters, numbers, and hyphens."
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: libs/tab-profiles.php:
|
812 |
msgid "Parent"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: libs/tab-profiles.php:
|
816 |
msgid "Select which profile to use as a starting point."
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: libs/tab-profiles.php:
|
820 |
msgid "Describe the profile's purpose, for your own reference (optional)."
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: libs/tab-support.php:
|
824 |
msgid ""
|
825 |
"Please review the documentation before submitting a request for support:"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: libs/tab-support.php:29
|
829 |
-
msgid "Plugin FAQ"
|
830 |
-
msgstr ""
|
831 |
-
|
832 |
#: libs/tab-support.php:30
|
833 |
-
msgid "
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: libs/tab-support.php:
|
837 |
msgid "If you're still experiencing a problem, please complete the form below."
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: libs/tab-support.php:
|
841 |
msgid "Support Request"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: libs/tab-support.php:
|
845 |
msgid "Your Name"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: libs/tab-support.php:
|
849 |
msgid "Your E-mail"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: libs/tab-support.php:
|
853 |
msgid "A valid email address is required."
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: libs/tab-support.php:
|
857 |
msgid "Shortcode"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: libs/tab-support.php:
|
861 |
msgid ""
|
862 |
"If you're having a problem getting a specific document to work, paste the "
|
863 |
"shortcode you're trying to use here."
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: libs/tab-support.php:
|
867 |
msgid "Message"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: libs/tab-support.php:
|
871 |
msgid "Message Options"
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: libs/tab-support.php:
|
875 |
msgid "Send debug information"
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: libs/tab-support.php:
|
879 |
msgid "View"
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: libs/tab-support.php:
|
883 |
msgid "Hide"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: libs/tab-support.php:
|
887 |
msgid "Send me a copy"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: libs/tab-support.php:
|
891 |
msgid "Debug Information"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: libs/tab-support.php:
|
895 |
msgid ""
|
896 |
"Note: Profile and settings export and diagnostic log (if present) will be "
|
897 |
"attached."
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: libs/tab-support.php:
|
901 |
msgid ""
|
902 |
"I'm less likely to be able to help you if you do not include debug "
|
903 |
"information."
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: libs/tab-support.php:
|
907 |
msgid "Send Request"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: libs/tab-support.php:
|
911 |
msgid "Request Sent"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: libs/tab-support.php:
|
915 |
msgid ""
|
916 |
"Delivery failed. You can manually send this information to wpp@tnw.org for "
|
917 |
"help."
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
+
"POT-Creation-Date: 2012-12-17 13:59-0600\n"
|
5 |
+
"PO-Revision-Date: 2012-12-17 14:00-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"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
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:138
|
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:165
|
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:101
|
121 |
msgid "File not specified, check shortcode syntax"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: functions.php:102
|
125 |
msgid "Requested URL is invalid"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: functions.php:103
|
129 |
msgid "Unsupported File Type"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: functions.php:104
|
133 |
msgid "Error retrieving file - if necessary turn off error checking"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: functions.php:204
|
137 |
msgid "Unknown"
|
138 |
msgstr ""
|
139 |
|
140 |
+
# Megabytes (for file size reporting)
|
141 |
+
#: functions.php:206 libs/tab-advanced.php:40
|
142 |
+
msgid "MB"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: functions.php:333 gviewer.php:294 libs/lib-setup.php:88
|
146 |
+
#: libs/lib-setup.php:136
|
147 |
msgid "Download"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: functions.php:458 view.php:399
|
151 |
msgid "Error"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: gviewer.php:71
|
155 |
msgid "Unable to load profile settings"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: gviewer.php:106 gviewer.php:118
|
159 |
msgid "Unable to load requested profile."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: gviewer.php:228
|
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."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: load.php:45
|
172 |
msgid "Direct access to this file is not permitted."
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: load.php:71
|
176 |
msgid "The requested file was not found."
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: load.php:76
|
180 |
msgid "Unable to open the requested file. "
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: load.php:93 load.php:97
|
184 |
msgid "The document file type is not supported."
|
185 |
msgstr ""
|
186 |
|
224 |
msgid "Settings <strong>updated</strong>."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: options.php:174 options.php:187
|
228 |
msgid "General"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: options.php:179 options.php:192 libs/tab-advanced.php:144
|
232 |
msgid "Profiles"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: options.php:200
|
236 |
msgid "Advanced"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: options.php:205
|
240 |
msgid "Support"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: options.php:343
|
244 |
msgid "Help"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: options.php:369
|
248 |
msgid "Edit"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: options.php:370
|
252 |
msgid "Delete"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: options.php:371
|
256 |
msgid "Make Default"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: view.php:44
|
260 |
msgid "Invalid URL format"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: view.php:400
|
264 |
msgid ""
|
265 |
"Unable to retrieve document contents. Please try again or switch to Standard "
|
266 |
"Viewer."
|
310 |
msgid "Optional (Override Profile Settings)"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: libs/lib-eddialog.php:97 libs/lib-profile.php:187
|
314 |
msgid "Height"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: libs/lib-eddialog.php:102 libs/lib-profile.php:183
|
318 |
msgid "Width"
|
319 |
msgstr ""
|
320 |
|
355 |
msgid "Cancel"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: libs/lib-profile.php:12 libs/tab-advanced.php:136 libs/tab-profiles.php:20
|
359 |
msgid ""
|
360 |
"Unable to load profile settings. Please re-activate GDE and if the problem "
|
361 |
"persists, request help using the \"Support\" tab."
|
375 |
msgid "Edit Profile"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: libs/lib-profile.php:50
|
379 |
msgid "Viewer Mode"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: libs/lib-profile.php:54
|
383 |
msgid "Standard Viewer"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: libs/lib-profile.php:54
|
387 |
msgid "Embed the basic viewer only"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: libs/lib-profile.php:55
|
391 |
msgid "Enhanced Viewer"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: libs/lib-profile.php:55
|
395 |
msgid "Enable extended viewer options"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: libs/lib-profile.php:65
|
399 |
msgid "Enhanced Viewer Settings"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: libs/lib-profile.php:69
|
403 |
msgid "Toolbar"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: libs/lib-profile.php:73
|
407 |
msgid "Remove Toolbar"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: libs/lib-profile.php:78
|
411 |
msgid "Use Mobile Toolbar"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: libs/lib-profile.php:82
|
415 |
msgid "Mobile Devices Only (Default)"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: libs/lib-profile.php:82
|
419 |
msgid "Use mobile toolbar when mobile device detected"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: libs/lib-profile.php:83
|
423 |
msgid "Always"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: libs/lib-profile.php:83
|
427 |
msgid "Use mobile toolbar for all visitors"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: libs/lib-profile.php:84
|
431 |
msgid "Never"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: libs/lib-profile.php:84
|
435 |
msgid "Never use mobile toolbar"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: libs/lib-profile.php:91
|
439 |
msgid "Toolbar Items"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: libs/lib-profile.php:94
|
443 |
msgid "Page Numbers"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: libs/lib-profile.php:95
|
447 |
msgid "Previous/Next Page"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: libs/lib-profile.php:96
|
451 |
msgid "Zoom In/Out"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: libs/lib-profile.php:97
|
455 |
msgid "Full Screen/New Window"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: libs/lib-profile.php:100
|
459 |
msgid ""
|
460 |
"Uncheck items to remove from toolbar. Buttons will vary based on file type "
|
461 |
"and device used."
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: libs/lib-profile.php:104
|
465 |
msgid "Full Screen Behavior"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: libs/lib-profile.php:108
|
469 |
msgid "Google-Hosted Page (Default)"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: libs/lib-profile.php:110
|
473 |
msgid "Full Screen Viewer"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: libs/lib-profile.php:114
|
477 |
msgid "Open in New Window"
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: libs/lib-profile.php:115
|
481 |
msgid "Allow Printing"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: libs/lib-profile.php:120
|
485 |
msgid "Page Area Background Color"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: libs/lib-profile.php:125
|
489 |
msgid "None (Transparent)"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: libs/lib-profile.php:130
|
493 |
msgid "Page Border Color"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: libs/lib-profile.php:135
|
497 |
msgid "No Border"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: libs/lib-profile.php:140
|
501 |
msgid "Custom CSS File"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: libs/lib-profile.php:146
|
505 |
msgid "URL of custom CSS file (may override some of the above options)"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: libs/lib-profile.php:150
|
509 |
msgid "Security"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: libs/lib-profile.php:153
|
513 |
msgid "Hide ability to select/copy/paste text"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: libs/lib-profile.php:154
|
517 |
msgid "Block all download requests for file"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: libs/lib-profile.php:165
|
521 |
msgid "Default Language"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: libs/lib-profile.php:177
|
525 |
msgid "Language of toolbar button tips"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: libs/lib-profile.php:181
|
529 |
msgid "Default Size"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: libs/lib-profile.php:192
|
533 |
msgid "Enter as pixels or percentage (example: 500px or 100%)"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: libs/lib-profile.php:196
|
537 |
msgid "File Base URL"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: libs/lib-profile.php:202
|
541 |
msgid ""
|
542 |
"Any file not starting with <code>http</code> will be prefixed by this value"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: libs/lib-profile.php:206
|
546 |
msgid "Download Link"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: libs/lib-profile.php:210
|
550 |
msgid "All Users"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: libs/lib-profile.php:210
|
554 |
msgid "Download link visible to everyone by default"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: libs/lib-profile.php:211
|
558 |
msgid "Logged-in Users"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: libs/lib-profile.php:211
|
562 |
msgid "Download link visible to logged-in users"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: libs/lib-profile.php:212 libs/tab-advanced.php:95
|
566 |
msgid "None"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: libs/lib-profile.php:212
|
570 |
msgid "Download link is not visible by default"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: libs/lib-profile.php:219
|
574 |
msgid "Link Text"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: libs/lib-profile.php:222
|
578 |
msgid "You can further customize text using these dynamic replacements:"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: libs/lib-profile.php:223
|
582 |
msgid "filename"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: libs/lib-profile.php:224
|
586 |
msgid "file type"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: libs/lib-profile.php:225
|
590 |
msgid "file size"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: libs/lib-profile.php:229
|
594 |
msgid "Link Position"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: libs/lib-profile.php:233
|
598 |
msgid "Above Viewer"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: libs/lib-profile.php:234
|
602 |
msgid "Below Viewer"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: libs/lib-profile.php:240
|
606 |
msgid "Link Behavior"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: libs/lib-profile.php:243
|
610 |
msgid "Force download (bypass browser plugins)"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: libs/lib-profile.php:244
|
614 |
msgid "Shorten URL"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: libs/lib-profile.php:252 libs/tab-advanced.php:124
|
618 |
msgid "Save Changes"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: libs/lib-setup.php:48
|
622 |
+
msgid ""
|
623 |
+
"Setup wasn't able to create the required tables. Please reactivate GDE or "
|
624 |
+
"perform a clean installation."
|
625 |
+
msgstr ""
|
626 |
+
|
627 |
+
#: libs/lib-setup.php:70 libs/lib-setup.php:314
|
628 |
msgid "This is the default profile, used when no profile is specified."
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: libs/lib-setup.php:94
|
632 |
msgid "Hide document location and text selection, prevent downloads"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: libs/lib-setup.php:118
|
636 |
msgid "Dark-colored theme, example of custom CSS option"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: libs/tab-advanced.php:19
|
640 |
msgid "Plugin Behavior"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: libs/tab-advanced.php:24
|
644 |
msgid "Editor Integration"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: libs/tab-advanced.php:27
|
648 |
msgid "Disable all editor integration"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: libs/tab-advanced.php:29
|
652 |
msgid "Insert shortcode from Media Library by default"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: libs/tab-advanced.php:31
|
656 |
msgid "Allow uploads of all supported media types"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: libs/tab-advanced.php:36
|
660 |
msgid "Maximum File Size"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: libs/tab-advanced.php:42
|
664 |
msgid ""
|
665 |
"Very large files (typically 8-12MB) aren't supported by Google Doc Viewer"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: libs/tab-advanced.php:46
|
669 |
msgid "Error Handling"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: libs/tab-advanced.php:49
|
673 |
msgid "Show error messages inline (otherwise, they appear in HTML comments)"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: libs/tab-advanced.php:50
|
677 |
msgid "Check for errors before loading viewer"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: libs/tab-advanced.php:52
|
681 |
msgid "Enable extended diagnostic logging <em>(manually enabled)</em>"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: libs/tab-advanced.php:54
|
685 |
msgid "Enable extended diagnostic logging"
|
686 |
msgstr ""
|
687 |
|
688 |
#: libs/tab-advanced.php:56
|
689 |
+
msgid "clear log"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: libs/tab-advanced.php:61
|
693 |
+
msgid "show log"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: libs/tab-advanced.php:67
|
697 |
msgid "Version Notifications"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: libs/tab-advanced.php:71
|
701 |
msgid "All Versions"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: libs/tab-advanced.php:71
|
705 |
msgid "You will receive release and beta notifications"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: libs/tab-advanced.php:72
|
709 |
msgid "Release Versions Only"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: libs/tab-advanced.php:72
|
713 |
msgid "You will not receive beta notifications"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: libs/tab-advanced.php:81
|
717 |
msgid "Google Analytics"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: libs/tab-advanced.php:83
|
721 |
msgid ""
|
722 |
"To use Google Analytics integration, the GA tracking code must already be "
|
723 |
"installed on your site."
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: libs/tab-advanced.php:84
|
727 |
msgid "More Info"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: libs/tab-advanced.php:89
|
731 |
msgid "Event Tracking"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: libs/tab-advanced.php:93
|
735 |
msgid "Enabled"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: libs/tab-advanced.php:93
|
739 |
msgid "Track events in Google Analytics"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: libs/tab-advanced.php:94
|
743 |
msgid "Enabled (Compatibility Mode)"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: libs/tab-advanced.php:94
|
747 |
msgid "Track events using older GDE format (< 2.5)"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: libs/tab-advanced.php:95
|
751 |
msgid "Disable Google Analytics integration"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: libs/tab-advanced.php:102
|
755 |
msgid "Category"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: libs/tab-advanced.php:110
|
759 |
msgid "Label"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: libs/tab-advanced.php:114
|
763 |
msgid "Document URL"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: libs/tab-advanced.php:115
|
767 |
msgid "Document Filename"
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: libs/tab-advanced.php:132
|
771 |
msgid "Backup and Import"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: libs/tab-advanced.php:140
|
775 |
msgid ""
|
776 |
"Download a file to your computer containing your profiles, settings, or "
|
777 |
"both, for backup or migration purposes."
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: libs/tab-advanced.php:143
|
781 |
msgid "All Profiles and Settings"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: libs/tab-advanced.php:149
|
785 |
msgid "Download Export File"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: libs/tab-advanced.php:157
|
789 |
msgid "To import, choose a file from your computer:"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: libs/tab-advanced.php:163
|
793 |
msgid "Upload File and Import"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: libs/tab-profiles.php:34 libs/tab-profiles.php:47
|
797 |
msgid "ID"
|
798 |
msgstr ""
|
799 |
|
800 |
+
#: libs/tab-profiles.php:37 libs/tab-profiles.php:50 libs/tab-profiles.php:104
|
801 |
msgid "Name"
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: libs/tab-profiles.php:40 libs/tab-profiles.php:53 libs/tab-profiles.php:120
|
805 |
msgid "Description"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: libs/tab-profiles.php:92
|
809 |
msgid "Reset Profiles"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: libs/tab-profiles.php:100 libs/tab-profiles.php:125
|
813 |
msgid "Add New Profile"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: libs/tab-profiles.php:106
|
817 |
msgid ""
|
818 |
"The name (or ID number) is used to select the profile via the shortcode. It "
|
819 |
"is all lowercase and contains only letters, numbers, and hyphens."
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: libs/tab-profiles.php:109
|
823 |
msgid "Parent"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: libs/tab-profiles.php:117
|
827 |
msgid "Select which profile to use as a starting point."
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: libs/tab-profiles.php:122
|
831 |
msgid "Describe the profile's purpose, for your own reference (optional)."
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: libs/tab-support.php:27
|
835 |
msgid ""
|
836 |
"Please review the documentation before submitting a request for support:"
|
837 |
msgstr ""
|
838 |
|
|
|
|
|
|
|
|
|
839 |
#: libs/tab-support.php:30
|
840 |
+
msgid "Plugin FAQ"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: libs/tab-support.php:32
|
844 |
msgid "If you're still experiencing a problem, please complete the form below."
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: libs/tab-support.php:38
|
848 |
msgid "Support Request"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: libs/tab-support.php:42
|
852 |
msgid "Your Name"
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: libs/tab-support.php:46
|
856 |
msgid "Your E-mail"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: libs/tab-support.php:49
|
860 |
msgid "A valid email address is required."
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: libs/tab-support.php:53
|
864 |
msgid "Shortcode"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: libs/tab-support.php:56
|
868 |
msgid ""
|
869 |
"If you're having a problem getting a specific document to work, paste the "
|
870 |
"shortcode you're trying to use here."
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: libs/tab-support.php:60
|
874 |
msgid "Message"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: libs/tab-support.php:66
|
878 |
msgid "Message Options"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: libs/tab-support.php:68
|
882 |
msgid "Send debug information"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: libs/tab-support.php:69
|
886 |
msgid "View"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: libs/tab-support.php:70
|
890 |
msgid "Hide"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: libs/tab-support.php:71
|
894 |
msgid "Send me a copy"
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: libs/tab-support.php:77
|
898 |
msgid "Debug Information"
|
899 |
msgstr ""
|
900 |
|
901 |
+
#: libs/tab-support.php:78
|
902 |
msgid ""
|
903 |
"Note: Profile and settings export and diagnostic log (if present) will be "
|
904 |
"attached."
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: libs/tab-support.php:151
|
908 |
msgid ""
|
909 |
"I'm less likely to be able to help you if you do not include debug "
|
910 |
"information."
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: libs/tab-support.php:153
|
914 |
msgid "Send Request"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: libs/tab-support.php:157
|
918 |
msgid "Request Sent"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: libs/tab-support.php:158
|
922 |
msgid ""
|
923 |
"Delivery failed. You can manually send this information to wpp@tnw.org for "
|
924 |
"help."
|
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-
|
5 |
-
"PO-Revision-Date: 2012-12-
|
6 |
"Last-Translator: Kevin Davis <wpp@tnw.org>\n"
|
7 |
"Language-Team: Kevin Davis <wpp@tnw.org>\n"
|
8 |
"MIME-Version: 1.0\n"
|
@@ -41,7 +41,7 @@ msgstr ""
|
|
41 |
msgid "Importing settings... "
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: functions-admin.php:320 functions-admin.php:
|
45 |
msgid "Please select a valid export file to import."
|
46 |
msgstr ""
|
47 |
|
@@ -57,8 +57,8 @@ msgstr ""
|
|
57 |
msgid "Return to GDE Settings"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: functions-admin.php:406 functions-admin.php:
|
61 |
-
#: libs/tab-advanced.php:
|
62 |
msgid "Settings"
|
63 |
msgstr ""
|
64 |
|
@@ -66,100 +66,105 @@ msgstr ""
|
|
66 |
msgid "You do not have sufficient permissions to access this page"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: functions-admin.php:
|
70 |
msgid "plugin"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: functions-admin.php:
|
74 |
msgid "Version"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: functions-admin.php:
|
78 |
msgid "This profile will be permanently deleted."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: functions-admin.php:
|
82 |
-
#: functions-admin.php:
|
83 |
msgid "Are you sure?"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: functions-admin.php:
|
87 |
msgid "Settings for this profile will overwrite the default profile."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: functions-admin.php:
|
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:
|
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:
|
103 |
msgid "Please include a shortcode or message to request support."
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: functions-admin.php:
|
107 |
msgid "Embed file using Google Doc Embedder"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: functions-admin.php:
|
111 |
msgid "Select the GDE viewer profile to use"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: functions-admin.php:
|
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:
|
121 |
msgid "File not specified, check shortcode syntax"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: functions.php:
|
125 |
msgid "Requested URL is invalid"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: functions.php:
|
129 |
msgid "Unsupported File Type"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: functions.php:
|
133 |
msgid "Error retrieving file - if necessary turn off error checking"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: functions.php:
|
137 |
msgid "Unknown"
|
138 |
msgstr ""
|
139 |
|
140 |
-
|
141 |
-
#: libs/
|
|
|
|
|
|
|
|
|
|
|
142 |
msgid "Download"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: functions.php:
|
146 |
msgid "Error"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: gviewer.php:
|
150 |
msgid "Unable to load profile settings"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: gviewer.php:
|
154 |
msgid "Unable to load requested profile."
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: gviewer.php:
|
158 |
msgid "Unable to secure document"
|
159 |
msgstr ""
|
160 |
|
161 |
#: load.php:8 libs/lib-formsubmit.php:9 libs/lib-secure.php:9
|
162 |
-
#: libs/lib-service.php:53 libs/lib-service.php:
|
163 |
msgid "You do not have sufficient permissions to access this page."
|
164 |
msgstr ""
|
165 |
|
@@ -223,7 +228,7 @@ msgstr ""
|
|
223 |
msgid "General"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: options.php:179 options.php:192 libs/tab-advanced.php:
|
227 |
msgid "Profiles"
|
228 |
msgstr ""
|
229 |
|
@@ -350,7 +355,7 @@ msgstr ""
|
|
350 |
msgid "Cancel"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: libs/lib-profile.php:12 libs/tab-advanced.php:
|
354 |
msgid ""
|
355 |
"Unable to load profile settings. Please re-activate GDE and if the problem "
|
356 |
"persists, request help using the \"Support\" tab."
|
@@ -557,7 +562,7 @@ msgstr ""
|
|
557 |
msgid "Download link visible to logged-in users"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: libs/lib-profile.php:212 libs/tab-advanced.php:
|
561 |
msgid "None"
|
562 |
msgstr ""
|
563 |
|
@@ -609,19 +614,25 @@ msgstr ""
|
|
609 |
msgid "Shorten URL"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: libs/lib-profile.php:252 libs/tab-advanced.php:
|
613 |
msgid "Save Changes"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: libs/lib-setup.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
msgid "This is the default profile, used when no profile is specified."
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: libs/lib-setup.php:
|
621 |
msgid "Hide document location and text selection, prevent downloads"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: libs/lib-setup.php:
|
625 |
msgid "Dark-colored theme, example of custom CSS option"
|
626 |
msgstr ""
|
627 |
|
@@ -674,111 +685,111 @@ msgstr ""
|
|
674 |
msgid "Enable extended diagnostic logging"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: libs/tab-advanced.php:55
|
678 |
-
msgid "show log"
|
679 |
-
msgstr ""
|
680 |
-
|
681 |
#: libs/tab-advanced.php:56
|
682 |
msgid "clear log"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: libs/tab-advanced.php:
|
|
|
|
|
|
|
|
|
686 |
msgid "Version Notifications"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: libs/tab-advanced.php:
|
690 |
msgid "All Versions"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: libs/tab-advanced.php:
|
694 |
msgid "You will receive release and beta notifications"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: libs/tab-advanced.php:
|
698 |
msgid "Release Versions Only"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: libs/tab-advanced.php:
|
702 |
msgid "You will not receive beta notifications"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: libs/tab-advanced.php:
|
706 |
msgid "Google Analytics"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: libs/tab-advanced.php:
|
710 |
msgid ""
|
711 |
"To use Google Analytics integration, the GA tracking code must already be "
|
712 |
"installed on your site."
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: libs/tab-advanced.php:
|
716 |
msgid "More Info"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: libs/tab-advanced.php:
|
720 |
msgid "Event Tracking"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: libs/tab-advanced.php:
|
724 |
msgid "Enabled"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: libs/tab-advanced.php:
|
728 |
msgid "Track events in Google Analytics"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: libs/tab-advanced.php:
|
732 |
msgid "Enabled (Compatibility Mode)"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: libs/tab-advanced.php:
|
736 |
msgid "Track events using older GDE format (< 2.5)"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: libs/tab-advanced.php:
|
740 |
msgid "Disable Google Analytics integration"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: libs/tab-advanced.php:
|
744 |
msgid "Category"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: libs/tab-advanced.php:
|
748 |
msgid "Label"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: libs/tab-advanced.php:
|
752 |
msgid "Document URL"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: libs/tab-advanced.php:
|
756 |
msgid "Document Filename"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: libs/tab-advanced.php:
|
760 |
msgid "Backup and Import"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: libs/tab-advanced.php:
|
764 |
msgid ""
|
765 |
"Download a file to your computer containing your profiles, settings, or "
|
766 |
"both, for backup or migration purposes."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: libs/tab-advanced.php:
|
770 |
msgid "All Profiles and Settings"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: libs/tab-advanced.php:
|
774 |
msgid "Download Export File"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: libs/tab-advanced.php:
|
778 |
msgid "To import, choose a file from your computer:"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: libs/tab-advanced.php:
|
782 |
msgid "Upload File and Import"
|
783 |
msgstr ""
|
784 |
|
@@ -820,98 +831,94 @@ msgstr ""
|
|
820 |
msgid "Describe the profile's purpose, for your own reference (optional)."
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: libs/tab-support.php:
|
824 |
msgid ""
|
825 |
"Please review the documentation before submitting a request for support:"
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: libs/tab-support.php:29
|
829 |
-
msgid "Plugin FAQ"
|
830 |
-
msgstr ""
|
831 |
-
|
832 |
#: libs/tab-support.php:30
|
833 |
-
msgid "
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: libs/tab-support.php:
|
837 |
msgid "If you're still experiencing a problem, please complete the form below."
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: libs/tab-support.php:
|
841 |
msgid "Support Request"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#: libs/tab-support.php:
|
845 |
msgid "Your Name"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: libs/tab-support.php:
|
849 |
msgid "Your E-mail"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: libs/tab-support.php:
|
853 |
msgid "A valid email address is required."
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: libs/tab-support.php:
|
857 |
msgid "Shortcode"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: libs/tab-support.php:
|
861 |
msgid ""
|
862 |
"If you're having a problem getting a specific document to work, paste the "
|
863 |
"shortcode you're trying to use here."
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: libs/tab-support.php:
|
867 |
msgid "Message"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: libs/tab-support.php:
|
871 |
msgid "Message Options"
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: libs/tab-support.php:
|
875 |
msgid "Send debug information"
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: libs/tab-support.php:
|
879 |
msgid "View"
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: libs/tab-support.php:
|
883 |
msgid "Hide"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: libs/tab-support.php:
|
887 |
msgid "Send me a copy"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: libs/tab-support.php:
|
891 |
msgid "Debug Information"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: libs/tab-support.php:
|
895 |
msgid ""
|
896 |
"Note: Profile and settings export and diagnostic log (if present) will be "
|
897 |
"attached."
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: libs/tab-support.php:
|
901 |
msgid ""
|
902 |
"I'm less likely to be able to help you if you do not include debug "
|
903 |
"information."
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: libs/tab-support.php:
|
907 |
msgid "Send Request"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: libs/tab-support.php:
|
911 |
msgid "Request Sent"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: libs/tab-support.php:
|
915 |
msgid ""
|
916 |
"Delivery failed. You can manually send this information to wpp@tnw.org for "
|
917 |
"help."
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
+
"POT-Creation-Date: 2012-12-17 13:59-0600\n"
|
5 |
+
"PO-Revision-Date: 2012-12-17 14:00-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"
|
41 |
msgid "Importing settings... "
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: functions-admin.php:320 functions-admin.php:563 options.php:138
|
45 |
msgid "Please select a valid export file to import."
|
46 |
msgstr ""
|
47 |
|
57 |
msgid "Return to GDE Settings"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: functions-admin.php:406 functions-admin.php:532 options.php:165
|
61 |
+
#: libs/tab-advanced.php:145
|
62 |
msgid "Settings"
|
63 |
msgstr ""
|
64 |
|
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:101
|
121 |
msgid "File not specified, check shortcode syntax"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: functions.php:102
|
125 |
msgid "Requested URL is invalid"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: functions.php:103
|
129 |
msgid "Unsupported File Type"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: functions.php:104
|
133 |
msgid "Error retrieving file - if necessary turn off error checking"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: functions.php:204
|
137 |
msgid "Unknown"
|
138 |
msgstr ""
|
139 |
|
140 |
+
# Megabytes (for file size reporting)
|
141 |
+
#: functions.php:206 libs/tab-advanced.php:40
|
142 |
+
msgid "MB"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: functions.php:333 gviewer.php:294 libs/lib-setup.php:88
|
146 |
+
#: libs/lib-setup.php:136
|
147 |
msgid "Download"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: functions.php:458 view.php:399
|
151 |
msgid "Error"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: gviewer.php:71
|
155 |
msgid "Unable to load profile settings"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: gviewer.php:106 gviewer.php:118
|
159 |
msgid "Unable to load requested profile."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: gviewer.php:228
|
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."
|
169 |
msgstr ""
|
170 |
|
228 |
msgid "General"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: options.php:179 options.php:192 libs/tab-advanced.php:144
|
232 |
msgid "Profiles"
|
233 |
msgstr ""
|
234 |
|
355 |
msgid "Cancel"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: libs/lib-profile.php:12 libs/tab-advanced.php:136 libs/tab-profiles.php:20
|
359 |
msgid ""
|
360 |
"Unable to load profile settings. Please re-activate GDE and if the problem "
|
361 |
"persists, request help using the \"Support\" tab."
|
562 |
msgid "Download link visible to logged-in users"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: libs/lib-profile.php:212 libs/tab-advanced.php:95
|
566 |
msgid "None"
|
567 |
msgstr ""
|
568 |
|
614 |
msgid "Shorten URL"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: libs/lib-profile.php:252 libs/tab-advanced.php:124
|
618 |
msgid "Save Changes"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: libs/lib-setup.php:48
|
622 |
+
msgid ""
|
623 |
+
"Setup wasn't able to create the required tables. Please reactivate GDE or "
|
624 |
+
"perform a clean installation."
|
625 |
+
msgstr ""
|
626 |
+
|
627 |
+
#: libs/lib-setup.php:70 libs/lib-setup.php:314
|
628 |
msgid "This is the default profile, used when no profile is specified."
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: libs/lib-setup.php:94
|
632 |
msgid "Hide document location and text selection, prevent downloads"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: libs/lib-setup.php:118
|
636 |
msgid "Dark-colored theme, example of custom CSS option"
|
637 |
msgstr ""
|
638 |
|
685 |
msgid "Enable extended diagnostic logging"
|
686 |
msgstr ""
|
687 |
|
|
|
|
|
|
|
|
|
688 |
#: libs/tab-advanced.php:56
|
689 |
msgid "clear log"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: libs/tab-advanced.php:61
|
693 |
+
msgid "show log"
|
694 |
+
msgstr ""
|
695 |
+
|
696 |
+
#: libs/tab-advanced.php:67
|
697 |
msgid "Version Notifications"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: libs/tab-advanced.php:71
|
701 |
msgid "All Versions"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: libs/tab-advanced.php:71
|
705 |
msgid "You will receive release and beta notifications"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: libs/tab-advanced.php:72
|
709 |
msgid "Release Versions Only"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: libs/tab-advanced.php:72
|
713 |
msgid "You will not receive beta notifications"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: libs/tab-advanced.php:81
|
717 |
msgid "Google Analytics"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: libs/tab-advanced.php:83
|
721 |
msgid ""
|
722 |
"To use Google Analytics integration, the GA tracking code must already be "
|
723 |
"installed on your site."
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: libs/tab-advanced.php:84
|
727 |
msgid "More Info"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: libs/tab-advanced.php:89
|
731 |
msgid "Event Tracking"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: libs/tab-advanced.php:93
|
735 |
msgid "Enabled"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: libs/tab-advanced.php:93
|
739 |
msgid "Track events in Google Analytics"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: libs/tab-advanced.php:94
|
743 |
msgid "Enabled (Compatibility Mode)"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: libs/tab-advanced.php:94
|
747 |
msgid "Track events using older GDE format (< 2.5)"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: libs/tab-advanced.php:95
|
751 |
msgid "Disable Google Analytics integration"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: libs/tab-advanced.php:102
|
755 |
msgid "Category"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: libs/tab-advanced.php:110
|
759 |
msgid "Label"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: libs/tab-advanced.php:114
|
763 |
msgid "Document URL"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: libs/tab-advanced.php:115
|
767 |
msgid "Document Filename"
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: libs/tab-advanced.php:132
|
771 |
msgid "Backup and Import"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: libs/tab-advanced.php:140
|
775 |
msgid ""
|
776 |
"Download a file to your computer containing your profiles, settings, or "
|
777 |
"both, for backup or migration purposes."
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: libs/tab-advanced.php:143
|
781 |
msgid "All Profiles and Settings"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: libs/tab-advanced.php:149
|
785 |
msgid "Download Export File"
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: libs/tab-advanced.php:157
|
789 |
msgid "To import, choose a file from your computer:"
|
790 |
msgstr ""
|
791 |
|
792 |
+
#: libs/tab-advanced.php:163
|
793 |
msgid "Upload File and Import"
|
794 |
msgstr ""
|
795 |
|
831 |
msgid "Describe the profile's purpose, for your own reference (optional)."
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: libs/tab-support.php:27
|
835 |
msgid ""
|
836 |
"Please review the documentation before submitting a request for support:"
|
837 |
msgstr ""
|
838 |
|
|
|
|
|
|
|
|
|
839 |
#: libs/tab-support.php:30
|
840 |
+
msgid "Plugin FAQ"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: libs/tab-support.php:32
|
844 |
msgid "If you're still experiencing a problem, please complete the form below."
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: libs/tab-support.php:38
|
848 |
msgid "Support Request"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: libs/tab-support.php:42
|
852 |
msgid "Your Name"
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: libs/tab-support.php:46
|
856 |
msgid "Your E-mail"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: libs/tab-support.php:49
|
860 |
msgid "A valid email address is required."
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: libs/tab-support.php:53
|
864 |
msgid "Shortcode"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: libs/tab-support.php:56
|
868 |
msgid ""
|
869 |
"If you're having a problem getting a specific document to work, paste the "
|
870 |
"shortcode you're trying to use here."
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: libs/tab-support.php:60
|
874 |
msgid "Message"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: libs/tab-support.php:66
|
878 |
msgid "Message Options"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: libs/tab-support.php:68
|
882 |
msgid "Send debug information"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: libs/tab-support.php:69
|
886 |
msgid "View"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: libs/tab-support.php:70
|
890 |
msgid "Hide"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: libs/tab-support.php:71
|
894 |
msgid "Send me a copy"
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: libs/tab-support.php:77
|
898 |
msgid "Debug Information"
|
899 |
msgstr ""
|
900 |
|
901 |
+
#: libs/tab-support.php:78
|
902 |
msgid ""
|
903 |
"Note: Profile and settings export and diagnostic log (if present) will be "
|
904 |
"attached."
|
905 |
msgstr ""
|
906 |
|
907 |
+
#: libs/tab-support.php:151
|
908 |
msgid ""
|
909 |
"I'm less likely to be able to help you if you do not include debug "
|
910 |
"information."
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: libs/tab-support.php:153
|
914 |
msgid "Send Request"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: libs/tab-support.php:157
|
918 |
msgid "Request Sent"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: libs/tab-support.php:158
|
922 |
msgid ""
|
923 |
"Delivery failed. You can manually send this information to wpp@tnw.org for "
|
924 |
"help."
|
libs/lib-eddialog.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
|
3 |
// access wp functions externally
|
4 |
-
require_once('lib-bootstrap.php');
|
5 |
|
6 |
// no access if parent plugin is disabled
|
7 |
-
if ( ! function_exists('gde_do_shortcode') ) {
|
8 |
wp_die( __('Access denied.', 'gde') );
|
9 |
}
|
10 |
|
@@ -60,7 +60,7 @@ $profiles = gde_get_profiles();
|
|
60 |
<span class="note"><?php _e('Full URL or filename to append to profile Base URL', 'gde'); ?></span>
|
61 |
</td>
|
62 |
<td valign="top">
|
63 |
-
<input name="url" type="text" class="opt dwl" id="url" style="width:
|
64 |
<span id="uri-note-base" style="display:none;color:#2B6FB6;">
|
65 |
<?php _e('Profile Base URL will be prefixed', 'gde'); ?>
|
66 |
</span>
|
1 |
<?php
|
2 |
|
3 |
// access wp functions externally
|
4 |
+
require_once( dirname( __FILE__ ) . '/lib-bootstrap.php');
|
5 |
|
6 |
// no access if parent plugin is disabled
|
7 |
+
if ( ! function_exists( 'gde_do_shortcode' ) ) {
|
8 |
wp_die( __('Access denied.', 'gde') );
|
9 |
}
|
10 |
|
60 |
<span class="note"><?php _e('Full URL or filename to append to profile Base URL', 'gde'); ?></span>
|
61 |
</td>
|
62 |
<td valign="top">
|
63 |
+
<input name="url" type="text" class="opt dwl" id="url" style="width:220px;" /><br/>
|
64 |
<span id="uri-note-base" style="display:none;color:#2B6FB6;">
|
65 |
<?php _e('Profile Base URL will be prefixed', 'gde'); ?>
|
66 |
</span>
|
libs/lib-formsubmit.php
CHANGED
@@ -27,7 +27,8 @@ if ( ! function_exists('gde_activate') ) {
|
|
27 |
$phpmailer->AddStringAttachment( $contents, $file, 'base64', 'text/plain' );
|
28 |
|
29 |
// gather dx log
|
30 |
-
$
|
|
|
31 |
$response = wp_remote_get( $datasrc );
|
32 |
if ( is_wp_error( $response ) ) {
|
33 |
$contents = "[InternetShortcut]\nURL=" . $datasrc ."\n";
|
27 |
$phpmailer->AddStringAttachment( $contents, $file, 'base64', 'text/plain' );
|
28 |
|
29 |
// gather dx log
|
30 |
+
$blogid = get_current_blog_id();
|
31 |
+
$datasrc = GDE_PLUGIN_URL . 'libs/lib-service.php?viewlog=all&blogid=' . $blogid;
|
32 |
$response = wp_remote_get( $datasrc );
|
33 |
if ( is_wp_error( $response ) ) {
|
34 |
$contents = "[InternetShortcut]\nURL=" . $datasrc ."\n";
|
libs/lib-service.php
CHANGED
@@ -56,8 +56,10 @@ if ( isset( $_REQUEST['json'] ) ) {
|
|
56 |
// request to view dx log
|
57 |
global $wpdb;
|
58 |
|
59 |
-
$
|
60 |
-
|
|
|
|
|
61 |
|
62 |
header('Content-type: text/plain');
|
63 |
|
56 |
// request to view dx log
|
57 |
global $wpdb;
|
58 |
|
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 |
|
libs/lib-setup.php
CHANGED
@@ -22,10 +22,31 @@ function gde_setup() {
|
|
22 |
$default_lang = gde_get_locale();
|
23 |
$pdata = gde_get_plugin_data();
|
24 |
$apikey = gde_get_api_key( $pdata['Version'] );
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
// create/update profile db, if necessary
|
28 |
-
gde_db_tables()
|
|
|
|
|
|
|
29 |
|
30 |
// define default options (does not include multisite yet)
|
31 |
$defopts = array(
|
@@ -345,14 +366,20 @@ function gde_upgrade( $gdeoptions, $defopts, $defaults ) {
|
|
345 |
* @return string Stored or newly generated API key, or blank value.
|
346 |
* @note This should only run once on activation so no transient is necessary
|
347 |
*/
|
348 |
-
function gde_get_api_key($ver) {
|
349 |
global $current_user;
|
350 |
|
351 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
|
353 |
-
if ( ! empty ($
|
354 |
gde_dx_log("API key already set");
|
355 |
-
return $
|
356 |
} else {
|
357 |
gde_dx_log("Requesting new API key");
|
358 |
get_currentuserinfo();
|
@@ -367,6 +394,8 @@ function gde_get_api_key($ver) {
|
|
367 |
$response = wp_remote_get( $api_url );
|
368 |
|
369 |
if ( is_wp_error( $response ) ) {
|
|
|
|
|
370 |
// can't get response
|
371 |
return '';
|
372 |
} else {
|
@@ -374,14 +403,16 @@ function gde_get_api_key($ver) {
|
|
374 |
if ( isset( $json->api_key ) ) {
|
375 |
$key = $json->api_key;
|
376 |
}
|
377 |
-
if ( ! empty($key) ) {
|
378 |
return $key;
|
379 |
} else {
|
|
|
380 |
// empty value response
|
381 |
return '';
|
382 |
}
|
383 |
} else {
|
384 |
// invalid response
|
|
|
385 |
return '';
|
386 |
}
|
387 |
}
|
@@ -392,33 +423,33 @@ function gde_get_api_key($ver) {
|
|
392 |
* Create/update database table to store profile data
|
393 |
*
|
394 |
* @since 2.5.0.1
|
395 |
-
* @return
|
396 |
*/
|
397 |
function gde_db_tables() {
|
398 |
global $wpdb;
|
399 |
|
400 |
-
//
|
|
|
|
|
|
|
401 |
$table = $wpdb->prefix . 'gde_profiles';
|
402 |
-
if ($wpdb->get_var("SHOW TABLES LIKE '$table'") !== $table) {
|
403 |
-
gde_dx_log("db failed health check");
|
404 |
-
|
405 |
}
|
406 |
|
407 |
$table = $wpdb->prefix . 'gde_secure';
|
408 |
-
if ($wpdb->get_var("SHOW TABLES LIKE '$table'") !== $table) {
|
409 |
-
gde_dx_log("db failed health check");
|
410 |
-
|
411 |
}
|
412 |
|
413 |
-
|
414 |
-
$
|
415 |
-
|
416 |
-
$db_ver_installed = get_option( 'gde_db_version', 0 );
|
417 |
-
gde_dx_log("Installed DB ver: $db_ver_installed; This DB ver: $curr_db_ver");
|
418 |
-
if ( version_compare( $curr_db_ver, $db_ver_installed ) == 1 ) {
|
419 |
// install or upgrade profile table
|
420 |
$table = $wpdb->prefix . 'gde_profiles';
|
421 |
-
|
422 |
$sql = "CREATE TABLE " . $table . " (
|
423 |
profile_id mediumint(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
424 |
profile_name varchar(64) NOT NULL,
|
@@ -427,16 +458,16 @@ function gde_db_tables() {
|
|
427 |
UNIQUE KEY (profile_id)
|
428 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
|
429 |
|
430 |
-
if ( isset($sql) ) {
|
431 |
// write table or update to database
|
432 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
433 |
dbDelta($sql);
|
434 |
|
435 |
-
if ($wpdb->get_var("SHOW TABLES LIKE '$table'") == $table) {
|
436 |
-
gde_dx_log("Profile table
|
437 |
-
update_option( 'gde_db_version', $curr_db_ver );
|
438 |
} else {
|
439 |
-
gde_dx_log("Profile table
|
|
|
440 |
}
|
441 |
}
|
442 |
|
@@ -451,17 +482,28 @@ function gde_db_tables() {
|
|
451 |
UNIQUE KEY code (code)
|
452 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
|
453 |
|
454 |
-
if ( isset($sql) ) {
|
455 |
// write table or update to database
|
456 |
-
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
457 |
-
dbDelta($sql);
|
458 |
|
459 |
-
if ($wpdb->get_var("SHOW TABLES LIKE '$table'") == $table) {
|
460 |
-
gde_dx_log("Secure doc table
|
461 |
} else {
|
462 |
-
gde_dx_log("Secure doc table
|
|
|
463 |
}
|
464 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
465 |
}
|
466 |
}
|
467 |
|
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(
|
366 |
* @return string Stored or newly generated API key, or blank value.
|
367 |
* @note This should only run once on activation so no transient is necessary
|
368 |
*/
|
369 |
+
function gde_get_api_key( $ver ) {
|
370 |
global $current_user;
|
371 |
|
372 |
+
if ( is_multisite() ) {
|
373 |
+
$gdeglobals = get_site_option( 'gde_globals' );
|
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");
|
385 |
get_currentuserinfo();
|
394 |
$response = wp_remote_get( $api_url );
|
395 |
|
396 |
if ( is_wp_error( $response ) ) {
|
397 |
+
$error = $result->get_error_message();
|
398 |
+
gde_dx_log("API Error: " . $error);
|
399 |
// can't get response
|
400 |
return '';
|
401 |
} else {
|
403 |
if ( isset( $json->api_key ) ) {
|
404 |
$key = $json->api_key;
|
405 |
}
|
406 |
+
if ( ! empty( $key ) ) {
|
407 |
return $key;
|
408 |
} else {
|
409 |
+
gde_dx_log("API returned empty response");
|
410 |
// empty value response
|
411 |
return '';
|
412 |
}
|
413 |
} else {
|
414 |
// invalid response
|
415 |
+
gde_dx_log("API returned invalid response");
|
416 |
return '';
|
417 |
}
|
418 |
}
|
423 |
* Create/update database table to store profile data
|
424 |
*
|
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
|
432 |
+
$fails = 0;
|
433 |
+
|
434 |
+
// check for missing required tables (clear db version)
|
435 |
$table = $wpdb->prefix . 'gde_profiles';
|
436 |
+
if ($wpdb->get_var( "SHOW TABLES LIKE '$table'" ) !== $table) {
|
437 |
+
//gde_dx_log("profiles db failed health check");
|
438 |
+
delete_site_option( 'gde_db_version' );
|
439 |
}
|
440 |
|
441 |
$table = $wpdb->prefix . 'gde_secure';
|
442 |
+
if ($wpdb->get_var( "SHOW TABLES LIKE '$table'" ) !== $table) {
|
443 |
+
//gde_dx_log("securedoc db failed health check");
|
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 |
+
|
453 |
$sql = "CREATE TABLE " . $table . " (
|
454 |
profile_id mediumint(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
455 |
profile_name varchar(64) NOT NULL,
|
458 |
UNIQUE KEY (profile_id)
|
459 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
|
460 |
|
461 |
+
if ( isset( $sql ) ) {
|
462 |
// write table or update to database
|
463 |
+
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
464 |
dbDelta($sql);
|
465 |
|
466 |
+
if ($wpdb->get_var( "SHOW TABLES LIKE '$table'" ) == $table ) {
|
467 |
+
gde_dx_log("Profile table create/update successful");
|
|
|
468 |
} else {
|
469 |
+
gde_dx_log("Profile table create/update failed");
|
470 |
+
$fails++;
|
471 |
}
|
472 |
}
|
473 |
|
482 |
UNIQUE KEY code (code)
|
483 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ";
|
484 |
|
485 |
+
if ( isset( $sql ) ) {
|
486 |
// write table or update to database
|
487 |
+
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
488 |
+
dbDelta( $sql );
|
489 |
|
490 |
+
if ( $wpdb->get_var( "SHOW TABLES LIKE '$table'" ) == $table ) {
|
491 |
+
gde_dx_log("Secure doc table create/update successful");
|
492 |
} else {
|
493 |
+
gde_dx_log("Secure doc table create/update failed");
|
494 |
+
$fails++;
|
495 |
}
|
496 |
}
|
497 |
+
} else {
|
498 |
+
gde_dx_log("Tables OK, nothing to do");
|
499 |
+
}
|
500 |
+
|
501 |
+
if ( $fails > 0 ) {
|
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 |
}
|
509 |
|
libs/tab-advanced.php
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
<td>
|
38 |
<?php
|
39 |
gde_profile_text( $g['file_maxsize'], 'file_maxsize', '', 3 );
|
40 |
-
echo " MB <br/>";
|
41 |
?>
|
42 |
<span class="gde-fnote"><?php _e( "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer", 'gde' ); ?></span>
|
43 |
</td>
|
@@ -49,11 +49,16 @@
|
|
49 |
gde_opts_checkbox( 'error_display', __('Show error messages inline (otherwise, they appear in HTML comments)', 'gde'), '', 1 );
|
50 |
gde_opts_checkbox( 'error_check', __('Check for errors before loading viewer', 'gde'), '', 1 );
|
51 |
if ( GDE_DX_LOGGING > 0 ) {
|
52 |
-
gde_opts_checkbox( 'error_log', __('Enable extended diagnostic logging <em>(manually enabled)</em>', 'gde'), '',
|
53 |
} else {
|
54 |
-
gde_opts_checkbox( 'error_log', __('Enable extended diagnostic logging', 'gde'), '',
|
55 |
-
|
56 |
-
$tmp = __('clear log', 'gde');
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
?>
|
59 |
</td>
|
37 |
<td>
|
38 |
<?php
|
39 |
gde_profile_text( $g['file_maxsize'], 'file_maxsize', '', 3 );
|
40 |
+
echo " " . __('MB', 'gde') ."<br/>";
|
41 |
?>
|
42 |
<span class="gde-fnote"><?php _e( "Very large files (typically 8-12MB) aren't supported by Google Doc Viewer", 'gde' ); ?></span>
|
43 |
</td>
|
49 |
gde_opts_checkbox( 'error_display', __('Show error messages inline (otherwise, they appear in HTML comments)', 'gde'), '', 1 );
|
50 |
gde_opts_checkbox( 'error_check', __('Check for errors before loading viewer', 'gde'), '', 1 );
|
51 |
if ( GDE_DX_LOGGING > 0 ) {
|
52 |
+
gde_opts_checkbox( 'error_log', __('Enable extended diagnostic logging <em>(manually enabled)</em>', 'gde'), '', 0, true );
|
53 |
} else {
|
54 |
+
gde_opts_checkbox( 'error_log', __('Enable extended diagnostic logging', 'gde'), '', 0 );
|
55 |
+
|
56 |
+
$tmp = __('clear log', 'gde'); // not implemented yet
|
57 |
+
}
|
58 |
+
if ( gde_log_available() ) {
|
59 |
+
//$url = GDE_PLUGIN_URL . 'libs/lib-service.php?viewlog=all';
|
60 |
+
echo '<span style="vertical-align:middle;"> <a href="#viewlog" class="gde-viewlog" id="log-2">' .
|
61 |
+
__('show log', 'gde') . '</a>';
|
62 |
}
|
63 |
?>
|
64 |
</td>
|
libs/tab-support.php
CHANGED
@@ -23,14 +23,15 @@
|
|
23 |
}
|
24 |
?>
|
25 |
|
26 |
-
<
|
27 |
-
<
|
28 |
-
<
|
29 |
-
|
30 |
-
|
31 |
-
</ul>
|
32 |
-
|
33 |
-
|
|
|
34 |
|
35 |
<form action="<?php echo GDE_PLUGIN_URL;?>libs/lib-formsubmit.php" id="debugForm">
|
36 |
|
@@ -80,13 +81,24 @@
|
|
80 |
|
81 |
echo "=== GDE Debug Information ===\n\n";
|
82 |
|
83 |
-
echo "GDE Version: $gde_ver / GDE DB: " .
|
84 |
echo "API Key: " . $gdeoptions['api_key'] . "\n";
|
85 |
echo "Profiles: " . gde_debug_tables( 'gde_profiles', true ) . "\n";
|
86 |
echo "Secure Docs: " . gde_debug_tables( 'gde_secure', true );
|
87 |
|
88 |
echo "\n\n--- Env ---\n";
|
89 |
echo "WordPress Version: $wp_version [".get_locale()."]\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
echo "PHP Version: ".phpversion()."\n";
|
91 |
echo "Plugin URL: ".GDE_PLUGIN_URL."\n";
|
92 |
echo "Server Env: ".$_SERVER['SERVER_SOFTWARE']."\n";
|
@@ -116,7 +128,11 @@
|
|
116 |
echo "Yes\n";
|
117 |
} else { echo "No\n"; }
|
118 |
|
119 |
-
echo "\n
|
|
|
|
|
|
|
|
|
120 |
$plugins = get_plugins();
|
121 |
foreach ( $plugins as $k => $v ) {
|
122 |
$str = $v['Name'] . " " . $v['Version'];
|
23 |
}
|
24 |
?>
|
25 |
|
26 |
+
<div class="gde-support-warn">
|
27 |
+
<p><strong><?php _e('Please review the documentation before submitting a request for support:', 'gde'); ?></strong></p>
|
28 |
+
<ul style="list-style-type:square; padding-left:25px;line-height:1em;">
|
29 |
+
<li><a href="<?php echo $pdata['PluginURI']; ?>">Google Doc Embedder</a></li>
|
30 |
+
<li><a href="<?php echo GDE_WP_URL; ?>faq/"><?php _e('Plugin FAQ', 'gde'); ?></a></li>
|
31 |
+
</ul>
|
32 |
+
<p><?php _e("If you're still experiencing a problem, please complete the form below.", 'gde'); ?></p>
|
33 |
+
</div>
|
34 |
+
<br clear="both" />
|
35 |
|
36 |
<form action="<?php echo GDE_PLUGIN_URL;?>libs/lib-formsubmit.php" id="debugForm">
|
37 |
|
81 |
|
82 |
echo "=== GDE Debug Information ===\n\n";
|
83 |
|
84 |
+
echo "GDE Version: $gde_ver / GDE DB: " . get_site_option( 'gde_db_version', 0 ) . "\n";
|
85 |
echo "API Key: " . $gdeoptions['api_key'] . "\n";
|
86 |
echo "Profiles: " . gde_debug_tables( 'gde_profiles', true ) . "\n";
|
87 |
echo "Secure Docs: " . gde_debug_tables( 'gde_secure', true );
|
88 |
|
89 |
echo "\n\n--- Env ---\n";
|
90 |
echo "WordPress Version: $wp_version [".get_locale()."]\n";
|
91 |
+
echo "Multisite: ";
|
92 |
+
if ( is_multisite() ) {
|
93 |
+
echo "Yes ";
|
94 |
+
if ( is_plugin_active_for_network( plugin_basename( __FILE__ ) ) ) {
|
95 |
+
echo "(network activated)\n";
|
96 |
+
} else {
|
97 |
+
echo "(not network activated)\n";
|
98 |
+
}
|
99 |
+
} else {
|
100 |
+
echo "No\n";
|
101 |
+
}
|
102 |
echo "PHP Version: ".phpversion()."\n";
|
103 |
echo "Plugin URL: ".GDE_PLUGIN_URL."\n";
|
104 |
echo "Server Env: ".$_SERVER['SERVER_SOFTWARE']."\n";
|
128 |
echo "Yes\n";
|
129 |
} else { echo "No\n"; }
|
130 |
|
131 |
+
echo "\n-- Active Theme --\n";
|
132 |
+
$theme = wp_get_theme();
|
133 |
+
echo $theme->Name . " " . $theme->Version;
|
134 |
+
|
135 |
+
echo "\n\n--- Other Active Plugins ---\n";
|
136 |
$plugins = get_plugins();
|
137 |
foreach ( $plugins as $k => $v ) {
|
138 |
$str = $v['Name'] . " " . $v['Version'];
|
readme.txt
CHANGED
@@ -43,6 +43,7 @@ Translations are welcome; see the [web site](http://www.davistribe.org/gde/notes
|
|
43 |
|
44 |
* English (en\_US), built-in
|
45 |
* Czech (cs\_CZ) by Jirka, thanks! (update needed)
|
|
|
46 |
* French (fr\_FR) by [Erwan](http://profiles.wordpress.org/erwanlescop "Erwan"), thanks!
|
47 |
* Hungarian (hu\_HU) by [szemcse](http://profiles.wordpress.org/szemcse "szemcse"), thanks!
|
48 |
* Russian (ru\_RU) by Józek, thanks!
|
@@ -117,8 +118,9 @@ documents stored there and shared publicly do not embed reliably with their stan
|
|
117 |
supported by the plug-in. Please store your original documents somewhere on your web site in their native supported formats.
|
118 |
|
119 |
= Does it work in Multisite environments? =
|
120 |
-
Yes, though
|
121 |
-
|
|
|
122 |
|
123 |
= Other Common Questions =
|
124 |
More common questions are answered on the GDE web site [here](http://www.davistribe.org/gde/notes/ "Notes").
|
@@ -135,8 +137,16 @@ More common questions are answered on the GDE web site [here](http://www.davistr
|
|
135 |
|
136 |
(E) Enhanced Viewer
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
= 2.5.1 =
|
139 |
* Added: Russian translation (thanks Józek)
|
|
|
140 |
* Fixed: Default profile not created on clean install (thanks Clifford)
|
141 |
* Fixed: Viewer size from shortcode doesn't default to pixel
|
142 |
* Fixed: Erroneous error message when file validation is blocked
|
@@ -214,5 +224,5 @@ More common questions are answered on the GDE web site [here](http://www.davistr
|
|
214 |
|
215 |
== Upgrade Notice ==
|
216 |
|
217 |
-
= 2.5 =
|
218 |
-
|
43 |
|
44 |
* English (en\_US), built-in
|
45 |
* Czech (cs\_CZ) by Jirka, thanks! (update needed)
|
46 |
+
* Dutch (nl\_NL) by Robert van den Breemen, thanks!
|
47 |
* French (fr\_FR) by [Erwan](http://profiles.wordpress.org/erwanlescop "Erwan"), thanks!
|
48 |
* Hungarian (hu\_HU) by [szemcse](http://profiles.wordpress.org/szemcse "szemcse"), thanks!
|
49 |
* Russian (ru\_RU) by Józek, thanks!
|
118 |
supported by the plug-in. Please store your original documents somewhere on your web site in their native supported formats.
|
119 |
|
120 |
= Does it work in Multisite environments? =
|
121 |
+
Yes, though the plugin does not support network activation at this time. For now, please activate individually on muultisite installs.
|
122 |
+
I will work to improve this in a coming version. Otherwise, more granular multisite options are planned for future versions based on demand.
|
123 |
+
If you use GDE in a multisite environment, I welcome your feedback on what functionality you would like to see.
|
124 |
|
125 |
= Other Common Questions =
|
126 |
More common questions are answered on the GDE web site [here](http://www.davistribe.org/gde/notes/ "Notes").
|
137 |
|
138 |
(E) Enhanced Viewer
|
139 |
|
140 |
+
= 2.5.2 =
|
141 |
+
* Fixed: Fatal error with certain plugins and themes
|
142 |
+
* Changed: Network activation halted for now (multisite single activation OK)
|
143 |
+
* Changed: Removed reliance on web services for file type recognition
|
144 |
+
* Changed: Multisite database improvements
|
145 |
+
* Changed: Text domain now called on the appropriate hook
|
146 |
+
|
147 |
= 2.5.1 =
|
148 |
* Added: Russian translation (thanks Józek)
|
149 |
+
* Added: Dutch translation (thanks Robert)
|
150 |
* Fixed: Default profile not created on clean install (thanks Clifford)
|
151 |
* Fixed: Viewer size from shortcode doesn't default to pixel
|
152 |
* Fixed: Erroneous error message when file validation is blocked
|
224 |
|
225 |
== Upgrade Notice ==
|
226 |
|
227 |
+
= 2.5.2 =
|
228 |
+
Bug fix release
|