Version Description
Download this release
Release Info
Developer | qqworld |
Plugin | QQWorld Auto Save Images |
Version | 1.7.12.13 |
Comparing to | |
See all releases |
Code changes from version 1.7.12.12 to 1.7.12.13
- lang/qqworld_auto_save_images-zh_CN.mo +0 -0
- lang/qqworld_auto_save_images-zh_CN.po +190 -165
- qqworld-auto-save-images.php +39 -16
lang/qqworld_auto_save_images-zh_CN.mo
CHANGED
Binary file
|
lang/qqworld_auto_save_images-zh_CN.po
CHANGED
@@ -2,224 +2,222 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: QQworld Auto Save Images\n"
|
4 |
"Report-Msgid-Bugs-To: http://www.qqworld.org\n"
|
5 |
-
"POT-Creation-Date: 2015-02-
|
6 |
-
"PO-Revision-Date: 2015-02-
|
7 |
"Last-Translator: Michael Wang <admin@qqworld.org>\n"
|
8 |
"Language-Team: QQWorld <admin@qqworld.org>\n"
|
9 |
"Language: zh_CN\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
14 |
-
"X-Generator: Poedit 1.7.4\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
18 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
19 |
-
"
|
20 |
-
"
|
21 |
"X-Poedit-Basepath: ..\n"
|
|
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
|
24 |
-
#: qqworld-auto-save-images.php:
|
25 |
msgid "Michael Wang"
|
26 |
msgstr "王晓骞"
|
27 |
|
28 |
-
#: qqworld-auto-save-images.php:
|
29 |
msgid "No taxonomies found."
|
30 |
msgstr "没有相关分类方法。"
|
31 |
|
32 |
-
#: qqworld-auto-save-images.php:
|
33 |
-
#: qqworld-auto-save-images.php:
|
34 |
msgid "All remote images have been saved."
|
35 |
msgstr "已保存所有远程图像。"
|
36 |
|
37 |
-
#: qqworld-auto-save-images.php:
|
38 |
#, php-format
|
39 |
msgid " <a href=\"%s\">View</a>"
|
40 |
msgstr " <a href=\"%s\">查看</a>"
|
41 |
|
42 |
-
#: qqworld-auto-save-images.php:
|
43 |
msgid "Has missing images or image which could not download."
|
44 |
msgstr "内容包含 不存在/无法下载 的图像。"
|
45 |
|
46 |
-
#: qqworld-auto-save-images.php:
|
47 |
msgid "In Process..."
|
48 |
msgstr "正在保存……"
|
49 |
|
50 |
-
#: qqworld-auto-save-images.php:
|
51 |
msgid "Something error, please check."
|
52 |
msgstr "出错了,请检查。"
|
53 |
|
54 |
-
#: qqworld-auto-save-images.php:
|
55 |
msgid ""
|
56 |
"Are you sure?<br />Before you click the yes button, I recommend backup site "
|
57 |
"database."
|
58 |
msgstr "你确定吗?<br />在点击确定按钮之前,我建议你备份网站的数据库。"
|
59 |
|
60 |
-
#: qqworld-auto-save-images.php:
|
61 |
msgid "Please select post types."
|
62 |
msgstr "请选择文章类型。"
|
63 |
|
64 |
-
#: qqworld-auto-save-images.php:
|
65 |
msgid "May be a problem with some posts: "
|
66 |
msgstr "也许一些文章有问题:"
|
67 |
|
68 |
-
#: qqworld-auto-save-images.php:
|
69 |
#, php-format
|
70 |
msgid "No need enter \"%s\"."
|
71 |
msgstr "不需要输入“%s”。"
|
72 |
|
73 |
-
#: qqworld-auto-save-images.php:
|
74 |
#, php-format
|
75 |
msgid "%d post has been scanned."
|
76 |
msgstr "已扫描%d篇文章。"
|
77 |
|
78 |
-
#: qqworld-auto-save-images.php:
|
79 |
#, php-format
|
80 |
msgid "%d posts have been scanned."
|
81 |
msgstr "已扫描%d篇文章。"
|
82 |
|
83 |
-
#: qqworld-auto-save-images.php:
|
84 |
#, php-format
|
85 |
msgid "%d post included remote images processed."
|
86 |
msgstr "已处理%d篇包含远程图像的文章。"
|
87 |
|
88 |
-
#: qqworld-auto-save-images.php:
|
89 |
#, php-format
|
90 |
msgid "%d posts included remote images processed."
|
91 |
msgstr "已处理%d篇包含远程图像的文章。"
|
92 |
|
93 |
-
#: qqworld-auto-save-images.php:
|
94 |
#, php-format
|
95 |
msgid "%d post has missing images couldn't be processed."
|
96 |
msgstr "%d篇包含不存在的远程图像的文章无法处理。"
|
97 |
|
98 |
-
#: qqworld-auto-save-images.php:
|
99 |
#, php-format
|
100 |
msgid "%d posts have missing images couldn't be processed."
|
101 |
msgstr "%d篇包含不存在的远程图像的文章无法处理。"
|
102 |
|
103 |
-
#: qqworld-auto-save-images.php:
|
104 |
#, php-format
|
105 |
msgid "found %d post including remote images."
|
106 |
msgstr "找到%d篇包含远程图像的文章。"
|
107 |
|
108 |
-
#: qqworld-auto-save-images.php:
|
109 |
#, php-format
|
110 |
msgid "found %d posts including remote images."
|
111 |
msgstr "找到%d篇包含远程图像的文章。"
|
112 |
|
113 |
-
#: qqworld-auto-save-images.php:
|
114 |
#, php-format
|
115 |
msgid "And with %d post has missing images."
|
116 |
msgstr "其中有%d篇文章包含不存在的远程图像。"
|
117 |
|
118 |
-
#: qqworld-auto-save-images.php:
|
119 |
#, php-format
|
120 |
msgid "And with %d posts have missing images."
|
121 |
msgstr "其中有%d篇文章包含不存在的远程图像。"
|
122 |
|
123 |
-
#: qqworld-auto-save-images.php:
|
124 |
msgid "No posts processed."
|
125 |
msgstr "未处理任何文章。"
|
126 |
|
127 |
-
#: qqworld-auto-save-images.php:
|
128 |
msgid "No post has remote images found."
|
129 |
msgstr "没有文章包含远程图像。"
|
130 |
|
131 |
-
#: qqworld-auto-save-images.php:
|
132 |
msgid "No posts found."
|
133 |
msgstr "未找到任何文章。"
|
134 |
|
135 |
-
#: qqworld-auto-save-images.php:
|
136 |
msgid "All done."
|
137 |
msgstr "全部完成。"
|
138 |
|
139 |
-
#: qqworld-auto-save-images.php:
|
140 |
#, fuzzy
|
141 |
msgid "Yes"
|
142 |
msgstr "是"
|
143 |
|
144 |
-
#: qqworld-auto-save-images.php:
|
145 |
msgid "No"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: qqworld-auto-save-images.php:
|
149 |
msgid "Scanning..."
|
150 |
msgstr "扫描中……"
|
151 |
|
152 |
-
#: qqworld-auto-save-images.php:
|
153 |
msgid "Listing..."
|
154 |
msgstr "显示列表中……"
|
155 |
|
156 |
-
#: qqworld-auto-save-images.php:
|
157 |
#, fuzzy
|
158 |
msgid "ID"
|
159 |
msgstr "博客ID"
|
160 |
|
161 |
-
#: qqworld-auto-save-images.php:
|
162 |
msgid "Post Type"
|
163 |
msgstr "文章类型"
|
164 |
|
165 |
-
#: qqworld-auto-save-images.php:
|
166 |
#, fuzzy
|
167 |
msgid "Title"
|
168 |
msgstr "标题"
|
169 |
|
170 |
-
#: qqworld-auto-save-images.php:
|
171 |
#, fuzzy
|
172 |
msgid "Status"
|
173 |
msgstr "状态"
|
174 |
|
175 |
-
#: qqworld-auto-save-images.php:
|
176 |
msgid "Control"
|
177 |
msgstr "控制"
|
178 |
|
179 |
-
#: qqworld-auto-save-images.php:
|
180 |
#, fuzzy
|
181 |
msgid "Done"
|
182 |
msgstr "全部完成。"
|
183 |
|
184 |
-
#: qqworld-auto-save-images.php:
|
185 |
#, fuzzy
|
186 |
msgid "Delete"
|
187 |
msgstr "删除"
|
188 |
|
189 |
-
#: qqworld-auto-save-images.php:
|
190 |
msgid "Has missing images."
|
191 |
msgstr "有不存在的远程图像。"
|
192 |
|
193 |
-
#: qqworld-auto-save-images.php:
|
194 |
msgid "Normal"
|
195 |
msgstr "正常"
|
196 |
|
197 |
-
#: qqworld-auto-save-images.php:
|
198 |
msgid "Fetch"
|
199 |
msgstr "抓取"
|
200 |
|
201 |
-
#: qqworld-auto-save-images.php:
|
202 |
msgid "Save Remote Images"
|
203 |
msgstr "保存远程图片"
|
204 |
|
205 |
-
#: qqworld-auto-save-images.php:
|
206 |
#, fuzzy
|
207 |
msgid "Settings"
|
208 |
msgstr "光箱选项"
|
209 |
|
210 |
-
#: qqworld-auto-save-images.php:
|
211 |
msgid "Auto Save Images"
|
212 |
msgstr "自动保存图片"
|
213 |
|
214 |
-
#: qqworld-auto-save-images.php:
|
215 |
msgid "QQWorld Auto Save Images"
|
216 |
msgstr "QQWorld自动保存图片"
|
217 |
|
218 |
-
#: qqworld-auto-save-images.php:
|
219 |
msgid "Installation"
|
220 |
msgstr "安装说明"
|
221 |
|
222 |
-
#: qqworld-auto-save-images.php:
|
223 |
msgid ""
|
224 |
"<ol><li>Make sure the server configuration <strong>allow_url_fopen=1</"
|
225 |
"strong> in php.ini.</li><li>Warning: If your website domain has been "
|
@@ -230,11 +228,11 @@ msgstr ""
|
|
230 |
"告:如果你的网站域名更改了,必须在数据库中将所有的图片链接更新到新域名,否则"
|
231 |
"插件会把未更改的图片再保存一次。</li></ol>"
|
232 |
|
233 |
-
#: qqworld-auto-save-images.php:
|
234 |
msgid "Notice"
|
235 |
msgstr "注意"
|
236 |
|
237 |
-
#: qqworld-auto-save-images.php:
|
238 |
msgid ""
|
239 |
"<ul><li>This plugin has a little problem that is all the image url must be "
|
240 |
"full url, it means must included \"http(s)://\", for example:<ul><li><img "
|
@@ -263,12 +261,12 @@ msgstr ""
|
|
263 |
"让图片的URL完整。<br />所以,如果你碰到这样的代码,请手动将图片地址改成完整"
|
264 |
"的,或者使用采集工具自动补完图片的URL然后从外部提交给Wordpress。"
|
265 |
|
266 |
-
#: qqworld-auto-save-images.php:
|
267 |
#, fuzzy
|
268 |
msgid "About"
|
269 |
msgstr "关于主题"
|
270 |
|
271 |
-
#: qqworld-auto-save-images.php:
|
272 |
msgid ""
|
273 |
"<p>Hi everyone, My name is Michael Wang from china.</p><p>I made this plugin "
|
274 |
"just for play in the first place, after 1 year, oneday someone sent an email "
|
@@ -282,116 +280,130 @@ msgstr ""
|
|
282 |
"后随着越来越多的人向我寻求帮助,我的插件也变得越来越强大。这就是我的插件,我"
|
283 |
"希望你们能喜欢它,谢谢。</p>"
|
284 |
|
285 |
-
#: qqworld-auto-save-images.php:
|
286 |
msgid ""
|
287 |
"Automatically keep the all remote picture to the local, and automatically "
|
288 |
"set featured image."
|
289 |
msgstr ""
|
290 |
"自动保存远程图片到本地,自动设置特色图片,并且支持机器人采集软件从外部提交。"
|
291 |
|
292 |
-
#: qqworld-auto-save-images.php:
|
293 |
msgid "Watermark"
|
294 |
msgstr "水印"
|
295 |
|
296 |
-
#: qqworld-auto-save-images.php:
|
297 |
msgid "Trial"
|
298 |
msgstr "试用"
|
299 |
|
300 |
-
#: qqworld-auto-save-images.php:
|
301 |
msgid "Scan Posts"
|
302 |
msgstr "扫描文章"
|
303 |
|
304 |
-
#: qqworld-auto-save-images.php:
|
305 |
msgid "General Options"
|
306 |
msgstr "常规选项"
|
307 |
|
308 |
-
#: qqworld-auto-save-images.php:
|
309 |
msgid "Mode"
|
310 |
msgstr "模式"
|
311 |
|
312 |
-
#: qqworld-auto-save-images.php:
|
313 |
msgid "Automatic"
|
314 |
msgstr "自动"
|
315 |
|
316 |
-
#: qqworld-auto-save-images.php:
|
317 |
msgid ""
|
318 |
"Automatically save all remote images to local media libary when you save or "
|
319 |
"publish post."
|
320 |
msgstr "在保存或发布文章时,自动将所有远程图像保存到本地媒体库。"
|
321 |
|
322 |
-
#: qqworld-auto-save-images.php:
|
323 |
msgid "Manual"
|
324 |
msgstr "手动"
|
325 |
|
326 |
-
#: qqworld-auto-save-images.php:
|
327 |
msgid ""
|
328 |
"Manually save all remote images to local media libary when you click the "
|
329 |
"button on the top of editor."
|
330 |
msgstr "当单击编辑器顶部的按钮时,手动将所有远程图像保存到本地媒体库。"
|
331 |
|
332 |
-
#: qqworld-auto-save-images.php:
|
333 |
msgid "When"
|
334 |
msgstr "什么时候"
|
335 |
|
336 |
-
#: qqworld-auto-save-images.php:
|
337 |
msgid "Save post (Publish, save draft or pedding review)."
|
338 |
msgstr "保存文章时(发布文章,保存草稿或提交审核)。"
|
339 |
|
340 |
-
#: qqworld-auto-save-images.php:
|
341 |
msgid "Publish post only."
|
342 |
msgstr "仅发布文章时。"
|
343 |
|
344 |
-
#: qqworld-auto-save-images.php:
|
345 |
msgid "Remote Publishing"
|
346 |
msgstr "远程发布"
|
347 |
|
348 |
-
#: qqworld-auto-save-images.php:
|
349 |
msgid ""
|
350 |
"Save remote images via remote publishing from IFTTT or other way using "
|
351 |
"XMLRPC. Only supports publish post."
|
352 |
msgstr "保存通过IFTTT或其他使用XMLRPC方法远程发布的远程图片。仅支持发布文章。"
|
353 |
|
354 |
-
#: qqworld-auto-save-images.php:
|
355 |
msgid "Set Featured Image"
|
356 |
msgstr "设置特色图片"
|
357 |
|
358 |
-
#: qqworld-auto-save-images.php:
|
359 |
msgid "Set first one of the remote images as featured image."
|
360 |
msgstr "设置远程图片中的第1个为特色图片。"
|
361 |
|
362 |
-
#: qqworld-auto-save-images.php:
|
363 |
msgid "Filter Options"
|
364 |
msgstr "过滤选项"
|
365 |
|
366 |
-
#: qqworld-auto-save-images.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
msgid "Minimum Picture Size"
|
368 |
msgstr "最小图像尺寸"
|
369 |
|
370 |
-
#: qqworld-auto-save-images.php:
|
371 |
msgid "Ignore smaller than this size picture."
|
372 |
msgstr "忽略比这个尺寸更小的图像。"
|
373 |
|
374 |
-
#: qqworld-auto-save-images.php:
|
375 |
-
#: qqworld-auto-save-images.php:
|
376 |
msgid "Width:"
|
377 |
msgstr "宽度:"
|
378 |
|
379 |
-
#: qqworld-auto-save-images.php:
|
380 |
-
#: qqworld-auto-save-images.php:
|
381 |
-
#: qqworld-auto-save-images.php:
|
382 |
msgid "(px)"
|
383 |
msgstr "(像素)"
|
384 |
|
385 |
-
#: qqworld-auto-save-images.php:
|
386 |
-
#: qqworld-auto-save-images.php:
|
387 |
msgid "Height:"
|
388 |
msgstr "高度:"
|
389 |
|
390 |
-
#: qqworld-auto-save-images.php:
|
391 |
msgid "Maximum Picture Size"
|
392 |
msgstr "最大图像尺寸"
|
393 |
|
394 |
-
#: qqworld-auto-save-images.php:
|
395 |
msgid ""
|
396 |
"Automatic reduction is greater than the size of the picture. if you want "
|
397 |
"image width less than 800px with any size height, please set width 800 and "
|
@@ -400,31 +412,31 @@ msgstr ""
|
|
400 |
"自动缩小大于该尺寸的图像。如果你想要宽度不超过800px和任意高度图片,请设置宽度"
|
401 |
"800,并设置高度为空。"
|
402 |
|
403 |
-
#: qqworld-auto-save-images.php:
|
404 |
msgid "Your server PHP version lower than 5.4, so this feature not works."
|
405 |
msgstr "服务器PHP的版本低于5.4,所以此功能无法使用。"
|
406 |
|
407 |
-
#: qqworld-auto-save-images.php:
|
408 |
msgid "Exclude Domain/Keyword"
|
409 |
msgstr "排除域名/关键词"
|
410 |
|
411 |
-
#: qqworld-auto-save-images.php:
|
412 |
msgid "Images will not be saved, if that url contains Exclude-Domain/Keyword."
|
413 |
msgstr "如果图片地址包含排除域名/关键词,则不会保存该图片。"
|
414 |
|
415 |
-
#: qqworld-auto-save-images.php:
|
416 |
msgid "Add a Domain/Keyword"
|
417 |
msgstr "添加域名/关键词"
|
418 |
|
419 |
-
#: qqworld-auto-save-images.php:
|
420 |
msgid "Format Options"
|
421 |
msgstr "格式化选项"
|
422 |
|
423 |
-
#: qqworld-auto-save-images.php:
|
424 |
msgid "Change Image Filename"
|
425 |
msgstr "更改图片文件名"
|
426 |
|
427 |
-
#: qqworld-auto-save-images.php:
|
428 |
msgid ""
|
429 |
"Recommeded choose option 2, if you choose option 3, make sure post name | "
|
430 |
"slug exclude Chinese or other East Asian characters. Notices: If your host "
|
@@ -435,210 +447,210 @@ msgstr ""
|
|
435 |
"他东亚字符。提示:如果您的主机操作系统是Linux,可以选择第1项而不会导致乱码,"
|
436 |
"因为Linux的编码是UTF8,和Wordpress一样。"
|
437 |
|
438 |
-
#: qqworld-auto-save-images.php:
|
439 |
msgid ""
|
440 |
"Only change remote images filename that have Non-ASCii characters (for "
|
441 |
"Windows Server)"
|
442 |
msgstr "仅修改包含非ASCii字符的远程图片文件名(用于Windows服务器)"
|
443 |
|
444 |
-
#: qqworld-auto-save-images.php:
|
445 |
msgid ""
|
446 |
"Change all remote images Filename and Alt as post name (for Linux Server)"
|
447 |
msgstr "改变所有远程图片文件名为文章名(Post Name)(用于Linux服务器)"
|
448 |
|
449 |
-
#: qqworld-auto-save-images.php:
|
450 |
msgid "Custom Filename Structure"
|
451 |
msgstr "自定文件名结构"
|
452 |
|
453 |
-
#: qqworld-auto-save-images.php:
|
454 |
msgid "Original filename or automatic changed filename."
|
455 |
msgstr "原文件名或自动更改的文件名。"
|
456 |
|
457 |
-
#: qqworld-auto-save-images.php:
|
458 |
msgid "Full date, e.g. 20150209."
|
459 |
msgstr "完整的日期,例如:20150209。"
|
460 |
|
461 |
-
#: qqworld-auto-save-images.php:
|
462 |
msgid "YYYY, e.g. 2015."
|
463 |
msgstr "YYYY,例如:2015。"
|
464 |
|
465 |
-
#: qqworld-auto-save-images.php:
|
466 |
msgid "MM, e.g. 02."
|
467 |
msgstr "MM,例如:02。"
|
468 |
|
469 |
-
#: qqworld-auto-save-images.php:
|
470 |
msgid "DD, e.g. 15."
|
471 |
msgstr "DD,例如:15。"
|
472 |
|
473 |
-
#: qqworld-auto-save-images.php:
|
474 |
msgid "HHMMSS, e.g. 182547."
|
475 |
msgstr "HHMMSS,例如:182547。"
|
476 |
|
477 |
-
#: qqworld-auto-save-images.php:
|
478 |
#, php-format
|
479 |
msgid "Unix timestamp, e.g. %s."
|
480 |
msgstr "Unix时间戳,例如:%s。"
|
481 |
|
482 |
-
#: qqworld-auto-save-images.php:
|
483 |
msgid "Change Title & Alt"
|
484 |
msgstr "更改标题和替代文本"
|
485 |
|
486 |
-
#: qqworld-auto-save-images.php:
|
487 |
msgid "Automatically add title & alt of image as post title."
|
488 |
msgstr "自动依照文章标题添加图片的标题和替代文本。"
|
489 |
|
490 |
-
#: qqworld-auto-save-images.php:
|
491 |
msgid "Keep Outside Links"
|
492 |
msgstr "保留外链"
|
493 |
|
494 |
-
#: qqworld-auto-save-images.php:
|
495 |
msgid "Keep the outside links of remote images if exist."
|
496 |
msgstr "将会保留远程图片的链接,如果存在的话。"
|
497 |
|
498 |
-
#: qqworld-auto-save-images.php:
|
499 |
msgid "Save Outside Links"
|
500 |
msgstr "保存外链"
|
501 |
|
502 |
-
#: qqworld-auto-save-images.php:
|
503 |
msgid "Save the outside links to description of attachments."
|
504 |
msgstr "保存外部链接到附件的描述。"
|
505 |
|
506 |
-
#: qqworld-auto-save-images.php:
|
507 |
msgid "Image Size"
|
508 |
msgstr "图像尺寸"
|
509 |
|
510 |
-
#: qqworld-auto-save-images.php:
|
511 |
msgid "Replace images you want size to display."
|
512 |
msgstr "替换成你想要显示的尺寸的图像。"
|
513 |
|
514 |
-
#: qqworld-auto-save-images.php:
|
515 |
#, fuzzy
|
516 |
msgid "Thumbnail"
|
517 |
msgstr ""
|
518 |
"一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
|
519 |
"jQuery路径。"
|
520 |
|
521 |
-
#: qqworld-auto-save-images.php:
|
522 |
msgid "Medium"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: qqworld-auto-save-images.php:
|
526 |
msgid "Large"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: qqworld-auto-save-images.php:
|
530 |
#, fuzzy
|
531 |
msgid "Full Size"
|
532 |
msgstr "链接到全尺寸图像"
|
533 |
|
534 |
-
#: qqworld-auto-save-images.php:
|
535 |
msgid "Link To"
|
536 |
msgstr "链接到"
|
537 |
|
538 |
-
#: qqworld-auto-save-images.php:
|
539 |
msgid "If you checked Keep-Outside-Links, this option will not works."
|
540 |
msgstr "如果你勾选了保留外链,本项将不起作用。"
|
541 |
|
542 |
-
#: qqworld-auto-save-images.php:
|
543 |
#, fuzzy
|
544 |
msgid "Media File"
|
545 |
msgstr "添加文件"
|
546 |
|
547 |
-
#: qqworld-auto-save-images.php:
|
548 |
#, fuzzy
|
549 |
msgid "Attachment Page"
|
550 |
msgstr "(附件)"
|
551 |
|
552 |
-
#: qqworld-auto-save-images.php:
|
553 |
msgid "None"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: qqworld-auto-save-images.php:
|
557 |
msgid "Additional Content"
|
558 |
msgstr "额外的内容"
|
559 |
|
560 |
-
#: qqworld-auto-save-images.php:
|
561 |
msgid ""
|
562 |
"This content will be displayed after the each remote images code. you can "
|
563 |
"use [Attachment ID] indicate current attachment ID."
|
564 |
msgstr "此内容将在每个远程图像编码后显示。您可以使用[附件ID]指示当前连接ID。"
|
565 |
|
566 |
-
#: qqworld-auto-save-images.php:
|
567 |
msgid "For example: [Gbuy id='[Attachment ID]']"
|
568 |
msgstr "例如:[Gbuy id='[Attachment ID]']"
|
569 |
|
570 |
-
#: qqworld-auto-save-images.php:
|
571 |
msgid ""
|
572 |
"Just for preview, The complete feature will on the Pro version. Don't worry, "
|
573 |
"other features will be free forever."
|
574 |
msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
|
575 |
|
576 |
-
#: qqworld-auto-save-images.php:
|
577 |
msgid "Enabled Watermark"
|
578 |
msgstr "启用水印"
|
579 |
|
580 |
-
#: qqworld-auto-save-images.php:
|
581 |
msgid "Use for both of remote images and the local upload."
|
582 |
msgstr "同时用于远程图片和本地上传。"
|
583 |
|
584 |
-
#: qqworld-auto-save-images.php:
|
585 |
msgid "Ignore animated GIF"
|
586 |
msgstr "忽略GIF动画"
|
587 |
|
588 |
-
#: qqworld-auto-save-images.php:
|
589 |
msgid "Filter"
|
590 |
msgstr "过滤"
|
591 |
|
592 |
-
#: qqworld-auto-save-images.php:
|
593 |
msgid "Skip images that smaller than this size."
|
594 |
msgstr "跳过比这个尺寸更小的图像。"
|
595 |
|
596 |
-
#: qqworld-auto-save-images.php:
|
597 |
msgid "Align To"
|
598 |
msgstr "对齐方式"
|
599 |
|
600 |
-
#: qqworld-auto-save-images.php:
|
601 |
msgid "Position"
|
602 |
msgstr "位置"
|
603 |
|
604 |
-
#: qqworld-auto-save-images.php:
|
605 |
msgid "You can try to drag the watermark image."
|
606 |
msgstr "你可以试着拖动水印图片。"
|
607 |
|
608 |
-
#: qqworld-auto-save-images.php:
|
609 |
-
#: qqworld-auto-save-images.php:
|
610 |
msgid "Offset"
|
611 |
msgstr "偏移"
|
612 |
|
613 |
-
#: qqworld-auto-save-images.php:
|
614 |
msgid "Opacity"
|
615 |
msgstr "不透明度"
|
616 |
|
617 |
-
#: qqworld-auto-save-images.php:
|
618 |
msgid "Upload Watermark Image"
|
619 |
msgstr "上传水印图片"
|
620 |
|
621 |
-
#: qqworld-auto-save-images.php:
|
622 |
msgid "Insert a Watermark Image"
|
623 |
msgstr "插入水印图片"
|
624 |
|
625 |
-
#: qqworld-auto-save-images.php:
|
626 |
msgid "Default Watermark"
|
627 |
msgstr "默认水印"
|
628 |
|
629 |
-
#: qqworld-auto-save-images.php:
|
630 |
msgid "Buy"
|
631 |
msgstr "购买"
|
632 |
|
633 |
-
#: qqworld-auto-save-images.php:
|
634 |
msgid "Coming.. I don't know when, Who cares.."
|
635 |
msgstr "即将…我不知道什么时候,管它呢……"
|
636 |
|
637 |
-
#: qqworld-auto-save-images.php:
|
638 |
msgid "Select post types"
|
639 |
msgstr "选择文章类型"
|
640 |
|
641 |
-
#: qqworld-auto-save-images.php:
|
642 |
msgid ""
|
643 |
"If you have too many posts to be scan, sometimes in process looks like "
|
644 |
"stopping, but it may be fake. please be patient."
|
@@ -646,20 +658,20 @@ msgstr ""
|
|
646 |
"如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
|
647 |
"请耐心等待。"
|
648 |
|
649 |
-
#: qqworld-auto-save-images.php:
|
650 |
#, fuzzy
|
651 |
msgid "Categories"
|
652 |
msgstr "%s分类"
|
653 |
|
654 |
-
#: qqworld-auto-save-images.php:
|
655 |
msgid "Default empty to scan all categories."
|
656 |
msgstr "默认留空扫描所有分类。"
|
657 |
|
658 |
-
#: qqworld-auto-save-images.php:
|
659 |
msgid "Scope of Post ID"
|
660 |
msgstr "文章ID范围"
|
661 |
|
662 |
-
#: qqworld-auto-save-images.php:
|
663 |
msgid ""
|
664 |
"Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
|
665 |
"100. please type '50' and '100' or '100' and '50', The order in which two "
|
@@ -670,12 +682,12 @@ msgstr ""
|
|
670 |
"者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
|
671 |
"该ID。"
|
672 |
|
673 |
-
#: qqworld-auto-save-images.php:
|
674 |
#, php-format
|
675 |
msgid "From %1$s to %2$s"
|
676 |
msgstr "从 %1$s 到 %2$s"
|
677 |
|
678 |
-
#: qqworld-auto-save-images.php:
|
679 |
msgid ""
|
680 |
"Default scan all posts. If you want to scan 50-150 posts, please type '50' "
|
681 |
"in the textfield and select '100'."
|
@@ -683,68 +695,68 @@ msgstr ""
|
|
683 |
"默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
|
684 |
"选择“100”。"
|
685 |
|
686 |
-
#: qqworld-auto-save-images.php:
|
687 |
#, php-format
|
688 |
msgid "Start from %s to Scan"
|
689 |
msgstr "从 %s 开始扫描"
|
690 |
|
691 |
-
#: qqworld-auto-save-images.php:
|
692 |
#, fuzzy
|
693 |
msgid "All"
|
694 |
msgstr "所有"
|
695 |
|
696 |
-
#: qqworld-auto-save-images.php:
|
697 |
#, fuzzy
|
698 |
msgid "Posts"
|
699 |
msgstr "热门文章"
|
700 |
|
701 |
-
#: qqworld-auto-save-images.php:
|
702 |
msgid "Any"
|
703 |
msgstr "任意"
|
704 |
|
705 |
-
#: qqworld-auto-save-images.php:
|
706 |
msgid "Order By"
|
707 |
msgstr "排序依据"
|
708 |
|
709 |
-
#: qqworld-auto-save-images.php:
|
710 |
#, fuzzy
|
711 |
msgid "Author"
|
712 |
msgstr "名称"
|
713 |
|
714 |
-
#: qqworld-auto-save-images.php:
|
715 |
#, fuzzy
|
716 |
msgid "Date"
|
717 |
msgstr "日期"
|
718 |
|
719 |
-
#: qqworld-auto-save-images.php:
|
720 |
#, fuzzy
|
721 |
msgid "Last Modified"
|
722 |
msgstr "最后回复"
|
723 |
|
724 |
-
#: qqworld-auto-save-images.php:
|
725 |
msgid "Comment Count"
|
726 |
msgstr "评论数"
|
727 |
|
728 |
-
#: qqworld-auto-save-images.php:
|
729 |
#, fuzzy
|
730 |
msgid "Order"
|
731 |
msgstr "顺序"
|
732 |
|
733 |
-
#: qqworld-auto-save-images.php:
|
734 |
msgid "Speed"
|
735 |
msgstr "速度"
|
736 |
|
737 |
-
#: qqworld-auto-save-images.php:
|
738 |
msgid "If the server is too much stress may be appropriately reduced speed."
|
739 |
msgstr "如果服务器压力过大,可以适当调低速度。"
|
740 |
|
741 |
-
#: qqworld-auto-save-images.php:
|
742 |
msgid ""
|
743 |
"Scan posts and keep remote images in all posts to local media library. Maybe "
|
744 |
"take a long time."
|
745 |
msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
|
746 |
|
747 |
-
#: qqworld-auto-save-images.php:
|
748 |
msgid ""
|
749 |
"The list displayed will show you which posts including remote images, then "
|
750 |
"you can keep them to local manually via click \"Fetch\" button."
|
@@ -752,18 +764,31 @@ msgstr ""
|
|
752 |
"显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
|
753 |
"存。"
|
754 |
|
755 |
-
#: qqworld-auto-save-images.php:
|
756 |
msgid "Has Missing/Undownloadable images."
|
757 |
msgstr "有 不存在/不可下载 的远程图像。"
|
758 |
|
759 |
-
#: qqworld-auto-save-images.php:
|
760 |
msgid "No remote images found."
|
761 |
msgstr "没有远程图像。"
|
762 |
|
763 |
-
#: qqworld-auto-save-images.php:
|
764 |
msgid "Original Link"
|
765 |
msgstr "原始链接"
|
766 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
767 |
#~ msgid ""
|
768 |
#~ "Only change remote images filename that has Chinese or other East Asian "
|
769 |
#~ "characters (for Windows Server)"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: QQworld Auto Save Images\n"
|
4 |
"Report-Msgid-Bugs-To: http://www.qqworld.org\n"
|
5 |
+
"POT-Creation-Date: 2015-02-13 09:46+0800\n"
|
6 |
+
"PO-Revision-Date: 2015-02-13 09:46+0800\n"
|
7 |
"Last-Translator: Michael Wang <admin@qqworld.org>\n"
|
8 |
"Language-Team: QQWorld <admin@qqworld.org>\n"
|
9 |
"Language: zh_CN\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
|
|
13 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
14 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
15 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
16 |
+
"X-Generator: Poedit 1.7.4\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"X-Poedit-Basepath: ..\n"
|
19 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
+
#: qqworld-auto-save-images.php:39
|
23 |
msgid "Michael Wang"
|
24 |
msgstr "王晓骞"
|
25 |
|
26 |
+
#: qqworld-auto-save-images.php:131
|
27 |
msgid "No taxonomies found."
|
28 |
msgstr "没有相关分类方法。"
|
29 |
|
30 |
+
#: qqworld-auto-save-images.php:139 qqworld-auto-save-images.php:313
|
31 |
+
#: qqworld-auto-save-images.php:1018
|
32 |
msgid "All remote images have been saved."
|
33 |
msgstr "已保存所有远程图像。"
|
34 |
|
35 |
+
#: qqworld-auto-save-images.php:139 qqworld-auto-save-images.php:140
|
36 |
#, php-format
|
37 |
msgid " <a href=\"%s\">View</a>"
|
38 |
msgstr " <a href=\"%s\">查看</a>"
|
39 |
|
40 |
+
#: qqworld-auto-save-images.php:140
|
41 |
msgid "Has missing images or image which could not download."
|
42 |
msgstr "内容包含 不存在/无法下载 的图像。"
|
43 |
|
44 |
+
#: qqworld-auto-save-images.php:161
|
45 |
msgid "In Process..."
|
46 |
msgstr "正在保存……"
|
47 |
|
48 |
+
#: qqworld-auto-save-images.php:162
|
49 |
msgid "Something error, please check."
|
50 |
msgstr "出错了,请检查。"
|
51 |
|
52 |
+
#: qqworld-auto-save-images.php:184
|
53 |
msgid ""
|
54 |
"Are you sure?<br />Before you click the yes button, I recommend backup site "
|
55 |
"database."
|
56 |
msgstr "你确定吗?<br />在点击确定按钮之前,我建议你备份网站的数据库。"
|
57 |
|
58 |
+
#: qqworld-auto-save-images.php:185 qqworld-auto-save-images.php:827
|
59 |
msgid "Please select post types."
|
60 |
msgstr "请选择文章类型。"
|
61 |
|
62 |
+
#: qqworld-auto-save-images.php:186
|
63 |
msgid "May be a problem with some posts: "
|
64 |
msgstr "也许一些文章有问题:"
|
65 |
|
66 |
+
#: qqworld-auto-save-images.php:187
|
67 |
#, php-format
|
68 |
msgid "No need enter \"%s\"."
|
69 |
msgstr "不需要输入“%s”。"
|
70 |
|
71 |
+
#: qqworld-auto-save-images.php:188
|
72 |
#, php-format
|
73 |
msgid "%d post has been scanned."
|
74 |
msgstr "已扫描%d篇文章。"
|
75 |
|
76 |
+
#: qqworld-auto-save-images.php:189
|
77 |
#, php-format
|
78 |
msgid "%d posts have been scanned."
|
79 |
msgstr "已扫描%d篇文章。"
|
80 |
|
81 |
+
#: qqworld-auto-save-images.php:190
|
82 |
#, php-format
|
83 |
msgid "%d post included remote images processed."
|
84 |
msgstr "已处理%d篇包含远程图像的文章。"
|
85 |
|
86 |
+
#: qqworld-auto-save-images.php:191
|
87 |
#, php-format
|
88 |
msgid "%d posts included remote images processed."
|
89 |
msgstr "已处理%d篇包含远程图像的文章。"
|
90 |
|
91 |
+
#: qqworld-auto-save-images.php:192
|
92 |
#, php-format
|
93 |
msgid "%d post has missing images couldn't be processed."
|
94 |
msgstr "%d篇包含不存在的远程图像的文章无法处理。"
|
95 |
|
96 |
+
#: qqworld-auto-save-images.php:193
|
97 |
#, php-format
|
98 |
msgid "%d posts have missing images couldn't be processed."
|
99 |
msgstr "%d篇包含不存在的远程图像的文章无法处理。"
|
100 |
|
101 |
+
#: qqworld-auto-save-images.php:194
|
102 |
#, php-format
|
103 |
msgid "found %d post including remote images."
|
104 |
msgstr "找到%d篇包含远程图像的文章。"
|
105 |
|
106 |
+
#: qqworld-auto-save-images.php:195
|
107 |
#, php-format
|
108 |
msgid "found %d posts including remote images."
|
109 |
msgstr "找到%d篇包含远程图像的文章。"
|
110 |
|
111 |
+
#: qqworld-auto-save-images.php:196
|
112 |
#, php-format
|
113 |
msgid "And with %d post has missing images."
|
114 |
msgstr "其中有%d篇文章包含不存在的远程图像。"
|
115 |
|
116 |
+
#: qqworld-auto-save-images.php:197
|
117 |
#, php-format
|
118 |
msgid "And with %d posts have missing images."
|
119 |
msgstr "其中有%d篇文章包含不存在的远程图像。"
|
120 |
|
121 |
+
#: qqworld-auto-save-images.php:198
|
122 |
msgid "No posts processed."
|
123 |
msgstr "未处理任何文章。"
|
124 |
|
125 |
+
#: qqworld-auto-save-images.php:199
|
126 |
msgid "No post has remote images found."
|
127 |
msgstr "没有文章包含远程图像。"
|
128 |
|
129 |
+
#: qqworld-auto-save-images.php:200
|
130 |
msgid "No posts found."
|
131 |
msgstr "未找到任何文章。"
|
132 |
|
133 |
+
#: qqworld-auto-save-images.php:201
|
134 |
msgid "All done."
|
135 |
msgstr "全部完成。"
|
136 |
|
137 |
+
#: qqworld-auto-save-images.php:202
|
138 |
#, fuzzy
|
139 |
msgid "Yes"
|
140 |
msgstr "是"
|
141 |
|
142 |
+
#: qqworld-auto-save-images.php:203 qqworld-auto-save-images.php:572
|
143 |
msgid "No"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: qqworld-auto-save-images.php:204
|
147 |
msgid "Scanning..."
|
148 |
msgstr "扫描中……"
|
149 |
|
150 |
+
#: qqworld-auto-save-images.php:205
|
151 |
msgid "Listing..."
|
152 |
msgstr "显示列表中……"
|
153 |
|
154 |
+
#: qqworld-auto-save-images.php:206 qqworld-auto-save-images.php:869
|
155 |
#, fuzzy
|
156 |
msgid "ID"
|
157 |
msgstr "博客ID"
|
158 |
|
159 |
+
#: qqworld-auto-save-images.php:207
|
160 |
msgid "Post Type"
|
161 |
msgstr "文章类型"
|
162 |
|
163 |
+
#: qqworld-auto-save-images.php:208 qqworld-auto-save-images.php:871
|
164 |
#, fuzzy
|
165 |
msgid "Title"
|
166 |
msgstr "标题"
|
167 |
|
168 |
+
#: qqworld-auto-save-images.php:209 qqworld-auto-save-images.php:849
|
169 |
#, fuzzy
|
170 |
msgid "Status"
|
171 |
msgstr "状态"
|
172 |
|
173 |
+
#: qqworld-auto-save-images.php:210
|
174 |
msgid "Control"
|
175 |
msgstr "控制"
|
176 |
|
177 |
+
#: qqworld-auto-save-images.php:211
|
178 |
#, fuzzy
|
179 |
msgid "Done"
|
180 |
msgstr "全部完成。"
|
181 |
|
182 |
+
#: qqworld-auto-save-images.php:212 qqworld-auto-save-images.php:554
|
183 |
#, fuzzy
|
184 |
msgid "Delete"
|
185 |
msgstr "删除"
|
186 |
|
187 |
+
#: qqworld-auto-save-images.php:313 qqworld-auto-save-images.php:347
|
188 |
msgid "Has missing images."
|
189 |
msgstr "有不存在的远程图像。"
|
190 |
|
191 |
+
#: qqworld-auto-save-images.php:347
|
192 |
msgid "Normal"
|
193 |
msgstr "正常"
|
194 |
|
195 |
+
#: qqworld-auto-save-images.php:348
|
196 |
msgid "Fetch"
|
197 |
msgstr "抓取"
|
198 |
|
199 |
+
#: qqworld-auto-save-images.php:390
|
200 |
msgid "Save Remote Images"
|
201 |
msgstr "保存远程图片"
|
202 |
|
203 |
+
#: qqworld-auto-save-images.php:401 qqworld-auto-save-images.php:444
|
204 |
#, fuzzy
|
205 |
msgid "Settings"
|
206 |
msgstr "光箱选项"
|
207 |
|
208 |
+
#: qqworld-auto-save-images.php:409
|
209 |
msgid "Auto Save Images"
|
210 |
msgstr "自动保存图片"
|
211 |
|
212 |
+
#: qqworld-auto-save-images.php:411 qqworld-auto-save-images.php:438
|
213 |
msgid "QQWorld Auto Save Images"
|
214 |
msgstr "QQWorld自动保存图片"
|
215 |
|
216 |
+
#: qqworld-auto-save-images.php:420
|
217 |
msgid "Installation"
|
218 |
msgstr "安装说明"
|
219 |
|
220 |
+
#: qqworld-auto-save-images.php:421
|
221 |
msgid ""
|
222 |
"<ol><li>Make sure the server configuration <strong>allow_url_fopen=1</"
|
223 |
"strong> in php.ini.</li><li>Warning: If your website domain has been "
|
228 |
"告:如果你的网站域名更改了,必须在数据库中将所有的图片链接更新到新域名,否则"
|
229 |
"插件会把未更改的图片再保存一次。</li></ol>"
|
230 |
|
231 |
+
#: qqworld-auto-save-images.php:425
|
232 |
msgid "Notice"
|
233 |
msgstr "注意"
|
234 |
|
235 |
+
#: qqworld-auto-save-images.php:426
|
236 |
msgid ""
|
237 |
"<ul><li>This plugin has a little problem that is all the image url must be "
|
238 |
"full url, it means must included \"http(s)://\", for example:<ul><li><img "
|
261 |
"让图片的URL完整。<br />所以,如果你碰到这样的代码,请手动将图片地址改成完整"
|
262 |
"的,或者使用采集工具自动补完图片的URL然后从外部提交给Wordpress。"
|
263 |
|
264 |
+
#: qqworld-auto-save-images.php:430
|
265 |
#, fuzzy
|
266 |
msgid "About"
|
267 |
msgstr "关于主题"
|
268 |
|
269 |
+
#: qqworld-auto-save-images.php:431
|
270 |
msgid ""
|
271 |
"<p>Hi everyone, My name is Michael Wang from china.</p><p>I made this plugin "
|
272 |
"just for play in the first place, after 1 year, oneday someone sent an email "
|
280 |
"后随着越来越多的人向我寻求帮助,我的插件也变得越来越强大。这就是我的插件,我"
|
281 |
"希望你们能喜欢它,谢谢。</p>"
|
282 |
|
283 |
+
#: qqworld-auto-save-images.php:439
|
284 |
msgid ""
|
285 |
"Automatically keep the all remote picture to the local, and automatically "
|
286 |
"set featured image."
|
287 |
msgstr ""
|
288 |
"自动保存远程图片到本地,自动设置特色图片,并且支持机器人采集软件从外部提交。"
|
289 |
|
290 |
+
#: qqworld-auto-save-images.php:445
|
291 |
msgid "Watermark"
|
292 |
msgstr "水印"
|
293 |
|
294 |
+
#: qqworld-auto-save-images.php:445
|
295 |
msgid "Trial"
|
296 |
msgstr "试用"
|
297 |
|
298 |
+
#: qqworld-auto-save-images.php:446
|
299 |
msgid "Scan Posts"
|
300 |
msgstr "扫描文章"
|
301 |
|
302 |
+
#: qqworld-auto-save-images.php:449
|
303 |
msgid "General Options"
|
304 |
msgstr "常规选项"
|
305 |
|
306 |
+
#: qqworld-auto-save-images.php:453 qqworld-auto-save-images.php:455
|
307 |
msgid "Mode"
|
308 |
msgstr "模式"
|
309 |
|
310 |
+
#: qqworld-auto-save-images.php:458 qqworld-auto-save-images.php:907
|
311 |
msgid "Automatic"
|
312 |
msgstr "自动"
|
313 |
|
314 |
+
#: qqworld-auto-save-images.php:459
|
315 |
msgid ""
|
316 |
"Automatically save all remote images to local media libary when you save or "
|
317 |
"publish post."
|
318 |
msgstr "在保存或发布文章时,自动将所有远程图像保存到本地媒体库。"
|
319 |
|
320 |
+
#: qqworld-auto-save-images.php:462 qqworld-auto-save-images.php:908
|
321 |
msgid "Manual"
|
322 |
msgstr "手动"
|
323 |
|
324 |
+
#: qqworld-auto-save-images.php:463
|
325 |
msgid ""
|
326 |
"Manually save all remote images to local media libary when you click the "
|
327 |
"button on the top of editor."
|
328 |
msgstr "当单击编辑器顶部的按钮时,手动将所有远程图像保存到本地媒体库。"
|
329 |
|
330 |
+
#: qqworld-auto-save-images.php:468 qqworld-auto-save-images.php:470
|
331 |
msgid "When"
|
332 |
msgstr "什么时候"
|
333 |
|
334 |
+
#: qqworld-auto-save-images.php:473
|
335 |
msgid "Save post (Publish, save draft or pedding review)."
|
336 |
msgstr "保存文章时(发布文章,保存草稿或提交审核)。"
|
337 |
|
338 |
+
#: qqworld-auto-save-images.php:477
|
339 |
msgid "Publish post only."
|
340 |
msgstr "仅发布文章时。"
|
341 |
|
342 |
+
#: qqworld-auto-save-images.php:483 qqworld-auto-save-images.php:485
|
343 |
msgid "Remote Publishing"
|
344 |
msgstr "远程发布"
|
345 |
|
346 |
+
#: qqworld-auto-save-images.php:483
|
347 |
msgid ""
|
348 |
"Save remote images via remote publishing from IFTTT or other way using "
|
349 |
"XMLRPC. Only supports publish post."
|
350 |
msgstr "保存通过IFTTT或其他使用XMLRPC方法远程发布的远程图片。仅支持发布文章。"
|
351 |
|
352 |
+
#: qqworld-auto-save-images.php:493 qqworld-auto-save-images.php:495
|
353 |
msgid "Set Featured Image"
|
354 |
msgstr "设置特色图片"
|
355 |
|
356 |
+
#: qqworld-auto-save-images.php:493
|
357 |
msgid "Set first one of the remote images as featured image."
|
358 |
msgstr "设置远程图片中的第1个为特色图片。"
|
359 |
|
360 |
+
#: qqworld-auto-save-images.php:503
|
361 |
msgid "Filter Options"
|
362 |
msgstr "过滤选项"
|
363 |
|
364 |
+
#: qqworld-auto-save-images.php:507 qqworld-auto-save-images.php:509
|
365 |
+
msgid "Grabbing from Each Posts"
|
366 |
+
msgstr "从每篇文章抓取"
|
367 |
+
|
368 |
+
#: qqworld-auto-save-images.php:511
|
369 |
+
msgid "All Images"
|
370 |
+
msgstr "全部图片"
|
371 |
+
|
372 |
+
#: qqworld-auto-save-images.php:515
|
373 |
+
#, php-format
|
374 |
+
msgid "First %d image only"
|
375 |
+
msgid_plural "First %d images only"
|
376 |
+
msgstr[0] "前 %d 张图片"
|
377 |
+
|
378 |
+
#: qqworld-auto-save-images.php:522 qqworld-auto-save-images.php:524
|
379 |
msgid "Minimum Picture Size"
|
380 |
msgstr "最小图像尺寸"
|
381 |
|
382 |
+
#: qqworld-auto-save-images.php:522
|
383 |
msgid "Ignore smaller than this size picture."
|
384 |
msgstr "忽略比这个尺寸更小的图像。"
|
385 |
|
386 |
+
#: qqworld-auto-save-images.php:526 qqworld-auto-save-images.php:538
|
387 |
+
#: qqworld-auto-save-images.php:707
|
388 |
msgid "Width:"
|
389 |
msgstr "宽度:"
|
390 |
|
391 |
+
#: qqworld-auto-save-images.php:526 qqworld-auto-save-images.php:529
|
392 |
+
#: qqworld-auto-save-images.php:538 qqworld-auto-save-images.php:541
|
393 |
+
#: qqworld-auto-save-images.php:707 qqworld-auto-save-images.php:710
|
394 |
msgid "(px)"
|
395 |
msgstr "(像素)"
|
396 |
|
397 |
+
#: qqworld-auto-save-images.php:529 qqworld-auto-save-images.php:541
|
398 |
+
#: qqworld-auto-save-images.php:710
|
399 |
msgid "Height:"
|
400 |
msgstr "高度:"
|
401 |
|
402 |
+
#: qqworld-auto-save-images.php:534 qqworld-auto-save-images.php:536
|
403 |
msgid "Maximum Picture Size"
|
404 |
msgstr "最大图像尺寸"
|
405 |
|
406 |
+
#: qqworld-auto-save-images.php:534
|
407 |
msgid ""
|
408 |
"Automatic reduction is greater than the size of the picture. if you want "
|
409 |
"image width less than 800px with any size height, please set width 800 and "
|
412 |
"自动缩小大于该尺寸的图像。如果你想要宽度不超过800px和任意高度图片,请设置宽度"
|
413 |
"800,并设置高度为空。"
|
414 |
|
415 |
+
#: qqworld-auto-save-images.php:534
|
416 |
msgid "Your server PHP version lower than 5.4, so this feature not works."
|
417 |
msgstr "服务器PHP的版本低于5.4,所以此功能无法使用。"
|
418 |
|
419 |
+
#: qqworld-auto-save-images.php:546 qqworld-auto-save-images.php:548
|
420 |
msgid "Exclude Domain/Keyword"
|
421 |
msgstr "排除域名/关键词"
|
422 |
|
423 |
+
#: qqworld-auto-save-images.php:546
|
424 |
msgid "Images will not be saved, if that url contains Exclude-Domain/Keyword."
|
425 |
msgstr "如果图片地址包含排除域名/关键词,则不会保存该图片。"
|
426 |
|
427 |
+
#: qqworld-auto-save-images.php:558
|
428 |
msgid "Add a Domain/Keyword"
|
429 |
msgstr "添加域名/关键词"
|
430 |
|
431 |
+
#: qqworld-auto-save-images.php:563
|
432 |
msgid "Format Options"
|
433 |
msgstr "格式化选项"
|
434 |
|
435 |
+
#: qqworld-auto-save-images.php:567 qqworld-auto-save-images.php:570
|
436 |
msgid "Change Image Filename"
|
437 |
msgstr "更改图片文件名"
|
438 |
|
439 |
+
#: qqworld-auto-save-images.php:567
|
440 |
msgid ""
|
441 |
"Recommeded choose option 2, if you choose option 3, make sure post name | "
|
442 |
"slug exclude Chinese or other East Asian characters. Notices: If your host "
|
447 |
"他东亚字符。提示:如果您的主机操作系统是Linux,可以选择第1项而不会导致乱码,"
|
448 |
"因为Linux的编码是UTF8,和Wordpress一样。"
|
449 |
|
450 |
+
#: qqworld-auto-save-images.php:573
|
451 |
msgid ""
|
452 |
"Only change remote images filename that have Non-ASCii characters (for "
|
453 |
"Windows Server)"
|
454 |
msgstr "仅修改包含非ASCii字符的远程图片文件名(用于Windows服务器)"
|
455 |
|
456 |
+
#: qqworld-auto-save-images.php:574
|
457 |
msgid ""
|
458 |
"Change all remote images Filename and Alt as post name (for Linux Server)"
|
459 |
msgstr "改变所有远程图片文件名为文章名(Post Name)(用于Linux服务器)"
|
460 |
|
461 |
+
#: qqworld-auto-save-images.php:579 qqworld-auto-save-images.php:581
|
462 |
msgid "Custom Filename Structure"
|
463 |
msgstr "自定文件名结构"
|
464 |
|
465 |
+
#: qqworld-auto-save-images.php:586
|
466 |
msgid "Original filename or automatic changed filename."
|
467 |
msgstr "原文件名或自动更改的文件名。"
|
468 |
|
469 |
+
#: qqworld-auto-save-images.php:587
|
470 |
msgid "Full date, e.g. 20150209."
|
471 |
msgstr "完整的日期,例如:20150209。"
|
472 |
|
473 |
+
#: qqworld-auto-save-images.php:588
|
474 |
msgid "YYYY, e.g. 2015."
|
475 |
msgstr "YYYY,例如:2015。"
|
476 |
|
477 |
+
#: qqworld-auto-save-images.php:589
|
478 |
msgid "MM, e.g. 02."
|
479 |
msgstr "MM,例如:02。"
|
480 |
|
481 |
+
#: qqworld-auto-save-images.php:590
|
482 |
msgid "DD, e.g. 15."
|
483 |
msgstr "DD,例如:15。"
|
484 |
|
485 |
+
#: qqworld-auto-save-images.php:591
|
486 |
msgid "HHMMSS, e.g. 182547."
|
487 |
msgstr "HHMMSS,例如:182547。"
|
488 |
|
489 |
+
#: qqworld-auto-save-images.php:592
|
490 |
#, php-format
|
491 |
msgid "Unix timestamp, e.g. %s."
|
492 |
msgstr "Unix时间戳,例如:%s。"
|
493 |
|
494 |
+
#: qqworld-auto-save-images.php:597 qqworld-auto-save-images.php:599
|
495 |
msgid "Change Title & Alt"
|
496 |
msgstr "更改标题和替代文本"
|
497 |
|
498 |
+
#: qqworld-auto-save-images.php:597
|
499 |
msgid "Automatically add title & alt of image as post title."
|
500 |
msgstr "自动依照文章标题添加图片的标题和替代文本。"
|
501 |
|
502 |
+
#: qqworld-auto-save-images.php:606 qqworld-auto-save-images.php:608
|
503 |
msgid "Keep Outside Links"
|
504 |
msgstr "保留外链"
|
505 |
|
506 |
+
#: qqworld-auto-save-images.php:606
|
507 |
msgid "Keep the outside links of remote images if exist."
|
508 |
msgstr "将会保留远程图片的链接,如果存在的话。"
|
509 |
|
510 |
+
#: qqworld-auto-save-images.php:615 qqworld-auto-save-images.php:617
|
511 |
msgid "Save Outside Links"
|
512 |
msgstr "保存外链"
|
513 |
|
514 |
+
#: qqworld-auto-save-images.php:615
|
515 |
msgid "Save the outside links to description of attachments."
|
516 |
msgstr "保存外部链接到附件的描述。"
|
517 |
|
518 |
+
#: qqworld-auto-save-images.php:624 qqworld-auto-save-images.php:626
|
519 |
msgid "Image Size"
|
520 |
msgstr "图像尺寸"
|
521 |
|
522 |
+
#: qqworld-auto-save-images.php:624
|
523 |
msgid "Replace images you want size to display."
|
524 |
msgstr "替换成你想要显示的尺寸的图像。"
|
525 |
|
526 |
+
#: qqworld-auto-save-images.php:631
|
527 |
#, fuzzy
|
528 |
msgid "Thumbnail"
|
529 |
msgstr ""
|
530 |
"一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
|
531 |
"jQuery路径。"
|
532 |
|
533 |
+
#: qqworld-auto-save-images.php:632
|
534 |
msgid "Medium"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: qqworld-auto-save-images.php:633
|
538 |
msgid "Large"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: qqworld-auto-save-images.php:634
|
542 |
#, fuzzy
|
543 |
msgid "Full Size"
|
544 |
msgstr "链接到全尺寸图像"
|
545 |
|
546 |
+
#: qqworld-auto-save-images.php:643 qqworld-auto-save-images.php:645
|
547 |
msgid "Link To"
|
548 |
msgstr "链接到"
|
549 |
|
550 |
+
#: qqworld-auto-save-images.php:643
|
551 |
msgid "If you checked Keep-Outside-Links, this option will not works."
|
552 |
msgstr "如果你勾选了保留外链,本项将不起作用。"
|
553 |
|
554 |
+
#: qqworld-auto-save-images.php:650
|
555 |
#, fuzzy
|
556 |
msgid "Media File"
|
557 |
msgstr "添加文件"
|
558 |
|
559 |
+
#: qqworld-auto-save-images.php:651
|
560 |
#, fuzzy
|
561 |
msgid "Attachment Page"
|
562 |
msgstr "(附件)"
|
563 |
|
564 |
+
#: qqworld-auto-save-images.php:652
|
565 |
msgid "None"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: qqworld-auto-save-images.php:661 qqworld-auto-save-images.php:663
|
569 |
msgid "Additional Content"
|
570 |
msgstr "额外的内容"
|
571 |
|
572 |
+
#: qqworld-auto-save-images.php:661
|
573 |
msgid ""
|
574 |
"This content will be displayed after the each remote images code. you can "
|
575 |
"use [Attachment ID] indicate current attachment ID."
|
576 |
msgstr "此内容将在每个远程图像编码后显示。您可以使用[附件ID]指示当前连接ID。"
|
577 |
|
578 |
+
#: qqworld-auto-save-images.php:666
|
579 |
msgid "For example: [Gbuy id='[Attachment ID]']"
|
580 |
msgstr "例如:[Gbuy id='[Attachment ID]']"
|
581 |
|
582 |
+
#: qqworld-auto-save-images.php:679
|
583 |
msgid ""
|
584 |
"Just for preview, The complete feature will on the Pro version. Don't worry, "
|
585 |
"other features will be free forever."
|
586 |
msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
|
587 |
|
588 |
+
#: qqworld-auto-save-images.php:683 qqworld-auto-save-images.php:685
|
589 |
msgid "Enabled Watermark"
|
590 |
msgstr "启用水印"
|
591 |
|
592 |
+
#: qqworld-auto-save-images.php:683
|
593 |
msgid "Use for both of remote images and the local upload."
|
594 |
msgstr "同时用于远程图片和本地上传。"
|
595 |
|
596 |
+
#: qqworld-auto-save-images.php:693 qqworld-auto-save-images.php:695
|
597 |
msgid "Ignore animated GIF"
|
598 |
msgstr "忽略GIF动画"
|
599 |
|
600 |
+
#: qqworld-auto-save-images.php:703 qqworld-auto-save-images.php:705
|
601 |
msgid "Filter"
|
602 |
msgstr "过滤"
|
603 |
|
604 |
+
#: qqworld-auto-save-images.php:703
|
605 |
msgid "Skip images that smaller than this size."
|
606 |
msgstr "跳过比这个尺寸更小的图像。"
|
607 |
|
608 |
+
#: qqworld-auto-save-images.php:716
|
609 |
msgid "Align To"
|
610 |
msgstr "对齐方式"
|
611 |
|
612 |
+
#: qqworld-auto-save-images.php:738
|
613 |
msgid "Position"
|
614 |
msgstr "位置"
|
615 |
|
616 |
+
#: qqworld-auto-save-images.php:738
|
617 |
msgid "You can try to drag the watermark image."
|
618 |
msgstr "你可以试着拖动水印图片。"
|
619 |
|
620 |
+
#: qqworld-auto-save-images.php:755 qqworld-auto-save-images.php:757
|
621 |
+
#: qqworld-auto-save-images.php:836
|
622 |
msgid "Offset"
|
623 |
msgstr "偏移"
|
624 |
|
625 |
+
#: qqworld-auto-save-images.php:768 qqworld-auto-save-images.php:770
|
626 |
msgid "Opacity"
|
627 |
msgstr "不透明度"
|
628 |
|
629 |
+
#: qqworld-auto-save-images.php:778 qqworld-auto-save-images.php:780
|
630 |
msgid "Upload Watermark Image"
|
631 |
msgstr "上传水印图片"
|
632 |
|
633 |
+
#: qqworld-auto-save-images.php:782
|
634 |
msgid "Insert a Watermark Image"
|
635 |
msgstr "插入水印图片"
|
636 |
|
637 |
+
#: qqworld-auto-save-images.php:793
|
638 |
msgid "Default Watermark"
|
639 |
msgstr "默认水印"
|
640 |
|
641 |
+
#: qqworld-auto-save-images.php:797
|
642 |
msgid "Buy"
|
643 |
msgstr "购买"
|
644 |
|
645 |
+
#: qqworld-auto-save-images.php:798
|
646 |
msgid "Coming.. I don't know when, Who cares.."
|
647 |
msgstr "即将…我不知道什么时候,管它呢……"
|
648 |
|
649 |
+
#: qqworld-auto-save-images.php:812
|
650 |
msgid "Select post types"
|
651 |
msgstr "选择文章类型"
|
652 |
|
653 |
+
#: qqworld-auto-save-images.php:812
|
654 |
msgid ""
|
655 |
"If you have too many posts to be scan, sometimes in process looks like "
|
656 |
"stopping, but it may be fake. please be patient."
|
658 |
"如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
|
659 |
"请耐心等待。"
|
660 |
|
661 |
+
#: qqworld-auto-save-images.php:826
|
662 |
#, fuzzy
|
663 |
msgid "Categories"
|
664 |
msgstr "%s分类"
|
665 |
|
666 |
+
#: qqworld-auto-save-images.php:826
|
667 |
msgid "Default empty to scan all categories."
|
668 |
msgstr "默认留空扫描所有分类。"
|
669 |
|
670 |
+
#: qqworld-auto-save-images.php:831
|
671 |
msgid "Scope of Post ID"
|
672 |
msgstr "文章ID范围"
|
673 |
|
674 |
+
#: qqworld-auto-save-images.php:831
|
675 |
msgid ""
|
676 |
"Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
|
677 |
"100. please type '50' and '100' or '100' and '50', The order in which two "
|
682 |
"者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
|
683 |
"该ID。"
|
684 |
|
685 |
+
#: qqworld-auto-save-images.php:832
|
686 |
#, php-format
|
687 |
msgid "From %1$s to %2$s"
|
688 |
msgstr "从 %1$s 到 %2$s"
|
689 |
|
690 |
+
#: qqworld-auto-save-images.php:836
|
691 |
msgid ""
|
692 |
"Default scan all posts. If you want to scan 50-150 posts, please type '50' "
|
693 |
"in the textfield and select '100'."
|
695 |
"默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
|
696 |
"选择“100”。"
|
697 |
|
698 |
+
#: qqworld-auto-save-images.php:838
|
699 |
#, php-format
|
700 |
msgid "Start from %s to Scan"
|
701 |
msgstr "从 %s 开始扫描"
|
702 |
|
703 |
+
#: qqworld-auto-save-images.php:840
|
704 |
#, fuzzy
|
705 |
msgid "All"
|
706 |
msgstr "所有"
|
707 |
|
708 |
+
#: qqworld-auto-save-images.php:844
|
709 |
#, fuzzy
|
710 |
msgid "Posts"
|
711 |
msgstr "热门文章"
|
712 |
|
713 |
+
#: qqworld-auto-save-images.php:854
|
714 |
msgid "Any"
|
715 |
msgstr "任意"
|
716 |
|
717 |
+
#: qqworld-auto-save-images.php:864
|
718 |
msgid "Order By"
|
719 |
msgstr "排序依据"
|
720 |
|
721 |
+
#: qqworld-auto-save-images.php:870
|
722 |
#, fuzzy
|
723 |
msgid "Author"
|
724 |
msgstr "名称"
|
725 |
|
726 |
+
#: qqworld-auto-save-images.php:872
|
727 |
#, fuzzy
|
728 |
msgid "Date"
|
729 |
msgstr "日期"
|
730 |
|
731 |
+
#: qqworld-auto-save-images.php:873
|
732 |
#, fuzzy
|
733 |
msgid "Last Modified"
|
734 |
msgstr "最后回复"
|
735 |
|
736 |
+
#: qqworld-auto-save-images.php:874
|
737 |
msgid "Comment Count"
|
738 |
msgstr "评论数"
|
739 |
|
740 |
+
#: qqworld-auto-save-images.php:884
|
741 |
#, fuzzy
|
742 |
msgid "Order"
|
743 |
msgstr "顺序"
|
744 |
|
745 |
+
#: qqworld-auto-save-images.php:894
|
746 |
msgid "Speed"
|
747 |
msgstr "速度"
|
748 |
|
749 |
+
#: qqworld-auto-save-images.php:894
|
750 |
msgid "If the server is too much stress may be appropriately reduced speed."
|
751 |
msgstr "如果服务器压力过大,可以适当调低速度。"
|
752 |
|
753 |
+
#: qqworld-auto-save-images.php:907
|
754 |
msgid ""
|
755 |
"Scan posts and keep remote images in all posts to local media library. Maybe "
|
756 |
"take a long time."
|
757 |
msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
|
758 |
|
759 |
+
#: qqworld-auto-save-images.php:908
|
760 |
msgid ""
|
761 |
"The list displayed will show you which posts including remote images, then "
|
762 |
"you can keep them to local manually via click \"Fetch\" button."
|
764 |
"显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
|
765 |
"存。"
|
766 |
|
767 |
+
#: qqworld-auto-save-images.php:1015
|
768 |
msgid "Has Missing/Undownloadable images."
|
769 |
msgstr "有 不存在/不可下载 的远程图像。"
|
770 |
|
771 |
+
#: qqworld-auto-save-images.php:1022
|
772 |
msgid "No remote images found."
|
773 |
msgstr "没有远程图像。"
|
774 |
|
775 |
+
#: qqworld-auto-save-images.php:1142
|
776 |
msgid "Original Link"
|
777 |
msgstr "原始链接"
|
778 |
|
779 |
+
#~ msgid "Grabbing from Each Post"
|
780 |
+
#~ msgstr "从每篇文章抓取"
|
781 |
+
|
782 |
+
#~ msgid "Save"
|
783 |
+
#~ msgstr "保存"
|
784 |
+
|
785 |
+
#~ msgid "image"
|
786 |
+
#~ msgid_plural "images"
|
787 |
+
#~ msgstr[0] "图片"
|
788 |
+
|
789 |
+
#~ msgid "Only Save First"
|
790 |
+
#~ msgstr "仅保存前..."
|
791 |
+
|
792 |
#~ msgid ""
|
793 |
#~ "Only change remote images filename that has Chinese or other East Asian "
|
794 |
#~ "characters (for Windows Server)"
|
qqworld-auto-save-images.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: QQWorld Auto Save Images
|
4 |
Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
|
5 |
Description: Automatically keep the all remote picture to the local, and automatically set featured image.
|
6 |
-
Version: 1.7.12.
|
7 |
Author: Michael Wang
|
8 |
Author URI: http://www.qqworld.org
|
9 |
Text Domain: qqworld_auto_save_images
|
@@ -19,6 +19,8 @@ class QQWorld_auto_save_images {
|
|
19 |
var $change_image_name;
|
20 |
var $has_remote_image;
|
21 |
var $has_missing_image;
|
|
|
|
|
22 |
var $minimum_picture_size;
|
23 |
var $maximum_picture_size;
|
24 |
var $exclude_domain;
|
@@ -40,6 +42,7 @@ class QQWorld_auto_save_images {
|
|
40 |
$this->when = get_option('qqworld_auto_save_images_when', 'publish');
|
41 |
$this->remote_publishing = get_option('qqworld_auto_save_images_remote_publishing', 'yes');
|
42 |
$this->featured_image = get_option('qqworld_auto_save_images_set_featured_image', 'yes');
|
|
|
43 |
$this->change_image_name = get_option('qqworld_auto_save_images_auto_change_name', 'none');
|
44 |
// temporary start
|
45 |
$this->change_image_name = $this->change_image_name == 'yes' ? 'ascii' : $this->change_image_name;
|
@@ -501,6 +504,21 @@ class QQWorld_auto_save_images {
|
|
501 |
<h2><?php _e('Filter Options', 'qqworld_auto_save_images'); ?></h2>
|
502 |
<table class="form-table">
|
503 |
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
<tr valign="top">
|
505 |
<th scope="row"><label><?php _e('Minimum Picture Size', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e("Ignore smaller than this size picture.", 'qqworld_auto_save_images'); ?>"></span></th>
|
506 |
<td><fieldset>
|
@@ -904,6 +922,7 @@ class QQWorld_auto_save_images {
|
|
904 |
'qqworld_auto_save_images_remote_publishing',
|
905 |
'qqworld_auto_save_images_set_featured_image',
|
906 |
'qqworld_auto_save_images_auto_change_name',
|
|
|
907 |
'qqworld_auto_save_images_maximum_picture_size',
|
908 |
'qqworld_auto_save_images_minimum_picture_size',
|
909 |
'qqworld-auto-save-images-exclude-domain',
|
@@ -1037,6 +1056,7 @@ class QQWorld_auto_save_images {
|
|
1037 |
}
|
1038 |
|
1039 |
public function content_save_pre($content, $post_id=null, $action='save') {
|
|
|
1040 |
$this->change_attachment_url_to_permalink($content);
|
1041 |
$remote_images = array();
|
1042 |
$preg = preg_match_all('/<img.*?src=\"((?!\").*?)\"/i', stripslashes($content), $matches);
|
@@ -1045,7 +1065,8 @@ class QQWorld_auto_save_images {
|
|
1045 |
if ($preg) $remote_images = array_merge($remote_images, $matches[1]);
|
1046 |
if(!empty($remote_images)){
|
1047 |
foreach($remote_images as $image_url) {
|
1048 |
-
if(
|
|
|
1049 |
// exclude domain
|
1050 |
$allow=true;
|
1051 |
if (!empty($this->exclude_domain)) foreach ($this->exclude_domain as $domain) {
|
@@ -1114,22 +1135,24 @@ class QQWorld_auto_save_images {
|
|
1114 |
$height = $res['sizes'][$size]['height'];
|
1115 |
}
|
1116 |
$pattern_image_url = $this->encode_pattern($image_url);
|
1117 |
-
$
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
|
|
|
|
|
|
1127 |
}
|
1128 |
-
}
|
1129 |
-
if ( $this->keep_outside_links == 'no' ) {
|
1130 |
$args = $this->set_img_metadata($matches[0], $attachment_id);
|
1131 |
}
|
1132 |
-
}
|
|
|
1133 |
$pattern = '/<img\s[^>]*'.$pattern_image_url.'.*?>/i';
|
1134 |
if ( preg_match($pattern, $content, $matches) ) {
|
1135 |
$args = $this->set_img_metadata($matches[0], $attachment_id);
|
@@ -1224,7 +1247,7 @@ class QQWorld_auto_save_images {
|
|
1224 |
public function automatic_reduction($file) {
|
1225 |
$filetype = $this->getFileType($file);
|
1226 |
list($width, $height, $type, $attr) = getimagesizefromstring($file);
|
1227 |
-
if ($width > $this->maximum_picture_size['width'] || $height > $this->maximum_picture_size['height']) {
|
1228 |
if ($width > $height) {
|
1229 |
$maximum_picture_size_width = empty($this->maximum_picture_size['width']) ? $width*$this->maximum_picture_size['height']/$height : $this->maximum_picture_size['width'];
|
1230 |
$new_width = $maximum_picture_size_width;
|
3 |
Plugin Name: QQWorld Auto Save Images
|
4 |
Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
|
5 |
Description: Automatically keep the all remote picture to the local, and automatically set featured image.
|
6 |
+
Version: 1.7.12.13
|
7 |
Author: Michael Wang
|
8 |
Author URI: http://www.qqworld.org
|
9 |
Text Domain: qqworld_auto_save_images
|
19 |
var $change_image_name;
|
20 |
var $has_remote_image;
|
21 |
var $has_missing_image;
|
22 |
+
var $count;
|
23 |
+
var $only_save_first;
|
24 |
var $minimum_picture_size;
|
25 |
var $maximum_picture_size;
|
26 |
var $exclude_domain;
|
42 |
$this->when = get_option('qqworld_auto_save_images_when', 'publish');
|
43 |
$this->remote_publishing = get_option('qqworld_auto_save_images_remote_publishing', 'yes');
|
44 |
$this->featured_image = get_option('qqworld_auto_save_images_set_featured_image', 'yes');
|
45 |
+
$this->only_save_first = get_option('qqworld_auto_save_images_only_save_first', 'all');
|
46 |
$this->change_image_name = get_option('qqworld_auto_save_images_auto_change_name', 'none');
|
47 |
// temporary start
|
48 |
$this->change_image_name = $this->change_image_name == 'yes' ? 'ascii' : $this->change_image_name;
|
504 |
<h2><?php _e('Filter Options', 'qqworld_auto_save_images'); ?></h2>
|
505 |
<table class="form-table">
|
506 |
<tbody>
|
507 |
+
<tr valign="top">
|
508 |
+
<th scope="row"><label for="only_save_first"><?php _e('Grabbing from Each Posts', 'qqworld_auto_save_images'); ?></label></th>
|
509 |
+
<td><fieldset>
|
510 |
+
<legend class="screen-reader-text"><span><?php _e('Grabbing from Each Posts', 'qqworld_auto_save_images'); ?></span></legend>
|
511 |
+
<select id="only_save_first" name="qqworld_auto_save_images_only_save_first">
|
512 |
+
<option value="all" <?php selected('all', $this->only_save_first); ?>><?php _e('All Images', 'qqworld_auto_save_images'); ?></option>
|
513 |
+
<?php
|
514 |
+
for ($i=1; $i<=30; $i++) {
|
515 |
+
$selected = selected($i, $this->only_save_first, false);
|
516 |
+
echo '<option value="' . $i . '" '.$selected.'>' . sprintf(_n('First %d image only', 'First %d images only', $i, 'qqworld_auto_save_images'), number_format_i18n($i)) . '</option>';
|
517 |
+
}
|
518 |
+
?>
|
519 |
+
</select>
|
520 |
+
</fieldset></td>
|
521 |
+
</tr>
|
522 |
<tr valign="top">
|
523 |
<th scope="row"><label><?php _e('Minimum Picture Size', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e("Ignore smaller than this size picture.", 'qqworld_auto_save_images'); ?>"></span></th>
|
524 |
<td><fieldset>
|
922 |
'qqworld_auto_save_images_remote_publishing',
|
923 |
'qqworld_auto_save_images_set_featured_image',
|
924 |
'qqworld_auto_save_images_auto_change_name',
|
925 |
+
'qqworld_auto_save_images_only_save_first',
|
926 |
'qqworld_auto_save_images_maximum_picture_size',
|
927 |
'qqworld_auto_save_images_minimum_picture_size',
|
928 |
'qqworld-auto-save-images-exclude-domain',
|
1056 |
}
|
1057 |
|
1058 |
public function content_save_pre($content, $post_id=null, $action='save') {
|
1059 |
+
$this->count = 1;
|
1060 |
$this->change_attachment_url_to_permalink($content);
|
1061 |
$remote_images = array();
|
1062 |
$preg = preg_match_all('/<img.*?src=\"((?!\").*?)\"/i', stripslashes($content), $matches);
|
1065 |
if ($preg) $remote_images = array_merge($remote_images, $matches[1]);
|
1066 |
if(!empty($remote_images)){
|
1067 |
foreach($remote_images as $image_url) {
|
1068 |
+
if ($this->only_save_first != 'all' && $this->count++ > $this->only_save_first) continue;
|
1069 |
+
if (empty($image_url)) continue;
|
1070 |
// exclude domain
|
1071 |
$allow=true;
|
1072 |
if (!empty($this->exclude_domain)) foreach ($this->exclude_domain as $domain) {
|
1135 |
$height = $res['sizes'][$size]['height'];
|
1136 |
}
|
1137 |
$pattern_image_url = $this->encode_pattern($image_url);
|
1138 |
+
$preg = false;
|
1139 |
+
if ($this->keep_outside_links=='no') {
|
1140 |
+
$pattern = '/<a[^<]+><img\s[^>]*'.$pattern_image_url.'.*?>?<[^>]+a>/i';
|
1141 |
+
$preg = preg_match($pattern, $content, $matches);
|
1142 |
+
if ($preg) {
|
1143 |
+
if ( $this->save_outside_links == 'yes' ) {
|
1144 |
+
if ( preg_match('/<a[^>]*href=\"(.*?)\".*?>/i', $matches[0], $match) ) {
|
1145 |
+
$args = array(
|
1146 |
+
'ID' => $attachment_id,
|
1147 |
+
'post_content' => '<a href="'.$match[1].'" target="_blank">'.__('Original Link', 'qqworld_auto_save_images').'</a>'
|
1148 |
+
);
|
1149 |
+
wp_update_post($args);
|
1150 |
+
}
|
1151 |
}
|
|
|
|
|
1152 |
$args = $this->set_img_metadata($matches[0], $attachment_id);
|
1153 |
}
|
1154 |
+
}
|
1155 |
+
if (!$preg) {
|
1156 |
$pattern = '/<img\s[^>]*'.$pattern_image_url.'.*?>/i';
|
1157 |
if ( preg_match($pattern, $content, $matches) ) {
|
1158 |
$args = $this->set_img_metadata($matches[0], $attachment_id);
|
1247 |
public function automatic_reduction($file) {
|
1248 |
$filetype = $this->getFileType($file);
|
1249 |
list($width, $height, $type, $attr) = getimagesizefromstring($file);
|
1250 |
+
if ((!empty($this->maximum_picture_size['width']) || !empty($this->maximum_picture_size['height'])) && ($width > $this->maximum_picture_size['width'] || $height > $this->maximum_picture_size['height'])) {
|
1251 |
if ($width > $height) {
|
1252 |
$maximum_picture_size_width = empty($this->maximum_picture_size['width']) ? $width*$this->maximum_picture_size['height']/$height : $this->maximum_picture_size['width'];
|
1253 |
$new_width = $maximum_picture_size_width;
|