Version Description
- Added: Spanish translation (thanks elarequi)
- Added: Method to obtain debug information
- Fixed: Insertion of non-GDE file types from Media Library
Download this release
Release Info
Developer | k3davis |
Plugin | Google Doc Embedder |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.4.1
- gde-functions.php +79 -10
- gviewer.php +3 -3
- img/Thumbs.db +0 -0
- js/dialog.js +1 -1
- js/editor_plugin.js +1 -1
- languages/gde-en_US.mo +0 -0
- languages/gde-en_US.po +72 -58
- languages/gde-es_ES.mo +0 -0
- languages/gde-es_ES.po +402 -0
- languages/gde.mo +0 -0
- languages/gde.pot +71 -57
- options.php +26 -6
- proxy.php +4 -4
- readme.txt +25 -34
gde-functions.php
CHANGED
@@ -8,19 +8,20 @@
|
|
8 |
@define('GDE_BETA_URL', 'http://www.davistribe.org/gde/beta-program/');
|
9 |
@define('GDE_BETA_CHKFILE', 'http://dev.davismetro.com/beta/gde/beta.chk');
|
10 |
|
11 |
-
//if ( ! defined( 'GDE_PLUGIN_URL' ) ) define( 'GDE_PLUGIN_URL', WP_PLUGIN_URL . '/google-document-embedder');
|
12 |
-
|
13 |
function gde_init($reset = NULL) {
|
14 |
// set default base url
|
15 |
$baseurl = get_bloginfo('url')."/wp-content/uploads/";
|
16 |
|
|
|
|
|
|
|
17 |
// define global default settings
|
18 |
$defaults = array(
|
19 |
'default_width' => '100',
|
20 |
'width_type' => 'pc',
|
21 |
'default_height' => '500',
|
22 |
'height_type' => 'px',
|
23 |
-
'default_lang' =>
|
24 |
//'default_display' => 'inline',
|
25 |
'restrict_tb' => '',
|
26 |
'base_url' => $baseurl,
|
@@ -61,8 +62,6 @@ function gde_init($reset = NULL) {
|
|
61 |
foreach ($defaults as $key => $value) {
|
62 |
if($gdeoptions[$key]) {
|
63 |
$defaults[$key] = $gdeoptions[$key];
|
64 |
-
} else {
|
65 |
-
$gdeoptions[$key] = $defaults[$key];
|
66 |
}
|
67 |
}
|
68 |
}
|
@@ -192,7 +191,7 @@ function gde_shortUrl($u) {
|
|
192 |
function gde_admin_print_scripts( $arg ) {
|
193 |
global $pagenow;
|
194 |
if (is_admin() && ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) ) {
|
195 |
-
$js = GDE_PLUGIN_URL.'
|
196 |
wp_enqueue_script("gde_qts", $js, array('quicktags') );
|
197 |
}
|
198 |
}
|
@@ -201,7 +200,8 @@ function gde_admin_custom_js( $hook ) {
|
|
201 |
global $gde_settings_page;
|
202 |
|
203 |
if ( $gde_settings_page == $hook ) {
|
204 |
-
|
|
|
205 |
}
|
206 |
}
|
207 |
|
@@ -241,9 +241,7 @@ function gde_media_insert($html, $id, $attachment) {
|
|
241 |
return $output;
|
242 |
} else {
|
243 |
// default behavior
|
244 |
-
|
245 |
-
$output = "$mime_type not a value in supported_exts";
|
246 |
-
return $output;
|
247 |
}
|
248 |
}
|
249 |
|
@@ -303,4 +301,75 @@ function gde_get_plugin_data() {
|
|
303 |
return $plugin_data;
|
304 |
}
|
305 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
?>
|
8 |
@define('GDE_BETA_URL', 'http://www.davistribe.org/gde/beta-program/');
|
9 |
@define('GDE_BETA_CHKFILE', 'http://dev.davismetro.com/beta/gde/beta.chk');
|
10 |
|
|
|
|
|
11 |
function gde_init($reset = NULL) {
|
12 |
// set default base url
|
13 |
$baseurl = get_bloginfo('url')."/wp-content/uploads/";
|
14 |
|
15 |
+
// check for existing translation for locale
|
16 |
+
$default_lang = gde_get_locale();
|
17 |
+
|
18 |
// define global default settings
|
19 |
$defaults = array(
|
20 |
'default_width' => '100',
|
21 |
'width_type' => 'pc',
|
22 |
'default_height' => '500',
|
23 |
'height_type' => 'px',
|
24 |
+
'default_lang' => $default_lang,
|
25 |
//'default_display' => 'inline',
|
26 |
'restrict_tb' => '',
|
27 |
'base_url' => $baseurl,
|
62 |
foreach ($defaults as $key => $value) {
|
63 |
if($gdeoptions[$key]) {
|
64 |
$defaults[$key] = $gdeoptions[$key];
|
|
|
|
|
65 |
}
|
66 |
}
|
67 |
}
|
191 |
function gde_admin_print_scripts( $arg ) {
|
192 |
global $pagenow;
|
193 |
if (is_admin() && ( $pagenow == 'post-new.php' || $pagenow == 'post.php' ) ) {
|
194 |
+
$js = GDE_PLUGIN_URL.'js/gde-quicktags.js';
|
195 |
wp_enqueue_script("gde_qts", $js, array('quicktags') );
|
196 |
}
|
197 |
}
|
200 |
global $gde_settings_page;
|
201 |
|
202 |
if ( $gde_settings_page == $hook ) {
|
203 |
+
$js = GDE_PLUGIN_URL.'js/gde-jquery.js';
|
204 |
+
wp_enqueue_script( 'gde_jqs', $js );
|
205 |
}
|
206 |
}
|
207 |
|
241 |
return $output;
|
242 |
} else {
|
243 |
// default behavior
|
244 |
+
return $html;
|
|
|
|
|
245 |
}
|
246 |
}
|
247 |
|
301 |
return $plugin_data;
|
302 |
}
|
303 |
|
304 |
+
/**
|
305 |
+
* Get locale
|
306 |
+
*
|
307 |
+
* @since 2.4.1.1
|
308 |
+
* @return string Google viewer lang code based on WP_LANG setting, or en_US if not defined
|
309 |
+
*/
|
310 |
+
function gde_get_locale() {
|
311 |
+
if ( function_exists( 'get_locale' ) ) {
|
312 |
+
$locale = get_locale();
|
313 |
+
$locale_files = array(
|
314 |
+
GDE_PLUGIN_DIR."/languages/gde-$locale.mo",
|
315 |
+
GDE_PLUGIN_DIR."/languages/gde-$locale.po" );
|
316 |
+
if ( is_readable($locale_files[0]) && is_readable($locale_files[1]) ) {
|
317 |
+
|
318 |
+
// enabled languages mapped to Google Viewer language codes
|
319 |
+
if ($locale == "es_ES") { $locale = "es"; }
|
320 |
+
|
321 |
+
return $locale;
|
322 |
+
}
|
323 |
+
}
|
324 |
+
|
325 |
+
// default language if none can be set
|
326 |
+
return "en_US";
|
327 |
+
}
|
328 |
+
|
329 |
+
/**
|
330 |
+
* Display debug information
|
331 |
+
*
|
332 |
+
* @since 2.4.1.1
|
333 |
+
* @return string HTML outputting debug information
|
334 |
+
*/
|
335 |
+
function gde_debug() {
|
336 |
+
global $gde_ver, $gdeoptions, $wp_version;
|
337 |
+
?>
|
338 |
+
<div class="wrap">
|
339 |
+
<h2>Google Doc Embedder <?php _e('Debug Information', 'gde'); ?></h2>
|
340 |
+
<p><?php _e('Copy and paste this information into an email to <a href="mailto:kev@tnw.org">the author</a> to
|
341 |
+
assist in troubleshooting problems. Remove or anonymize any information you do not wish to share.', 'gde'); ?></p>
|
342 |
+
<form>
|
343 |
+
<textarea name="debug" style="width:100%;min-height:400px;font-family:monospace;">
|
344 |
+
<?php
|
345 |
+
echo ":: GDE Debug Information ::\n\n";
|
346 |
+
echo "GDE Version: $gde_ver\n";
|
347 |
+
echo "WordPress Version: $wp_version [".get_locale()."]\n";
|
348 |
+
echo "PHP Version: ".phpversion()."\n";
|
349 |
+
echo "Server Env: ".$_SERVER['SERVER_SOFTWARE']."\n";
|
350 |
+
echo "Browser Env: ".$_SERVER['HTTP_USER_AGENT']."\n\n";
|
351 |
+
echo "cURL: ";
|
352 |
+
if (function_exists('curl_version')) {
|
353 |
+
$curl = curl_version(); echo $curl['version']."\n";
|
354 |
+
} else { echo "No\n"; }
|
355 |
+
echo "allow_url_fopen: ";
|
356 |
+
if (ini_get('allow_url_fopen') !== "1") {
|
357 |
+
echo "No\n";
|
358 |
+
} else { echo "Yes\n"; }
|
359 |
+
echo "Rich Editing: ";
|
360 |
+
if (get_user_option('rich_editing')) {
|
361 |
+
echo "Yes\n\n";
|
362 |
+
} else { echo "No\n\n"; }
|
363 |
+
echo "Settings Array:\n";
|
364 |
+
print_r($gdeoptions);
|
365 |
+
echo "\n";
|
366 |
+
echo "MIME Supported:\n";
|
367 |
+
print_r(get_allowed_mime_types());
|
368 |
+
?>
|
369 |
+
</textarea>
|
370 |
+
</form>
|
371 |
+
</div>
|
372 |
+
<?php
|
373 |
+
}
|
374 |
+
|
375 |
?>
|
gviewer.php
CHANGED
@@ -8,11 +8,11 @@ Author: Kevin Davis
|
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
-
Version: 2.4
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
-
$gde_ver = "2.4.
|
16 |
|
17 |
/**
|
18 |
* LICENSE
|
@@ -350,7 +350,7 @@ if ($gdeoptions['disable_editor'] !== "yes") {
|
|
350 |
add_action( 'admin_print_scripts', 'gde_admin_print_scripts' );
|
351 |
|
352 |
// add tinymce button
|
353 |
-
add_action('admin_init','gde_mce_addbuttons');
|
354 |
|
355 |
// extend media upload support to natively unsupported mime types
|
356 |
if ($gdeoptions['ed_extend_upload'] == "yes") {
|
8 |
Author URI: http://www.davistribe.org/
|
9 |
Text Domain: gde
|
10 |
Domain Path: /languages/
|
11 |
+
Version: 2.4.1
|
12 |
License: GPLv2
|
13 |
*/
|
14 |
|
15 |
+
$gde_ver = "2.4.1.98";
|
16 |
|
17 |
/**
|
18 |
* LICENSE
|
350 |
add_action( 'admin_print_scripts', 'gde_admin_print_scripts' );
|
351 |
|
352 |
// add tinymce button
|
353 |
+
add_action( 'admin_init','gde_mce_addbuttons' );
|
354 |
|
355 |
// extend media upload support to natively unsupported mime types
|
356 |
if ($gdeoptions['ed_extend_upload'] == "yes") {
|
img/Thumbs.db
ADDED
Binary file
|
js/dialog.js
CHANGED
@@ -48,7 +48,7 @@ var GDEInsertDialog = {
|
|
48 |
});
|
49 |
|
50 |
function check_uri() {
|
51 |
-
var type_regex =
|
52 |
var path_regex = /^http/i;
|
53 |
|
54 |
if(!(type_regex.test( jQuery('#url').val() )) & ( jQuery('#url').val() !=0 )) {
|
48 |
});
|
49 |
|
50 |
function check_uri() {
|
51 |
+
var type_regex = /\.(doc|docx|pdf|ppt|pptx|tif|tiff|xls|xlsx|pages|ai|psd|dxf|svg|eps|ps|ttf|xps|zip|rar)$/i
|
52 |
var path_regex = /^http/i;
|
53 |
|
54 |
if(!(type_regex.test( jQuery('#url').val() )) & ( jQuery('#url').val() !=0 )) {
|
js/editor_plugin.js
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
ed.addCommand('gde_cmd', function() {
|
6 |
ed.windowManager.open( {
|
7 |
file : url + '/../gde-dialog.php',
|
8 |
-
width :
|
9 |
height : 540 + parseInt(ed.getLang('gde.delta_height',0)),
|
10 |
inline : 1}, {
|
11 |
plugin_url : url
|
5 |
ed.addCommand('gde_cmd', function() {
|
6 |
ed.windowManager.open( {
|
7 |
file : url + '/../gde-dialog.php',
|
8 |
+
width : 460 + parseInt(ed.getLang('gde.delta_width',0)),
|
9 |
height : 540 + parseInt(ed.getLang('gde.delta_height',0)),
|
10 |
inline : 1}, {
|
11 |
plugin_url : url
|
languages/gde-en_US.mo
CHANGED
Binary file
|
languages/gde-en_US.po
CHANGED
@@ -2,17 +2,17 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-05-
|
6 |
-
"PO-Revision-Date: 2012-05-
|
7 |
"Last-Translator: Kevin Davis <kev@tnw.org>\n"
|
8 |
"Language-Team: Kevin Davis <kev@tnw.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _e;__\n"
|
13 |
-
"X-Poedit-Basepath: C:\\Projects\\SVN\\Personal\\gde-dev\\trunk\n"
|
14 |
"X-Poedit-Language: English\n"
|
15 |
"X-Poedit-Country: UNITED STATES\n"
|
|
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
#: bootstrap.php:12
|
@@ -52,7 +52,7 @@ msgid "Optional (Override Global Settings)"
|
|
52 |
msgstr ""
|
53 |
|
54 |
#: gde-dialog.php:57
|
55 |
-
#: options.php:
|
56 |
msgid "Height"
|
57 |
msgstr ""
|
58 |
|
@@ -67,7 +67,7 @@ msgid "or"
|
|
67 |
msgstr ""
|
68 |
|
69 |
#: gde-dialog.php:61
|
70 |
-
#: options.php:
|
71 |
msgid "Width"
|
72 |
msgstr ""
|
73 |
|
@@ -107,17 +107,27 @@ msgstr ""
|
|
107 |
msgid "Cancel"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: gde-functions.php:
|
111 |
msgid "Download"
|
112 |
msgstr ""
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
#: gviewer.php:137
|
115 |
msgid "Error"
|
116 |
msgstr ""
|
117 |
|
118 |
#: gviewer.php:262
|
119 |
#: gviewer.php:278
|
120 |
-
#: options.php:
|
121 |
msgid "Settings"
|
122 |
msgstr ""
|
123 |
|
@@ -165,201 +175,205 @@ msgstr ""
|
|
165 |
msgid "Version"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: options.php:
|
169 |
msgid "Options reset to defaults"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: options.php:
|
173 |
msgid "Options updated"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: options.php:
|
177 |
msgid "Viewer Options"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: options.php:
|
181 |
msgid "Viewer Selection"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: options.php:
|
185 |
-
#: options.php:
|
186 |
-
#: options.php:
|
187 |
msgid "Help"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: options.php:
|
191 |
msgid "Google Standard Viewer"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: options.php:
|
195 |
msgid "Embed the standard Google Viewer."
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: options.php:
|
199 |
msgid "Enhanced Viewer"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: options.php:
|
203 |
msgid "Use this option to enable toolbar customization and fix some display problems (experimental)."
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: options.php:
|
207 |
msgid "Customize Toolbar"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: options.php:
|
211 |
msgid "Hide Zoom In/Out"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: options.php:
|
215 |
msgid "Hide Open in New Window"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: options.php:
|
219 |
msgid "Always Use Mobile Theme"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: options.php:
|
223 |
msgid "Default Size"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: options.php:
|
227 |
msgid "Default Language"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: options.php:
|
231 |
msgid "Inline (Default)"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: options.php:
|
235 |
msgid "Collapsible (Open)"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: options.php:
|
239 |
msgid "Collapsible (Closed)"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: options.php:
|
243 |
msgid "Download Link Options"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: options.php:
|
247 |
msgid "Display the download link by default"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: options.php:
|
251 |
msgid "Only display download link to logged in users"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: options.php:
|
255 |
msgid "Track downloads in Google Analytics (tracking script must be installed on your site)"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: options.php:
|
259 |
msgid "File Base URL"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: options.php:
|
263 |
msgid "Any file not starting with <em>http</em> will be prefixed by this value"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: options.php:
|
267 |
msgid "Link Text"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: options.php:
|
271 |
msgid "You can further customize text using these dynamic replacements:"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: options.php:
|
275 |
msgid "filename"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: options.php:
|
279 |
msgid "file type"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: options.php:
|
283 |
msgid "file size"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: options.php:
|
287 |
msgid "Link Position"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: options.php:
|
291 |
msgid "Above Viewer"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: options.php:
|
295 |
msgid "Below Viewer"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: options.php:
|
299 |
msgid "Link Behavior"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: options.php:
|
303 |
msgid "Browser Default"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: options.php:
|
307 |
msgid "Force Download"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: options.php:
|
311 |
msgid "Force Download (Mask URL)"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: options.php:
|
315 |
msgid "Advanced Options"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: options.php:
|
319 |
msgid "Plugin Behavior"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: options.php:
|
323 |
msgid "Editor Behavior"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: options.php:
|
327 |
msgid "Display error messages inline (not hidden)"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: options.php:
|
331 |
msgid "Disable internal error checking"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: options.php:
|
335 |
msgid "Disable document caching"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: options.php:
|
339 |
msgid "Disable beta version notifications"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: options.php:
|
|
|
|
|
|
|
|
|
343 |
msgid "Disable all editor integration"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: options.php:
|
347 |
msgid "Insert shortcode from Media Library"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: options.php:
|
351 |
msgid "Allow uploads of all supported media types"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: options.php:
|
355 |
msgid "Save Options"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: options.php:
|
359 |
msgid "Reset to Defaults"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: options.php:
|
363 |
msgid "Are you sure you want to reset all settings to defaults?"
|
364 |
msgstr ""
|
365 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-05-03 12:40-0600\n"
|
6 |
+
"PO-Revision-Date: 2012-05-03 12:45-0600\n"
|
7 |
"Last-Translator: Kevin Davis <kev@tnw.org>\n"
|
8 |
"Language-Team: Kevin Davis <kev@tnw.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"X-Poedit-KeywordsList: _e;__\n"
|
|
|
13 |
"X-Poedit-Language: English\n"
|
14 |
"X-Poedit-Country: UNITED STATES\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
#: bootstrap.php:12
|
52 |
msgstr ""
|
53 |
|
54 |
#: gde-dialog.php:57
|
55 |
+
#: options.php:171
|
56 |
msgid "Height"
|
57 |
msgstr ""
|
58 |
|
67 |
msgstr ""
|
68 |
|
69 |
#: gde-dialog.php:61
|
70 |
+
#: options.php:167
|
71 |
msgid "Width"
|
72 |
msgstr ""
|
73 |
|
107 |
msgid "Cancel"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: gde-functions.php:31
|
111 |
msgid "Download"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: gde-functions.php:338
|
115 |
+
msgid "Debug Information"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: gde-functions.php:365
|
119 |
+
msgid ""
|
120 |
+
"Copy and paste this information into an email to <a href=\"mailto:kev@tnw.org\">the author</a> to\n"
|
121 |
+
"assist in troubleshooting problems. Remove or anonymize any information you do not wish to share."
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
#: gviewer.php:137
|
125 |
msgid "Error"
|
126 |
msgstr ""
|
127 |
|
128 |
#: gviewer.php:262
|
129 |
#: gviewer.php:278
|
130 |
+
#: options.php:130
|
131 |
msgid "Settings"
|
132 |
msgstr ""
|
133 |
|
175 |
msgid "Version"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: options.php:26
|
179 |
msgid "Options reset to defaults"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: options.php:123
|
183 |
msgid "Options updated"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: options.php:141
|
187 |
msgid "Viewer Options"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: options.php:146
|
191 |
msgid "Viewer Selection"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: options.php:147
|
195 |
+
#: options.php:253
|
196 |
+
#: options.php:303
|
197 |
msgid "Help"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: options.php:149
|
201 |
msgid "Google Standard Viewer"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: options.php:150
|
205 |
msgid "Embed the standard Google Viewer."
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: options.php:151
|
209 |
msgid "Enhanced Viewer"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: options.php:152
|
213 |
msgid "Use this option to enable toolbar customization and fix some display problems (experimental)."
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: options.php:156
|
217 |
msgid "Customize Toolbar"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: options.php:160
|
221 |
msgid "Hide Zoom In/Out"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: options.php:161
|
225 |
msgid "Hide Open in New Window"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: options.php:162
|
229 |
msgid "Always Use Mobile Theme"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: options.php:166
|
233 |
msgid "Default Size"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: options.php:177
|
237 |
msgid "Default Language"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: options.php:235
|
241 |
msgid "Inline (Default)"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: options.php:236
|
245 |
msgid "Collapsible (Open)"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: options.php:237
|
249 |
msgid "Collapsible (Closed)"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: options.php:249
|
253 |
msgid "Download Link Options"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: options.php:254
|
257 |
msgid "Display the download link by default"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: options.php:255
|
261 |
msgid "Only display download link to logged in users"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: options.php:256
|
265 |
msgid "Track downloads in Google Analytics (tracking script must be installed on your site)"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: options.php:259
|
269 |
msgid "File Base URL"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: options.php:261
|
273 |
msgid "Any file not starting with <em>http</em> will be prefixed by this value"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: options.php:264
|
277 |
msgid "Link Text"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: options.php:266
|
281 |
msgid "You can further customize text using these dynamic replacements:"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: options.php:267
|
285 |
msgid "filename"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: options.php:268
|
289 |
msgid "file type"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: options.php:269
|
293 |
msgid "file size"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: options.php:272
|
297 |
msgid "Link Position"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: options.php:274
|
301 |
msgid "Above Viewer"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: options.php:275
|
305 |
msgid "Below Viewer"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: options.php:280
|
309 |
msgid "Link Behavior"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: options.php:282
|
313 |
msgid "Browser Default"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: options.php:283
|
317 |
msgid "Force Download"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: options.php:284
|
321 |
msgid "Force Download (Mask URL)"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: options.php:298
|
325 |
msgid "Advanced Options"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: options.php:300
|
329 |
msgid "Plugin Behavior"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: options.php:301
|
333 |
msgid "Editor Behavior"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: options.php:305
|
337 |
msgid "Display error messages inline (not hidden)"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: options.php:306
|
341 |
msgid "Disable internal error checking"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: options.php:307
|
345 |
msgid "Disable document caching"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: options.php:308
|
349 |
msgid "Disable beta version notifications"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: options.php:309
|
353 |
+
msgid "View Debug Information"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: options.php:312
|
357 |
msgid "Disable all editor integration"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: options.php:317
|
361 |
msgid "Insert shortcode from Media Library"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: options.php:319
|
365 |
msgid "Allow uploads of all supported media types"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: options.php:329
|
369 |
msgid "Save Options"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: options.php:331
|
373 |
msgid "Reset to Defaults"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: options.php:331
|
377 |
msgid "Are you sure you want to reset all settings to defaults?"
|
378 |
msgstr ""
|
379 |
|
languages/gde-es_ES.mo
ADDED
Binary file
|
languages/gde-es_ES.po
ADDED
@@ -0,0 +1,402 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Google Doc Embedder en español\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-05-04 08:17+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-05-04 08:27+0100\n"
|
7 |
+
"Last-Translator: Eduardo Larequi <elarequi@gmail.com>\n"
|
8 |
+
"Language-Team: PNTE <blogs@educacion.navarra.es>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
13 |
+
"X-Poedit-Basepath: ..\n"
|
14 |
+
"X-Poedit-Language: Spanish\n"
|
15 |
+
"X-Poedit-Country: Spain\n"
|
16 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
|
19 |
+
#: bootstrap.php:12
|
20 |
+
msgid "Could not find wp-load.php"
|
21 |
+
msgstr "No se ha podido encontrar wp-load.php"
|
22 |
+
|
23 |
+
#: gde-dialog.php:34
|
24 |
+
msgid "I'll insert the shortcode myself"
|
25 |
+
msgstr "Insertaré el shortcode por mí mismo"
|
26 |
+
|
27 |
+
#: gde-dialog.php:36
|
28 |
+
msgid "GDE Shortcode Options"
|
29 |
+
msgstr "Opciones de los shortcodes de GDE"
|
30 |
+
|
31 |
+
#: gde-dialog.php:40
|
32 |
+
msgid "Required"
|
33 |
+
msgstr "Obligatorio"
|
34 |
+
|
35 |
+
#: gde-dialog.php:43
|
36 |
+
msgid "URL or Filename"
|
37 |
+
msgstr "URL o nombre del fichero"
|
38 |
+
|
39 |
+
#: gde-dialog.php:43
|
40 |
+
msgid "Full URL or filename to append to File Base URL"
|
41 |
+
msgstr "URL completa o nombre del fichero para añadirlo a la URL base de los ficheros"
|
42 |
+
|
43 |
+
#: gde-dialog.php:45
|
44 |
+
msgid "File Base URL will be prefixed"
|
45 |
+
msgstr "La URL base que se añadirá como prefijo a los ficheros"
|
46 |
+
|
47 |
+
#: gde-dialog.php:46
|
48 |
+
msgid "Unsupported file type"
|
49 |
+
msgstr "Tipo de fichero no soportado"
|
50 |
+
|
51 |
+
#: gde-dialog.php:54
|
52 |
+
msgid "Optional (Override Global Settings)"
|
53 |
+
msgstr "Valores opcionales (sobrescriben la configuración global)"
|
54 |
+
|
55 |
+
#: gde-dialog.php:57
|
56 |
+
#: options.php:171
|
57 |
+
msgid "Height"
|
58 |
+
msgstr "Altura"
|
59 |
+
|
60 |
+
#: gde-dialog.php:57
|
61 |
+
#: gde-dialog.php:61
|
62 |
+
msgid "format:"
|
63 |
+
msgstr "formato:"
|
64 |
+
|
65 |
+
#: gde-dialog.php:57
|
66 |
+
#: gde-dialog.php:61
|
67 |
+
msgid "or"
|
68 |
+
msgstr "o"
|
69 |
+
|
70 |
+
#: gde-dialog.php:61
|
71 |
+
#: options.php:167
|
72 |
+
msgid "Width"
|
73 |
+
msgstr "Anchura"
|
74 |
+
|
75 |
+
#: gde-dialog.php:65
|
76 |
+
msgid "Show Download Link"
|
77 |
+
msgstr "Mostrar enlace de descarga"
|
78 |
+
|
79 |
+
#: gde-dialog.php:66
|
80 |
+
msgid "Yes"
|
81 |
+
msgstr "Sí"
|
82 |
+
|
83 |
+
#: gde-dialog.php:66
|
84 |
+
msgid "No"
|
85 |
+
msgstr "No"
|
86 |
+
|
87 |
+
#: gde-dialog.php:71
|
88 |
+
msgid "Show download link only if user is logged in"
|
89 |
+
msgstr "Mostrar el enlace de descarga solo si el usuario ha iniciado sesión"
|
90 |
+
|
91 |
+
#: gde-dialog.php:77
|
92 |
+
msgid "Disable caching (this document is frequently overwritten)"
|
93 |
+
msgstr "Desactivar el cacheo (adecuado para documentos que se sobrescriben con frecuencia)"
|
94 |
+
|
95 |
+
#: gde-dialog.php:84
|
96 |
+
msgid "Disable internal error checking (try if URL is confirmed good but document doesn't display)"
|
97 |
+
msgstr "Desactivar la comprobación interna de errores (prueba con esta opción si has comprobado que la URL es correcta pero el documento no se muestra)"
|
98 |
+
|
99 |
+
#: gde-dialog.php:94
|
100 |
+
msgid "Shortcode Preview"
|
101 |
+
msgstr "Vista previa del shortcode"
|
102 |
+
|
103 |
+
#: gde-dialog.php:103
|
104 |
+
msgid "Insert"
|
105 |
+
msgstr "Insertar"
|
106 |
+
|
107 |
+
#: gde-dialog.php:107
|
108 |
+
msgid "Cancel"
|
109 |
+
msgstr "Cancelar"
|
110 |
+
|
111 |
+
#: gde-functions.php:31
|
112 |
+
msgid "Download"
|
113 |
+
msgstr "Descargar"
|
114 |
+
|
115 |
+
#: gde-functions.php:338
|
116 |
+
msgid "Debug Information"
|
117 |
+
msgstr "Información de depuración"
|
118 |
+
|
119 |
+
#: gde-functions.php:365
|
120 |
+
msgid ""
|
121 |
+
"Copy and paste this information into an email to <a href=\"mailto:kev@tnw.org\">the author</a> to\n"
|
122 |
+
"assist in troubleshooting problems. Remove or anonymize any information you do not wish to share."
|
123 |
+
msgstr ""
|
124 |
+
"Copia y pega esta información en un email y envíalo al <a href=\"mailto:kev@tnw.org\">autor del plugin</a> para\n"
|
125 |
+
"que te ayude a solucionar los problemas que puedas tener. Si lo deseas, elimina cualquier información que no quieras difundir."
|
126 |
+
|
127 |
+
#: gviewer.php:137
|
128 |
+
msgid "Error"
|
129 |
+
msgstr "Error"
|
130 |
+
|
131 |
+
#: gviewer.php:262
|
132 |
+
#: gviewer.php:278
|
133 |
+
#: options.php:130
|
134 |
+
msgid "Settings"
|
135 |
+
msgstr "Configuración"
|
136 |
+
|
137 |
+
#: gviewer.php:269
|
138 |
+
msgid "You do not have sufficient permissions to access this page"
|
139 |
+
msgstr "No tienes suficientes permisos para acceder a esta página"
|
140 |
+
|
141 |
+
#: gviewer.php:286
|
142 |
+
msgid "Support"
|
143 |
+
msgstr "Soporte"
|
144 |
+
|
145 |
+
#: gviewer.php:299
|
146 |
+
msgid "Beta version available"
|
147 |
+
msgstr "Versión beta disponible"
|
148 |
+
|
149 |
+
#: gviewer.php:299
|
150 |
+
msgid "Please deactivate the plug-in and install the current version if you wish to participate. Otherwise, you can turn off beta version checking in GDE Settings. Testers appreciated!"
|
151 |
+
msgstr "Si quieres participar, por favor, desactiva el plugin e instala la versión actual. Si no quieres, puedes desactivar la versión beta marcando la correspondiente casilla en la página de configuración del plugin."
|
152 |
+
|
153 |
+
#: gviewer.php:300
|
154 |
+
msgid "Updated beta version available"
|
155 |
+
msgstr "Versión beta actualizada disponible"
|
156 |
+
|
157 |
+
#: gviewer.php:300
|
158 |
+
msgid "A newer beta has been released. Please deactivate the plug-in and install the current version. Thanks for your help!"
|
159 |
+
msgstr "Se ha publicado una versión beta más reciente. Por favor, desactiva el plugin e instala la versión actual. ¡Gracias por tu ayuda!"
|
160 |
+
|
161 |
+
#: gviewer.php:301
|
162 |
+
msgid "You're running a beta version. Please give feedback."
|
163 |
+
msgstr "Estás utilizando una versión beta. Por favor, envía información."
|
164 |
+
|
165 |
+
#: gviewer.php:301
|
166 |
+
msgid "Thank you for running a test version of Google Doc Embedder. You are running the most current beta version. Please give feedback on this version using the "Support" link above. Thanks for your help!"
|
167 |
+
msgstr "Gracias por utilizar esta versión de prueba de Google Doc Embedder. Estás utilizando la versión beta más actualizada. Por favor, envía información sobre está versión mediante el enlace de "Soportet" que tienes sobre estas líneas. Gracias por tu ayuda."
|
168 |
+
|
169 |
+
#: gviewer.php:302
|
170 |
+
msgid "more info"
|
171 |
+
msgstr "más información"
|
172 |
+
|
173 |
+
#: gviewer.php:369
|
174 |
+
msgid "plugin"
|
175 |
+
msgstr "plugin"
|
176 |
+
|
177 |
+
#: gviewer.php:370
|
178 |
+
msgid "Version"
|
179 |
+
msgstr "Versión"
|
180 |
+
|
181 |
+
#: options.php:26
|
182 |
+
msgid "Options reset to defaults"
|
183 |
+
msgstr "Las opciones se han restaurado a sus valores por defecto"
|
184 |
+
|
185 |
+
#: options.php:123
|
186 |
+
msgid "Options updated"
|
187 |
+
msgstr "Las opciones han sido actualizadas"
|
188 |
+
|
189 |
+
#: options.php:141
|
190 |
+
msgid "Viewer Options"
|
191 |
+
msgstr "Opciones del visor"
|
192 |
+
|
193 |
+
#: options.php:146
|
194 |
+
msgid "Viewer Selection"
|
195 |
+
msgstr "Selección del visor"
|
196 |
+
|
197 |
+
#: options.php:147
|
198 |
+
#: options.php:253
|
199 |
+
#: options.php:303
|
200 |
+
msgid "Help"
|
201 |
+
msgstr "Ayuda"
|
202 |
+
|
203 |
+
#: options.php:149
|
204 |
+
msgid "Google Standard Viewer"
|
205 |
+
msgstr "Visor estándar de Google"
|
206 |
+
|
207 |
+
#: options.php:150
|
208 |
+
msgid "Embed the standard Google Viewer."
|
209 |
+
msgstr "Incrusta el visor estándar de Google"
|
210 |
+
|
211 |
+
#: options.php:151
|
212 |
+
msgid "Enhanced Viewer"
|
213 |
+
msgstr "Visor mejorado"
|
214 |
+
|
215 |
+
#: options.php:152
|
216 |
+
msgid "Use this option to enable toolbar customization and fix some display problems (experimental)."
|
217 |
+
msgstr "Utiliza esta opción para activar la personalización de la barra de herramientas y arreglar algunos problemas de visualización (experimental)."
|
218 |
+
|
219 |
+
#: options.php:156
|
220 |
+
msgid "Customize Toolbar"
|
221 |
+
msgstr "Personalizar la barra de herramientas"
|
222 |
+
|
223 |
+
#: options.php:160
|
224 |
+
msgid "Hide Zoom In/Out"
|
225 |
+
msgstr "Ocultar el zoom hacia dentro/hacia fuera"
|
226 |
+
|
227 |
+
#: options.php:161
|
228 |
+
msgid "Hide Open in New Window"
|
229 |
+
msgstr "Ocultar el botón para abrir los documentos en una nueva ventana"
|
230 |
+
|
231 |
+
#: options.php:162
|
232 |
+
msgid "Always Use Mobile Theme"
|
233 |
+
msgstr "Siempre utilizar el tema para dispositivos móviles"
|
234 |
+
|
235 |
+
#: options.php:166
|
236 |
+
msgid "Default Size"
|
237 |
+
msgstr "Tamaño por defecto"
|
238 |
+
|
239 |
+
#: options.php:177
|
240 |
+
msgid "Default Language"
|
241 |
+
msgstr "Idioma por defecto"
|
242 |
+
|
243 |
+
#: options.php:235
|
244 |
+
msgid "Inline (Default)"
|
245 |
+
msgstr "Inline (por defecto)"
|
246 |
+
|
247 |
+
#: options.php:236
|
248 |
+
msgid "Collapsible (Open)"
|
249 |
+
msgstr "Plegable (abierto)"
|
250 |
+
|
251 |
+
#: options.php:237
|
252 |
+
msgid "Collapsible (Closed)"
|
253 |
+
msgstr "Plegable (cerrado)"
|
254 |
+
|
255 |
+
#: options.php:249
|
256 |
+
msgid "Download Link Options"
|
257 |
+
msgstr "Opciones para el enlace de descarga"
|
258 |
+
|
259 |
+
#: options.php:254
|
260 |
+
msgid "Display the download link by default"
|
261 |
+
msgstr "Mostrar por defecto el enlace de descarga"
|
262 |
+
|
263 |
+
#: options.php:255
|
264 |
+
msgid "Only display download link to logged in users"
|
265 |
+
msgstr "Solo mostrar el enlace de descarga a los usuarios que han iniciado sesión"
|
266 |
+
|
267 |
+
#: options.php:256
|
268 |
+
msgid "Track downloads in Google Analytics (tracking script must be installed on your site)"
|
269 |
+
msgstr "Seguir las descargas mediante Google Analytics (para ello, debes haber instalado en tu sitio web un script de seguimiento)"
|
270 |
+
|
271 |
+
#: options.php:259
|
272 |
+
msgid "File Base URL"
|
273 |
+
msgstr "URL base para los ficheros"
|
274 |
+
|
275 |
+
#: options.php:261
|
276 |
+
msgid "Any file not starting with <em>http</em> will be prefixed by this value"
|
277 |
+
msgstr "Cualquier fichero que no comience con <em>http</em> será prefijado con este valor"
|
278 |
+
|
279 |
+
#: options.php:264
|
280 |
+
msgid "Link Text"
|
281 |
+
msgstr "Texto del enlace"
|
282 |
+
|
283 |
+
#: options.php:266
|
284 |
+
msgid "You can further customize text using these dynamic replacements:"
|
285 |
+
msgstr "Puedes personalizar el texto mediante los siguientes códigos dinámicos:"
|
286 |
+
|
287 |
+
#: options.php:267
|
288 |
+
msgid "filename"
|
289 |
+
msgstr "nombre del fichero"
|
290 |
+
|
291 |
+
#: options.php:268
|
292 |
+
msgid "file type"
|
293 |
+
msgstr "tipo de fichero"
|
294 |
+
|
295 |
+
#: options.php:269
|
296 |
+
msgid "file size"
|
297 |
+
msgstr "tamaño de fichero"
|
298 |
+
|
299 |
+
#: options.php:272
|
300 |
+
msgid "Link Position"
|
301 |
+
msgstr "Posición del enlace"
|
302 |
+
|
303 |
+
#: options.php:274
|
304 |
+
msgid "Above Viewer"
|
305 |
+
msgstr "Por encima del visor"
|
306 |
+
|
307 |
+
#: options.php:275
|
308 |
+
msgid "Below Viewer"
|
309 |
+
msgstr "Por debajo del visor"
|
310 |
+
|
311 |
+
#: options.php:280
|
312 |
+
msgid "Link Behavior"
|
313 |
+
msgstr "Comportamiento de los enlaces"
|
314 |
+
|
315 |
+
#: options.php:282
|
316 |
+
msgid "Browser Default"
|
317 |
+
msgstr "Comportamiento por defecto del navegador"
|
318 |
+
|
319 |
+
#: options.php:283
|
320 |
+
msgid "Force Download"
|
321 |
+
msgstr "Forzar la descarga"
|
322 |
+
|
323 |
+
#: options.php:284
|
324 |
+
msgid "Force Download (Mask URL)"
|
325 |
+
msgstr "Forzar la descarga (enmascarar la URL)"
|
326 |
+
|
327 |
+
#: options.php:298
|
328 |
+
msgid "Advanced Options"
|
329 |
+
msgstr "Opciones avanzadas"
|
330 |
+
|
331 |
+
#: options.php:300
|
332 |
+
msgid "Plugin Behavior"
|
333 |
+
msgstr "Comportamiento del plugin"
|
334 |
+
|
335 |
+
#: options.php:301
|
336 |
+
msgid "Editor Behavior"
|
337 |
+
msgstr "Comportamiento del editor"
|
338 |
+
|
339 |
+
#: options.php:305
|
340 |
+
msgid "Display error messages inline (not hidden)"
|
341 |
+
msgstr "Mostrar mensajes de error en línea (no oculto)"
|
342 |
+
|
343 |
+
#: options.php:306
|
344 |
+
msgid "Disable internal error checking"
|
345 |
+
msgstr "Desactivar la comprobación interna de errores"
|
346 |
+
|
347 |
+
#: options.php:307
|
348 |
+
msgid "Disable document caching"
|
349 |
+
msgstr "Desactivar el cacheo de documentos"
|
350 |
+
|
351 |
+
#: options.php:308
|
352 |
+
msgid "Disable beta version notifications"
|
353 |
+
msgstr "Desactivar las notificaciones de versiones beta"
|
354 |
+
|
355 |
+
#: options.php:309
|
356 |
+
msgid "View Debug Information"
|
357 |
+
msgstr "Ver información de depuración"
|
358 |
+
|
359 |
+
#: options.php:312
|
360 |
+
msgid "Disable all editor integration"
|
361 |
+
msgstr "Desactivar la integración con los editores"
|
362 |
+
|
363 |
+
#: options.php:317
|
364 |
+
msgid "Insert shortcode from Media Library"
|
365 |
+
msgstr "Insertar shortcodes desde la librería multimedia"
|
366 |
+
|
367 |
+
#: options.php:319
|
368 |
+
msgid "Allow uploads of all supported media types"
|
369 |
+
msgstr "Permitir subidas de todos los tipos de multimedia soportados"
|
370 |
+
|
371 |
+
#: options.php:329
|
372 |
+
msgid "Save Options"
|
373 |
+
msgstr "Guardar opciones"
|
374 |
+
|
375 |
+
#: options.php:331
|
376 |
+
msgid "Reset to Defaults"
|
377 |
+
msgstr "Volver a la configuración por defecto"
|
378 |
+
|
379 |
+
#: options.php:331
|
380 |
+
msgid "Are you sure you want to reset all settings to defaults?"
|
381 |
+
msgstr "¿Estás seguro de que quieres volver a la configuración por defecto?"
|
382 |
+
|
383 |
+
#: proxy.php:29
|
384 |
+
msgid ""
|
385 |
+
"This function is not supported on your web server. Please add\n"
|
386 |
+
"\t\t\t<code>allow_url_fopen = 1</code> to your php.ini or enable cURL library.\n"
|
387 |
+
"\t\t\tIf you are unable to do this, please switch to Google Standard Viewer in GDE Options."
|
388 |
+
msgstr ""
|
389 |
+
"Esta función no está soportada en tu servidor web, Por favor, añade n\t\t\t<code>allow_url_fopen = 1</code> al fichero php.ini o activa la librería cURL.\n"
|
390 |
+
"\t\t\tSi no puedes hacer esto por tus propios medios, por favor selecciona la opción Visor estándar de Google en la página de opciones del plugin."
|
391 |
+
|
392 |
+
#~ msgid "Google Doc Embedder"
|
393 |
+
#~ msgstr "Google Doc Embedder"
|
394 |
+
|
395 |
+
#~ msgid "(format: 40% or 300px)"
|
396 |
+
#~ msgstr "(formato: 40% o 300 píxels, por ejemplo)"
|
397 |
+
|
398 |
+
#~ msgid "Google Doc Embedder Settings"
|
399 |
+
#~ msgstr "Configuración del plugin Google Doc Embedder"
|
400 |
+
|
401 |
+
#~ msgid "Hide Toolbar Buttons"
|
402 |
+
#~ msgstr "Ocultar los botones de la barra de herramientas"
|
languages/gde.mo
DELETED
Binary file
|
languages/gde.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-05-
|
6 |
-
"PO-Revision-Date: 2012-05-
|
7 |
"Last-Translator: Kevin Davis <kev@tnw.org>\n"
|
8 |
"Language-Team: Kevin Davis <kev@tnw.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -49,7 +49,7 @@ msgid "Optional (Override Global Settings)"
|
|
49 |
msgstr ""
|
50 |
|
51 |
#: gde-dialog.php:57
|
52 |
-
#: options.php:
|
53 |
msgid "Height"
|
54 |
msgstr ""
|
55 |
|
@@ -64,7 +64,7 @@ msgid "or"
|
|
64 |
msgstr ""
|
65 |
|
66 |
#: gde-dialog.php:61
|
67 |
-
#: options.php:
|
68 |
msgid "Width"
|
69 |
msgstr ""
|
70 |
|
@@ -104,17 +104,27 @@ msgstr ""
|
|
104 |
msgid "Cancel"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: gde-functions.php:
|
108 |
msgid "Download"
|
109 |
msgstr ""
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
#: gviewer.php:137
|
112 |
msgid "Error"
|
113 |
msgstr ""
|
114 |
|
115 |
#: gviewer.php:262
|
116 |
#: gviewer.php:278
|
117 |
-
#: options.php:
|
118 |
msgid "Settings"
|
119 |
msgstr ""
|
120 |
|
@@ -162,201 +172,205 @@ msgstr ""
|
|
162 |
msgid "Version"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: options.php:
|
166 |
msgid "Options reset to defaults"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: options.php:
|
170 |
msgid "Options updated"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: options.php:
|
174 |
msgid "Viewer Options"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: options.php:
|
178 |
msgid "Viewer Selection"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: options.php:
|
182 |
-
#: options.php:
|
183 |
-
#: options.php:
|
184 |
msgid "Help"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: options.php:
|
188 |
msgid "Google Standard Viewer"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: options.php:
|
192 |
msgid "Embed the standard Google Viewer."
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: options.php:
|
196 |
msgid "Enhanced Viewer"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: options.php:
|
200 |
msgid "Use this option to enable toolbar customization and fix some display problems (experimental)."
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: options.php:
|
204 |
msgid "Customize Toolbar"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: options.php:
|
208 |
msgid "Hide Zoom In/Out"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: options.php:
|
212 |
msgid "Hide Open in New Window"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: options.php:
|
216 |
msgid "Always Use Mobile Theme"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: options.php:
|
220 |
msgid "Default Size"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: options.php:
|
224 |
msgid "Default Language"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: options.php:
|
228 |
msgid "Inline (Default)"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: options.php:
|
232 |
msgid "Collapsible (Open)"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: options.php:
|
236 |
msgid "Collapsible (Closed)"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: options.php:
|
240 |
msgid "Download Link Options"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: options.php:
|
244 |
msgid "Display the download link by default"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: options.php:
|
248 |
msgid "Only display download link to logged in users"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: options.php:
|
252 |
msgid "Track downloads in Google Analytics (tracking script must be installed on your site)"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: options.php:
|
256 |
msgid "File Base URL"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: options.php:
|
260 |
msgid "Any file not starting with <em>http</em> will be prefixed by this value"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: options.php:
|
264 |
msgid "Link Text"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: options.php:
|
268 |
msgid "You can further customize text using these dynamic replacements:"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: options.php:
|
272 |
msgid "filename"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: options.php:
|
276 |
msgid "file type"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: options.php:
|
280 |
msgid "file size"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: options.php:
|
284 |
msgid "Link Position"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: options.php:
|
288 |
msgid "Above Viewer"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: options.php:
|
292 |
msgid "Below Viewer"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: options.php:
|
296 |
msgid "Link Behavior"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: options.php:
|
300 |
msgid "Browser Default"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: options.php:
|
304 |
msgid "Force Download"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: options.php:
|
308 |
msgid "Force Download (Mask URL)"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: options.php:
|
312 |
msgid "Advanced Options"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: options.php:
|
316 |
msgid "Plugin Behavior"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: options.php:
|
320 |
msgid "Editor Behavior"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: options.php:
|
324 |
msgid "Display error messages inline (not hidden)"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: options.php:
|
328 |
msgid "Disable internal error checking"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: options.php:
|
332 |
msgid "Disable document caching"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: options.php:
|
336 |
msgid "Disable beta version notifications"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: options.php:
|
|
|
|
|
|
|
|
|
340 |
msgid "Disable all editor integration"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: options.php:
|
344 |
msgid "Insert shortcode from Media Library"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: options.php:
|
348 |
msgid "Allow uploads of all supported media types"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: options.php:
|
352 |
msgid "Save Options"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: options.php:
|
356 |
msgid "Reset to Defaults"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: options.php:
|
360 |
msgid "Are you sure you want to reset all settings to defaults?"
|
361 |
msgstr ""
|
362 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Google Doc Embedder\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-05-03 12:40-0600\n"
|
6 |
+
"PO-Revision-Date: 2012-05-03 12:40-0600\n"
|
7 |
"Last-Translator: Kevin Davis <kev@tnw.org>\n"
|
8 |
"Language-Team: Kevin Davis <kev@tnw.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
49 |
msgstr ""
|
50 |
|
51 |
#: gde-dialog.php:57
|
52 |
+
#: options.php:171
|
53 |
msgid "Height"
|
54 |
msgstr ""
|
55 |
|
64 |
msgstr ""
|
65 |
|
66 |
#: gde-dialog.php:61
|
67 |
+
#: options.php:167
|
68 |
msgid "Width"
|
69 |
msgstr ""
|
70 |
|
104 |
msgid "Cancel"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: gde-functions.php:31
|
108 |
msgid "Download"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: gde-functions.php:338
|
112 |
+
msgid "Debug Information"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: gde-functions.php:365
|
116 |
+
msgid ""
|
117 |
+
"Copy and paste this information into an email to <a href=\"mailto:kev@tnw.org\">the author</a> to\n"
|
118 |
+
"assist in troubleshooting problems. Remove or anonymize any information you do not wish to share."
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
#: gviewer.php:137
|
122 |
msgid "Error"
|
123 |
msgstr ""
|
124 |
|
125 |
#: gviewer.php:262
|
126 |
#: gviewer.php:278
|
127 |
+
#: options.php:130
|
128 |
msgid "Settings"
|
129 |
msgstr ""
|
130 |
|
172 |
msgid "Version"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: options.php:26
|
176 |
msgid "Options reset to defaults"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: options.php:123
|
180 |
msgid "Options updated"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: options.php:141
|
184 |
msgid "Viewer Options"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: options.php:146
|
188 |
msgid "Viewer Selection"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: options.php:147
|
192 |
+
#: options.php:253
|
193 |
+
#: options.php:303
|
194 |
msgid "Help"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: options.php:149
|
198 |
msgid "Google Standard Viewer"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: options.php:150
|
202 |
msgid "Embed the standard Google Viewer."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: options.php:151
|
206 |
msgid "Enhanced Viewer"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: options.php:152
|
210 |
msgid "Use this option to enable toolbar customization and fix some display problems (experimental)."
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: options.php:156
|
214 |
msgid "Customize Toolbar"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: options.php:160
|
218 |
msgid "Hide Zoom In/Out"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: options.php:161
|
222 |
msgid "Hide Open in New Window"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: options.php:162
|
226 |
msgid "Always Use Mobile Theme"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: options.php:166
|
230 |
msgid "Default Size"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: options.php:177
|
234 |
msgid "Default Language"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: options.php:235
|
238 |
msgid "Inline (Default)"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: options.php:236
|
242 |
msgid "Collapsible (Open)"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: options.php:237
|
246 |
msgid "Collapsible (Closed)"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: options.php:249
|
250 |
msgid "Download Link Options"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: options.php:254
|
254 |
msgid "Display the download link by default"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: options.php:255
|
258 |
msgid "Only display download link to logged in users"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: options.php:256
|
262 |
msgid "Track downloads in Google Analytics (tracking script must be installed on your site)"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: options.php:259
|
266 |
msgid "File Base URL"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: options.php:261
|
270 |
msgid "Any file not starting with <em>http</em> will be prefixed by this value"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: options.php:264
|
274 |
msgid "Link Text"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: options.php:266
|
278 |
msgid "You can further customize text using these dynamic replacements:"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: options.php:267
|
282 |
msgid "filename"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: options.php:268
|
286 |
msgid "file type"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: options.php:269
|
290 |
msgid "file size"
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: options.php:272
|
294 |
msgid "Link Position"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: options.php:274
|
298 |
msgid "Above Viewer"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: options.php:275
|
302 |
msgid "Below Viewer"
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: options.php:280
|
306 |
msgid "Link Behavior"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: options.php:282
|
310 |
msgid "Browser Default"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: options.php:283
|
314 |
msgid "Force Download"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: options.php:284
|
318 |
msgid "Force Download (Mask URL)"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: options.php:298
|
322 |
msgid "Advanced Options"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: options.php:300
|
326 |
msgid "Plugin Behavior"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: options.php:301
|
330 |
msgid "Editor Behavior"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: options.php:305
|
334 |
msgid "Display error messages inline (not hidden)"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: options.php:306
|
338 |
msgid "Disable internal error checking"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: options.php:307
|
342 |
msgid "Disable document caching"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: options.php:308
|
346 |
msgid "Disable beta version notifications"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: options.php:309
|
350 |
+
msgid "View Debug Information"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: options.php:312
|
354 |
msgid "Disable all editor integration"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: options.php:317
|
358 |
msgid "Insert shortcode from Media Library"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: options.php:319
|
362 |
msgid "Allow uploads of all supported media types"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: options.php:329
|
366 |
msgid "Save Options"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: options.php:331
|
370 |
msgid "Reset to Defaults"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: options.php:331
|
374 |
msgid "Are you sure you want to reset all settings to defaults?"
|
375 |
msgstr ""
|
376 |
|
options.php
CHANGED
@@ -4,6 +4,12 @@ include_once('gde-functions.php');
|
|
4 |
global $gdeoptions;
|
5 |
$himg = plugins_url(plugin_basename(dirname(__FILE__))).'/img/help.png';
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
// get initial tbedit status (prevents FOUC)
|
8 |
if ($gdeoptions['disable_proxy'] == "no") {
|
9 |
// enhanced viewer is selected, show opts by default
|
@@ -116,6 +122,8 @@ if(isset($_REQUEST['defaults'])) {
|
|
116 |
update_option('gde_options', $gdeoptions);
|
117 |
gde_showMessage(__('Options updated', 'gde'));
|
118 |
}
|
|
|
|
|
119 |
?>
|
120 |
|
121 |
<div class="wrap">
|
@@ -288,17 +296,19 @@ if(isset($_REQUEST['defaults'])) {
|
|
288 |
|
289 |
<div id="gde_linkoptions" class="postbox">
|
290 |
<h3 class="hndle"><span><?php _e('Advanced Options', 'gde'); ?></span></h3>
|
291 |
-
<div class="inside">
|
292 |
-
<div style="float:
|
293 |
-
<a href="javascript:void(0);" id="advopt-plugin"><?php echo __('Plugin Behavior', 'gde'); ?></a> |
|
294 |
<a href="javascript:void(0);" id="advopt-editor"><?php echo __('Editor Behavior', 'gde'); ?></a>
|
295 |
-
|
|
|
|
|
296 |
<?php gde_showCheck('disable_hideerrors', __('Display error messages inline (not hidden)', 'gde')); ?><br />
|
297 |
<?php gde_showCheck('bypass_check', __('Disable internal error checking', 'gde')); ?><br />
|
298 |
<?php gde_showCheck('disable_caching', __('Disable document caching', 'gde')); ?><br />
|
299 |
-
<?php gde_showCheck('suppress_beta', __('Disable beta version notifications', 'gde'));
|
|
|
300 |
</div>
|
301 |
-
<div id="adv-editor" style="display:none;padding-left:
|
302 |
<?php gde_showCheck('disable_editor', __('Disable all editor integration', 'gde')); ?><br />
|
303 |
<?php
|
304 |
if ($gdeoptions['disable_editor'] == "yes") {
|
@@ -326,6 +336,7 @@ if(isset($_REQUEST['defaults'])) {
|
|
326 |
</div>
|
327 |
|
328 |
<?php
|
|
|
329 |
|
330 |
function gde_showRadio($value, $id, $option, $title, $event = NULL) {
|
331 |
global $gdeoptions;
|
@@ -378,4 +389,13 @@ function gde_showMessage($message, $type='updated') {
|
|
378 |
print '<div id="message" class="'.$class.'"><p>' . $message . '</p></div>';
|
379 |
}
|
380 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
?>
|
4 |
global $gdeoptions;
|
5 |
$himg = plugins_url(plugin_basename(dirname(__FILE__))).'/img/help.png';
|
6 |
|
7 |
+
// check for debug
|
8 |
+
if ($_GET['debug']) {
|
9 |
+
$debug = true;
|
10 |
+
echo gde_debug();
|
11 |
+
}
|
12 |
+
|
13 |
// get initial tbedit status (prevents FOUC)
|
14 |
if ($gdeoptions['disable_proxy'] == "no") {
|
15 |
// enhanced viewer is selected, show opts by default
|
122 |
update_option('gde_options', $gdeoptions);
|
123 |
gde_showMessage(__('Options updated', 'gde'));
|
124 |
}
|
125 |
+
|
126 |
+
if (!$debug) {
|
127 |
?>
|
128 |
|
129 |
<div class="wrap">
|
296 |
|
297 |
<div id="gde_linkoptions" class="postbox">
|
298 |
<h3 class="hndle"><span><?php _e('Advanced Options', 'gde'); ?></span></h3>
|
299 |
+
<div class="inside" style="min-height:30px;">
|
300 |
+
<div style="float:left;"><a href="javascript:void(0);" id="advopt-plugin"><?php echo __('Plugin Behavior', 'gde'); ?></a><br/>
|
|
|
301 |
<a href="javascript:void(0);" id="advopt-editor"><?php echo __('Editor Behavior', 'gde'); ?></a>
|
302 |
+
</div>
|
303 |
+
<div style="float:right;"><a href="<?php echo GDE_ADVOPT_URL; ?>" target="_blank" title="<?php echo __('Help', 'gde'); ?>"><img src="<?php echo $himg; ?>"></a></div>
|
304 |
+
<div id="adv-plugin" style="display:none;padding-left: 250px;">
|
305 |
<?php gde_showCheck('disable_hideerrors', __('Display error messages inline (not hidden)', 'gde')); ?><br />
|
306 |
<?php gde_showCheck('bypass_check', __('Disable internal error checking', 'gde')); ?><br />
|
307 |
<?php gde_showCheck('disable_caching', __('Disable document caching', 'gde')); ?><br />
|
308 |
+
<?php gde_showCheck('suppress_beta', __('Disable beta version notifications', 'gde')); ?><br/>
|
309 |
+
<a href="<?php echo gde_this_url(); ?>&debug=1"><?php _e('View Debug Information', 'gde'); ?></a>
|
310 |
</div>
|
311 |
+
<div id="adv-editor" style="display:none;padding-left:250px;">
|
312 |
<?php gde_showCheck('disable_editor', __('Disable all editor integration', 'gde')); ?><br />
|
313 |
<?php
|
314 |
if ($gdeoptions['disable_editor'] == "yes") {
|
336 |
</div>
|
337 |
|
338 |
<?php
|
339 |
+
} // end if not debug
|
340 |
|
341 |
function gde_showRadio($value, $id, $option, $title, $event = NULL) {
|
342 |
global $gdeoptions;
|
389 |
print '<div id="message" class="'.$class.'"><p>' . $message . '</p></div>';
|
390 |
}
|
391 |
|
392 |
+
function gde_this_url() {
|
393 |
+
$s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
|
394 |
+
$protocol = gde_strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s;
|
395 |
+
$port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
|
396 |
+
return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
|
397 |
+
}
|
398 |
+
|
399 |
+
function gde_strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); }
|
400 |
+
|
401 |
?>
|
proxy.php
CHANGED
@@ -45,7 +45,7 @@ if (isset($_GET['embedded']) || $_GET['mobile']) {
|
|
45 |
|
46 |
// get the src page, change relative path to absolute
|
47 |
if (isset($curl)) {
|
48 |
-
$code =
|
49 |
} else {
|
50 |
$code = file_get_contents("https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
51 |
}
|
@@ -97,7 +97,7 @@ if (isset($_GET['embedded']) || $_GET['mobile']) {
|
|
97 |
} elseif (isset($_GET['a']) && $_GET['a'] == 'gt') {
|
98 |
// get text coordinates file, can not redirect because of same origin policy
|
99 |
if (isset($curl)) {
|
100 |
-
$code =
|
101 |
} else {
|
102 |
$code = file_get_contents("https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
103 |
}
|
@@ -113,7 +113,7 @@ if (isset($_GET['embedded']) || $_GET['mobile']) {
|
|
113 |
} elseif (isset($_GET['jsfile'])) {
|
114 |
// proxy javascript files and replace navigator.cookieEnabled with false
|
115 |
if (isset($curl)) {
|
116 |
-
$code =
|
117 |
} else {
|
118 |
$code = file_get_contents("https://docs.google.com/" . $_GET['jsfile']);
|
119 |
}
|
@@ -130,7 +130,7 @@ if (isset($_GET['embedded']) || $_GET['mobile']) {
|
|
130 |
header("Location: https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
131 |
}
|
132 |
|
133 |
-
function
|
134 |
$ch = curl_init();
|
135 |
$timeout = 5; // set to zero for no timeout
|
136 |
curl_setopt ($ch, CURLOPT_URL, $url);
|
45 |
|
46 |
// get the src page, change relative path to absolute
|
47 |
if (isset($curl)) {
|
48 |
+
$code = gde_curl_get_contents("https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
49 |
} else {
|
50 |
$code = file_get_contents("https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
51 |
}
|
97 |
} elseif (isset($_GET['a']) && $_GET['a'] == 'gt') {
|
98 |
// get text coordinates file, can not redirect because of same origin policy
|
99 |
if (isset($curl)) {
|
100 |
+
$code = gde_curl_get_contents("https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
101 |
} else {
|
102 |
$code = file_get_contents("https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
103 |
}
|
113 |
} elseif (isset($_GET['jsfile'])) {
|
114 |
// proxy javascript files and replace navigator.cookieEnabled with false
|
115 |
if (isset($curl)) {
|
116 |
+
$code = gde_curl_get_contents("https://docs.google.com/" . $_GET['jsfile']);
|
117 |
} else {
|
118 |
$code = file_get_contents("https://docs.google.com/" . $_GET['jsfile']);
|
119 |
}
|
130 |
header("Location: https://docs.google.com/viewer?" . $_SERVER['QUERY_STRING']);
|
131 |
}
|
132 |
|
133 |
+
function gde_curl_get_contents($url) {
|
134 |
$ch = curl_init();
|
135 |
$timeout = 5; // set to zero for no timeout
|
136 |
curl_setopt ($ch, CURLOPT_URL, $url);
|
readme.txt
CHANGED
@@ -6,6 +6,7 @@ Donate link: http://pledgie.com/campaigns/6048
|
|
6 |
Requires at least: 2.8
|
7 |
Tested up to: 3.4
|
8 |
Stable tag: trunk
|
|
|
9 |
|
10 |
Lets you embed MS Office, PDF, and many other file types in a web page using the Google Docs Viewer (no Flash or PDF browser plug-ins required).
|
11 |
|
@@ -30,7 +31,12 @@ Google Doc Embedder lets you embed several types of files into your WordPress pa
|
|
30 |
|
31 |
Similar to services like Scribd, Google Doc Embedder will allow you to embed these files directly into your page or post, not requiring the user to have Microsoft Word, Adobe Reader, PowerPoint, or other software installed to view the contents. Unlike Scribd, the files do not need to be uploaded to any service first - including Google Docs - but can exist anywhere publicly accessible on your site or the internet.
|
32 |
|
33 |
-
Note: Use of this plug-in implies your agreement with Google's published
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
== Installation ==
|
36 |
|
@@ -38,9 +44,9 @@ Note: Use of this plug-in implies your agreement with Google's published <a href
|
|
38 |
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
39 |
3. Done.
|
40 |
|
41 |
-
Upload the documents to your site using the media upload facility built into WordPress, via FTP, or link to documents on another (public) site. Use the Google Doc Embedder button in the Visual editor to build the appropriate shortcode.
|
42 |
|
43 |
-
For basic manual instructions, please see the FAQ. For advanced usage (including codes not exposed in the editor), see the
|
44 |
|
45 |
Go to "GDE Settings" (under "Settings" in the admin panel) to change defaults, or override individually using the shortcode syntax in the FAQ.
|
46 |
|
@@ -87,7 +93,7 @@ Common optional attributes:
|
|
87 |
* `height=` : To override the default height of the viewer, enter a new height value - e.g., "400" (px) or "80%"
|
88 |
* `cache=` : Set to 0 to bypass the viewer's internal caching (useful only for frequently updated files with the same name)
|
89 |
|
90 |
-
For a list of all available attributes, see
|
91 |
|
92 |
= Will it embed files that are password-protected or stored in protected folders/sites? =
|
93 |
Most likely, no. If your file requires a login to view - such as being saved in a password-protected directory, or behind a firewall (on your intranet, etc.), the viewer will probably not be able to access the file. This is what is meant above, that the document should be "publicly available." Please save the file in a publicly accessible location for best results.
|
@@ -98,8 +104,13 @@ View the source on the web page where you've embedded the viewer. In order to de
|
|
98 |
= Does it work with files saved in Google Docs? =
|
99 |
This plug-in utilizes the viewer from Google Docs in a standalone fashion. There is no direct integration with Google Docs and even those documents stored there and shared publicly do not embed reliably with their viewer (ironically), so at this time that use is not supported by the plug-in. Please store your original documents somewhere on your web site in their native supported formats.
|
100 |
|
101 |
-
= I
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
== Screenshots ==
|
105 |
|
@@ -109,6 +120,11 @@ That's not a question ;) but if you have any particular ideas on further develop
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
|
|
|
|
112 |
= 2.4 =
|
113 |
* Added: Allow native upload/insert of all supported file types
|
114 |
* Added: Shortcode inserted from Media Library for supported files
|
@@ -151,34 +167,9 @@ That's not a question ;) but if you have any particular ideas on further develop
|
|
151 |
* Fixed: Deprecated HTML output that interfered with some browsers
|
152 |
* Removed: Plugin conflict code and setting; not particularly useful
|
153 |
|
154 |
-
|
155 |
-
* Added: Viewer support for multiple new file types
|
156 |
-
* Changed: Workaround for NextGEN Gallery incompatibility (thanks alex)
|
157 |
-
* Changed: Defaults to Standard Viewer (IE problem is fixed!)
|
158 |
-
|
159 |
-
= 1.9.7 =
|
160 |
-
* Fixed: Minor compatibility issue with some PHP versions
|
161 |
-
* Changed: Confirmed compatibility with WP 3.1
|
162 |
-
|
163 |
-
= 1.9.6 =
|
164 |
-
* Changed: Removed min-width restriction of viewer (thanks Amanda)
|
165 |
-
* Fixed: Enhanced Viewer failed in hardened PHP configs (thanks Waseem)
|
166 |
-
* Fixed: Force Download option failed in hardened PHP configs
|
167 |
-
* Fixed: Options page layout quirks in lower resolutions
|
168 |
-
* Fixed: Options page PHP parse error on XAMPP (thanks John)
|
169 |
-
|
170 |
-
= 1.9.5 =
|
171 |
-
* Added: Support for Word documents (DOC, DOCX)
|
172 |
-
* Added: Default language option for viewer
|
173 |
-
* Added: Revived ability to hide selected viewer toolbar buttons (from 1.7)
|
174 |
-
* Changed: IE now supported by "enhanced viewer" proxy option (ie-warn removed)
|
175 |
-
* Changed: Improved options organization
|
176 |
-
* Fixed: Filenames with spaces wouldn't load
|
177 |
-
* Fixed: Suppress beta notification option not honored
|
178 |
-
|
179 |
-
<a href="http://www.davistribe.org/gde/changelog/" target="_blank">Full history...</a>
|
180 |
|
181 |
== Upgrade Notice ==
|
182 |
|
183 |
-
= 2.4 =
|
184 |
-
Localization
|
6 |
Requires at least: 2.8
|
7 |
Tested up to: 3.4
|
8 |
Stable tag: trunk
|
9 |
+
License: GPLv2 or later
|
10 |
|
11 |
Lets you embed MS Office, PDF, and many other file types in a web page using the Google Docs Viewer (no Flash or PDF browser plug-ins required).
|
12 |
|
31 |
|
32 |
Similar to services like Scribd, Google Doc Embedder will allow you to embed these files directly into your page or post, not requiring the user to have Microsoft Word, Adobe Reader, PowerPoint, or other software installed to view the contents. Unlike Scribd, the files do not need to be uploaded to any service first - including Google Docs - but can exist anywhere publicly accessible on your site or the internet.
|
33 |
|
34 |
+
Note: Use of this plug-in implies your agreement with Google's published [Terms of Service](http://docs.google.com/viewer/TOS?hl=en "Terms of Service").
|
35 |
+
|
36 |
+
Translations are welcome; see [the FAQ](http://wordpress.org/extend/plugins/google-document-embedder/faq/ "FAQ") for instructions.
|
37 |
+
|
38 |
+
* English (en\_US), built-in
|
39 |
+
* Spanish (es\_ES) by [elarequi](http://elarequi.com/propuestastic/ "elarequi"), thanks!
|
40 |
|
41 |
== Installation ==
|
42 |
|
44 |
2. Activate the plugin through the 'Plugins' menu in WordPress.
|
45 |
3. Done.
|
46 |
|
47 |
+
Upload the documents to your site using the media upload facility built into WordPress, via FTP, or link to documents on another (public) site. Use the Google Doc Embedder button in the Visual editor to build the appropriate shortcode, or see the FAQ for other methods.
|
48 |
|
49 |
+
For basic manual instructions, please see the FAQ. For advanced usage (including codes not exposed in the editor), see the [web site](http://www.davistribe.org/gde/usage/ "web site").
|
50 |
|
51 |
Go to "GDE Settings" (under "Settings" in the admin panel) to change defaults, or override individually using the shortcode syntax in the FAQ.
|
52 |
|
93 |
* `height=` : To override the default height of the viewer, enter a new height value - e.g., "400" (px) or "80%"
|
94 |
* `cache=` : Set to 0 to bypass the viewer's internal caching (useful only for frequently updated files with the same name)
|
95 |
|
96 |
+
For a list of all available attributes, see [Usage](http://www.davistribe.org/gde/usage/ "Usage").
|
97 |
|
98 |
= Will it embed files that are password-protected or stored in protected folders/sites? =
|
99 |
Most likely, no. If your file requires a login to view - such as being saved in a password-protected directory, or behind a firewall (on your intranet, etc.), the viewer will probably not be able to access the file. This is what is meant above, that the document should be "publicly available." Please save the file in a publicly accessible location for best results.
|
104 |
= Does it work with files saved in Google Docs? =
|
105 |
This plug-in utilizes the viewer from Google Docs in a standalone fashion. There is no direct integration with Google Docs and even those documents stored there and shared publicly do not embed reliably with their viewer (ironically), so at this time that use is not supported by the plug-in. Please store your original documents somewhere on your web site in their native supported formats.
|
106 |
|
107 |
+
= How can I translate the plugin? =
|
108 |
+
You can use the [English translation](http://plugins.svn.wordpress.org/google-document-embedder/trunk/language/gde-en_US.po "English") as a start. After saving the file, you can translate it by using a text editor or [Poedit](http://www.poedit.net/ "Poedit"). Or, you may install and use the [Codestyling Localization](http://wordpress.org/extend/plugins/codestyling-localization/ "Codestyling Localization") plugin.
|
109 |
+
|
110 |
+
Please email your translation, along with your name and link for credit, to <em>translation @ tnw . org</em> for inclusion in the plugin.
|
111 |
+
|
112 |
+
= Where can I ask questions, report bug and request features? =
|
113 |
+
You can open a topic [on the forum](http://wordpress.org/tags/google-document-embedder?forum_id=10#postform "forum") and I'll see what I can do. I review all messages posted here regularly.
|
114 |
|
115 |
== Screenshots ==
|
116 |
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 2.4.1 =
|
124 |
+
* Added: Spanish translation (thanks elarequi)
|
125 |
+
* Added: Method to obtain debug information
|
126 |
+
* Fixed: Insertion of non-GDE file types from Media Library
|
127 |
+
|
128 |
= 2.4 =
|
129 |
* Added: Allow native upload/insert of all supported file types
|
130 |
* Added: Shortcode inserted from Media Library for supported files
|
167 |
* Fixed: Deprecated HTML output that interfered with some browsers
|
168 |
* Removed: Plugin conflict code and setting; not particularly useful
|
169 |
|
170 |
+
[Full history...](http://www.davistribe.org/gde/changelog/ "Full history")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
|
172 |
== Upgrade Notice ==
|
173 |
|
174 |
+
= 2.4.1 =
|
175 |
+
Localization improvements, bug fix
|