Version Description
- Fixed event templates
- Fixed album thumbnails
- Fixed jQuery UI error when admin is in https
Download this release
Release Info
Developer | poxtron |
Plugin | WP Embed Facebook |
Version | 1.9.5 |
Comparing to | |
See all releases |
Code changes from version 1.9.6.4 to 1.9.5
- lang/.pot.pot +15 -0
- lang/wp-embed-facebook-en_US.mo +0 -0
- lang/wp-embed-facebook-en_US.po +125 -110
- lang/wp-embed-facebook-es_ES.mo +0 -0
- lang/wp-embed-facebook-es_ES.po +168 -158
- lang/wp-embed-facebook-es_MX.mo +0 -0
- lang/wp-embed-facebook-es_MX.po +0 -213
- lang/wp-embed-facebook.pot +0 -208
- lib/admin.php +11 -12
- lib/core.php +24 -45
- lib/fb/facebook.php +4 -10
- readme.txt +10 -30
- templates/classic/event.php +2 -2
- templates/classic/video.php +1 -1
- templates/default/event.php +2 -2
- templates/default/video.php +1 -1
- wp-embed-facebook.php +1 -1
lang/.pot.pot
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wp-embed-fb\n"
|
4 |
+
"POT-Creation-Date: 2014-02-26 10:48-0600\n"
|
5 |
+
"PO-Revision-Date: 2014-02-26 10:51-0600\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.6.4\n"
|
12 |
+
"X-Poedit-Basepath: .\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"Language: en_US\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
lang/wp-embed-facebook-en_US.mo
CHANGED
Binary file
|
lang/wp-embed-facebook-en_US.po
CHANGED
@@ -1,208 +1,223 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"
|
12 |
-
"X-
|
13 |
-
"X-Poedit-
|
14 |
-
"X-Poedit-
|
15 |
-
"X-Poedit-
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"X-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
msgid "Facebook application data"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: lib/admin.php:
|
28 |
-
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: lib/admin.php:189
|
32 |
-
msgid "App Secret"
|
33 |
-
msgstr ""
|
34 |
-
|
35 |
-
#: lib/admin.php:192
|
36 |
msgid "General Options"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: lib/admin.php:
|
|
|
40 |
msgid "Template to use"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: lib/admin.php:
|
|
|
44 |
msgid "Embed Max-Width"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: lib/admin.php:
|
48 |
-
|
|
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: lib/admin.php:
|
|
|
52 |
msgid "Show follow button <br>on Embedded Profiles"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: lib/admin.php:
|
|
|
56 |
msgid "Embedded Fan Pages"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: lib/admin.php:
|
|
|
60 |
msgid "Show like button"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: lib/admin.php:
|
|
|
64 |
msgid "Show latest posts"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: lib/admin.php:
|
|
|
68 |
msgid "Number of posts"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: lib/admin.php:
|
72 |
-
|
73 |
-
msgstr ""
|
74 |
-
|
75 |
-
#: lib/admin.php:220
|
76 |
msgid "Raw Embedded Options"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: lib/admin.php:
|
|
|
80 |
msgid "Embed Videos Raw"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: lib/admin.php:
|
84 |
-
|
|
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: lib/admin.php:
|
88 |
-
|
|
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: lib/admin.php:
|
|
|
92 |
msgid "Advanced Options"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: lib/admin.php:
|
|
|
96 |
msgid "Enqueue Styles"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: lib/admin.php:
|
|
|
100 |
msgid "Add fb-root on top of content"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: lib/admin.php:
|
104 |
-
|
|
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: lib/admin.php:
|
108 |
-
|
|
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: lib/admin.php:
|
112 |
-
|
|
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: lib/admin.php:
|
|
|
116 |
msgid "Save"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: lib/admin.php:
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
#: lib/admin.php:247
|
124 |
-
msgid "Only $6.99 USD"
|
125 |
-
msgstr ""
|
126 |
-
|
127 |
-
#: lib/admin.php:250
|
128 |
-
msgid "Check it out"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: lib/
|
132 |
-
|
|
|
|
|
133 |
msgstr ""
|
134 |
|
135 |
-
#:
|
136 |
-
|
|
|
|
|
137 |
msgstr ""
|
138 |
|
139 |
-
#:
|
140 |
-
|
|
|
|
|
|
|
|
|
141 |
msgstr ""
|
142 |
|
143 |
-
#:
|
144 |
-
|
|
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: lib/admin.php:
|
148 |
-
|
|
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: lib/
|
152 |
-
|
|
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: lib/
|
156 |
-
|
|
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: lib/
|
160 |
-
|
|
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: lib/core.php:
|
164 |
-
|
|
|
165 |
msgstr ""
|
166 |
|
167 |
-
#:
|
168 |
-
|
169 |
-
|
|
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: templates/
|
173 |
-
|
174 |
-
msgid "
|
175 |
msgstr ""
|
176 |
|
177 |
-
#:
|
178 |
-
|
|
|
179 |
msgstr ""
|
180 |
|
181 |
-
#:
|
182 |
-
|
183 |
-
msgid "
|
184 |
msgstr ""
|
185 |
|
186 |
-
|
187 |
-
|
|
|
188 |
msgstr ""
|
189 |
|
190 |
-
|
191 |
-
|
|
|
192 |
msgstr ""
|
193 |
|
194 |
-
|
195 |
-
|
196 |
-
"
|
197 |
-
"any facebook url to a single line on your post, or use shortcode "
|
198 |
-
"[facebook='url' width='' ] more info at <a href=\"http://www.wpembedfb.com\" "
|
199 |
-
"title=\"plugin website\">www.wpembedfb.com</a>"
|
200 |
msgstr ""
|
201 |
|
202 |
-
|
203 |
-
|
|
|
204 |
msgstr ""
|
205 |
|
206 |
-
#. Author URI of the plugin/theme
|
207 |
-
msgid "http://profiles.wordpress.org/poxtron/"
|
208 |
-
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP Embed Facebook v1.7.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-10-26 12:02-0600\n"
|
6 |
+
"PO-Revision-Date: 2014-11-23 02:31:09+0000\n"
|
7 |
+
"Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: Poedit 1.6.10\n"
|
14 |
+
"X-Poedit-Language: \n"
|
15 |
+
"X-Poedit-Country: \n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"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"
|
18 |
+
"X-Poedit-Basepath: .\n"
|
19 |
+
"X-Poedit-Bookmarks: \n"
|
20 |
+
"X-Poedit-SearchPath-0: ..\n"
|
21 |
+
"X-Textdomain-Support: yes"
|
22 |
+
|
23 |
+
#: lib/admin.php:150
|
24 |
+
#@ wp-embed-facebook
|
25 |
msgid "Facebook application data"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: lib/admin.php:168
|
29 |
+
#@ wp-embed-facebook
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
msgid "General Options"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: lib/admin.php:173
|
34 |
+
#@ wp-embed-facebook
|
35 |
msgid "Template to use"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: lib/admin.php:182
|
39 |
+
#@ wp-embed-facebook
|
40 |
msgid "Embed Max-Width"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: lib/admin.php:188
|
44 |
+
#@ wp-embed-facebook
|
45 |
+
msgid "Number of Photos <br> on Embedded Albums"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: lib/admin.php:194
|
49 |
+
#@ wp-embed-facebook
|
50 |
msgid "Show follow button <br>on Embedded Profiles"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: lib/admin.php:202
|
54 |
+
#@ wp-embed-facebook
|
55 |
msgid "Embedded Fan Pages"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: lib/admin.php:207
|
59 |
+
#@ wp-embed-facebook
|
60 |
msgid "Show like button"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: lib/admin.php:213
|
64 |
+
#@ wp-embed-facebook
|
65 |
msgid "Show latest posts"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: lib/admin.php:219
|
69 |
+
#@ wp-embed-facebook
|
70 |
msgid "Number of posts"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: lib/admin.php:227
|
74 |
+
#@ wp-embed-facebook
|
|
|
|
|
|
|
75 |
msgid "Raw Embedded Options"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: lib/admin.php:232
|
79 |
+
#@ wp-embed-facebook
|
80 |
msgid "Embed Videos Raw"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: lib/admin.php:233
|
84 |
+
#@ wp-embed-facebook
|
85 |
+
msgid "not mobile friendly"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: lib/admin.php:241
|
89 |
+
#@ wp-embed-facebook
|
90 |
+
msgid "Embed Photos Raw"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: lib/admin.php:259
|
94 |
+
#@ wp-embed-facebook
|
95 |
msgid "Advanced Options"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: lib/admin.php:264
|
99 |
+
#@ wp-embed-facebook
|
100 |
msgid "Enqueue Styles"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: lib/admin.php:270
|
104 |
+
#@ wp-embed-facebook
|
105 |
msgid "Add fb-root on top of content"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: lib/admin.php:270
|
109 |
+
#@ wp-embed-facebook
|
110 |
+
msgid "Some themes may not need this"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: lib/admin.php:276
|
114 |
+
#@ wp-embed-facebook
|
115 |
+
msgid "Enqueue Lightbox script"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: lib/admin.php:282
|
119 |
+
#@ wp-embed-facebook
|
120 |
+
msgid "Enqueue WPEmbedFB script"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: lib/admin.php:297
|
124 |
+
#@ wp-embed-facebook
|
125 |
msgid "Save"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: lib/admin.php:324
|
129 |
+
#@ wp-embed-facebook
|
130 |
+
msgid "Plugin Web Site"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: lib/core.php:334
|
134 |
+
#, php-format
|
135 |
+
#@ wp-embed-facebook
|
136 |
+
msgid "%d people like this."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: templates/classic/event.php:33
|
140 |
+
#: templates/default/event.php:37
|
141 |
+
#@ wp-embed-facebook
|
142 |
+
msgid "Creator: "
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: templates/default/com-page.php:25
|
146 |
+
#: templates/default/com-page.php:26
|
147 |
+
#: templates/default/page.php:44
|
148 |
+
#: templates/default/page.php:45
|
149 |
+
#@ wp-embed-facebook
|
150 |
+
msgid "Web Site"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: templates/default/event.php:29
|
154 |
+
#@ wp-embed-facebook
|
155 |
+
msgid "@ "
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: lib/admin.php:288
|
159 |
+
#@ wp-embed-facebook
|
160 |
+
msgid "Enqueue Facebook SDK"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: lib/admin.php:309
|
164 |
+
#@ wp-embed-facebook
|
165 |
+
msgid "Events with cover"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: lib/admin.php:312
|
169 |
+
#@ wp-embed-facebook
|
170 |
+
msgid "Fan Page Full Embed"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: lib/admin.php:323
|
174 |
+
#@ wp-embed-facebook
|
175 |
+
msgid "More information"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: lib/core.php:236
|
179 |
+
#@ wp-embed-facebook
|
180 |
+
msgid "This facebook link is not public"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: templates/classic/page.php:37
|
184 |
+
#: templates/default/page.php:40
|
185 |
+
#@ wp-embed-facebook
|
186 |
+
msgid "category"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: templates/default/posts.php:8
|
190 |
+
#@ wp-embed-facebook
|
191 |
+
msgid "Embedded post will show on publish"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: lib/admin.php:301
|
195 |
+
#@ wp-embed-facebook
|
196 |
+
msgid "PreBuy Premium Version"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: lib/admin.php:302
|
200 |
+
#@ wp-embed-facebook
|
201 |
+
msgid "Only $4.99 USD<br><small style=\"font-size: 12px\">Final Price $6.99 USD</small>"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: lib/admin.php:303
|
205 |
+
#@ wp-embed-facebook
|
206 |
+
msgid "Release January 15th, 2015"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: lib/admin.php:315
|
210 |
+
#@ wp-embed-facebook
|
211 |
+
msgid "More Responsive Templates"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: lib/admin.php:318
|
215 |
+
#@ wp-embed-facebook
|
216 |
+
msgid "One Year Premium Support"
|
|
|
|
|
|
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: lib/admin.php:305
|
220 |
+
#@ wp-embed-facebook
|
221 |
+
msgid "Pre-Buy Now"
|
222 |
msgstr ""
|
223 |
|
|
|
|
|
|
lang/wp-embed-facebook-es_ES.mo
CHANGED
Binary file
|
lang/wp-embed-facebook-es_ES.po
CHANGED
@@ -1,213 +1,223 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
|
|
7 |
"Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"
|
12 |
-
"X-
|
13 |
-
"X-Poedit-
|
|
|
14 |
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
19 |
-
"Language: es\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-
|
22 |
|
23 |
-
#: lib/admin.php:
|
|
|
24 |
msgid "Facebook application data"
|
25 |
-
msgstr "Datos de la
|
26 |
|
27 |
-
#: lib/admin.php:
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
-
#: lib/
|
32 |
-
|
33 |
-
|
|
|
|
|
34 |
|
35 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
msgid "General Options"
|
37 |
msgstr "Opciones Generales"
|
38 |
|
39 |
-
#: lib/admin.php:
|
|
|
40 |
msgid "Template to use"
|
41 |
-
msgstr "
|
42 |
|
43 |
-
#: lib/admin.php:
|
|
|
44 |
msgid "Embed Max-Width"
|
45 |
-
msgstr "
|
46 |
|
47 |
-
#: lib/admin.php:
|
48 |
-
|
49 |
-
|
|
|
50 |
|
51 |
-
#: lib/admin.php:
|
|
|
52 |
msgid "Show follow button <br>on Embedded Profiles"
|
53 |
-
msgstr "Mostrar
|
54 |
|
55 |
-
#: lib/admin.php:
|
|
|
56 |
msgid "Embedded Fan Pages"
|
57 |
-
msgstr "
|
58 |
|
59 |
-
#: lib/admin.php:
|
|
|
60 |
msgid "Show like button"
|
61 |
-
msgstr "Mostrar
|
62 |
|
63 |
-
#: lib/admin.php:
|
|
|
64 |
msgid "Show latest posts"
|
65 |
msgstr "Mostrar publicaciones recientes"
|
66 |
|
67 |
-
#: lib/admin.php:
|
|
|
68 |
msgid "Number of posts"
|
69 |
-
msgstr "
|
70 |
-
|
71 |
-
#: lib/admin.php:218
|
72 |
-
msgid "Show events on local time"
|
73 |
-
msgstr "Mostrar eventos en hora local"
|
74 |
|
75 |
-
#: lib/admin.php:
|
|
|
76 |
msgid "Raw Embedded Options"
|
77 |
-
msgstr "Opciones de
|
78 |
|
79 |
-
#: lib/admin.php:
|
|
|
80 |
msgid "Embed Videos Raw"
|
81 |
-
msgstr "Incrustar
|
82 |
-
|
83 |
-
#: lib/admin.php:222
|
84 |
-
msgid "Embed Photos Raw"
|
85 |
-
msgstr "Incrustar Fotos en Crudo"
|
86 |
|
87 |
-
#: lib/admin.php:
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
#: lib/admin.php:230
|
92 |
-
msgid "Advanced Options"
|
93 |
-
msgstr "Opciones Avanzadas"
|
94 |
|
95 |
-
#: lib/admin.php:
|
96 |
-
|
97 |
-
|
|
|
98 |
|
99 |
-
#: lib/admin.php:
|
|
|
100 |
msgid "Add fb-root on top of content"
|
101 |
-
msgstr "
|
102 |
|
103 |
-
#: lib/admin.php:
|
|
|
104 |
msgid "Enqueue Lightbox script"
|
105 |
-
msgstr "
|
106 |
|
107 |
-
#: lib/admin.php:
|
|
|
108 |
msgid "Enqueue WPEmbedFB script"
|
109 |
-
msgstr "
|
110 |
-
|
111 |
-
#: lib/admin.php:235
|
112 |
-
msgid "Enqueue Facebook SDK"
|
113 |
-
msgstr "Registrar el script SDK de Facebook"
|
114 |
-
|
115 |
-
#: lib/admin.php:240
|
116 |
-
msgid "Save"
|
117 |
-
msgstr "Guardar"
|
118 |
-
|
119 |
-
#: lib/admin.php:245
|
120 |
-
msgid "Premium Version Available"
|
121 |
-
msgstr "Versión Premium disponible"
|
122 |
|
123 |
-
#:
|
124 |
-
|
125 |
-
|
|
|
126 |
|
127 |
-
#: lib/admin.php:
|
128 |
-
|
129 |
-
|
|
|
130 |
|
131 |
-
#: lib/admin.php:
|
|
|
132 |
msgid "Events with cover"
|
133 |
-
msgstr "Eventos con
|
134 |
|
135 |
-
#: lib/admin.php:
|
|
|
136 |
msgid "Fan Page Full Embed"
|
137 |
-
msgstr "Incrustado de
|
138 |
|
139 |
-
#: lib/admin.php:
|
140 |
-
|
141 |
-
msgstr "Soporte Premium por un año"
|
142 |
-
|
143 |
-
#: lib/admin.php:265
|
144 |
msgid "More information"
|
145 |
msgstr "Más información"
|
146 |
|
147 |
-
#: lib/
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
"
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
msgid "
|
180 |
-
msgstr "
|
181 |
-
|
182 |
-
#: templates/default/com-page.php:23 templates/default/com-page.php:24
|
183 |
-
#: templates/default/page.php:37 templates/default/page.php:38
|
184 |
-
msgid "Web Site"
|
185 |
-
msgstr "Sitio Web"
|
186 |
-
|
187 |
-
#. Plugin Name of the plugin/theme
|
188 |
-
msgid "WP Embed Facebook"
|
189 |
-
msgstr "WP Embed Facebook"
|
190 |
-
|
191 |
-
#. Plugin URI of the plugin/theme
|
192 |
-
msgid "http://www.wpembedfb.com"
|
193 |
-
msgstr "http://www.wpembedfb.com"
|
194 |
-
|
195 |
-
#. Description of the plugin/theme
|
196 |
-
msgid ""
|
197 |
-
"Embed a Facebook video, photo, album, event, page, profile, or post. Copy "
|
198 |
-
"any facebook url to a single line on your post, or use shortcode "
|
199 |
-
"[facebook='url' width='' ] more info at <a href=\"http://www.wpembedfb.com\" "
|
200 |
-
"title=\"plugin website\">www.wpembedfb.com</a>"
|
201 |
-
msgstr ""
|
202 |
-
"Incrustar un video, Foto, álbum, evento, página, perfil o publicación de "
|
203 |
-
"Facebook. Copia cualquier url de Facebook en una sola línea en su Post, o "
|
204 |
-
"utiliza el shortcode [facebook = ‘url’ width =‘’] más info en <a "
|
205 |
-
"href=“http://www.wpembedfb.com” title=“plugin website”>www.wpembedfb.com</a>"
|
206 |
|
207 |
-
|
208 |
-
|
209 |
-
|
|
|
210 |
|
211 |
-
#. Author URI of the plugin/theme
|
212 |
-
msgid "http://profiles.wordpress.org/poxtron/"
|
213 |
-
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP Embed Facebook v1.7.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2014-11-23 02:32:55+0000\n"
|
7 |
+
"Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
8 |
"Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: Poedit 1.6.4\n"
|
14 |
+
"X-Poedit-Language: \n"
|
15 |
+
"X-Poedit-Country: \n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"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"
|
18 |
+
"X-Poedit-Basepath: ../\n"
|
19 |
+
"X-Poedit-Bookmarks: \n"
|
|
|
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Textdomain-Support: yes"
|
22 |
|
23 |
+
#: lib/admin.php:150
|
24 |
+
#@ wp-embed-facebook
|
25 |
msgid "Facebook application data"
|
26 |
+
msgstr "Datos de la App de Facebook"
|
27 |
|
28 |
+
#: lib/admin.php:259
|
29 |
+
#@ wp-embed-facebook
|
30 |
+
msgid "Advanced Options"
|
31 |
+
msgstr "Opciones Avanzadas"
|
32 |
+
|
33 |
+
#: lib/admin.php:264
|
34 |
+
#@ wp-embed-facebook
|
35 |
+
msgid "Enqueue Styles"
|
36 |
+
msgstr "Incluir css"
|
37 |
+
|
38 |
+
#: lib/admin.php:270
|
39 |
+
#@ wp-embed-facebook
|
40 |
+
msgid "Some themes may not need this"
|
41 |
+
msgstr "Algunos themes pueden no necesitar esto"
|
42 |
+
|
43 |
+
#: lib/admin.php:297
|
44 |
+
#@ wp-embed-facebook
|
45 |
+
msgid "Save"
|
46 |
+
msgstr "Guardar"
|
47 |
+
|
48 |
+
#: lib/admin.php:324
|
49 |
+
#@ wp-embed-facebook
|
50 |
+
msgid "Plugin Web Site"
|
51 |
+
msgstr "Sitio Web del Plugin"
|
52 |
+
|
53 |
+
#: templates/default/com-page.php:25
|
54 |
+
#: templates/default/com-page.php:26
|
55 |
+
#: templates/default/page.php:44
|
56 |
+
#: templates/default/page.php:45
|
57 |
+
#@ wp-embed-facebook
|
58 |
+
msgid "Web Site"
|
59 |
+
msgstr "Sitio Web"
|
60 |
|
61 |
+
#: lib/core.php:334
|
62 |
+
#, php-format
|
63 |
+
#@ wp-embed-facebook
|
64 |
+
msgid "%d people like this."
|
65 |
+
msgstr "%d les gusta esto"
|
66 |
|
67 |
+
#: templates/classic/event.php:33
|
68 |
+
#: templates/default/event.php:37
|
69 |
+
#@ wp-embed-facebook
|
70 |
+
msgid "Creator: "
|
71 |
+
msgstr "Creador: "
|
72 |
+
|
73 |
+
#: templates/classic/page.php:37
|
74 |
+
#: templates/default/page.php:40
|
75 |
+
#@ wp-embed-facebook
|
76 |
+
msgid "category"
|
77 |
+
msgstr "categoria"
|
78 |
+
|
79 |
+
#: lib/admin.php:168
|
80 |
+
#@ wp-embed-facebook
|
81 |
msgid "General Options"
|
82 |
msgstr "Opciones Generales"
|
83 |
|
84 |
+
#: lib/admin.php:173
|
85 |
+
#@ wp-embed-facebook
|
86 |
msgid "Template to use"
|
87 |
+
msgstr "Template a usar"
|
88 |
|
89 |
+
#: lib/admin.php:182
|
90 |
+
#@ wp-embed-facebook
|
91 |
msgid "Embed Max-Width"
|
92 |
+
msgstr "Ancho máximo del incrustado"
|
93 |
|
94 |
+
#: lib/admin.php:188
|
95 |
+
#@ wp-embed-facebook
|
96 |
+
msgid "Number of Photos <br> on Embedded Albums"
|
97 |
+
msgstr "Numero de fotos <br> en Albumes Incrustados"
|
98 |
|
99 |
+
#: lib/admin.php:194
|
100 |
+
#@ wp-embed-facebook
|
101 |
msgid "Show follow button <br>on Embedded Profiles"
|
102 |
+
msgstr "Mostrar boton de segur <br>en Perfiles Incrustados"
|
103 |
|
104 |
+
#: lib/admin.php:202
|
105 |
+
#@ wp-embed-facebook
|
106 |
msgid "Embedded Fan Pages"
|
107 |
+
msgstr "Incrustación de Fan Pages"
|
108 |
|
109 |
+
#: lib/admin.php:207
|
110 |
+
#@ wp-embed-facebook
|
111 |
msgid "Show like button"
|
112 |
+
msgstr "Mostrar boton me gusta"
|
113 |
|
114 |
+
#: lib/admin.php:213
|
115 |
+
#@ wp-embed-facebook
|
116 |
msgid "Show latest posts"
|
117 |
msgstr "Mostrar publicaciones recientes"
|
118 |
|
119 |
+
#: lib/admin.php:219
|
120 |
+
#@ wp-embed-facebook
|
121 |
msgid "Number of posts"
|
122 |
+
msgstr "Numero de entradas"
|
|
|
|
|
|
|
|
|
123 |
|
124 |
+
#: lib/admin.php:227
|
125 |
+
#@ wp-embed-facebook
|
126 |
msgid "Raw Embedded Options"
|
127 |
+
msgstr "Opciones de incrustaciones en crudo"
|
128 |
|
129 |
+
#: lib/admin.php:232
|
130 |
+
#@ wp-embed-facebook
|
131 |
msgid "Embed Videos Raw"
|
132 |
+
msgstr "Incrustar videos en crudo"
|
|
|
|
|
|
|
|
|
133 |
|
134 |
+
#: lib/admin.php:233
|
135 |
+
#@ wp-embed-facebook
|
136 |
+
msgid "not mobile friendly"
|
137 |
+
msgstr "no amigable con mobiles"
|
|
|
|
|
|
|
138 |
|
139 |
+
#: lib/admin.php:241
|
140 |
+
#@ wp-embed-facebook
|
141 |
+
msgid "Embed Photos Raw"
|
142 |
+
msgstr "Incrustar fotos en crudo"
|
143 |
|
144 |
+
#: lib/admin.php:270
|
145 |
+
#@ wp-embed-facebook
|
146 |
msgid "Add fb-root on top of content"
|
147 |
+
msgstr "Agregar fb-root al inicio del contenido"
|
148 |
|
149 |
+
#: lib/admin.php:276
|
150 |
+
#@ wp-embed-facebook
|
151 |
msgid "Enqueue Lightbox script"
|
152 |
+
msgstr ""
|
153 |
|
154 |
+
#: lib/admin.php:282
|
155 |
+
#@ wp-embed-facebook
|
156 |
msgid "Enqueue WPEmbedFB script"
|
157 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
+
#: templates/default/event.php:29
|
160 |
+
#@ wp-embed-facebook
|
161 |
+
msgid "@ "
|
162 |
+
msgstr "en "
|
163 |
|
164 |
+
#: lib/admin.php:288
|
165 |
+
#@ wp-embed-facebook
|
166 |
+
msgid "Enqueue Facebook SDK"
|
167 |
+
msgstr ""
|
168 |
|
169 |
+
#: lib/admin.php:309
|
170 |
+
#@ wp-embed-facebook
|
171 |
msgid "Events with cover"
|
172 |
+
msgstr "Eventos con portada"
|
173 |
|
174 |
+
#: lib/admin.php:312
|
175 |
+
#@ wp-embed-facebook
|
176 |
msgid "Fan Page Full Embed"
|
177 |
+
msgstr "Incrustado completo de Fan Page"
|
178 |
|
179 |
+
#: lib/admin.php:323
|
180 |
+
#@ wp-embed-facebook
|
|
|
|
|
|
|
181 |
msgid "More information"
|
182 |
msgstr "Más información"
|
183 |
|
184 |
+
#: lib/core.php:236
|
185 |
+
#@ wp-embed-facebook
|
186 |
+
msgid "This facebook link is not public"
|
187 |
+
msgstr "Este link de facebook no es publico"
|
188 |
+
|
189 |
+
#: templates/default/posts.php:8
|
190 |
+
#@ wp-embed-facebook
|
191 |
+
msgid "Embedded post will show on publish"
|
192 |
+
msgstr "Incrustado aparecerá al publicar"
|
193 |
+
|
194 |
+
#: lib/admin.php:301
|
195 |
+
#@ wp-embed-facebook
|
196 |
+
msgid "PreBuy Premium Version"
|
197 |
+
msgstr "Pre-Compra la Versión Premium"
|
198 |
+
|
199 |
+
#: lib/admin.php:302
|
200 |
+
#@ wp-embed-facebook
|
201 |
+
msgid "Only $4.99 USD<br><small style=\"font-size: 12px\">Final Price $6.99 USD</small>"
|
202 |
+
msgstr "Solo $4.99 USD<br><small style=\"font-size: 12px\">Precio Final $6.99 USD</small>"
|
203 |
+
|
204 |
+
#: lib/admin.php:303
|
205 |
+
#@ wp-embed-facebook
|
206 |
+
msgid "Release January 15th, 2015"
|
207 |
+
msgstr "Disponible el 15 de Enero 2015"
|
208 |
+
|
209 |
+
#: lib/admin.php:315
|
210 |
+
#@ wp-embed-facebook
|
211 |
+
msgid "More Responsive Templates"
|
212 |
+
msgstr "Más Templates Responsivos"
|
213 |
+
|
214 |
+
#: lib/admin.php:318
|
215 |
+
#@ wp-embed-facebook
|
216 |
+
msgid "One Year Premium Support"
|
217 |
+
msgstr "Un año de soporte premium"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
+
#: lib/admin.php:305
|
220 |
+
#@ wp-embed-facebook
|
221 |
+
msgid "Pre-Buy Now"
|
222 |
+
msgstr "Pre-Compra Ahora"
|
223 |
|
|
|
|
|
|
lang/wp-embed-facebook-es_MX.mo
DELETED
Binary file
|
lang/wp-embed-facebook-es_MX.po
DELETED
@@ -1,213 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
4 |
-
"Project-Id-Version: WP Embed Facebook\n"
|
5 |
-
"POT-Creation-Date: 2015-08-04 20:33-0500\n"
|
6 |
-
"PO-Revision-Date: 2015-08-04 20:42-0500\n"
|
7 |
-
"Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.8.4\n"
|
12 |
-
"X-Poedit-Basepath: ..\n"
|
13 |
-
"X-Poedit-WPHeader: wp-embed-facebook.php\n"
|
14 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
-
"Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
19 |
-
"Language: es\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
-
|
23 |
-
#: lib/admin.php:187
|
24 |
-
msgid "Facebook application data"
|
25 |
-
msgstr "Datos de la Aplicación de Facebook\t"
|
26 |
-
|
27 |
-
#: lib/admin.php:188
|
28 |
-
msgid "App ID"
|
29 |
-
msgstr "ID de la App"
|
30 |
-
|
31 |
-
#: lib/admin.php:189
|
32 |
-
msgid "App Secret"
|
33 |
-
msgstr "App Secret"
|
34 |
-
|
35 |
-
#: lib/admin.php:192
|
36 |
-
msgid "General Options"
|
37 |
-
msgstr "Opciones Generales"
|
38 |
-
|
39 |
-
#: lib/admin.php:194
|
40 |
-
msgid "Template to use"
|
41 |
-
msgstr "Plantilla a utilizar"
|
42 |
-
|
43 |
-
#: lib/admin.php:210
|
44 |
-
msgid "Embed Max-Width"
|
45 |
-
msgstr "Anchura máxima del incrustado"
|
46 |
-
|
47 |
-
#: lib/admin.php:211
|
48 |
-
msgid "Number of Photos <br>on Embedded Albums"
|
49 |
-
msgstr "Número de fotos<br>en álbumes incrustados"
|
50 |
-
|
51 |
-
#: lib/admin.php:212
|
52 |
-
msgid "Show follow button <br>on Embedded Profiles"
|
53 |
-
msgstr "Mostrar botón de seguir<br>en los perfiles incrustados"
|
54 |
-
|
55 |
-
#: lib/admin.php:214
|
56 |
-
msgid "Embedded Fan Pages"
|
57 |
-
msgstr "Páginas de fans incrustado"
|
58 |
-
|
59 |
-
#: lib/admin.php:215
|
60 |
-
msgid "Show like button"
|
61 |
-
msgstr "Mostrar botón “ME GUSTA”"
|
62 |
-
|
63 |
-
#: lib/admin.php:216
|
64 |
-
msgid "Show latest posts"
|
65 |
-
msgstr "Mostrar publicaciones recientes"
|
66 |
-
|
67 |
-
#: lib/admin.php:217
|
68 |
-
msgid "Number of posts"
|
69 |
-
msgstr "Número de Posts"
|
70 |
-
|
71 |
-
#: lib/admin.php:218
|
72 |
-
msgid "Show events on local time"
|
73 |
-
msgstr "Mostrar eventos en hora local"
|
74 |
-
|
75 |
-
#: lib/admin.php:220
|
76 |
-
msgid "Raw Embedded Options"
|
77 |
-
msgstr "Opciones de Incrustado en crudo"
|
78 |
-
|
79 |
-
#: lib/admin.php:221
|
80 |
-
msgid "Embed Videos Raw"
|
81 |
-
msgstr "Incrustar Videos en Crudo"
|
82 |
-
|
83 |
-
#: lib/admin.php:222
|
84 |
-
msgid "Embed Photos Raw"
|
85 |
-
msgstr "Incrustar Fotos en Crudo"
|
86 |
-
|
87 |
-
#: lib/admin.php:223
|
88 |
-
msgid "Use Facebook embed code on raw videos"
|
89 |
-
msgstr "Usar el código de Facebook para incrustar videos en crudo"
|
90 |
-
|
91 |
-
#: lib/admin.php:230
|
92 |
-
msgid "Advanced Options"
|
93 |
-
msgstr "Opciones Avanzadas"
|
94 |
-
|
95 |
-
#: lib/admin.php:231
|
96 |
-
msgid "Enqueue Styles"
|
97 |
-
msgstr "Registrar el css del plugin"
|
98 |
-
|
99 |
-
#: lib/admin.php:232
|
100 |
-
msgid "Add fb-root on top of content"
|
101 |
-
msgstr "Añadir raíz de fb en la parte superior contenido"
|
102 |
-
|
103 |
-
#: lib/admin.php:233
|
104 |
-
msgid "Enqueue Lightbox script"
|
105 |
-
msgstr "Registrar el script de Lightbox"
|
106 |
-
|
107 |
-
#: lib/admin.php:234
|
108 |
-
msgid "Enqueue WPEmbedFB script"
|
109 |
-
msgstr "Registrar el script del plugin"
|
110 |
-
|
111 |
-
#: lib/admin.php:235
|
112 |
-
msgid "Enqueue Facebook SDK"
|
113 |
-
msgstr "Registrar el script SDK de Facebook"
|
114 |
-
|
115 |
-
#: lib/admin.php:240
|
116 |
-
msgid "Save"
|
117 |
-
msgstr "Guardar"
|
118 |
-
|
119 |
-
#: lib/admin.php:245
|
120 |
-
msgid "Premium Version Available"
|
121 |
-
msgstr "Versión Premium disponible"
|
122 |
-
|
123 |
-
#: lib/admin.php:247
|
124 |
-
msgid "Only $6.99 USD"
|
125 |
-
msgstr "Sólo $6,99 USD"
|
126 |
-
|
127 |
-
#: lib/admin.php:250
|
128 |
-
msgid "Check it out"
|
129 |
-
msgstr "Échale un vistazo!"
|
130 |
-
|
131 |
-
#: lib/admin.php:254
|
132 |
-
msgid "Events with cover"
|
133 |
-
msgstr "Eventos con cubierta"
|
134 |
-
|
135 |
-
#: lib/admin.php:257
|
136 |
-
msgid "Fan Page Full Embed"
|
137 |
-
msgstr "Incrustado de Página Completa"
|
138 |
-
|
139 |
-
#: lib/admin.php:260
|
140 |
-
msgid "One Year Premium Support"
|
141 |
-
msgstr "Soporte Premium por un año"
|
142 |
-
|
143 |
-
#: lib/admin.php:265
|
144 |
-
msgid "More information"
|
145 |
-
msgstr "Más información"
|
146 |
-
|
147 |
-
#: lib/admin.php:268
|
148 |
-
msgid "Plugin Web Site"
|
149 |
-
msgstr "Sitio Web del Plugin"
|
150 |
-
|
151 |
-
#: lib/core.php:218
|
152 |
-
msgid "Add Facebook App ID and Secret on admin to make this plugin work."
|
153 |
-
msgstr ""
|
154 |
-
"Agrega el Facebook App ID y Secret en admin para que este plugin funcione."
|
155 |
-
|
156 |
-
#: lib/core.php:219
|
157 |
-
msgid "WP Embed Facebook Settings"
|
158 |
-
msgstr "Opciones de WP Embed Facebook"
|
159 |
-
|
160 |
-
#: lib/core.php:220
|
161 |
-
msgid "Your Facebook Apps"
|
162 |
-
msgstr "Sus aplicaciones de Facebook"
|
163 |
-
|
164 |
-
#: lib/core.php:292
|
165 |
-
msgid "Error"
|
166 |
-
msgstr "Error"
|
167 |
-
|
168 |
-
#: lib/core.php:434
|
169 |
-
#, php-format
|
170 |
-
msgid "%d people like this."
|
171 |
-
msgstr "a %d personas les gusta."
|
172 |
-
|
173 |
-
#: templates/classic/event.php:33 templates/default/event.php:30
|
174 |
-
#: templates/default/event.php:33
|
175 |
-
msgid "@ "
|
176 |
-
msgstr "en: "
|
177 |
-
|
178 |
-
#: templates/classic/event.php:37 templates/default/event.php:37
|
179 |
-
msgid "Creator: "
|
180 |
-
msgstr "Creador: "
|
181 |
-
|
182 |
-
#: templates/default/com-page.php:23 templates/default/com-page.php:24
|
183 |
-
#: templates/default/page.php:37 templates/default/page.php:38
|
184 |
-
msgid "Web Site"
|
185 |
-
msgstr "Sitio Web"
|
186 |
-
|
187 |
-
#. Plugin Name of the plugin/theme
|
188 |
-
msgid "WP Embed Facebook"
|
189 |
-
msgstr "WP Embed Facebook"
|
190 |
-
|
191 |
-
#. Plugin URI of the plugin/theme
|
192 |
-
msgid "http://www.wpembedfb.com"
|
193 |
-
msgstr "http://www.wpembedfb.com"
|
194 |
-
|
195 |
-
#. Description of the plugin/theme
|
196 |
-
msgid ""
|
197 |
-
"Embed a Facebook video, photo, album, event, page, profile, or post. Copy "
|
198 |
-
"any facebook url to a single line on your post, or use shortcode "
|
199 |
-
"[facebook='url' width='' ] more info at <a href=\"http://www.wpembedfb.com\" "
|
200 |
-
"title=\"plugin website\">www.wpembedfb.com</a>"
|
201 |
-
msgstr ""
|
202 |
-
"Incrustar un video, Foto, álbum, evento, página, perfil o publicación de "
|
203 |
-
"Facebook. Copia cualquier url de Facebook en una sola línea en su Post, o "
|
204 |
-
"utiliza el shortcode [facebook = ‘url’ width =‘’] más info en <a "
|
205 |
-
"href=“http://www.wpembedfb.com” title=“plugin website”>www.wpembedfb.com</a>"
|
206 |
-
|
207 |
-
#. Author of the plugin/theme
|
208 |
-
msgid "Miguel Sirvent"
|
209 |
-
msgstr ""
|
210 |
-
|
211 |
-
#. Author URI of the plugin/theme
|
212 |
-
msgid "http://profiles.wordpress.org/poxtron/"
|
213 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lang/wp-embed-facebook.pot
DELETED
@@ -1,208 +0,0 @@
|
|
1 |
-
#, fuzzy
|
2 |
-
msgid ""
|
3 |
-
msgstr ""
|
4 |
-
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
-
"Project-Id-Version: WP Embed Facebook\n"
|
6 |
-
"POT-Creation-Date: 2015-08-04 20:33-0500\n"
|
7 |
-
"PO-Revision-Date: 2015-08-04 20:31-0500\n"
|
8 |
-
"Last-Translator: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
9 |
-
"Language-Team: Miguel Sirvent <miguel.sirvent@gmail.com>\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.4\n"
|
14 |
-
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-WPHeader: wp-embed-facebook.php\n"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
19 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
-
|
23 |
-
#: lib/admin.php:187
|
24 |
-
msgid "Facebook application data"
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
-
#: lib/admin.php:188
|
28 |
-
msgid "App ID"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: lib/admin.php:189
|
32 |
-
msgid "App Secret"
|
33 |
-
msgstr ""
|
34 |
-
|
35 |
-
#: lib/admin.php:192
|
36 |
-
msgid "General Options"
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: lib/admin.php:194
|
40 |
-
msgid "Template to use"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: lib/admin.php:210
|
44 |
-
msgid "Embed Max-Width"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: lib/admin.php:211
|
48 |
-
msgid "Number of Photos <br>on Embedded Albums"
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: lib/admin.php:212
|
52 |
-
msgid "Show follow button <br>on Embedded Profiles"
|
53 |
-
msgstr ""
|
54 |
-
|
55 |
-
#: lib/admin.php:214
|
56 |
-
msgid "Embedded Fan Pages"
|
57 |
-
msgstr ""
|
58 |
-
|
59 |
-
#: lib/admin.php:215
|
60 |
-
msgid "Show like button"
|
61 |
-
msgstr ""
|
62 |
-
|
63 |
-
#: lib/admin.php:216
|
64 |
-
msgid "Show latest posts"
|
65 |
-
msgstr ""
|
66 |
-
|
67 |
-
#: lib/admin.php:217
|
68 |
-
msgid "Number of posts"
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
-
#: lib/admin.php:218
|
72 |
-
msgid "Show events on local time"
|
73 |
-
msgstr ""
|
74 |
-
|
75 |
-
#: lib/admin.php:220
|
76 |
-
msgid "Raw Embedded Options"
|
77 |
-
msgstr ""
|
78 |
-
|
79 |
-
#: lib/admin.php:221
|
80 |
-
msgid "Embed Videos Raw"
|
81 |
-
msgstr ""
|
82 |
-
|
83 |
-
#: lib/admin.php:222
|
84 |
-
msgid "Embed Photos Raw"
|
85 |
-
msgstr ""
|
86 |
-
|
87 |
-
#: lib/admin.php:223
|
88 |
-
msgid "Use Facebook embed code on raw videos"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: lib/admin.php:230
|
92 |
-
msgid "Advanced Options"
|
93 |
-
msgstr ""
|
94 |
-
|
95 |
-
#: lib/admin.php:231
|
96 |
-
msgid "Enqueue Styles"
|
97 |
-
msgstr ""
|
98 |
-
|
99 |
-
#: lib/admin.php:232
|
100 |
-
msgid "Add fb-root on top of content"
|
101 |
-
msgstr ""
|
102 |
-
|
103 |
-
#: lib/admin.php:233
|
104 |
-
msgid "Enqueue Lightbox script"
|
105 |
-
msgstr ""
|
106 |
-
|
107 |
-
#: lib/admin.php:234
|
108 |
-
msgid "Enqueue WPEmbedFB script"
|
109 |
-
msgstr ""
|
110 |
-
|
111 |
-
#: lib/admin.php:235
|
112 |
-
msgid "Enqueue Facebook SDK"
|
113 |
-
msgstr ""
|
114 |
-
|
115 |
-
#: lib/admin.php:240
|
116 |
-
msgid "Save"
|
117 |
-
msgstr ""
|
118 |
-
|
119 |
-
#: lib/admin.php:245
|
120 |
-
msgid "Premium Version Available"
|
121 |
-
msgstr ""
|
122 |
-
|
123 |
-
#: lib/admin.php:247
|
124 |
-
msgid "Only $6.99 USD"
|
125 |
-
msgstr ""
|
126 |
-
|
127 |
-
#: lib/admin.php:250
|
128 |
-
msgid "Check it out"
|
129 |
-
msgstr ""
|
130 |
-
|
131 |
-
#: lib/admin.php:254
|
132 |
-
msgid "Events with cover"
|
133 |
-
msgstr ""
|
134 |
-
|
135 |
-
#: lib/admin.php:257
|
136 |
-
msgid "Fan Page Full Embed"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#: lib/admin.php:260
|
140 |
-
msgid "One Year Premium Support"
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: lib/admin.php:265
|
144 |
-
msgid "More information"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: lib/admin.php:268
|
148 |
-
msgid "Plugin Web Site"
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: lib/core.php:218
|
152 |
-
msgid "Add Facebook App ID and Secret on admin to make this plugin work."
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: lib/core.php:219
|
156 |
-
msgid "WP Embed Facebook Settings"
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: lib/core.php:220
|
160 |
-
msgid "Your Facebook Apps"
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: lib/core.php:292
|
164 |
-
msgid "Error"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: lib/core.php:434
|
168 |
-
#, php-format
|
169 |
-
msgid "%d people like this."
|
170 |
-
msgstr ""
|
171 |
-
|
172 |
-
#: templates/classic/event.php:33 templates/default/event.php:30
|
173 |
-
#: templates/default/event.php:33
|
174 |
-
msgid "@ "
|
175 |
-
msgstr ""
|
176 |
-
|
177 |
-
#: templates/classic/event.php:37 templates/default/event.php:37
|
178 |
-
msgid "Creator: "
|
179 |
-
msgstr ""
|
180 |
-
|
181 |
-
#: templates/default/com-page.php:23 templates/default/com-page.php:24
|
182 |
-
#: templates/default/page.php:37 templates/default/page.php:38
|
183 |
-
msgid "Web Site"
|
184 |
-
msgstr ""
|
185 |
-
|
186 |
-
#. Plugin Name of the plugin/theme
|
187 |
-
msgid "WP Embed Facebook"
|
188 |
-
msgstr ""
|
189 |
-
|
190 |
-
#. Plugin URI of the plugin/theme
|
191 |
-
msgid "http://www.wpembedfb.com"
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
#. Description of the plugin/theme
|
195 |
-
msgid ""
|
196 |
-
"Embed a Facebook video, photo, album, event, page, profile, or post. Copy "
|
197 |
-
"any facebook url to a single line on your post, or use shortcode "
|
198 |
-
"[facebook='url' width='' ] more info at <a href=\"http://www.wpembedfb.com\" "
|
199 |
-
"title=\"plugin website\">www.wpembedfb.com</a>"
|
200 |
-
msgstr ""
|
201 |
-
|
202 |
-
#. Author of the plugin/theme
|
203 |
-
msgid "Miguel Sirvent"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#. Author URI of the plugin/theme
|
207 |
-
msgid "http://profiles.wordpress.org/poxtron/"
|
208 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/admin.php
CHANGED
@@ -12,14 +12,14 @@ class EmbFbAdmin
|
|
12 |
$url = "https://ajax.googleapis.com/ajax/libs/jqueryui/" . $queryui->ver . "/themes/smoothness/jquery-ui.css";
|
13 |
wp_enqueue_style('jquery-ui-start', $url, false, null);
|
14 |
}
|
15 |
-
$translation_array = array('local' => get_locale(), 'fb_id' =>
|
16 |
wp_localize_script('wpemfb', 'WEF', $translation_array);
|
17 |
wp_enqueue_script('wpemfb');
|
18 |
}
|
19 |
|
20 |
static function admin_init()
|
21 |
{
|
22 |
-
$theme =
|
23 |
add_editor_style(WPEMFBURL . 'templates/' . $theme . '/wpemfb.css');
|
24 |
}
|
25 |
|
@@ -36,13 +36,13 @@ class EmbFbAdmin
|
|
36 |
{
|
37 |
if ($type == 'direct') {
|
38 |
if (isset($_POST[$option])) {
|
39 |
-
|
40 |
}
|
41 |
} else {
|
42 |
if (isset($_POST[$option])) {
|
43 |
-
|
44 |
} else {
|
45 |
-
|
46 |
}
|
47 |
}
|
48 |
}
|
@@ -76,8 +76,8 @@ class EmbFbAdmin
|
|
76 |
self::save_option($option, $type);
|
77 |
}
|
78 |
if (isset($_POST['wpemfb_max_width']) && is_int($_POST['wpemfb_max_width'])) {
|
79 |
-
$prop =
|
80 |
-
|
81 |
}
|
82 |
}
|
83 |
/**
|
@@ -99,7 +99,7 @@ class EmbFbAdmin
|
|
99 |
<th><?php echo $label ?></th>
|
100 |
<td>
|
101 |
<input type="checkbox"
|
102 |
-
name="<?php echo $name ?>" <?php echo (
|
103 |
</td>
|
104 |
</tr>
|
105 |
<?php
|
@@ -113,12 +113,11 @@ class EmbFbAdmin
|
|
113 |
<td>
|
114 |
<input type="<?php echo $type ?>"
|
115 |
name="<?php echo $name ?>" <?php echo isset($args['required']) ? 'required' : '' ?>
|
116 |
-
value="<?php echo
|
117 |
</td>
|
118 |
</tr>
|
119 |
<?php
|
120 |
ob_end_flush();
|
121 |
-
break;
|
122 |
}
|
123 |
}
|
124 |
static function section($title=''){
|
@@ -143,8 +142,8 @@ class EmbFbAdmin
|
|
143 |
self::savedata();
|
144 |
|
145 |
}
|
146 |
-
$sel1 = (
|
147 |
-
$sel2 = (
|
148 |
|
149 |
?>
|
150 |
<style>
|
12 |
$url = "https://ajax.googleapis.com/ajax/libs/jqueryui/" . $queryui->ver . "/themes/smoothness/jquery-ui.css";
|
13 |
wp_enqueue_style('jquery-ui-start', $url, false, null);
|
14 |
}
|
15 |
+
$translation_array = array('local' => get_locale(), 'fb_id' => get_site_option('wpemfb_app_id'), 'fb_root' => get_site_option('wpemfb_fb_root'));
|
16 |
wp_localize_script('wpemfb', 'WEF', $translation_array);
|
17 |
wp_enqueue_script('wpemfb');
|
18 |
}
|
19 |
|
20 |
static function admin_init()
|
21 |
{
|
22 |
+
$theme = get_site_option('wpemfb_theme');
|
23 |
add_editor_style(WPEMFBURL . 'templates/' . $theme . '/wpemfb.css');
|
24 |
}
|
25 |
|
36 |
{
|
37 |
if ($type == 'direct') {
|
38 |
if (isset($_POST[$option])) {
|
39 |
+
update_site_option($option, $_POST[$option]);
|
40 |
}
|
41 |
} else {
|
42 |
if (isset($_POST[$option])) {
|
43 |
+
update_site_option($option, 'true');
|
44 |
} else {
|
45 |
+
update_site_option($option, 'false');
|
46 |
}
|
47 |
}
|
48 |
}
|
76 |
self::save_option($option, $type);
|
77 |
}
|
78 |
if (isset($_POST['wpemfb_max_width']) && is_int($_POST['wpemfb_max_width'])) {
|
79 |
+
$prop = get_site_option('wpemfb_proportions') * $_POST['wpemfb_max_width'];
|
80 |
+
update_site_option('wpemfb_height', $prop);
|
81 |
}
|
82 |
}
|
83 |
/**
|
99 |
<th><?php echo $label ?></th>
|
100 |
<td>
|
101 |
<input type="checkbox"
|
102 |
+
name="<?php echo $name ?>" <?php echo (get_site_option($name) === 'true') ? 'checked' : '' ?> />
|
103 |
</td>
|
104 |
</tr>
|
105 |
<?php
|
113 |
<td>
|
114 |
<input type="<?php echo $type ?>"
|
115 |
name="<?php echo $name ?>" <?php echo isset($args['required']) ? 'required' : '' ?>
|
116 |
+
value="<?php echo get_site_option($name) ?>" size="38"/>
|
117 |
</td>
|
118 |
</tr>
|
119 |
<?php
|
120 |
ob_end_flush();
|
|
|
121 |
}
|
122 |
}
|
123 |
static function section($title=''){
|
142 |
self::savedata();
|
143 |
|
144 |
}
|
145 |
+
$sel1 = (get_site_option('wpemfb_theme') === 'default') ? 'selected' : '';
|
146 |
+
$sel2 = (get_site_option('wpemfb_theme') === 'classic') ? 'selected' : '';
|
147 |
|
148 |
?>
|
149 |
<style>
|
lib/core.php
CHANGED
@@ -11,15 +11,16 @@ class WP_Embed_FB {
|
|
11 |
static $raw = '';
|
12 |
static $premium = '';
|
13 |
static $num_posts = '';
|
|
|
14 |
/**
|
15 |
* Save default values to data base
|
16 |
*/
|
17 |
static function install(){
|
18 |
$defaults = self::getdefaults();
|
19 |
foreach ($defaults as $option => $value) {
|
20 |
-
$opt =
|
21 |
if($opt === false)
|
22 |
-
|
23 |
if(!isset($type))
|
24 |
$type = $opt==false?"activated":"reactivated";
|
25 |
}
|
@@ -31,20 +32,9 @@ class WP_Embed_FB {
|
|
31 |
*/
|
32 |
static function uninstall(){
|
33 |
$defaults = self::getdefaults();
|
34 |
-
|
35 |
-
$
|
36 |
-
|
37 |
-
switch_to_blog($site['blog_id']);
|
38 |
-
foreach ($defaults as $option ) {
|
39 |
-
delete_option($option);
|
40 |
-
}
|
41 |
-
}
|
42 |
-
restore_current_blog();
|
43 |
-
} else {
|
44 |
-
foreach ($defaults as $option ) {
|
45 |
-
delete_option($option);
|
46 |
-
}
|
47 |
-
}
|
48 |
self::whois('uninstalled');
|
49 |
return;
|
50 |
}
|
@@ -193,14 +183,21 @@ class WP_Embed_FB {
|
|
193 |
|
194 |
if (!empty(self::$raw)) {
|
195 |
$raw_photo = self::$raw;
|
|
|
196 |
} else {
|
197 |
$raw_photo = get_option('wpemfb_raw_photo') == 'true' ? 'true' : 'false';
|
|
|
198 |
}
|
199 |
-
//var_dump($raw_video);
|
200 |
-
//die();
|
201 |
//is video
|
202 |
if (isset($vars['v'])) { //is video
|
203 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
}
|
205 |
//photos
|
206 |
if ('photo.php' == $last || (array_search('photos', $clean) !== false)) {
|
@@ -213,14 +210,7 @@ class WP_Embed_FB {
|
|
213 |
}
|
214 |
return self::fb_api_get($fb_id, $match[2], $type);
|
215 |
} else {
|
216 |
-
|
217 |
-
if(is_super_admin()){
|
218 |
-
$return .= '<p>'.__('Add Facebook App ID and Secret on admin to make this plugin work.','wp-embed-facebook').'</p>';
|
219 |
-
$return .= '<p><a href="'.admin_url("options-general.php?page=embedfacebook").'" target="_blank">'.__("WP Embed Facebook Settings","wp-embed-facebook").'</a></p>';
|
220 |
-
$return .= '<p><a href="https://developers.facebook.com/apps" target="_blank">'.__("Your Facebook Apps","wp-embed-facebook").'</a></p>';
|
221 |
-
}
|
222 |
-
$return .= '<p><a href="https://www.facebook.com/'.$match[2].'" target="_blank" rel="nofollow">https://www.facebook.com/'.$match[2].'</a></p>';
|
223 |
-
return $return;
|
224 |
}
|
225 |
|
226 |
}
|
@@ -254,7 +244,7 @@ class WP_Embed_FB {
|
|
254 |
$num_posts = self::$num_posts !== '' && is_numeric(self::$num_posts) ? self::$num_posts : get_option("wpemfb_max_posts");
|
255 |
$api_string2 = '';
|
256 |
if(isset($fb_data['embed_html']))
|
257 |
-
$fb_data = array_merge($fb_data,array('is_video' => '1'
|
258 |
elseif( isset($fb_data['category']) && get_option("wpemfb_show_posts") == "true")
|
259 |
$api_string2 = '/'.$fb_data['id'].'?fields=posts.limit('.$num_posts.'){message,shares,link,picture,object_id,likes.limit(1).summary(true),comments.limit(1).summary(true)}';
|
260 |
|
@@ -289,7 +279,9 @@ class WP_Embed_FB {
|
|
289 |
$res = '<p><a href="https://www.facebook.com/'.$url.'" target="_blank" rel="nofollow">https://www.facebook.com/'.$url.'</a>';
|
290 |
if(is_super_admin()){
|
291 |
$error = $e->getResult();
|
292 |
-
$res .= '<br><span style="color: #4a0e13">'.__('
|
|
|
|
|
293 |
}
|
294 |
$res .= '</p>';
|
295 |
}
|
@@ -303,16 +295,7 @@ class WP_Embed_FB {
|
|
303 |
*/
|
304 |
static function print_fb_data($fb_data){
|
305 |
if(isset($fb_data['is_video'])) { //is raw video
|
306 |
-
|
307 |
-
$raw_video = self::$raw;
|
308 |
-
} else {
|
309 |
-
$raw_video = get_option('wpemfb_raw_video') == 'true' ? 'true' : 'false';
|
310 |
-
}
|
311 |
-
if ($raw_video == 'true') {
|
312 |
-
$template = self::locate_template('video');
|
313 |
-
} else {
|
314 |
-
$template = self::locate_template('posts');
|
315 |
-
}
|
316 |
} elseif(isset($fb_data['is_post'])) { //is post
|
317 |
$template = self::locate_template('posts');
|
318 |
} elseif(isset($fb_data['start_time'])) { //is event
|
@@ -359,6 +342,7 @@ class WP_Embed_FB {
|
|
359 |
$width = self::$width;
|
360 |
$height = self::$height;
|
361 |
}
|
|
|
362 |
$prop = get_option('wpemfb_proportions');
|
363 |
ob_start();
|
364 |
//show embed post on admin
|
@@ -463,12 +447,7 @@ class WP_Embed_FB {
|
|
463 |
*/
|
464 |
static function shortcode($atts){
|
465 |
if(!empty($atts) && isset($atts[0])){
|
466 |
-
|
467 |
-
if( is_numeric($clean) )
|
468 |
-
$url = '<p>https://www.facebook.com/'.$clean.'/</p>';
|
469 |
-
else
|
470 |
-
$url = '<p>'.$clean.'</p>';
|
471 |
-
|
472 |
if(isset($atts['width'])){
|
473 |
$prop = get_option('wpemfb_proportions');
|
474 |
self::$width = $atts['width'];
|
11 |
static $raw = '';
|
12 |
static $premium = '';
|
13 |
static $num_posts = '';
|
14 |
+
static $poster = '';
|
15 |
/**
|
16 |
* Save default values to data base
|
17 |
*/
|
18 |
static function install(){
|
19 |
$defaults = self::getdefaults();
|
20 |
foreach ($defaults as $option => $value) {
|
21 |
+
$opt = get_site_option($option);
|
22 |
if($opt === false)
|
23 |
+
update_site_option($option, $value);
|
24 |
if(!isset($type))
|
25 |
$type = $opt==false?"activated":"reactivated";
|
26 |
}
|
32 |
*/
|
33 |
static function uninstall(){
|
34 |
$defaults = self::getdefaults();
|
35 |
+
foreach ($defaults as $option ) {
|
36 |
+
delete_site_option($option);
|
37 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
self::whois('uninstalled');
|
39 |
return;
|
40 |
}
|
183 |
|
184 |
if (!empty(self::$raw)) {
|
185 |
$raw_photo = self::$raw;
|
186 |
+
$raw_video = self::$raw;
|
187 |
} else {
|
188 |
$raw_photo = get_option('wpemfb_raw_photo') == 'true' ? 'true' : 'false';
|
189 |
+
$raw_video = get_option('wpemfb_raw_video') == 'true' ? 'true' : 'false';
|
190 |
}
|
|
|
|
|
191 |
//is video
|
192 |
if (isset($vars['v'])) { //is video
|
193 |
+
if ($raw_video == 'true') {
|
194 |
+
//$fb_data = array( 'v_id' => $vars['v'], 'is_video' => '' );
|
195 |
+
return self::fb_api_get($vars['v'], $match[2]);
|
196 |
+
//return self::print_fb_data($fb_data);
|
197 |
+
} else {
|
198 |
+
$fb_data = array('link' => $match[2], 'is_post' => '');
|
199 |
+
return self::print_fb_data($fb_data);
|
200 |
+
}
|
201 |
}
|
202 |
//photos
|
203 |
if ('photo.php' == $last || (array_search('photos', $clean) !== false)) {
|
210 |
}
|
211 |
return self::fb_api_get($fb_id, $match[2], $type);
|
212 |
} else {
|
213 |
+
return '<p><a href="https://www.facebook.com/'.$match[2].'" target="_blank" rel="nofollow">https://www.facebook.com/'.$match[2].'</a>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
}
|
215 |
|
216 |
}
|
244 |
$num_posts = self::$num_posts !== '' && is_numeric(self::$num_posts) ? self::$num_posts : get_option("wpemfb_max_posts");
|
245 |
$api_string2 = '';
|
246 |
if(isset($fb_data['embed_html']))
|
247 |
+
$fb_data = array_merge($fb_data,array('is_video' => '1'));
|
248 |
elseif( isset($fb_data['category']) && get_option("wpemfb_show_posts") == "true")
|
249 |
$api_string2 = '/'.$fb_data['id'].'?fields=posts.limit('.$num_posts.'){message,shares,link,picture,object_id,likes.limit(1).summary(true),comments.limit(1).summary(true)}';
|
250 |
|
279 |
$res = '<p><a href="https://www.facebook.com/'.$url.'" target="_blank" rel="nofollow">https://www.facebook.com/'.$url.'</a>';
|
280 |
if(is_super_admin()){
|
281 |
$error = $e->getResult();
|
282 |
+
$res .= '<br><span style="color: #4a0e13">' .__('This facebook link is not public', 'wp-embed-facebook').'</span>';
|
283 |
+
$res .= '<br>';
|
284 |
+
$res .= $error['error']['message'];
|
285 |
}
|
286 |
$res .= '</p>';
|
287 |
}
|
295 |
*/
|
296 |
static function print_fb_data($fb_data){
|
297 |
if(isset($fb_data['is_video'])) { //is raw video
|
298 |
+
$template = self::locate_template('video');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
} elseif(isset($fb_data['is_post'])) { //is post
|
300 |
$template = self::locate_template('posts');
|
301 |
} elseif(isset($fb_data['start_time'])) { //is event
|
342 |
$width = self::$width;
|
343 |
$height = self::$height;
|
344 |
}
|
345 |
+
$poster = self::$poster;
|
346 |
$prop = get_option('wpemfb_proportions');
|
347 |
ob_start();
|
348 |
//show embed post on admin
|
447 |
*/
|
448 |
static function shortcode($atts){
|
449 |
if(!empty($atts) && isset($atts[0])){
|
450 |
+
$url = '<p>'.trim($atts[0],'=').'</p>';
|
|
|
|
|
|
|
|
|
|
|
451 |
if(isset($atts['width'])){
|
452 |
$prop = get_option('wpemfb_proportions');
|
453 |
self::$width = $atts['width'];
|
lib/fb/facebook.php
CHANGED
@@ -45,16 +45,10 @@ class Sigami_Facebook extends BaseFacebook
|
|
45 |
* @see BaseFacebook::__construct in facebook.php
|
46 |
*/
|
47 |
public function __construct($config) {
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
} else {
|
53 |
-
if (session_status() == PHP_SESSION_NONE) {
|
54 |
-
session_start();
|
55 |
-
}
|
56 |
-
}
|
57 |
-
parent::__construct($config);
|
58 |
if (!empty($config['sharedSession'])) {
|
59 |
$this->initSharedSession();
|
60 |
}
|
45 |
* @see BaseFacebook::__construct in facebook.php
|
46 |
*/
|
47 |
public function __construct($config) {
|
48 |
+
if (!session_id()) {
|
49 |
+
session_start();
|
50 |
+
}
|
51 |
+
parent::__construct($config);
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
if (!empty($config['sharedSession'])) {
|
53 |
$this->initSharedSession();
|
54 |
}
|
readme.txt
CHANGED
@@ -3,24 +3,24 @@ Contributors: poxtron
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8Q85GT3Q8Q26
|
4 |
Tags: Facebook, facebook, Social Plugins, embed facebook, facebook video, facebook posts, facebook publication, facebook publications, facebook event, facebook events, facebook pages, facebook page, facebook profiles, facebook album, facebook albums, facebook photos, facebook photo, social,
|
5 |
Requires at least: 3.8.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Embed a Facebook video, page, event, album, photo, profile or post to any
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Embed any public facebook video, page, post, profile, photo or event directly into a WordPress post, without having to write a single line of code. Simply put the facebook url on a separate line on the content of any post, and this plugin will fetch data associated with that url and display it. If the data is not public, like “invite only” events or private profiles it will return a link.
|
16 |
-
|
17 |
**[Demo](http://www.wpembedfb.com/demo/)**
|
18 |
|
|
|
|
|
19 |
= Supported Embeds =
|
20 |
* Facebook Videos
|
21 |
* Facebook Albums
|
22 |
* Facebook Events
|
23 |
-
* Facebook
|
24 |
* Facebook Fan pages
|
25 |
* Facebook Community pages
|
26 |
* Facebook Profiles
|
@@ -34,7 +34,7 @@ Embed any public facebook video, page, post, profile, photo or event directly in
|
|
34 |
= How to use it =
|
35 |
Copy the facebook url on a single line.
|
36 |
Or you can use a shortcode `[facebook=url width=200 raw=true]`
|
37 |
-
width and raw are optional, raw only works for videos and photos
|
38 |
|
39 |
= Options =
|
40 |
* Settings -> Embed Facebook.
|
@@ -67,7 +67,7 @@ It is possible that another plugin or your theme already has the Facebook SDK fo
|
|
67 |
|
68 |
= Is there a way to embed an album with more than 100 photos ? =
|
69 |
|
70 |
-
This is a facebook limitation, will try to work around it.
|
71 |
|
72 |
= How to change embedded post background =
|
73 |
|
@@ -82,26 +82,6 @@ The embedded post code comes directly from facebook so there is no easy way to c
|
|
82 |
|
83 |
== Changelog ==
|
84 |
|
85 |
-
= 1.9.6.4 =
|
86 |
-
* Fixed translation files
|
87 |
-
* Fixed bug on event template
|
88 |
-
|
89 |
-
= 1.9.6.3 =
|
90 |
-
* Fixed MultiSite error
|
91 |
-
* New Shortcode use [facebook=FB_Object_ID ] solution for fb permalinks
|
92 |
-
* Fixed raw attribute on shortcode when url is video
|
93 |
-
|
94 |
-
= 1.9.6.2 =
|
95 |
-
* Local Release
|
96 |
-
|
97 |
-
= 1.9.6.1 =
|
98 |
-
* Fixed headers already sent notice.
|
99 |
-
* Added Links to Facebook Apps and plugin settings
|
100 |
-
* Removed deprecated is_date_only field on event template
|
101 |
-
|
102 |
-
= 1.9.6 =
|
103 |
-
* Fix Fatal Error on non object
|
104 |
-
|
105 |
= 1.9.5 =
|
106 |
* Fixed event templates
|
107 |
* Fixed album thumbnails
|
@@ -215,5 +195,5 @@ The embedded post code comes directly from facebook so there is no easy way to c
|
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
|
218 |
-
= 1.9.
|
219 |
-
* Fixed
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R8Q85GT3Q8Q26
|
4 |
Tags: Facebook, facebook, Social Plugins, embed facebook, facebook video, facebook posts, facebook publication, facebook publications, facebook event, facebook events, facebook pages, facebook page, facebook profiles, facebook album, facebook albums, facebook photos, facebook photo, social,
|
5 |
Requires at least: 3.8.1
|
6 |
+
Tested up to: 4.2.2
|
7 |
+
Stable tag: 1.9.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Embed a Facebook video, page, event, album, photo, profile or post to any Wordpress post or page.
|
12 |
|
13 |
== Description ==
|
14 |
|
|
|
|
|
15 |
**[Demo](http://www.wpembedfb.com/demo/)**
|
16 |
|
17 |
+
Embed any public facebook video, page, post, profile, photo or event directly into a wordpress post, without having to write a single line of code. Simply put the facebook url on a separate line on the content of any post, and this plugin will fetch data associated with that url and display it, if the data is not public, like “invite only” events or private profiles, will return a link.
|
18 |
+
|
19 |
= Supported Embeds =
|
20 |
* Facebook Videos
|
21 |
* Facebook Albums
|
22 |
* Facebook Events
|
23 |
+
* Facebook Fotos
|
24 |
* Facebook Fan pages
|
25 |
* Facebook Community pages
|
26 |
* Facebook Profiles
|
34 |
= How to use it =
|
35 |
Copy the facebook url on a single line.
|
36 |
Or you can use a shortcode `[facebook=url width=200 raw=true]`
|
37 |
+
width and raw are optional, raw only works for videos and photos
|
38 |
|
39 |
= Options =
|
40 |
* Settings -> Embed Facebook.
|
67 |
|
68 |
= Is there a way to embed an album with more than 100 photos ? =
|
69 |
|
70 |
+
This is a facebook limitation, will try to work around it and update this feature on the premium plugin.
|
71 |
|
72 |
= How to change embedded post background =
|
73 |
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
= 1.9.5 =
|
86 |
* Fixed event templates
|
87 |
* Fixed album thumbnails
|
195 |
|
196 |
== Upgrade Notice ==
|
197 |
|
198 |
+
= 1.9.5 =
|
199 |
+
* Fixed event templates & album thumbnails.
|
templates/classic/event.php
CHANGED
@@ -5,9 +5,9 @@
|
|
5 |
*/
|
6 |
?>
|
7 |
<?php
|
8 |
-
$start_time_format = 'l, j F Y g:s a';
|
9 |
$start_time = strtotime($fb_data['start_time']);
|
10 |
-
if (
|
11 |
$start_time = $start_time + get_option('gmt_offset') * 3600; //shows event date on local time
|
12 |
}
|
13 |
?>
|
5 |
*/
|
6 |
?>
|
7 |
<?php
|
8 |
+
$start_time_format = !empty($fb_data['is_date_only']) ? 'l, j F Y' : 'l, j F Y g:s a';
|
9 |
$start_time = strtotime($fb_data['start_time']);
|
10 |
+
if (get_site_option('wpemfb_ev_local_tz', 'true') == 'true') {
|
11 |
$start_time = $start_time + get_option('gmt_offset') * 3600; //shows event date on local time
|
12 |
}
|
13 |
?>
|
templates/classic/video.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
$type_array = explode('.',$file);
|
15 |
$type = end($type_array);
|
16 |
$clean_type = strtolower($type);
|
17 |
-
if(
|
18 |
<?php $end = isset($fb_data['format']) ? end($fb_data['format']) : $fb_data; ?>
|
19 |
|
20 |
<video controls poster="<?php echo $end['picture'] ?>" >
|
14 |
$type_array = explode('.',$file);
|
15 |
$type = end($type_array);
|
16 |
$clean_type = strtolower($type);
|
17 |
+
if( get_site_option('wpemfb_raw_video_fb') == 'false' && $clean_type == 'mp4' ) : ?>
|
18 |
<?php $end = isset($fb_data['format']) ? end($fb_data['format']) : $fb_data; ?>
|
19 |
|
20 |
<video controls poster="<?php echo $end['picture'] ?>" >
|
templates/default/event.php
CHANGED
@@ -4,9 +4,9 @@
|
|
4 |
* to access all fb data print_r($fb_data)
|
5 |
*/
|
6 |
$height = $width * $prop;
|
7 |
-
$start_time_format = 'l, j F Y g:s a';
|
8 |
$start_time = strtotime($fb_data['start_time']);
|
9 |
-
if (
|
10 |
$start_time = $start_time + get_option('gmt_offset') * 3600; //shows event date on local time
|
11 |
}
|
12 |
?>
|
4 |
* to access all fb data print_r($fb_data)
|
5 |
*/
|
6 |
$height = $width * $prop;
|
7 |
+
$start_time_format = !empty($fb_data['is_date_only']) ? 'l, j F Y' : 'l, j F Y g:s a';
|
8 |
$start_time = strtotime($fb_data['start_time']);
|
9 |
+
if (get_site_option('wpemfb_ev_local_tz', 'true') == 'true') {
|
10 |
$start_time = $start_time + get_option('gmt_offset') * 3600; //shows event date on local time
|
11 |
}
|
12 |
?>
|
templates/default/video.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
$type = end($type_array);
|
16 |
$clean_type = strtolower($type);
|
17 |
|
18 |
-
if(
|
19 |
<?php $end = isset($fb_data['format']) ? end($fb_data['format']) : $fb_data; ?>
|
20 |
|
21 |
<video controls poster="<?php echo $end['picture'] ?>" >
|
15 |
$type = end($type_array);
|
16 |
$clean_type = strtolower($type);
|
17 |
|
18 |
+
if( get_site_option('wpemfb_raw_video_fb') == 'false' && $clean_type == 'mp4' ) : ?>
|
19 |
<?php $end = isset($fb_data['format']) ? end($fb_data['format']) : $fb_data; ?>
|
20 |
|
21 |
<video controls poster="<?php echo $end['picture'] ?>" >
|
wp-embed-facebook.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Embed Facebook
|
|
4 |
Plugin URI: http://www.wpembedfb.com
|
5 |
Description: Embed a Facebook video, photo, album, event, page, profile, or post. Copy any facebook url to a single line on your post, or use shortcode [facebook='url' width='' ] more info at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
|
6 |
Author: Miguel Sirvent
|
7 |
-
Version: 1.9.
|
8 |
Author URI: http://profiles.wordpress.org/poxtron/
|
9 |
*/
|
10 |
|
4 |
Plugin URI: http://www.wpembedfb.com
|
5 |
Description: Embed a Facebook video, photo, album, event, page, profile, or post. Copy any facebook url to a single line on your post, or use shortcode [facebook='url' width='' ] more info at <a href="http://www.wpembedfb.com" title="plugin website">www.wpembedfb.com</a>
|
6 |
Author: Miguel Sirvent
|
7 |
+
Version: 1.9.5
|
8 |
Author URI: http://profiles.wordpress.org/poxtron/
|
9 |
*/
|
10 |
|