Version Description
- Tried to fix the white screen of death problem in some server environments
- New option to use "prefix" attribute instead of "xmlns" (Thanks thomasbachem)
- Tested and adapted to work with WooCommerce 3.0.0-rc.2
- Fixed the WooCommerce product price tag name from
og:
toproduct:
(Thanks davidtrebacz) - Fixed a bug on the database version update mechanism
- Fixed a bug for custom taxonomy descriptions (Thanks karex)
- Bumped
Tested up to
tag
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
- admin/css/index.php +1 -0
- admin/js/index.php +1 -0
- admin/options-page-facebook.php +21 -1
- includes/FacebookLocales.xml +112 -46
- includes/class-webdados-fb-open-graph.php +75 -3
- lang/wd-fb-og-pt_PT.mo +0 -0
- lang/wd-fb-og-pt_PT.po +69 -49
- lang/wd-fb-og.pot +66 -48
- public/class-webdados-fb-open-graph-public.php +70 -27
- readme.txt +11 -2
- wonderm00n-open-graph.php +3 -3
admin/css/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
admin/js/index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden
|
admin/options-page-facebook.php
CHANGED
@@ -248,9 +248,13 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
248 |
$loadedOffline=true;
|
249 |
}
|
250 |
}
|
|
|
|
|
|
|
|
|
251 |
?>
|
252 |
<select name="wonderm00n_open_graph_settings[fb_locale]" id="fb_locale">
|
253 |
-
<option value=""<?php if (trim($options['fb_locale'])=='') echo ' selected="selected"'; ?>><?php _e('WordPress current locale/language', 'wd-fb-og'); ?> (<?php echo
|
254 |
<?php
|
255 |
//OK
|
256 |
if ($listLocales) {
|
@@ -332,6 +336,22 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
332 |
- <?php _e( 'From your Facebook Developers dashboard', 'wd-fb-og' ); ?>
|
333 |
</td>
|
334 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
|
336 |
</tbody>
|
337 |
</table>
|
248 |
$loadedOffline=true;
|
249 |
}
|
250 |
}
|
251 |
+
$locale = get_locale();
|
252 |
+
$fb_locale = $webdados_fb->get_locale();
|
253 |
+
$locale_txt = $locale;
|
254 |
+
if ( $fb_locale!=$locale ) $locale_txt.=' -> '.$fb_locale;
|
255 |
?>
|
256 |
<select name="wonderm00n_open_graph_settings[fb_locale]" id="fb_locale">
|
257 |
+
<option value=""<?php if (trim($options['fb_locale'])=='') echo ' selected="selected"'; ?>><?php _e('WordPress current locale/language', 'wd-fb-og'); ?> (<?php echo $locale_txt; ?>)</option>
|
258 |
<?php
|
259 |
//OK
|
260 |
if ($listLocales) {
|
336 |
- <?php _e( 'From your Facebook Developers dashboard', 'wd-fb-og' ); ?>
|
337 |
</td>
|
338 |
</tr>
|
339 |
+
<tr>
|
340 |
+
<th><?php _e( 'Declaration Method', 'wd-fb-og' );?>:</th>
|
341 |
+
<td>
|
342 |
+
<select name="wonderm00n_open_graph_settings[fb_declaration_method]" id="fb_declaration_method">
|
343 |
+
<option value="xmlns"<?php if (trim($options['fb_declaration_method'])=='' || trim($options['fb_declaration_method'])=='xmlns') echo ' selected="selected"'; ?>>xmlns</option>
|
344 |
+
<option value="prefix"<?php if (trim($options['fb_declaration_method'])=='prefix') echo ' selected="selected"'; ?>>prefix</option>
|
345 |
+
</select>
|
346 |
+
</td>
|
347 |
+
</tr>
|
348 |
+
<tr class="fb_type_options">
|
349 |
+
<td colspan="2" class="info">
|
350 |
+
<i><html xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#"></i> <?php _e('or', 'wd-fb-og'); ?> <i><html prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"></i>
|
351 |
+
<br/>
|
352 |
+
- <?php _e( 'Prefix is recommended because it validates properly with the W3C validator, xmlns is the legacy method', 'wd-fb-og' );?>
|
353 |
+
</td>
|
354 |
+
</tr>
|
355 |
|
356 |
</tbody>
|
357 |
</table>
|
includes/FacebookLocales.xml
CHANGED
@@ -111,6 +111,17 @@
|
|
111 |
</codes>
|
112 |
</locale>
|
113 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
<englishName>Breton</englishName>
|
115 |
<codes>
|
116 |
<code>
|
@@ -254,17 +265,6 @@
|
|
254 |
</codes>
|
255 |
</locale>
|
256 |
<locale>
|
257 |
-
<englishName>English (India)</englishName>
|
258 |
-
<codes>
|
259 |
-
<code>
|
260 |
-
<standard>
|
261 |
-
<name>FB</name>
|
262 |
-
<representation>en_IN</representation>
|
263 |
-
</standard>
|
264 |
-
</code>
|
265 |
-
</codes>
|
266 |
-
</locale>
|
267 |
-
<locale>
|
268 |
<englishName>English (Pirate)</englishName>
|
269 |
<codes>
|
270 |
<code>
|
@@ -309,28 +309,6 @@
|
|
309 |
</codes>
|
310 |
</locale>
|
311 |
<locale>
|
312 |
-
<englishName>Spanish (Chile)</englishName>
|
313 |
-
<codes>
|
314 |
-
<code>
|
315 |
-
<standard>
|
316 |
-
<name>FB</name>
|
317 |
-
<representation>es_CL</representation>
|
318 |
-
</standard>
|
319 |
-
</code>
|
320 |
-
</codes>
|
321 |
-
</locale>
|
322 |
-
<locale>
|
323 |
-
<englishName>Spanish (Colombia)</englishName>
|
324 |
-
<codes>
|
325 |
-
<code>
|
326 |
-
<standard>
|
327 |
-
<name>FB</name>
|
328 |
-
<representation>es_CO</representation>
|
329 |
-
</standard>
|
330 |
-
</code>
|
331 |
-
</codes>
|
332 |
-
</locale>
|
333 |
-
<locale>
|
334 |
<englishName>Spanish (Spain)</englishName>
|
335 |
<codes>
|
336 |
<code>
|
@@ -364,17 +342,6 @@
|
|
364 |
</codes>
|
365 |
</locale>
|
366 |
<locale>
|
367 |
-
<englishName>Spanish (Venezuela)</englishName>
|
368 |
-
<codes>
|
369 |
-
<code>
|
370 |
-
<standard>
|
371 |
-
<name>FB</name>
|
372 |
-
<representation>es_VE</representation>
|
373 |
-
</standard>
|
374 |
-
</code>
|
375 |
-
</codes>
|
376 |
-
</locale>
|
377 |
-
<locale>
|
378 |
<englishName>Estonian</englishName>
|
379 |
<codes>
|
380 |
<code>
|
@@ -419,7 +386,7 @@
|
|
419 |
</codes>
|
420 |
</locale>
|
421 |
<locale>
|
422 |
-
<englishName>
|
423 |
<codes>
|
424 |
<code>
|
425 |
<standard>
|
@@ -749,6 +716,17 @@
|
|
749 |
</codes>
|
750 |
</locale>
|
751 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
752 |
<englishName>Kurdish (Kurmanji)</englishName>
|
753 |
<codes>
|
754 |
<code>
|
@@ -958,7 +936,7 @@
|
|
958 |
</codes>
|
959 |
</locale>
|
960 |
<locale>
|
961 |
-
<englishName>Ndebele</englishName>
|
962 |
<codes>
|
963 |
<code>
|
964 |
<standard>
|
@@ -1013,6 +991,28 @@
|
|
1013 |
</codes>
|
1014 |
</locale>
|
1015 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1016 |
<englishName>Chewa</englishName>
|
1017 |
<codes>
|
1018 |
<code>
|
@@ -1112,6 +1112,17 @@
|
|
1112 |
</codes>
|
1113 |
</locale>
|
1114 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1115 |
<englishName>Romansh</englishName>
|
1116 |
<codes>
|
1117 |
<code>
|
@@ -1266,6 +1277,28 @@
|
|
1266 |
</codes>
|
1267 |
</locale>
|
1268 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1269 |
<englishName>Swedish</englishName>
|
1270 |
<codes>
|
1271 |
<code>
|
@@ -1387,6 +1420,17 @@
|
|
1387 |
</codes>
|
1388 |
</locale>
|
1389 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1390 |
<englishName>Turkish</englishName>
|
1391 |
<codes>
|
1392 |
<code>
|
@@ -1398,6 +1442,17 @@
|
|
1398 |
</codes>
|
1399 |
</locale>
|
1400 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1401 |
<englishName>Tatar</englishName>
|
1402 |
<codes>
|
1403 |
<code>
|
@@ -1453,6 +1508,17 @@
|
|
1453 |
</codes>
|
1454 |
</locale>
|
1455 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1456 |
<englishName>Vietnamese</englishName>
|
1457 |
<codes>
|
1458 |
<code>
|
111 |
</codes>
|
112 |
</locale>
|
113 |
<locale>
|
114 |
+
<englishName>Bhojpuri</englishName>
|
115 |
+
<codes>
|
116 |
+
<code>
|
117 |
+
<standard>
|
118 |
+
<name>FB</name>
|
119 |
+
<representation>bp_IN</representation>
|
120 |
+
</standard>
|
121 |
+
</code>
|
122 |
+
</codes>
|
123 |
+
</locale>
|
124 |
+
<locale>
|
125 |
<englishName>Breton</englishName>
|
126 |
<codes>
|
127 |
<code>
|
265 |
</codes>
|
266 |
</locale>
|
267 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
<englishName>English (Pirate)</englishName>
|
269 |
<codes>
|
270 |
<code>
|
309 |
</codes>
|
310 |
</locale>
|
311 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
<englishName>Spanish (Spain)</englishName>
|
313 |
<codes>
|
314 |
<code>
|
342 |
</codes>
|
343 |
</locale>
|
344 |
<locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
<englishName>Estonian</englishName>
|
346 |
<codes>
|
347 |
<code>
|
386 |
</codes>
|
387 |
</locale>
|
388 |
<locale>
|
389 |
+
<englishName>Fula</englishName>
|
390 |
<codes>
|
391 |
<code>
|
392 |
<standard>
|
716 |
</codes>
|
717 |
</locale>
|
718 |
<locale>
|
719 |
+
<englishName>Kashmiri</englishName>
|
720 |
+
<codes>
|
721 |
+
<code>
|
722 |
+
<standard>
|
723 |
+
<name>FB</name>
|
724 |
+
<representation>ks_IN</representation>
|
725 |
+
</standard>
|
726 |
+
</code>
|
727 |
+
</codes>
|
728 |
+
</locale>
|
729 |
+
<locale>
|
730 |
<englishName>Kurdish (Kurmanji)</englishName>
|
731 |
<codes>
|
732 |
<code>
|
936 |
</codes>
|
937 |
</locale>
|
938 |
<locale>
|
939 |
+
<englishName>Northern Ndebele</englishName>
|
940 |
<codes>
|
941 |
<code>
|
942 |
<standard>
|
991 |
</codes>
|
992 |
</locale>
|
993 |
<locale>
|
994 |
+
<englishName>Southern Ndebele</englishName>
|
995 |
+
<codes>
|
996 |
+
<code>
|
997 |
+
<standard>
|
998 |
+
<name>FB</name>
|
999 |
+
<representation>nr_ZA</representation>
|
1000 |
+
</standard>
|
1001 |
+
</code>
|
1002 |
+
</codes>
|
1003 |
+
</locale>
|
1004 |
+
<locale>
|
1005 |
+
<englishName>Northern Sotho</englishName>
|
1006 |
+
<codes>
|
1007 |
+
<code>
|
1008 |
+
<standard>
|
1009 |
+
<name>FB</name>
|
1010 |
+
<representation>ns_ZA</representation>
|
1011 |
+
</standard>
|
1012 |
+
</code>
|
1013 |
+
</codes>
|
1014 |
+
</locale>
|
1015 |
+
<locale>
|
1016 |
<englishName>Chewa</englishName>
|
1017 |
<codes>
|
1018 |
<code>
|
1112 |
</codes>
|
1113 |
</locale>
|
1114 |
<locale>
|
1115 |
+
<englishName>Burmese (Zawgyi)</englishName>
|
1116 |
+
<codes>
|
1117 |
+
<code>
|
1118 |
+
<standard>
|
1119 |
+
<name>FB</name>
|
1120 |
+
<representation>qz_MM</representation>
|
1121 |
+
</standard>
|
1122 |
+
</code>
|
1123 |
+
</codes>
|
1124 |
+
</locale>
|
1125 |
+
<locale>
|
1126 |
<englishName>Romansh</englishName>
|
1127 |
<codes>
|
1128 |
<code>
|
1277 |
</codes>
|
1278 |
</locale>
|
1279 |
<locale>
|
1280 |
+
<englishName>Swazi</englishName>
|
1281 |
+
<codes>
|
1282 |
+
<code>
|
1283 |
+
<standard>
|
1284 |
+
<name>FB</name>
|
1285 |
+
<representation>ss_SZ</representation>
|
1286 |
+
</standard>
|
1287 |
+
</code>
|
1288 |
+
</codes>
|
1289 |
+
</locale>
|
1290 |
+
<locale>
|
1291 |
+
<englishName>Southern Sotho</englishName>
|
1292 |
+
<codes>
|
1293 |
+
<code>
|
1294 |
+
<standard>
|
1295 |
+
<name>FB</name>
|
1296 |
+
<representation>st_ZA</representation>
|
1297 |
+
</standard>
|
1298 |
+
</code>
|
1299 |
+
</codes>
|
1300 |
+
</locale>
|
1301 |
+
<locale>
|
1302 |
<englishName>Swedish</englishName>
|
1303 |
<codes>
|
1304 |
<code>
|
1420 |
</codes>
|
1421 |
</locale>
|
1422 |
<locale>
|
1423 |
+
<englishName>Tswana</englishName>
|
1424 |
+
<codes>
|
1425 |
+
<code>
|
1426 |
+
<standard>
|
1427 |
+
<name>FB</name>
|
1428 |
+
<representation>tn_BW</representation>
|
1429 |
+
</standard>
|
1430 |
+
</code>
|
1431 |
+
</codes>
|
1432 |
+
</locale>
|
1433 |
+
<locale>
|
1434 |
<englishName>Turkish</englishName>
|
1435 |
<codes>
|
1436 |
<code>
|
1442 |
</codes>
|
1443 |
</locale>
|
1444 |
<locale>
|
1445 |
+
<englishName>Tsonga</englishName>
|
1446 |
+
<codes>
|
1447 |
+
<code>
|
1448 |
+
<standard>
|
1449 |
+
<name>FB</name>
|
1450 |
+
<representation>ts_ZA</representation>
|
1451 |
+
</standard>
|
1452 |
+
</code>
|
1453 |
+
</codes>
|
1454 |
+
</locale>
|
1455 |
+
<locale>
|
1456 |
<englishName>Tatar</englishName>
|
1457 |
<codes>
|
1458 |
<code>
|
1508 |
</codes>
|
1509 |
</locale>
|
1510 |
<locale>
|
1511 |
+
<englishName>Venda</englishName>
|
1512 |
+
<codes>
|
1513 |
+
<code>
|
1514 |
+
<standard>
|
1515 |
+
<name>FB</name>
|
1516 |
+
<representation>ve_ZA</representation>
|
1517 |
+
</standard>
|
1518 |
+
</code>
|
1519 |
+
</codes>
|
1520 |
+
</locale>
|
1521 |
+
<locale>
|
1522 |
<englishName>Vietnamese</englishName>
|
1523 |
<codes>
|
1524 |
<code>
|
includes/class-webdados-fb-open-graph.php
CHANGED
@@ -53,6 +53,7 @@ class Webdados_FB {
|
|
53 |
'fb_article_sections_show' => 1,
|
54 |
'fb_publisher_show' => 1,
|
55 |
'fb_locale_show' => 1,
|
|
|
56 |
'fb_adv_notify_fb' => 1,
|
57 |
//Twitter
|
58 |
'fb_title_show_twitter' => 1,
|
@@ -149,6 +150,7 @@ class Webdados_FB {
|
|
149 |
'fb_image_overlay' => 'intval',
|
150 |
'fb_image_overlay_image' => 'trim',
|
151 |
'fb_publisher_show_meta' => 'intval',
|
|
|
152 |
'settings_last_tab' => 'intval',
|
153 |
);
|
154 |
}
|
@@ -257,11 +259,14 @@ class Webdados_FB {
|
|
257 |
update_option( 'wonderm00n_open_graph_settings', $this->options );
|
258 |
}
|
259 |
} else {
|
260 |
-
if ( $v <
|
261 |
//Any version upgrade
|
262 |
$upgrade=true;
|
263 |
//We should do any upgrade we need, right here
|
264 |
-
|
|
|
|
|
|
|
265 |
}
|
266 |
}
|
267 |
//Set version on database
|
@@ -278,11 +283,78 @@ class Webdados_FB {
|
|
278 |
/* WPML */
|
279 |
public function is_wpml_active() {
|
280 |
if ( function_exists( 'icl_object_id' ) && function_exists( 'icl_register_string' ) ) {
|
281 |
-
|
|
|
|
|
|
|
|
|
|
|
282 |
}
|
283 |
return false;
|
284 |
}
|
285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
/* 3rd Party - Yoast SEO */
|
287 |
public function is_yoast_seo_active() {
|
288 |
if ( defined( 'WPSEO_VERSION' ) ) {
|
53 |
'fb_article_sections_show' => 1,
|
54 |
'fb_publisher_show' => 1,
|
55 |
'fb_locale_show' => 1,
|
56 |
+
'fb_declaration_method' => 'prefix',
|
57 |
'fb_adv_notify_fb' => 1,
|
58 |
//Twitter
|
59 |
'fb_title_show_twitter' => 1,
|
150 |
'fb_image_overlay' => 'intval',
|
151 |
'fb_image_overlay_image' => 'trim',
|
152 |
'fb_publisher_show_meta' => 'intval',
|
153 |
+
'fb_declaration_method' => 'trim',
|
154 |
'settings_last_tab' => 'intval',
|
155 |
);
|
156 |
}
|
259 |
update_option( 'wonderm00n_open_graph_settings', $this->options );
|
260 |
}
|
261 |
} else {
|
262 |
+
if ( $v < $this->version ) {
|
263 |
//Any version upgrade
|
264 |
$upgrade=true;
|
265 |
//We should do any upgrade we need, right here
|
266 |
+
if ( $v < '2.0.8' ) {
|
267 |
+
$this->options['fb_declaration_method'] = 'xmlns';
|
268 |
+
update_option( 'wonderm00n_open_graph_settings', $this->options );
|
269 |
+
}
|
270 |
}
|
271 |
}
|
272 |
//Set version on database
|
283 |
/* WPML */
|
284 |
public function is_wpml_active() {
|
285 |
if ( function_exists( 'icl_object_id' ) && function_exists( 'icl_register_string' ) ) {
|
286 |
+
global $sitepress;
|
287 |
+
if ( is_object($sitepress) ) {
|
288 |
+
return true;
|
289 |
+
} else {
|
290 |
+
return false;
|
291 |
+
}
|
292 |
}
|
293 |
return false;
|
294 |
}
|
295 |
|
296 |
+
/* WordPress Locale */
|
297 |
+
public function get_locale() {
|
298 |
+
$locale = get_locale();
|
299 |
+
// Facebook doesn't has all the WordPress locales
|
300 |
+
$locale_mappings = array(
|
301 |
+
'af' => 'af_ZA',
|
302 |
+
'ar' => 'ar_AR',
|
303 |
+
'ary' => 'ar_AR',
|
304 |
+
'as' => 'as_IN',
|
305 |
+
'az' => 'az_AZ',
|
306 |
+
'azb' => 'az_AZ',
|
307 |
+
'bel' => 'be_BY',
|
308 |
+
'bn_BD' => 'bn_IN',
|
309 |
+
'bo' => 'bp_IN',
|
310 |
+
'ca' => 'ca_ES',
|
311 |
+
'ceb' => 'cx_PH',
|
312 |
+
'ckb' => 'cb_IQ',
|
313 |
+
'cy' => 'cy_GB',
|
314 |
+
'de_CH' => 'de_DE',
|
315 |
+
'de_CH_informal' => 'de_DE',
|
316 |
+
'de_DE_formal' => 'de_DE',
|
317 |
+
'el' => 'el_GR',
|
318 |
+
'en_AU' => 'en_GB',
|
319 |
+
'en_CA' => 'en_US',
|
320 |
+
'en_NZ' => 'en_GB',
|
321 |
+
'en_ZA' => 'en_GB',
|
322 |
+
'eo' => 'eo_EO',
|
323 |
+
'es_AR' => 'es_ES',
|
324 |
+
'es_CL' => 'es_ES',
|
325 |
+
'es_CO' => 'es_ES',
|
326 |
+
'es_GT' => 'es_ES',
|
327 |
+
'es_PE' => 'es_ES',
|
328 |
+
'es_VE' => 'es_ES',
|
329 |
+
'et' => 'et_EE',
|
330 |
+
'eu' => 'eu_ES',
|
331 |
+
'fi' => 'fi_FI',
|
332 |
+
'fr_BE' => 'fr_FR',
|
333 |
+
'gd' => 'ga_IE',
|
334 |
+
'gu' => 'gu_IN',
|
335 |
+
'hr' => 'hr_HR',
|
336 |
+
'hy' => 'hy_AM',
|
337 |
+
'ja' => 'ja_JP',
|
338 |
+
'km' => 'km_KH',
|
339 |
+
'lo' => 'lo_LA',
|
340 |
+
'lv' => 'lv_LV',
|
341 |
+
'mn' => 'mn_MN',
|
342 |
+
'mr' => 'mr_IN',
|
343 |
+
'nl_NL_formal' => 'nl_NL',
|
344 |
+
'ps' => 'ps_AF',
|
345 |
+
'sah' => 'ky_KG',
|
346 |
+
'sq' => 'sq_AL',
|
347 |
+
'te' => 'te_IN',
|
348 |
+
'th' => 'th_TH',
|
349 |
+
'tl' => 'tl_PH',
|
350 |
+
'uk' => 'uk_UA',
|
351 |
+
'ur' => 'ur_PK',
|
352 |
+
'vi' => 'vi_VN',
|
353 |
+
);
|
354 |
+
if ( isset($locale_mappings[$locale]) ) $locale = $locale_mappings[$locale];
|
355 |
+
return trim($locale);
|
356 |
+
}
|
357 |
+
|
358 |
/* 3rd Party - Yoast SEO */
|
359 |
public function is_yoast_seo_active() {
|
360 |
if ( defined( 'WPSEO_VERSION' ) ) {
|
lang/wd-fb-og-pt_PT.mo
CHANGED
Binary file
|
lang/wd-fb-og-pt_PT.po
CHANGED
@@ -3,8 +3,8 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v2.0.3\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
"facebook-open-graph-tags\n"
|
6 |
-
"POT-Creation-Date:
|
7 |
-
"PO-Revision-Date:
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
"Language: pt_PT\n"
|
@@ -12,7 +12,7 @@ msgstr ""
|
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
18 |
"_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"
|
@@ -92,8 +92,8 @@ msgstr "Erro: Cache das Facebook Open Graph Tags NÃO actualizada"
|
|
92 |
msgid "Settings for 3rd party integration with other plugins."
|
93 |
msgstr "Opções para integração com outros plugins."
|
94 |
|
95 |
-
#: admin/options-page-3rdparty.php:16 admin/options-page-3rdparty.php:
|
96 |
-
#: admin/options-page-3rdparty.php:
|
97 |
msgid "Attention"
|
98 |
msgstr "Atenção"
|
99 |
|
@@ -105,15 +105,15 @@ msgstr ""
|
|
105 |
"Tem actualmente os plugins Yoast SEO e All in One SEO Pack activos em "
|
106 |
"simultâneo. Isto não é recomendado."
|
107 |
|
108 |
-
#: admin/options-page-3rdparty.php:
|
109 |
msgid "Use Title, URL and Description"
|
110 |
msgstr "Utilizar Título, URL e Descrição"
|
111 |
|
112 |
-
#: admin/options-page-3rdparty.php:
|
113 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
114 |
msgstr "Utilizar o Título, URL Canónico e a Descrição gerados pelo Yoast SEO"
|
115 |
|
116 |
-
#: admin/options-page-3rdparty.php:
|
117 |
#, php-format
|
118 |
msgid ""
|
119 |
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
@@ -128,22 +128,22 @@ msgstr ""
|
|
128 |
"página, tem primeiro de activar a opção “Páginas de definições avançadas” em "
|
129 |
"<a href=\"%s\" target=\"_blank\">SEO > Painel > Funcionalidades</a>."
|
130 |
|
131 |
-
#: admin/options-page-3rdparty.php:
|
132 |
-
#: admin/options-page-3rdparty.php:
|
133 |
-
#: admin/options-page-3rdparty.php:
|
134 |
#, php-format
|
135 |
msgid "You don't have %s installed or activated."
|
136 |
msgstr "Não tem %s instalado ou activado."
|
137 |
|
138 |
-
#: admin/options-page-3rdparty.php:
|
139 |
msgid "Use Title and Description"
|
140 |
msgstr "Utilizar Título e Descrição"
|
141 |
|
142 |
-
#: admin/options-page-3rdparty.php:
|
143 |
msgid "Use Title and Description generated by All in One SEO Pack"
|
144 |
msgstr "Utilizar o Título e a Descrição gerados pelo All in One SEO Pack"
|
145 |
|
146 |
-
#: admin/options-page-3rdparty.php:
|
147 |
#, php-format
|
148 |
msgid ""
|
149 |
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
@@ -154,7 +154,7 @@ msgstr ""
|
|
154 |
"deve desabilitar as definições de redes sociais desse plugin em <a href=\"%s"
|
155 |
"\" target=\"_blank”>…</a>."
|
156 |
|
157 |
-
#: admin/options-page-3rdparty.php:
|
158 |
msgid ""
|
159 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
160 |
"and <i>product:price</i> to the price including tax."
|
@@ -162,11 +162,11 @@ msgstr ""
|
|
162 |
"Em páginas de produtos vamos automaticamente definir o <i>og:type</i> como "
|
163 |
"\"product\" e <i>product:price</i> com o preço incluindo taxas."
|
164 |
|
165 |
-
#: admin/options-page-3rdparty.php:
|
166 |
msgid "Use Product Gallery as Images"
|
167 |
msgstr "Utilizar Galeria de Produto como Imagens"
|
168 |
|
169 |
-
#: admin/options-page-3rdparty.php:
|
170 |
msgid ""
|
171 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
172 |
"that, when a product is shared on Facebook, the user is given the choice "
|
@@ -176,10 +176,10 @@ msgstr ""
|
|
176 |
"adicional para que, quando um produto for partilhado no Facebook, seja dada "
|
177 |
"ao utilizador a escolha de qual imagem mostrar"
|
178 |
|
179 |
-
#: admin/options-page-3rdparty.php:
|
180 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
181 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
182 |
-
#: admin/options-page-facebook.php:
|
183 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
184 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
185 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
@@ -189,19 +189,19 @@ msgstr ""
|
|
189 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
190 |
msgstr "Pode alterar este valor utilizando o filtro <i>%1$s</i>"
|
191 |
|
192 |
-
#: admin/options-page-3rdparty.php:
|
193 |
msgid "Overlay PNG logo"
|
194 |
msgstr "Sobrepor logotipo em PNG"
|
195 |
|
196 |
-
#: admin/options-page-3rdparty.php:
|
197 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
198 |
msgstr "Também sobrepor o logotipo em PNG nas imagens da Galeria de Produto"
|
199 |
|
200 |
-
#: admin/options-page-3rdparty.php:
|
201 |
msgid "Use Category thumbnail as Image"
|
202 |
msgstr "Utilizar miniatura de Categoria como Imagem"
|
203 |
|
204 |
-
#: admin/options-page-3rdparty.php:
|
205 |
msgid ""
|
206 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
207 |
"use them as Open Graph Images on category listing pages"
|
@@ -210,27 +210,27 @@ msgstr ""
|
|
210 |
"Produto e deseja usar as mesmas como \"Open Graph Image\" nas listagens de "
|
211 |
"categorias"
|
212 |
|
213 |
-
#: admin/options-page-3rdparty.php:
|
214 |
msgid "Add SubHeading to Post/Page Title"
|
215 |
msgstr "Adicionar \"SubHeading\" ao título do Artigo/Página"
|
216 |
|
217 |
-
#: admin/options-page-3rdparty.php:
|
218 |
msgid "SubHeading position"
|
219 |
msgstr "Posição do \"SubHeading\""
|
220 |
|
221 |
-
#: admin/options-page-3rdparty.php:
|
222 |
msgid "After"
|
223 |
msgstr "Depois"
|
224 |
|
225 |
-
#: admin/options-page-3rdparty.php:
|
226 |
msgid "Before"
|
227 |
msgstr "Antes"
|
228 |
|
229 |
-
#: admin/options-page-3rdparty.php:
|
230 |
msgid "Use listing details"
|
231 |
msgstr "Utilizar detalhes dos anúncios"
|
232 |
|
233 |
-
#: admin/options-page-3rdparty.php:
|
234 |
msgid ""
|
235 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
236 |
"Image) to populate tags"
|
@@ -238,7 +238,7 @@ msgstr ""
|
|
238 |
"Utilizar os detalhes de anúncios do Business Directory Plugin (Título, URL, "
|
239 |
"e Imagem) como conteúdo das tags"
|
240 |
|
241 |
-
#: admin/options-page-3rdparty.php:
|
242 |
msgid ""
|
243 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
244 |
"\"Include Image\" options is HIGHLY recommended"
|
@@ -388,72 +388,88 @@ msgid "Locale"
|
|
388 |
msgstr "Locale"
|
389 |
|
390 |
# @ wd-fb-og
|
391 |
-
#: admin/options-page-facebook.php:
|
392 |
msgid "WordPress current locale/language"
|
393 |
msgstr "O \"locale\"/idíoma actual do WordPress"
|
394 |
|
395 |
# @ wd-fb-og
|
396 |
-
#: admin/options-page-facebook.php:
|
397 |
msgid "List loaded from Facebook (online)"
|
398 |
msgstr "Lista carregada do Facebook (online)"
|
399 |
|
400 |
# @ wd-fb-og
|
401 |
-
#: admin/options-page-facebook.php:
|
402 |
msgid "List loaded from local cache (offline)"
|
403 |
msgstr "Lista carregada da cache local (offline)"
|
404 |
|
405 |
# @ wd-fb-og
|
406 |
-
#: admin/options-page-facebook.php:
|
407 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
408 |
msgstr ""
|
409 |
"Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
|
410 |
|
411 |
# @ wd-fb-og
|
412 |
-
#: admin/options-page-facebook.php:
|
413 |
msgid "Reload from Facebook"
|
414 |
msgstr "(Re)carregar a partir do Facebook"
|
415 |
|
416 |
# @ wd-fb-og
|
417 |
-
#: admin/options-page-facebook.php:
|
418 |
msgid "List not loaded"
|
419 |
msgstr "Lista não carregada"
|
420 |
|
421 |
-
#: admin/options-page-facebook.php:
|
422 |
msgid "Include Facebook Admin(s) ID"
|
423 |
msgstr "Incluir ID de Admin(s) do Facebook"
|
424 |
|
425 |
# @ wd-fb-og
|
426 |
-
#: admin/options-page-facebook.php:
|
427 |
msgid "Facebook Admin(s) ID"
|
428 |
msgstr "ID do(s) Admin(s) no Facebook"
|
429 |
|
430 |
# @ wd-fb-og
|
431 |
-
#: admin/options-page-facebook.php:
|
432 |
msgid "Comma separated if more than one"
|
433 |
msgstr "Separados por vírgulas se mais do que um"
|
434 |
|
435 |
-
#: admin/options-page-facebook.php:
|
436 |
msgid "Include Facebook Platform App ID"
|
437 |
msgstr "Incluir \"Facebook Platform App ID\""
|
438 |
|
439 |
# @ wd-fb-og
|
440 |
-
#: admin/options-page-facebook.php:
|
441 |
msgid "Facebook Platform App ID"
|
442 |
msgstr "Facebook Platform App ID"
|
443 |
|
444 |
-
#: admin/options-page-facebook.php:
|
445 |
msgid "From your Facebook Developers dashboard"
|
446 |
msgstr "Do seu “Facebook Developers dashboard”"
|
447 |
|
448 |
#: admin/options-page-facebook.php:341
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
msgid "Facebook Open Graph Tags cache"
|
450 |
msgstr "Cache de Tags Facebook Open Graph"
|
451 |
|
452 |
-
#: admin/options-page-facebook.php:
|
453 |
msgid "Clear cache"
|
454 |
msgstr "Limpar cache"
|
455 |
|
456 |
-
#: admin/options-page-facebook.php:
|
457 |
msgid ""
|
458 |
"Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
|
459 |
"so the link preview on Facebook is immediately updated"
|
@@ -461,11 +477,11 @@ msgstr ""
|
|
461 |
"Tentar actualizar a cache das Tags Facebook Open Graph ao gravar um post, "
|
462 |
"para que a pré-visualização no Facebook seja imediatamente actualizada"
|
463 |
|
464 |
-
#: admin/options-page-facebook.php:
|
465 |
msgid "Suppress cache notices"
|
466 |
msgstr "Esconder notificações de cache"
|
467 |
|
468 |
-
#: admin/options-page-facebook.php:
|
469 |
msgid ""
|
470 |
"Sometimes we aren't able to update the cache and the post author will see a "
|
471 |
"notice if this option is not checked"
|
@@ -956,20 +972,24 @@ msgstr "Tags SEO"
|
|
956 |
msgid "3rd party"
|
957 |
msgstr "Integração"
|
958 |
|
959 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
960 |
msgid "Price"
|
961 |
msgstr "Preço"
|
962 |
|
963 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
964 |
msgid "Search for"
|
965 |
msgstr "Pesquisa por"
|
966 |
|
967 |
-
#: public/class-webdados-fb-open-graph-public.php:285
|
968 |
#: public/class-webdados-fb-open-graph-public.php:289
|
969 |
#: public/class-webdados-fb-open-graph-public.php:293
|
|
|
970 |
msgid "Archives"
|
971 |
msgstr "Arquivos"
|
972 |
|
|
|
|
|
|
|
|
|
973 |
#. Description of the plugin/theme
|
974 |
msgid ""
|
975 |
"Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta "
|
3 |
"Project-Id-Version: Facebook Open Graph Meta Tags for WordPress v2.0.3\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wonderm00ns-simple-"
|
5 |
"facebook-open-graph-tags\n"
|
6 |
+
"POT-Creation-Date: 2017-03-28 22:37+0100\n"
|
7 |
+
"PO-Revision-Date: 2017-03-28 22:39+0100\n"
|
8 |
"Last-Translator: Wonderm00n <wonderm00n@gmail.com>\n"
|
9 |
"Language-Team: Webdados <info@webdados.pt>\n"
|
10 |
"Language: pt_PT\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 2.0\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
18 |
"_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"
|
92 |
msgid "Settings for 3rd party integration with other plugins."
|
93 |
msgstr "Opções para integração com outros plugins."
|
94 |
|
95 |
+
#: admin/options-page-3rdparty.php:16 admin/options-page-3rdparty.php:64
|
96 |
+
#: admin/options-page-3rdparty.php:116
|
97 |
msgid "Attention"
|
98 |
msgstr "Atenção"
|
99 |
|
105 |
"Tem actualmente os plugins Yoast SEO e All in One SEO Pack activos em "
|
106 |
"simultâneo. Isto não é recomendado."
|
107 |
|
108 |
+
#: admin/options-page-3rdparty.php:50
|
109 |
msgid "Use Title, URL and Description"
|
110 |
msgstr "Utilizar Título, URL e Descrição"
|
111 |
|
112 |
+
#: admin/options-page-3rdparty.php:57
|
113 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
114 |
msgstr "Utilizar o Título, URL Canónico e a Descrição gerados pelo Yoast SEO"
|
115 |
|
116 |
+
#: admin/options-page-3rdparty.php:67
|
117 |
#, php-format
|
118 |
msgid ""
|
119 |
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
128 |
"página, tem primeiro de activar a opção “Páginas de definições avançadas” em "
|
129 |
"<a href=\"%s\" target=\"_blank\">SEO > Painel > Funcionalidades</a>."
|
130 |
|
131 |
+
#: admin/options-page-3rdparty.php:81 admin/options-page-3rdparty.php:133
|
132 |
+
#: admin/options-page-3rdparty.php:196 admin/options-page-3rdparty.php:245
|
133 |
+
#: admin/options-page-3rdparty.php:283
|
134 |
#, php-format
|
135 |
msgid "You don't have %s installed or activated."
|
136 |
msgstr "Não tem %s instalado ou activado."
|
137 |
|
138 |
+
#: admin/options-page-3rdparty.php:102
|
139 |
msgid "Use Title and Description"
|
140 |
msgstr "Utilizar Título e Descrição"
|
141 |
|
142 |
+
#: admin/options-page-3rdparty.php:109
|
143 |
msgid "Use Title and Description generated by All in One SEO Pack"
|
144 |
msgstr "Utilizar o Título e a Descrição gerados pelo All in One SEO Pack"
|
145 |
|
146 |
+
#: admin/options-page-3rdparty.php:119
|
147 |
#, php-format
|
148 |
msgid ""
|
149 |
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
154 |
"deve desabilitar as definições de redes sociais desse plugin em <a href=\"%s"
|
155 |
"\" target=\"_blank”>…</a>."
|
156 |
|
157 |
+
#: admin/options-page-3rdparty.php:149
|
158 |
msgid ""
|
159 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
160 |
"and <i>product:price</i> to the price including tax."
|
162 |
"Em páginas de produtos vamos automaticamente definir o <i>og:type</i> como "
|
163 |
"\"product\" e <i>product:price</i> com o preço incluindo taxas."
|
164 |
|
165 |
+
#: admin/options-page-3rdparty.php:154
|
166 |
msgid "Use Product Gallery as Images"
|
167 |
msgstr "Utilizar Galeria de Produto como Imagens"
|
168 |
|
169 |
+
#: admin/options-page-3rdparty.php:161
|
170 |
msgid ""
|
171 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
172 |
"that, when a product is shared on Facebook, the user is given the choice "
|
176 |
"adicional para que, quando um produto for partilhado no Facebook, seja dada "
|
177 |
"ao utilizador a escolha de qual imagem mostrar"
|
178 |
|
179 |
+
#: admin/options-page-3rdparty.php:163 admin/options-page-facebook.php:24
|
180 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
181 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
182 |
+
#: admin/options-page-facebook.php:288 admin/options-page-general.php:126
|
183 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
184 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
185 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
189 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
190 |
msgstr "Pode alterar este valor utilizando o filtro <i>%1$s</i>"
|
191 |
|
192 |
+
#: admin/options-page-3rdparty.php:168 admin/options-page-general.php:162
|
193 |
msgid "Overlay PNG logo"
|
194 |
msgstr "Sobrepor logotipo em PNG"
|
195 |
|
196 |
+
#: admin/options-page-3rdparty.php:175
|
197 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
198 |
msgstr "Também sobrepor o logotipo em PNG nas imagens da Galeria de Produto"
|
199 |
|
200 |
+
#: admin/options-page-3rdparty.php:180
|
201 |
msgid "Use Category thumbnail as Image"
|
202 |
msgstr "Utilizar miniatura de Categoria como Imagem"
|
203 |
|
204 |
+
#: admin/options-page-3rdparty.php:187
|
205 |
msgid ""
|
206 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
207 |
"use them as Open Graph Images on category listing pages"
|
210 |
"Produto e deseja usar as mesmas como \"Open Graph Image\" nas listagens de "
|
211 |
"categorias"
|
212 |
|
213 |
+
#: admin/options-page-3rdparty.php:216
|
214 |
msgid "Add SubHeading to Post/Page Title"
|
215 |
msgstr "Adicionar \"SubHeading\" ao título do Artigo/Página"
|
216 |
|
217 |
+
#: admin/options-page-3rdparty.php:227
|
218 |
msgid "SubHeading position"
|
219 |
msgstr "Posição do \"SubHeading\""
|
220 |
|
221 |
+
#: admin/options-page-3rdparty.php:230
|
222 |
msgid "After"
|
223 |
msgstr "Depois"
|
224 |
|
225 |
+
#: admin/options-page-3rdparty.php:231
|
226 |
msgid "Before"
|
227 |
msgstr "Antes"
|
228 |
|
229 |
+
#: admin/options-page-3rdparty.php:265
|
230 |
msgid "Use listing details"
|
231 |
msgstr "Utilizar detalhes dos anúncios"
|
232 |
|
233 |
+
#: admin/options-page-3rdparty.php:272
|
234 |
msgid ""
|
235 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
236 |
"Image) to populate tags"
|
238 |
"Utilizar os detalhes de anúncios do Business Directory Plugin (Título, URL, "
|
239 |
"e Imagem) como conteúdo das tags"
|
240 |
|
241 |
+
#: admin/options-page-3rdparty.php:274
|
242 |
msgid ""
|
243 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
244 |
"\"Include Image\" options is HIGHLY recommended"
|
388 |
msgstr "Locale"
|
389 |
|
390 |
# @ wd-fb-og
|
391 |
+
#: admin/options-page-facebook.php:257
|
392 |
msgid "WordPress current locale/language"
|
393 |
msgstr "O \"locale\"/idíoma actual do WordPress"
|
394 |
|
395 |
# @ wd-fb-og
|
396 |
+
#: admin/options-page-facebook.php:278
|
397 |
msgid "List loaded from Facebook (online)"
|
398 |
msgstr "Lista carregada do Facebook (online)"
|
399 |
|
400 |
# @ wd-fb-og
|
401 |
+
#: admin/options-page-facebook.php:281
|
402 |
msgid "List loaded from local cache (offline)"
|
403 |
msgstr "Lista carregada da cache local (offline)"
|
404 |
|
405 |
# @ wd-fb-og
|
406 |
+
#: admin/options-page-facebook.php:281
|
407 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
408 |
msgstr ""
|
409 |
"Vai perder quaisquer modificações que não tenha gravado. Tem a certeza?"
|
410 |
|
411 |
# @ wd-fb-og
|
412 |
+
#: admin/options-page-facebook.php:281
|
413 |
msgid "Reload from Facebook"
|
414 |
msgstr "(Re)carregar a partir do Facebook"
|
415 |
|
416 |
# @ wd-fb-og
|
417 |
+
#: admin/options-page-facebook.php:283
|
418 |
msgid "List not loaded"
|
419 |
msgstr "Lista não carregada"
|
420 |
|
421 |
+
#: admin/options-page-facebook.php:293
|
422 |
msgid "Include Facebook Admin(s) ID"
|
423 |
msgstr "Incluir ID de Admin(s) do Facebook"
|
424 |
|
425 |
# @ wd-fb-og
|
426 |
+
#: admin/options-page-facebook.php:305
|
427 |
msgid "Facebook Admin(s) ID"
|
428 |
msgstr "ID do(s) Admin(s) no Facebook"
|
429 |
|
430 |
# @ wd-fb-og
|
431 |
+
#: admin/options-page-facebook.php:312
|
432 |
msgid "Comma separated if more than one"
|
433 |
msgstr "Separados por vírgulas se mais do que um"
|
434 |
|
435 |
+
#: admin/options-page-facebook.php:317
|
436 |
msgid "Include Facebook Platform App ID"
|
437 |
msgstr "Incluir \"Facebook Platform App ID\""
|
438 |
|
439 |
# @ wd-fb-og
|
440 |
+
#: admin/options-page-facebook.php:329
|
441 |
msgid "Facebook Platform App ID"
|
442 |
msgstr "Facebook Platform App ID"
|
443 |
|
444 |
+
#: admin/options-page-facebook.php:336
|
445 |
msgid "From your Facebook Developers dashboard"
|
446 |
msgstr "Do seu “Facebook Developers dashboard”"
|
447 |
|
448 |
#: admin/options-page-facebook.php:341
|
449 |
+
msgid "Declaration Method"
|
450 |
+
msgstr "Método de Declaração"
|
451 |
+
|
452 |
+
#: admin/options-page-facebook.php:351
|
453 |
+
msgid "or"
|
454 |
+
msgstr "Ou"
|
455 |
+
|
456 |
+
#: admin/options-page-facebook.php:353
|
457 |
+
msgid ""
|
458 |
+
"Prefix is recommended because it validates properly with the W3C validator, "
|
459 |
+
"xmlns is the legacy method"
|
460 |
+
msgstr ""
|
461 |
+
"Prefix é recomendado porque valida correctamente no W3C validator, xmlns é o "
|
462 |
+
"método antigo"
|
463 |
+
|
464 |
+
#: admin/options-page-facebook.php:362
|
465 |
msgid "Facebook Open Graph Tags cache"
|
466 |
msgstr "Cache de Tags Facebook Open Graph"
|
467 |
|
468 |
+
#: admin/options-page-facebook.php:368
|
469 |
msgid "Clear cache"
|
470 |
msgstr "Limpar cache"
|
471 |
|
472 |
+
#: admin/options-page-facebook.php:375
|
473 |
msgid ""
|
474 |
"Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
|
475 |
"so the link preview on Facebook is immediately updated"
|
477 |
"Tentar actualizar a cache das Tags Facebook Open Graph ao gravar um post, "
|
478 |
"para que a pré-visualização no Facebook seja imediatamente actualizada"
|
479 |
|
480 |
+
#: admin/options-page-facebook.php:380
|
481 |
msgid "Suppress cache notices"
|
482 |
msgstr "Esconder notificações de cache"
|
483 |
|
484 |
+
#: admin/options-page-facebook.php:387
|
485 |
msgid ""
|
486 |
"Sometimes we aren't able to update the cache and the post author will see a "
|
487 |
"notice if this option is not checked"
|
972 |
msgid "3rd party"
|
973 |
msgstr "Integração"
|
974 |
|
975 |
+
#: public/class-webdados-fb-open-graph-public.php:210
|
976 |
msgid "Price"
|
977 |
msgstr "Preço"
|
978 |
|
979 |
+
#: public/class-webdados-fb-open-graph-public.php:280
|
980 |
msgid "Search for"
|
981 |
msgstr "Pesquisa por"
|
982 |
|
|
|
983 |
#: public/class-webdados-fb-open-graph-public.php:289
|
984 |
#: public/class-webdados-fb-open-graph-public.php:293
|
985 |
+
#: public/class-webdados-fb-open-graph-public.php:297
|
986 |
msgid "Archives"
|
987 |
msgstr "Arquivos"
|
988 |
|
989 |
+
#. Plugin Name of the plugin/theme
|
990 |
+
msgid "Facebook Open Graph, Google+ and Twitter Card Tags"
|
991 |
+
msgstr "Tags Facebook Open Graph, Google+ e Twitter Card"
|
992 |
+
|
993 |
#. Description of the plugin/theme
|
994 |
msgid ""
|
995 |
"Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta "
|
lang/wd-fb-og.pot
CHANGED
@@ -4,14 +4,14 @@ msgstr ""
|
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
|
6 |
"2.0.3\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Generator: Poedit
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: wonderm00n-open-graph.php\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -91,8 +91,8 @@ msgstr ""
|
|
91 |
msgid "Settings for 3rd party integration with other plugins."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: admin/options-page-3rdparty.php:16 admin/options-page-3rdparty.php:
|
95 |
-
#: admin/options-page-3rdparty.php:
|
96 |
msgid "Attention"
|
97 |
msgstr ""
|
98 |
|
@@ -102,15 +102,15 @@ msgid ""
|
|
102 |
"This is no recommended."
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: admin/options-page-3rdparty.php:
|
106 |
msgid "Use Title, URL and Description"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: admin/options-page-3rdparty.php:
|
110 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: admin/options-page-3rdparty.php:
|
114 |
#, php-format
|
115 |
msgid ""
|
116 |
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
@@ -120,22 +120,22 @@ msgid ""
|
|
120 |
"\">Yoast SEO > Dashboard > Features</a>."
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: admin/options-page-3rdparty.php:
|
124 |
-
#: admin/options-page-3rdparty.php:
|
125 |
-
#: admin/options-page-3rdparty.php:
|
126 |
#, php-format
|
127 |
msgid "You don't have %s installed or activated."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: admin/options-page-3rdparty.php:
|
131 |
msgid "Use Title and Description"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: admin/options-page-3rdparty.php:
|
135 |
msgid "Use Title and Description generated by All in One SEO Pack"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: admin/options-page-3rdparty.php:
|
139 |
#, php-format
|
140 |
msgid ""
|
141 |
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
@@ -143,27 +143,27 @@ msgid ""
|
|
143 |
"\"_blank\">MISSING LINK</a>."
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: admin/options-page-3rdparty.php:
|
147 |
msgid ""
|
148 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
149 |
"and <i>product:price</i> to the price including tax."
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: admin/options-page-3rdparty.php:
|
153 |
msgid "Use Product Gallery as Images"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: admin/options-page-3rdparty.php:
|
157 |
msgid ""
|
158 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
159 |
"that, when a product is shared on Facebook, the user is given the choice "
|
160 |
"what image to display"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: admin/options-page-3rdparty.php:
|
164 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
165 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
166 |
-
#: admin/options-page-facebook.php:
|
167 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
168 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
169 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
@@ -173,51 +173,51 @@ msgstr ""
|
|
173 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: admin/options-page-3rdparty.php:
|
177 |
msgid "Overlay PNG logo"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: admin/options-page-3rdparty.php:
|
181 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: admin/options-page-3rdparty.php:
|
185 |
msgid "Use Category thumbnail as Image"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: admin/options-page-3rdparty.php:
|
189 |
msgid ""
|
190 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
191 |
"use them as Open Graph Images on category listing pages"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: admin/options-page-3rdparty.php:
|
195 |
msgid "Add SubHeading to Post/Page Title"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: admin/options-page-3rdparty.php:
|
199 |
msgid "SubHeading position"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: admin/options-page-3rdparty.php:
|
203 |
msgid "After"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: admin/options-page-3rdparty.php:
|
207 |
msgid "Before"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: admin/options-page-3rdparty.php:
|
211 |
msgid "Use listing details"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: admin/options-page-3rdparty.php:
|
215 |
msgid ""
|
216 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
217 |
"Image) to populate tags"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: admin/options-page-3rdparty.php:
|
221 |
msgid ""
|
222 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
223 |
"\"Include Image\" options is HIGHLY recommended"
|
@@ -351,73 +351,87 @@ msgstr ""
|
|
351 |
msgid "Locale"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: admin/options-page-facebook.php:
|
355 |
msgid "WordPress current locale/language"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: admin/options-page-facebook.php:
|
359 |
msgid "List loaded from Facebook (online)"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: admin/options-page-facebook.php:
|
363 |
msgid "List loaded from local cache (offline)"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: admin/options-page-facebook.php:
|
367 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: admin/options-page-facebook.php:
|
371 |
msgid "Reload from Facebook"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: admin/options-page-facebook.php:
|
375 |
msgid "List not loaded"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: admin/options-page-facebook.php:
|
379 |
msgid "Include Facebook Admin(s) ID"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: admin/options-page-facebook.php:
|
383 |
msgid "Facebook Admin(s) ID"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: admin/options-page-facebook.php:
|
387 |
msgid "Comma separated if more than one"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: admin/options-page-facebook.php:
|
391 |
msgid "Include Facebook Platform App ID"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: admin/options-page-facebook.php:
|
395 |
msgid "Facebook Platform App ID"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: admin/options-page-facebook.php:
|
399 |
msgid "From your Facebook Developers dashboard"
|
400 |
msgstr ""
|
401 |
|
402 |
#: admin/options-page-facebook.php:341
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
msgid "Facebook Open Graph Tags cache"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: admin/options-page-facebook.php:
|
407 |
msgid "Clear cache"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: admin/options-page-facebook.php:
|
411 |
msgid ""
|
412 |
"Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
|
413 |
"so the link preview on Facebook is immediately updated"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: admin/options-page-facebook.php:
|
417 |
msgid "Suppress cache notices"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: admin/options-page-facebook.php:
|
421 |
msgid ""
|
422 |
"Sometimes we aren't able to update the cache and the post author will see a "
|
423 |
"notice if this option is not checked"
|
@@ -847,20 +861,24 @@ msgstr ""
|
|
847 |
msgid "3rd party"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
851 |
msgid "Price"
|
852 |
msgstr ""
|
853 |
|
854 |
-
#: public/class-webdados-fb-open-graph-public.php:
|
855 |
msgid "Search for"
|
856 |
msgstr ""
|
857 |
|
858 |
-
#: public/class-webdados-fb-open-graph-public.php:285
|
859 |
#: public/class-webdados-fb-open-graph-public.php:289
|
860 |
#: public/class-webdados-fb-open-graph-public.php:293
|
|
|
861 |
msgid "Archives"
|
862 |
msgstr ""
|
863 |
|
|
|
|
|
|
|
|
|
864 |
#. Description of the plugin/theme
|
865 |
msgid ""
|
866 |
"Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta "
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
|
6 |
"2.0.3\n"
|
7 |
+
"POT-Creation-Date: 2017-03-28 22:37+0100\n"
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"X-Generator: Poedit 2.0\n"
|
15 |
"X-Poedit-Basepath: ..\n"
|
16 |
"X-Poedit-WPHeader: wonderm00n-open-graph.php\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
91 |
msgid "Settings for 3rd party integration with other plugins."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: admin/options-page-3rdparty.php:16 admin/options-page-3rdparty.php:64
|
95 |
+
#: admin/options-page-3rdparty.php:116
|
96 |
msgid "Attention"
|
97 |
msgstr ""
|
98 |
|
102 |
"This is no recommended."
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: admin/options-page-3rdparty.php:50
|
106 |
msgid "Use Title, URL and Description"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: admin/options-page-3rdparty.php:57
|
110 |
msgid "Use Title, Canonical URL and Description generated by Yoast SEO"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: admin/options-page-3rdparty.php:67
|
114 |
#, php-format
|
115 |
msgid ""
|
116 |
"Because you are using Yoast SEO, and to avoid duplicate social tags, you "
|
120 |
"\">Yoast SEO > Dashboard > Features</a>."
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: admin/options-page-3rdparty.php:81 admin/options-page-3rdparty.php:133
|
124 |
+
#: admin/options-page-3rdparty.php:196 admin/options-page-3rdparty.php:245
|
125 |
+
#: admin/options-page-3rdparty.php:283
|
126 |
#, php-format
|
127 |
msgid "You don't have %s installed or activated."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: admin/options-page-3rdparty.php:102
|
131 |
msgid "Use Title and Description"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: admin/options-page-3rdparty.php:109
|
135 |
msgid "Use Title and Description generated by All in One SEO Pack"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: admin/options-page-3rdparty.php:119
|
139 |
#, php-format
|
140 |
msgid ""
|
141 |
"Because you are using All in One SEO Pack, and to avoid duplicate social "
|
143 |
"\"_blank\">MISSING LINK</a>."
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: admin/options-page-3rdparty.php:149
|
147 |
msgid ""
|
148 |
"On the product page we will automatically set <i>og:type</i> to \"product\" "
|
149 |
"and <i>product:price</i> to the price including tax."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: admin/options-page-3rdparty.php:154
|
153 |
msgid "Use Product Gallery as Images"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: admin/options-page-3rdparty.php:161
|
157 |
msgid ""
|
158 |
"Sets each Product Gallery image as an additional <i>og:image</i> tag so "
|
159 |
"that, when a product is shared on Facebook, the user is given the choice "
|
160 |
"what image to display"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin/options-page-3rdparty.php:163 admin/options-page-facebook.php:24
|
164 |
#: admin/options-page-facebook.php:52 admin/options-page-facebook.php:66
|
165 |
#: admin/options-page-facebook.php:82 admin/options-page-facebook.php:114
|
166 |
+
#: admin/options-page-facebook.php:288 admin/options-page-general.php:126
|
167 |
#: admin/options-page-schema.php:24 admin/options-page-schema.php:38
|
168 |
#: admin/options-page-schema.php:52 admin/options-page-schema.php:70
|
169 |
#: admin/options-page-seo.php:32 admin/options-page-seo.php:54
|
173 |
msgid "You can change this value using the <i>%1$s</i> filter"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: admin/options-page-3rdparty.php:168 admin/options-page-general.php:162
|
177 |
msgid "Overlay PNG logo"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: admin/options-page-3rdparty.php:175
|
181 |
msgid "Also overlay the PNG logo on the Product Gallery images"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: admin/options-page-3rdparty.php:180
|
185 |
msgid "Use Category thumbnail as Image"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: admin/options-page-3rdparty.php:187
|
189 |
msgid ""
|
190 |
"Recommended if you set large thumbnails for Product Categories and want to "
|
191 |
"use them as Open Graph Images on category listing pages"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: admin/options-page-3rdparty.php:216
|
195 |
msgid "Add SubHeading to Post/Page Title"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: admin/options-page-3rdparty.php:227
|
199 |
msgid "SubHeading position"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: admin/options-page-3rdparty.php:230
|
203 |
msgid "After"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: admin/options-page-3rdparty.php:231
|
207 |
msgid "Before"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: admin/options-page-3rdparty.php:265
|
211 |
msgid "Use listing details"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: admin/options-page-3rdparty.php:272
|
215 |
msgid ""
|
216 |
"Use Business Directory Plugin listing details (Title, URL, Description and "
|
217 |
"Image) to populate tags"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: admin/options-page-3rdparty.php:274
|
221 |
msgid ""
|
222 |
"Setting \"Include URL\", \"Set Canonical URL\", \"Include Description\" and "
|
223 |
"\"Include Image\" options is HIGHLY recommended"
|
351 |
msgid "Locale"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: admin/options-page-facebook.php:257
|
355 |
msgid "WordPress current locale/language"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: admin/options-page-facebook.php:278
|
359 |
msgid "List loaded from Facebook (online)"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: admin/options-page-facebook.php:281
|
363 |
msgid "List loaded from local cache (offline)"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: admin/options-page-facebook.php:281
|
367 |
msgid "You\\'l lose any changes you haven\\'t saved. Are you sure?"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: admin/options-page-facebook.php:281
|
371 |
msgid "Reload from Facebook"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: admin/options-page-facebook.php:283
|
375 |
msgid "List not loaded"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: admin/options-page-facebook.php:293
|
379 |
msgid "Include Facebook Admin(s) ID"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: admin/options-page-facebook.php:305
|
383 |
msgid "Facebook Admin(s) ID"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: admin/options-page-facebook.php:312
|
387 |
msgid "Comma separated if more than one"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: admin/options-page-facebook.php:317
|
391 |
msgid "Include Facebook Platform App ID"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: admin/options-page-facebook.php:329
|
395 |
msgid "Facebook Platform App ID"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: admin/options-page-facebook.php:336
|
399 |
msgid "From your Facebook Developers dashboard"
|
400 |
msgstr ""
|
401 |
|
402 |
#: admin/options-page-facebook.php:341
|
403 |
+
msgid "Declaration Method"
|
404 |
+
msgstr ""
|
405 |
+
|
406 |
+
#: admin/options-page-facebook.php:351
|
407 |
+
msgid "or"
|
408 |
+
msgstr ""
|
409 |
+
|
410 |
+
#: admin/options-page-facebook.php:353
|
411 |
+
msgid ""
|
412 |
+
"Prefix is recommended because it validates properly with the W3C validator, "
|
413 |
+
"xmlns is the legacy method"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: admin/options-page-facebook.php:362
|
417 |
msgid "Facebook Open Graph Tags cache"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: admin/options-page-facebook.php:368
|
421 |
msgid "Clear cache"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: admin/options-page-facebook.php:375
|
425 |
msgid ""
|
426 |
"Try to clear the Facebook Open Graph Tags cache when saving a post or page, "
|
427 |
"so the link preview on Facebook is immediately updated"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: admin/options-page-facebook.php:380
|
431 |
msgid "Suppress cache notices"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: admin/options-page-facebook.php:387
|
435 |
msgid ""
|
436 |
"Sometimes we aren't able to update the cache and the post author will see a "
|
437 |
"notice if this option is not checked"
|
861 |
msgid "3rd party"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: public/class-webdados-fb-open-graph-public.php:210
|
865 |
msgid "Price"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: public/class-webdados-fb-open-graph-public.php:280
|
869 |
msgid "Search for"
|
870 |
msgstr ""
|
871 |
|
|
|
872 |
#: public/class-webdados-fb-open-graph-public.php:289
|
873 |
#: public/class-webdados-fb-open-graph-public.php:293
|
874 |
+
#: public/class-webdados-fb-open-graph-public.php:297
|
875 |
msgid "Archives"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#. Plugin Name of the plugin/theme
|
879 |
+
msgid "Facebook Open Graph, Google+ and Twitter Card Tags"
|
880 |
+
msgstr ""
|
881 |
+
|
882 |
#. Description of the plugin/theme
|
883 |
msgid ""
|
884 |
"Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta "
|
public/class-webdados-fb-open-graph-public.php
CHANGED
@@ -110,7 +110,7 @@ class Webdados_FB_Public {
|
|
110 |
// Type if it's a homepage page
|
111 |
if ( is_front_page() ) {
|
112 |
/* Fix homepage type when it's a static page */
|
113 |
-
$fb_url = get_option('home'
|
114 |
$fb_type = trim($this->options['fb_type_homepage']=='' ? 'website' : $this->options['fb_type_homepage']);
|
115 |
}
|
116 |
// Description
|
@@ -198,17 +198,19 @@ class Webdados_FB_Public {
|
|
198 |
$fb_type = 'product';
|
199 |
$product = new WC_Product( $post->ID );
|
200 |
//Price
|
201 |
-
$
|
202 |
-
|
|
|
|
|
203 |
);
|
204 |
-
if ( function_exists('get_woocommerce_currency') ) $fb_additional_tags['property']['
|
205 |
-
|
206 |
);
|
207 |
$fb_additional_tags['name']['twitter_label1'] = array(
|
208 |
__('Price', 'wd-fb-og')
|
209 |
);
|
210 |
if ( function_exists('get_woocommerce_currency') ) $fb_additional_tags['name']['twitter_data1'] = array(
|
211 |
-
$
|
212 |
);
|
213 |
//Additional product images?
|
214 |
if ( intval($this->options['fb_image_show'])==1 && $this->options['fb_wc_useproductgallery']==1 ) {
|
@@ -262,7 +264,7 @@ class Webdados_FB_Public {
|
|
262 |
$term = $wp_query->get_queried_object();
|
263 |
$fb_url = get_term_link($term, $term->taxonomy);
|
264 |
$tax_desc = trim( esc_attr( wp_strip_all_tags( stripslashes( term_description() ), true ) ) );
|
265 |
-
if ( trim($tax_desc)!='' ) $fb_desc = $
|
266 |
//WooCommerce
|
267 |
if ( $webdados_fb->is_woocommerce_active() && intval($this->options['fb_wc_usecategthumb'])==1 && is_product_category() ) {
|
268 |
if ( intval($this->options['fb_image_show'])==1 || intval($this->options['fb_image_show_schema'])==1 || intval($this->options['fb_image_show_twitter'])==1 ) {
|
@@ -498,7 +500,7 @@ class Webdados_FB_Public {
|
|
498 |
$html.=' <!-- Facebook Open Graph -->
|
499 |
';
|
500 |
//Locale
|
501 |
-
if ( intval($this->options['fb_locale_show'])==1 ) $html.=' <meta property="og:locale" content="'.trim(esc_attr( trim($this->options['fb_locale'])!='' ? trim($this->options['fb_locale']) :
|
502 |
';
|
503 |
//Site name
|
504 |
if ( intval($this->options['fb_sitename_show'])==1 ) $html.=' <meta property="og:site_name" content="'.trim(esc_attr(get_bloginfo('name' ))).'"/>
|
@@ -818,6 +820,17 @@ class Webdados_FB_Public {
|
|
818 |
|
819 |
|
820 |
/* Get image size */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
821 |
private function get_open_graph_image_size( $image ) {
|
822 |
$transient_key = 'webdados_og_image_size_' . md5($image);
|
823 |
$transient_val = get_transient($transient_key);
|
@@ -830,14 +843,25 @@ class Webdados_FB_Public {
|
|
830 |
$headers = array(
|
831 |
"Range: bytes=0-32768"
|
832 |
);
|
833 |
-
$
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
841 |
if ( $x=imagesx($im) ) {
|
842 |
//We have to fake the image type - For RSS
|
843 |
$ext = pathinfo($image, PATHINFO_EXTENSION);
|
@@ -866,7 +890,6 @@ class Webdados_FB_Public {
|
|
866 |
} else {
|
867 |
$img_size = false;
|
868 |
}
|
869 |
-
curl_close($curl);
|
870 |
} else {
|
871 |
if ( intval(ini_get('allow_url_fopen' ))==1 ) {
|
872 |
$img_size = getimagesize($image);
|
@@ -890,17 +913,37 @@ class Webdados_FB_Public {
|
|
890 |
|
891 |
/* Add Open Graph Namespace */
|
892 |
public function add_open_graph_namespace($output) {
|
893 |
-
if (
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
901 |
} else {
|
902 |
-
|
903 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
904 |
}
|
905 |
return $output;
|
906 |
}
|
110 |
// Type if it's a homepage page
|
111 |
if ( is_front_page() ) {
|
112 |
/* Fix homepage type when it's a static page */
|
113 |
+
$fb_url = get_option('home').(intval($this->options['fb_url_add_trailing'])==1 ? '/' : '' );
|
114 |
$fb_type = trim($this->options['fb_type_homepage']=='' ? 'website' : $this->options['fb_type_homepage']);
|
115 |
}
|
116 |
// Description
|
198 |
$fb_type = 'product';
|
199 |
$product = new WC_Product( $post->ID );
|
200 |
//Price
|
201 |
+
$price = version_compare( WC_VERSION, '3.0', '>=' ) ? wc_get_price_including_tax($product) : $product->get_price_including_tax();
|
202 |
+
$currency = get_woocommerce_currency();
|
203 |
+
$fb_additional_tags['property']['product_price_amount'] = array(
|
204 |
+
$price
|
205 |
);
|
206 |
+
if ( function_exists('get_woocommerce_currency') ) $fb_additional_tags['property']['product_price_currency'] = array(
|
207 |
+
$currency
|
208 |
);
|
209 |
$fb_additional_tags['name']['twitter_label1'] = array(
|
210 |
__('Price', 'wd-fb-og')
|
211 |
);
|
212 |
if ( function_exists('get_woocommerce_currency') ) $fb_additional_tags['name']['twitter_data1'] = array(
|
213 |
+
$price.' '.get_woocommerce_currency()
|
214 |
);
|
215 |
//Additional product images?
|
216 |
if ( intval($this->options['fb_image_show'])==1 && $this->options['fb_wc_useproductgallery']==1 ) {
|
264 |
$term = $wp_query->get_queried_object();
|
265 |
$fb_url = get_term_link($term, $term->taxonomy);
|
266 |
$tax_desc = trim( esc_attr( wp_strip_all_tags( stripslashes( term_description() ), true ) ) );
|
267 |
+
if ( trim($tax_desc)!='' ) $fb_desc = $tax_desc;
|
268 |
//WooCommerce
|
269 |
if ( $webdados_fb->is_woocommerce_active() && intval($this->options['fb_wc_usecategthumb'])==1 && is_product_category() ) {
|
270 |
if ( intval($this->options['fb_image_show'])==1 || intval($this->options['fb_image_show_schema'])==1 || intval($this->options['fb_image_show_twitter'])==1 ) {
|
500 |
$html.=' <!-- Facebook Open Graph -->
|
501 |
';
|
502 |
//Locale
|
503 |
+
if ( intval($this->options['fb_locale_show'])==1 ) $html.=' <meta property="og:locale" content="'.trim(esc_attr( trim($this->options['fb_locale'])!='' ? trim($this->options['fb_locale']) : $webdados_fb->get_locale() )).'"/>
|
504 |
';
|
505 |
//Site name
|
506 |
if ( intval($this->options['fb_sitename_show'])==1 ) $html.=' <meta property="og:site_name" content="'.trim(esc_attr(get_bloginfo('name' ))).'"/>
|
820 |
|
821 |
|
822 |
/* Get image size */
|
823 |
+
private function get_open_graph_image_size_curl( $image, $headers ) {
|
824 |
+
$curl = curl_init($image);
|
825 |
+
if ( is_array($headers) ) curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
|
826 |
+
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
|
827 |
+
//Set HTTP REFERER and USER AGENT just in case. Some servers may have hotlinking protection
|
828 |
+
curl_setopt($curl, CURLOPT_REFERER, ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ) ? 'https://' : 'http://' ).$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
|
829 |
+
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
|
830 |
+
$data = curl_exec($curl);
|
831 |
+
curl_close($curl);
|
832 |
+
return $data;
|
833 |
+
}
|
834 |
private function get_open_graph_image_size( $image ) {
|
835 |
$transient_key = 'webdados_og_image_size_' . md5($image);
|
836 |
$transient_val = get_transient($transient_key);
|
843 |
$headers = array(
|
844 |
"Range: bytes=0-32768"
|
845 |
);
|
846 |
+
$data = $this->get_open_graph_image_size_curl($image, $headers);
|
847 |
+
if ( $data ) {
|
848 |
+
$done_partial = false;
|
849 |
+
$tried_full = false;
|
850 |
+
try {
|
851 |
+
$im = @imagecreatefromstring($data); //Mute errors because we're not loading the all image
|
852 |
+
if ($im) $done_partial = true;
|
853 |
+
} catch(Exception $e) {
|
854 |
+
//Try again with the whole image - In case of Fatal Error
|
855 |
+
$tried_full = true;
|
856 |
+
$data = $this->get_open_graph_image_size_curl($image, null);
|
857 |
+
$im = @imagecreatefromstring($data);
|
858 |
+
}
|
859 |
+
if ( !$done_partial && !$tried_full ) {
|
860 |
+
//Try again with the whole image - In case of Warning
|
861 |
+
$data = $this->get_open_graph_image_size_curl($image, null);
|
862 |
+
$im = @imagecreatefromstring($data);
|
863 |
+
}
|
864 |
+
if ( $im ) {
|
865 |
if ( $x=imagesx($im) ) {
|
866 |
//We have to fake the image type - For RSS
|
867 |
$ext = pathinfo($image, PATHINFO_EXTENSION);
|
890 |
} else {
|
891 |
$img_size = false;
|
892 |
}
|
|
|
893 |
} else {
|
894 |
if ( intval(ini_get('allow_url_fopen' ))==1 ) {
|
895 |
$img_size = getimagesize($image);
|
913 |
|
914 |
/* Add Open Graph Namespace */
|
915 |
public function add_open_graph_namespace($output) {
|
916 |
+
if ( $this->options['fb_declaration_method']=='prefix' ) {
|
917 |
+
if ( preg_match('/\bprefix=(["\'])([^"\']+)["\']/i', $output, $m) ) {
|
918 |
+
//prefix attribute already there, so let's look into it
|
919 |
+
$prefix = $m[2];
|
920 |
+
if ( !preg_match('/\bog: /', $prefix) ) {
|
921 |
+
//og prefix missing, let's add it
|
922 |
+
$prefix .= ' og: http://ogp.me/ns#';
|
923 |
+
}
|
924 |
+
if ( !preg_match('/\bfb: /', $prefix) ) {
|
925 |
+
//fb prefix missing, let's add it
|
926 |
+
$prefix .= ' fb: http://ogp.me/ns/fb#';
|
927 |
+
}
|
928 |
+
//replace existing prefix attribute with new one
|
929 |
+
$output=str_replace($m[0], 'prefix='.$m[1].$prefix.$m[1], $output);
|
930 |
+
} else {
|
931 |
+
//No prefix attribute there, let's add it
|
932 |
+
$output=$output . ' prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"';
|
933 |
+
}
|
934 |
} else {
|
935 |
+
if ( stristr($output, 'xmlns:og') ) {
|
936 |
+
//Already there
|
937 |
+
} else {
|
938 |
+
//Let's add it
|
939 |
+
$output=$output . ' xmlns:og="http://ogp.me/ns#"';
|
940 |
+
}
|
941 |
+
if ( stristr($output, 'xmlns:fb') ) {
|
942 |
+
//Already there
|
943 |
+
} else {
|
944 |
+
//Let's add it
|
945 |
+
$output=$output . ' xmlns:fb="http://ogp.me/ns/fb#"';
|
946 |
+
}
|
947 |
}
|
948 |
return $output;
|
949 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: webdados, wonderm00n
|
|
3 |
Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
|
4 |
Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 4.7.
|
7 |
-
Stable tag: 2.0.
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
@@ -121,6 +121,15 @@ We DO NOT provide email support for this plugin. If you send us an email asking
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
= 2.0.7 =
|
125 |
* Better error handling when the overlay PNG image is not found or a valid image file;
|
126 |
|
3 |
Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-facebook-open-graph-tags/
|
4 |
Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 4.7.3
|
7 |
+
Stable tag: 2.0.8
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
121 |
|
122 |
== Changelog ==
|
123 |
|
124 |
+
= 2.0.8 =
|
125 |
+
* Tried to fix the white screen of death problem in some server environments
|
126 |
+
* New option to use "prefix" attribute instead of "xmlns" (Thanks thomasbachem)
|
127 |
+
* Tested and adapted to work with WooCommerce 3.0.0-rc.2
|
128 |
+
* Fixed the WooCommerce [product price tag name](https://developers.facebook.com/docs/reference/opengraph/object-type/product/) from `og:` to `product:` (Thanks davidtrebacz)
|
129 |
+
* Fixed a bug on the database version update mechanism
|
130 |
+
* Fixed a bug for custom taxonomy descriptions (Thanks karex)
|
131 |
+
* Bumped `Tested up to` tag
|
132 |
+
|
133 |
= 2.0.7 =
|
134 |
* Better error handling when the overlay PNG image is not found or a valid image file;
|
135 |
|
wonderm00n-open-graph.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 2.0.
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
|
10 |
|
11 |
-
Version: 2.0.
|
12 |
Author: Webdados
|
13 |
Author URI: http://www.webdados.pt
|
14 |
Text Domain: wd-fb-og
|
@@ -17,7 +17,7 @@ Domain Path: /lang
|
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
-
define( 'WEBDADOS_FB_VERSION', '2.0.
|
21 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
22 |
define( 'WEBDADOS_FB_W', 1200 );
|
23 |
define( 'WEBDADOS_FB_H', 630 );
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 2.0.8
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
|
10 |
|
11 |
+
Version: 2.0.8
|
12 |
Author: Webdados
|
13 |
Author URI: http://www.webdados.pt
|
14 |
Text Domain: wd-fb-og
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
19 |
|
20 |
+
define( 'WEBDADOS_FB_VERSION', '2.0.8' );
|
21 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
22 |
define( 'WEBDADOS_FB_W', 1200 );
|
23 |
define( 'WEBDADOS_FB_H', 630 );
|