QQWorld Auto Save Images - Version 1.7.13.3

Version Description

Download this release

Release Info

Developer qqworld
Plugin Icon 128x128 QQWorld Auto Save Images
Version 1.7.13.3
Comparing to
See all releases

Code changes from version 1.7.13.2 to 1.7.13.3

js/admin.js CHANGED
@@ -402,7 +402,9 @@ QQWorld_auto_save_images.scan_posts = function() {
402
  url: ajaxurl,
403
  data: data,
404
  success: function(data) {
405
- $('#list-'+post_id).html('<span class="green">'+QASI.done+'</span>');
 
 
406
  },
407
  error: _this.action.catch_errors
408
  });
402
  url: ajaxurl,
403
  data: data,
404
  success: function(data) {
405
+ var item = $(data);
406
+ item.append('<td><span class="green">'+QASI.done+'</span></td>');
407
+ $('#list-'+post_id).closest('tr').replaceWith(item);
408
  },
409
  error: _this.action.catch_errors
410
  });
lang/qqworld_auto_save_images-zh_CN.mo CHANGED
Binary file
lang/qqworld_auto_save_images-zh_CN.po CHANGED
@@ -2,8 +2,8 @@ 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-03-31 14:06+0800\n"
6
- "PO-Revision-Date: 2015-03-31 14:06+0800\n"
7
  "Last-Translator: Michael Wang <admin@qqworld.org>\n"
8
  "Language-Team: QQWorld <admin@qqworld.org>\n"
9
  "Language: zh_CN\n"
@@ -19,241 +19,241 @@ msgstr ""
19
  "Plural-Forms: nplurals=1; plural=0;\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
- #: qqworld-auto-save-images.php:55
23
  msgid "Michael Wang"
24
  msgstr "王晓骞"
25
 
26
- #: qqworld-auto-save-images.php:137
27
  msgid ""
28
  "Your server PHP does not support cUrl, please remove ';' from in front of "
29
  "extension=php_curl.dll in the php.ini."
30
  msgstr ""
31
  "你的服务器PHP不支持cUrl,请在php.ini中移除extension=php_curl.dll前面的‘;’。"
32
 
33
- #: qqworld-auto-save-images.php:138
34
  msgid ""
35
  "Your server PHP does not support GD2, please remove ';' from in front of "
36
  "extension=php_gd2.dll in the <strong>php.ini</strong>."
37
  msgstr ""
38
  "你的服务器PHP不支持GD2,请在php.ini中移除extension=php_gd2.dll前面的‘;’。"
39
 
40
- #: qqworld-auto-save-images.php:139
41
  msgid ""
42
  "Your server PHP does not support fopen, please set allow_url_fopen=1 in the "
43
  "php.ini."
44
  msgstr "你的服务器PHP不支持fopen,请在php.ini中设置allow_url_fopen=1。"
45
 
46
- #: qqworld-auto-save-images.php:175
47
  msgid "No taxonomies found."
48
  msgstr "没有相关分类方法。"
49
 
50
- #: qqworld-auto-save-images.php:183 qqworld-auto-save-images.php:382
51
- #: qqworld-auto-save-images.php:1206
52
  msgid "All remote images have been saved."
53
  msgstr "已保存所有远程图像。"
54
 
55
- #: qqworld-auto-save-images.php:183 qqworld-auto-save-images.php:184
56
  #, php-format
57
  msgid " <a href=\"%s\">View</a>"
58
  msgstr " <a href=\"%s\">查看</a>"
59
 
60
- #: qqworld-auto-save-images.php:184
61
  msgid "Has missing images or image which could not download."
62
  msgstr "内容包含 不存在/无法下载 的图像。"
63
 
64
- #: qqworld-auto-save-images.php:205
65
  msgid "In Process..."
66
  msgstr "正在保存……"
67
 
68
- #: qqworld-auto-save-images.php:206
69
  msgid "Something error, please check."
70
  msgstr "出错了,请检查。"
71
 
72
- #: qqworld-auto-save-images.php:228
73
  msgid ""
74
  "Are you sure?<br />Before you click the yes button, I recommend backup site "
75
  "database."
76
  msgstr "你确定吗?<br />在点击确定按钮之前,我建议你备份网站的数据库。"
77
 
78
- #: qqworld-auto-save-images.php:229 qqworld-auto-save-images.php:1012
79
  msgid "Please select post types."
80
  msgstr "请选择文章类型。"
81
 
82
- #: qqworld-auto-save-images.php:230
83
  msgid "May be a problem with some posts: "
84
  msgstr "也许一些文章有问题:"
85
 
86
- #: qqworld-auto-save-images.php:231
87
  #, php-format
88
  msgid "No need enter \"%s\"."
89
  msgstr "不需要输入“%s”。"
90
 
91
- #: qqworld-auto-save-images.php:232
92
  #, php-format
93
  msgid "%d post has been scanned."
94
  msgstr "已扫描%d篇文章。"
95
 
96
- #: qqworld-auto-save-images.php:233
97
  #, php-format
98
  msgid "%d posts have been scanned."
99
  msgstr "已扫描%d篇文章。"
100
 
101
- #: qqworld-auto-save-images.php:234
102
  #, php-format
103
  msgid "%d post included remote images processed."
104
  msgstr "已处理%d篇包含远程图像的文章。"
105
 
106
- #: qqworld-auto-save-images.php:235
107
  #, php-format
108
  msgid "%d posts included remote images processed."
109
  msgstr "已处理%d篇包含远程图像的文章。"
110
 
111
- #: qqworld-auto-save-images.php:236
112
  #, php-format
113
  msgid "%d post has missing images couldn't be processed."
114
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
115
 
116
- #: qqworld-auto-save-images.php:237
117
  #, php-format
118
  msgid "%d posts have missing images couldn't be processed."
119
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
120
 
121
- #: qqworld-auto-save-images.php:238
122
  #, php-format
123
  msgid "found %d post including remote images."
124
  msgstr "找到%d篇包含远程图像的文章。"
125
 
126
- #: qqworld-auto-save-images.php:239
127
  #, php-format
128
  msgid "found %d posts including remote images."
129
  msgstr "找到%d篇包含远程图像的文章。"
130
 
131
- #: qqworld-auto-save-images.php:240
132
  #, php-format
133
  msgid "And with %d post has missing images."
134
  msgstr "其中有%d篇文章包含不存在的远程图像。"
135
 
136
- #: qqworld-auto-save-images.php:241
137
  #, php-format
138
  msgid "And with %d posts have missing images."
139
  msgstr "其中有%d篇文章包含不存在的远程图像。"
140
 
141
- #: qqworld-auto-save-images.php:242
142
  msgid "No posts processed."
143
  msgstr "未处理任何文章。"
144
 
145
- #: qqworld-auto-save-images.php:243
146
  msgid "No post has remote images found."
147
  msgstr "没有文章包含远程图像。"
148
 
149
- #: qqworld-auto-save-images.php:244
150
  msgid "No posts found."
151
  msgstr "未找到任何文章。"
152
 
153
- #: qqworld-auto-save-images.php:245
154
  msgid "All done."
155
  msgstr "全部完成。"
156
 
157
- #: qqworld-auto-save-images.php:246
158
  #, fuzzy
159
  msgid "Yes"
160
  msgstr "是"
161
 
162
- #: qqworld-auto-save-images.php:247 qqworld-auto-save-images.php:642
163
  msgid "No"
164
  msgstr ""
165
 
166
- #: qqworld-auto-save-images.php:248
167
  msgid "Scanning..."
168
  msgstr "扫描中……"
169
 
170
- #: qqworld-auto-save-images.php:249
171
  msgid "Listing..."
172
  msgstr "显示列表中……"
173
 
174
- #: qqworld-auto-save-images.php:250 qqworld-auto-save-images.php:1054
175
  #, fuzzy
176
  msgid "ID"
177
  msgstr "博客ID"
178
 
179
- #: qqworld-auto-save-images.php:251
180
  msgid "Post Type"
181
  msgstr "文章类型"
182
 
183
- #: qqworld-auto-save-images.php:252 qqworld-auto-save-images.php:1056
184
  #, fuzzy
185
  msgid "Title"
186
  msgstr "标题"
187
 
188
- #: qqworld-auto-save-images.php:253 qqworld-auto-save-images.php:1034
189
  #, fuzzy
190
  msgid "Status"
191
  msgstr "状态"
192
 
193
- #: qqworld-auto-save-images.php:254
194
  msgid "Control"
195
  msgstr "控制"
196
 
197
- #: qqworld-auto-save-images.php:255
198
  #, fuzzy
199
  msgid "Done"
200
  msgstr "全部完成。"
201
 
202
- #: qqworld-auto-save-images.php:256 qqworld-auto-save-images.php:624
203
  #, fuzzy
204
  msgid "Delete"
205
  msgstr "删除"
206
 
207
- #: qqworld-auto-save-images.php:279
208
  msgid "Congratulation! FTP successfully connected."
209
  msgstr "恭喜!成功连接FTP。"
210
 
211
- #: qqworld-auto-save-images.php:281
212
  msgid "Failed to change ftp directory, Did dirctory not exist?"
213
  msgstr "切换FTP目录失败,目录不存在?"
214
 
215
- #: qqworld-auto-save-images.php:284
216
  msgid "Whoops, FTP logon has failed!"
217
  msgstr "哎呀,登录FTP失败。"
218
 
219
- #: qqworld-auto-save-images.php:287
220
  msgid "Whoops, FTP connection has failed!"
221
  msgstr "哎呀,连接FTP失败。"
222
 
223
- #: qqworld-auto-save-images.php:382 qqworld-auto-save-images.php:416
224
  msgid "Has missing images."
225
  msgstr "有不存在的远程图像。"
226
 
227
- #: qqworld-auto-save-images.php:416
228
  msgid "Normal"
229
  msgstr "正常"
230
 
231
- #: qqworld-auto-save-images.php:417
232
  msgid "Fetch"
233
  msgstr "抓取"
234
 
235
- #: qqworld-auto-save-images.php:459
236
  msgid "Save Remote Images"
237
  msgstr "保存远程图片"
238
 
239
- #: qqworld-auto-save-images.php:470 qqworld-auto-save-images.php:513
240
  #, fuzzy
241
  msgid "Settings"
242
  msgstr "光箱选项"
243
 
244
- #: qqworld-auto-save-images.php:478
245
  msgid "Auto Save Images"
246
  msgstr "自动保存图片"
247
 
248
- #: qqworld-auto-save-images.php:480 qqworld-auto-save-images.php:507
249
  msgid "QQWorld Auto Save Images"
250
  msgstr "QQWorld自动保存图片"
251
 
252
- #: qqworld-auto-save-images.php:489
253
  msgid "Installation"
254
  msgstr "安装说明"
255
 
256
- #: qqworld-auto-save-images.php:490
257
  msgid ""
258
  "<ol><li>Make sure the server configuration <strong>allow_url_fopen=1</"
259
  "strong> in php.ini.</li><li>Warning: If your website domain has been "
@@ -264,11 +264,11 @@ msgstr ""
264
  "告:如果你的网站域名更改了,必须在数据库中将所有的图片链接更新到新域名,否则"
265
  "插件会把未更改的图片再保存一次。</li></ol>"
266
 
267
- #: qqworld-auto-save-images.php:494
268
  msgid "Notice"
269
  msgstr "注意"
270
 
271
- #: qqworld-auto-save-images.php:495
272
  msgid ""
273
  "<ul><li>This plugin has a little problem that is all the image url must be "
274
  "full url, it means must included \"http(s)://\", for example:<ul><li>&lt;img "
@@ -297,12 +297,12 @@ msgstr ""
297
  "让图片的URL完整。<br />所以,如果你碰到这样的代码,请手动将图片地址改成完整"
298
  "的,或者使用采集工具自动补完图片的URL然后从外部提交给Wordpress。"
299
 
300
- #: qqworld-auto-save-images.php:499
301
  #, fuzzy
302
  msgid "About"
303
  msgstr "关于主题"
304
 
305
- #: qqworld-auto-save-images.php:500
306
  msgid ""
307
  "<p>Hi everyone, My name is Michael Wang from china.</p><p>I made this plugin "
308
  "just for play in the first place, after 1 year, oneday someone sent an email "
@@ -316,135 +316,135 @@ msgstr ""
316
  "后随着越来越多的人向我寻求帮助,我的插件也变得越来越强大。这就是我的插件,我"
317
  "希望你们能喜欢它,谢谢。</p>"
318
 
319
- #: qqworld-auto-save-images.php:508
320
  msgid ""
321
  "Automatically keep the all remote picture to the local, and automatically "
322
  "set featured image."
323
  msgstr ""
324
  "自动保存远程图片到本地,自动设置特色图片,并且支持机器人采集软件从外部提交。"
325
 
326
- #: qqworld-auto-save-images.php:514
327
  msgid "Optimization"
328
  msgstr "优化"
329
 
330
- #: qqworld-auto-save-images.php:514 qqworld-auto-save-images.php:515
331
  msgid "Preview"
332
  msgstr "预览"
333
 
334
- #: qqworld-auto-save-images.php:515
335
  msgid "Watermark"
336
  msgstr "水印"
337
 
338
- #: qqworld-auto-save-images.php:516
339
  msgid "Scan Posts"
340
  msgstr "扫描文章"
341
 
342
- #: qqworld-auto-save-images.php:519
343
  msgid "General Options"
344
  msgstr "常规选项"
345
 
346
- #: qqworld-auto-save-images.php:523 qqworld-auto-save-images.php:525
347
- #: qqworld-auto-save-images.php:760 qqworld-auto-save-images.php:762
348
  msgid "Mode"
349
  msgstr "模式"
350
 
351
- #: qqworld-auto-save-images.php:528 qqworld-auto-save-images.php:1092
352
  msgid "Automatic"
353
  msgstr "自动"
354
 
355
- #: qqworld-auto-save-images.php:529
356
  msgid ""
357
  "Automatically save all remote images to local media libary when you save or "
358
  "publish post."
359
  msgstr "在保存或发布文章时,自动将所有远程图像保存到本地媒体库。"
360
 
361
- #: qqworld-auto-save-images.php:532 qqworld-auto-save-images.php:1093
362
  msgid "Manual"
363
  msgstr "手动"
364
 
365
- #: qqworld-auto-save-images.php:533
366
  msgid ""
367
  "Manually save all remote images to local media libary when you click the "
368
  "button on the top of editor."
369
  msgstr "当单击编辑器顶部的按钮时,手动将所有远程图像保存到本地媒体库。"
370
 
371
- #: qqworld-auto-save-images.php:538 qqworld-auto-save-images.php:540
372
  msgid "When"
373
  msgstr "什么时候"
374
 
375
- #: qqworld-auto-save-images.php:543
376
  msgid "Save post (Publish, save draft or pedding review)."
377
  msgstr "保存文章时(发布文章,保存草稿或提交审核)。"
378
 
379
- #: qqworld-auto-save-images.php:547
380
  msgid "Publish post only."
381
  msgstr "仅发布文章时。"
382
 
383
- #: qqworld-auto-save-images.php:553 qqworld-auto-save-images.php:555
384
  msgid "Remote Publishing"
385
  msgstr "远程发布"
386
 
387
- #: qqworld-auto-save-images.php:553
388
  msgid ""
389
  "Save remote images via remote publishing from IFTTT or other way using "
390
  "XMLRPC. Only supports publish post."
391
  msgstr "保存通过IFTTT或其他使用XMLRPC方法远程发布的远程图片。仅支持发布文章。"
392
 
393
- #: qqworld-auto-save-images.php:563 qqworld-auto-save-images.php:565
394
  msgid "Set Featured Image"
395
  msgstr "设置特色图片"
396
 
397
- #: qqworld-auto-save-images.php:563
398
  msgid "Set first one of the remote images as featured image."
399
  msgstr "设置远程图片中的第1个为特色图片。"
400
 
401
- #: qqworld-auto-save-images.php:573
402
  msgid "Filter Options"
403
  msgstr "过滤选项"
404
 
405
- #: qqworld-auto-save-images.php:577 qqworld-auto-save-images.php:579
406
  msgid "Grabbing from Each Posts"
407
  msgstr "从每篇文章抓取"
408
 
409
- #: qqworld-auto-save-images.php:581
410
  msgid "All Images"
411
  msgstr "全部图片"
412
 
413
- #: qqworld-auto-save-images.php:585
414
  #, php-format
415
  msgid "First %d image only"
416
  msgid_plural "First %d images only"
417
  msgstr[0] "前 %d 张图片"
418
 
419
- #: qqworld-auto-save-images.php:592 qqworld-auto-save-images.php:594
420
  msgid "Minimum Picture Size"
421
  msgstr "最小图像尺寸"
422
 
423
- #: qqworld-auto-save-images.php:592
424
  msgid "Ignore smaller than this size picture."
425
  msgstr "忽略比这个尺寸更小的图像。"
426
 
427
- #: qqworld-auto-save-images.php:596 qqworld-auto-save-images.php:608
428
- #: qqworld-auto-save-images.php:892
429
  msgid "Width:"
430
  msgstr "宽度:"
431
 
432
- #: qqworld-auto-save-images.php:596 qqworld-auto-save-images.php:599
433
- #: qqworld-auto-save-images.php:608 qqworld-auto-save-images.php:611
434
- #: qqworld-auto-save-images.php:892 qqworld-auto-save-images.php:895
435
  msgid "(px)"
436
  msgstr "(像素)"
437
 
438
- #: qqworld-auto-save-images.php:599 qqworld-auto-save-images.php:611
439
- #: qqworld-auto-save-images.php:895
440
  msgid "Height:"
441
  msgstr "高度:"
442
 
443
- #: qqworld-auto-save-images.php:604 qqworld-auto-save-images.php:606
444
  msgid "Maximum Picture Size"
445
  msgstr "最大图像尺寸"
446
 
447
- #: qqworld-auto-save-images.php:604
448
  msgid ""
449
  "Automatic reduction is greater than the size of the picture. if you want "
450
  "image width less than 800px with any size height, please set width 800 and "
@@ -453,328 +453,351 @@ msgstr ""
453
  "自动缩小大于该尺寸的图像。如果你想要宽度不超过800px和任意高度图片,请设置宽度"
454
  "800,并设置高度为空。"
455
 
456
- #: qqworld-auto-save-images.php:616 qqworld-auto-save-images.php:618
457
  msgid "Exclude Domain/Keyword"
458
  msgstr "排除域名/关键词"
459
 
460
- #: qqworld-auto-save-images.php:616
461
  msgid "Images will not be saved, if that url contains Exclude-Domain/Keyword."
462
  msgstr "如果图片地址包含排除域名/关键词,则不会保存该图片。"
463
 
464
- #: qqworld-auto-save-images.php:628
465
  msgid "Add a Domain/Keyword"
466
  msgstr "添加域名/关键词"
467
 
468
- #: qqworld-auto-save-images.php:633
469
  msgid "Format Options"
470
  msgstr "格式化选项"
471
 
472
- #: qqworld-auto-save-images.php:637 qqworld-auto-save-images.php:640
473
  msgid "Change Image Filename"
474
  msgstr "更改图片文件名"
475
 
476
- #: qqworld-auto-save-images.php:643
477
  msgid ""
478
  "Only change remote images filename that have Non-ASCii characters (for "
479
  "Windows Server)"
480
  msgstr "仅修改包含非ASCii字符的远程图片文件名(用于Windows服务器)"
481
 
482
- #: qqworld-auto-save-images.php:644
483
  msgid ""
484
  "Change all remote images Filename and Alt as post name (for Linux Server)"
485
  msgstr "改变所有远程图片文件名为文章名(Post Name)(用于Linux服务器)"
486
 
487
- #: qqworld-auto-save-images.php:649 qqworld-auto-save-images.php:651
488
  msgid "Custom Filename Structure"
489
  msgstr "自定文件名结构"
490
 
491
- #: qqworld-auto-save-images.php:656
492
  msgid "Original filename or automatic changed filename."
493
  msgstr "原文件名或自动更改的文件名。"
494
 
495
- #: qqworld-auto-save-images.php:657
496
  msgid "Full date, e.g. 20150209."
497
  msgstr "完整的日期,例如:20150209。"
498
 
499
- #: qqworld-auto-save-images.php:658
500
  msgid "YYYY, e.g. 2015."
501
  msgstr "YYYY,例如:2015。"
502
 
503
- #: qqworld-auto-save-images.php:659
504
  msgid "MM, e.g. 02."
505
  msgstr "MM,例如:02。"
506
 
507
- #: qqworld-auto-save-images.php:660
508
  msgid "DD, e.g. 15."
509
  msgstr "DD,例如:15。"
510
 
511
- #: qqworld-auto-save-images.php:661
512
  msgid "HHMMSS, e.g. 182547."
513
  msgstr "HHMMSS,例如:182547。"
514
 
515
- #: qqworld-auto-save-images.php:662
516
  #, php-format
517
  msgid "Unix timestamp, e.g. %s."
518
  msgstr "Unix时间戳,例如:%s。"
519
 
520
- #: qqworld-auto-save-images.php:667 qqworld-auto-save-images.php:669
521
  msgid "Change Title & Alt"
522
  msgstr "更改标题和替代文本"
523
 
524
- #: qqworld-auto-save-images.php:667
525
  msgid "Automatically add title & alt of image as post title."
526
  msgstr "自动依照文章标题添加图片的标题和替代文本。"
527
 
528
- #: qqworld-auto-save-images.php:676 qqworld-auto-save-images.php:678
529
  msgid "Keep Outside Links"
530
  msgstr "保留外链"
531
 
532
- #: qqworld-auto-save-images.php:676
533
  msgid "Keep the outside links of remote images if exist."
534
  msgstr "将会保留远程图片的链接,如果存在的话。"
535
 
536
- #: qqworld-auto-save-images.php:685 qqworld-auto-save-images.php:687
537
  msgid "Save Outside Links"
538
  msgstr "保存外链"
539
 
540
- #: qqworld-auto-save-images.php:685
541
  msgid "Save the outside links to description of attachments."
542
  msgstr "保存外部链接到附件的描述。"
543
 
544
- #: qqworld-auto-save-images.php:694 qqworld-auto-save-images.php:696
545
  msgid "Image Size"
546
  msgstr "图像尺寸"
547
 
548
- #: qqworld-auto-save-images.php:694
549
  msgid "Replace images you want size to display."
550
  msgstr "替换成你想要显示的尺寸的图像。"
551
 
552
- #: qqworld-auto-save-images.php:701
553
  #, fuzzy
554
  msgid "Thumbnail"
555
  msgstr ""
556
  "一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
557
  "jQuery路径。"
558
 
559
- #: qqworld-auto-save-images.php:702
560
  msgid "Medium"
561
  msgstr ""
562
 
563
- #: qqworld-auto-save-images.php:703
564
  msgid "Large"
565
  msgstr ""
566
 
567
- #: qqworld-auto-save-images.php:704
568
  #, fuzzy
569
  msgid "Full Size"
570
  msgstr "链接到全尺寸图像"
571
 
572
- #: qqworld-auto-save-images.php:713 qqworld-auto-save-images.php:715
573
  msgid "Link To"
574
  msgstr "链接到"
575
 
576
- #: qqworld-auto-save-images.php:713
577
  msgid "If you checked Keep-Outside-Links, this option will not works."
578
  msgstr "如果你勾选了保留外链,本项将不起作用。"
579
 
580
- #: qqworld-auto-save-images.php:720
581
  #, fuzzy
582
  msgid "Media File"
583
  msgstr "添加文件"
584
 
585
- #: qqworld-auto-save-images.php:721
586
  #, fuzzy
587
  msgid "Attachment Page"
588
  msgstr "(附件)"
589
 
590
- #: qqworld-auto-save-images.php:722
591
  msgid "None"
592
  msgstr ""
593
 
594
- #: qqworld-auto-save-images.php:731 qqworld-auto-save-images.php:733
595
  msgid "Additional Content"
596
  msgstr "额外的内容"
597
 
598
- #: qqworld-auto-save-images.php:731
599
  msgid ""
600
  "This content will be displayed after the each remote images code. you can "
601
  "use [Attachment ID] indicate current attachment ID."
602
  msgstr "此内容将在每个远程图像编码后显​​示。您可以使用[附件ID]指示当前连接ID。"
603
 
604
- #: qqworld-auto-save-images.php:736
605
  msgid "For example: [Gbuy id='[Attachment ID]']"
606
  msgstr "例如:[Gbuy id='[Attachment ID]']"
607
 
608
- #: qqworld-auto-save-images.php:746 qqworld-auto-save-images.php:864
609
  msgid ""
610
  "Just for preview, The complete feature will on the Pro version. Don't worry, "
611
  "other features will be free forever."
612
  msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
613
 
614
- #: qqworld-auto-save-images.php:747
615
  msgid "Optimization Options"
616
  msgstr "优化选项"
617
 
618
- #: qqworld-auto-save-images.php:751 qqworld-auto-save-images.php:753
619
- #: qqworld-auto-save-images.php:826 qqworld-auto-save-images.php:828
 
620
  msgid "Enabled"
621
  msgstr "开启"
622
 
623
- #: qqworld-auto-save-images.php:751
624
  msgid "Use Cookie-Free Domains to display images."
625
  msgstr "使用免Cookie域名(Cookie-Free Domains)来显示图片。"
626
 
627
- #: qqworld-auto-save-images.php:760
628
  msgid ""
629
  "If you wanna use local media library, please choose the Use-local-server."
630
  msgstr "如果你想使用本地媒体库,请选择使用本地服务器。"
631
 
632
- #: qqworld-auto-save-images.php:766
633
  msgid "Use local server"
634
  msgstr "使用本地服务器"
635
 
636
- #: qqworld-auto-save-images.php:767
637
  msgid "Use remote server"
638
  msgstr "使用远程服务器"
639
 
640
- #: qqworld-auto-save-images.php:775 qqworld-auto-save-images.php:777
641
  msgid "Domain & Folder"
642
  msgstr "域名 & 目录"
643
 
644
- #: qqworld-auto-save-images.php:775
645
  msgid "Do not end with '/'."
646
  msgstr "结尾不要有 '/'。"
647
 
648
- #: qqworld-auto-save-images.php:783
649
  msgid "Host"
650
  msgstr "主机"
651
 
652
- #: qqworld-auto-save-images.php:784
653
  msgid "Folder (Can be empty)"
654
  msgstr "目录(可以为空)"
655
 
656
- #: qqworld-auto-save-images.php:790 qqworld-auto-save-images.php:792
657
  msgid "FTP Settings"
658
  msgstr "FTP设置"
659
 
660
- #: qqworld-auto-save-images.php:795
661
  msgid "IP Address"
662
  msgstr "IP地址"
663
 
664
- #: qqworld-auto-save-images.php:799
665
  msgid "Port"
666
  msgstr "端口"
667
 
668
- #: qqworld-auto-save-images.php:803
669
  msgid "Username"
670
  msgstr "用户名"
671
 
672
- #: qqworld-auto-save-images.php:807
673
  msgid "Password"
674
  msgstr "密码"
675
 
676
- #: qqworld-auto-save-images.php:811
677
  msgid "Directory"
678
  msgstr "目录"
679
 
680
- #: qqworld-auto-save-images.php:815
681
  msgid "Test FTP"
682
  msgstr "测试FTP"
683
 
684
- #: qqworld-auto-save-images.php:822
685
  msgid "Proxy Settings"
686
  msgstr "代理设置"
687
 
688
- #: qqworld-auto-save-images.php:826
689
  msgid "Use proxy server to download images."
690
  msgstr "使用代理服务器下载图片。"
691
 
692
- #: qqworld-auto-save-images.php:835 qqworld-auto-save-images.php:837
693
  msgid "Timeout"
694
  msgstr "超时"
695
 
696
- #: qqworld-auto-save-images.php:835
697
  msgid "Set timeout period on proxy."
698
  msgstr "设置代理超时时间。"
699
 
700
- #: qqworld-auto-save-images.php:839
701
  msgid "Second(s)"
702
  msgstr "秒"
703
 
704
- #: qqworld-auto-save-images.php:844 qqworld-auto-save-images.php:846
705
  msgid "Proxy Address"
706
  msgstr "代理地址"
707
 
708
- #: qqworld-auto-save-images.php:844
709
  msgid "For example: 127.0.0.1:8087"
710
  msgstr "示例:127.0.0.1:8087"
711
 
712
- #: qqworld-auto-save-images.php:853 qqworld-auto-save-images.php:982
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
713
  msgid "Buy"
714
  msgstr "购买"
715
 
716
- #: qqworld-auto-save-images.php:854 qqworld-auto-save-images.php:983
717
  msgid "QQWorld Auto Save Images Pro"
718
  msgstr "QQWorld自动保存图片专业版"
719
 
720
- #: qqworld-auto-save-images.php:868 qqworld-auto-save-images.php:870
721
  msgid "Enabled Watermark"
722
  msgstr "启用水印"
723
 
724
- #: qqworld-auto-save-images.php:868
725
  msgid "Use for both of remote images and the local upload."
726
  msgstr "同时用于远程图片和本地上传。"
727
 
728
- #: qqworld-auto-save-images.php:878 qqworld-auto-save-images.php:880
729
  msgid "Ignore animated GIF"
730
  msgstr "忽略GIF动画"
731
 
732
- #: qqworld-auto-save-images.php:888 qqworld-auto-save-images.php:890
733
  msgid "Filter"
734
  msgstr "过滤"
735
 
736
- #: qqworld-auto-save-images.php:888
737
  msgid "Skip images that smaller than this size."
738
  msgstr "跳过比这个尺寸更小的图像。"
739
 
740
- #: qqworld-auto-save-images.php:901
741
  msgid "Align To"
742
  msgstr "对齐方式"
743
 
744
- #: qqworld-auto-save-images.php:923
745
  msgid "Position"
746
  msgstr "位置"
747
 
748
- #: qqworld-auto-save-images.php:923
749
  msgid "You can try to drag the watermark image."
750
  msgstr "你可以试着拖动水印图片。"
751
 
752
- #: qqworld-auto-save-images.php:940 qqworld-auto-save-images.php:942
753
- #: qqworld-auto-save-images.php:1021
754
  msgid "Offset"
755
  msgstr "偏移"
756
 
757
- #: qqworld-auto-save-images.php:953 qqworld-auto-save-images.php:955
758
  msgid "Opacity"
759
  msgstr "不透明度"
760
 
761
- #: qqworld-auto-save-images.php:963 qqworld-auto-save-images.php:965
762
  msgid "Upload Watermark Image"
763
  msgstr "上传水印图片"
764
 
765
- #: qqworld-auto-save-images.php:967
766
  msgid "Insert a Watermark Image"
767
  msgstr "插入水印图片"
768
 
769
- #: qqworld-auto-save-images.php:978
770
  msgid "Default Watermark"
771
  msgstr "默认水印"
772
 
773
- #: qqworld-auto-save-images.php:997
774
  msgid "Select post types"
775
  msgstr "选择文章类型"
776
 
777
- #: qqworld-auto-save-images.php:997
778
  msgid ""
779
  "If you have too many posts to be scan, sometimes in process looks like "
780
  "stopping, but it may be fake. please be patient."
@@ -782,20 +805,20 @@ msgstr ""
782
  "如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
783
  "请耐心等待。"
784
 
785
- #: qqworld-auto-save-images.php:1011
786
  #, fuzzy
787
  msgid "Categories"
788
  msgstr "%s分类"
789
 
790
- #: qqworld-auto-save-images.php:1011
791
  msgid "Default empty to scan all categories."
792
  msgstr "默认留空扫描所有分类。"
793
 
794
- #: qqworld-auto-save-images.php:1016
795
  msgid "Scope of Post ID"
796
  msgstr "文章ID范围"
797
 
798
- #: qqworld-auto-save-images.php:1016
799
  msgid ""
800
  "Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
801
  "100. please type '50' and '100' or '100' and '50', The order in which two "
@@ -806,12 +829,12 @@ msgstr ""
806
  "者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
807
  "该ID。"
808
 
809
- #: qqworld-auto-save-images.php:1017
810
  #, php-format
811
  msgid "From %1$s to %2$s"
812
  msgstr "从 %1$s 到 %2$s"
813
 
814
- #: qqworld-auto-save-images.php:1021
815
  msgid ""
816
  "Default scan all posts. If you want to scan 50-150 posts, please type '50' "
817
  "in the textfield and select '100'."
@@ -819,68 +842,68 @@ msgstr ""
819
  "默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
820
  "选择“100”。"
821
 
822
- #: qqworld-auto-save-images.php:1023
823
  #, php-format
824
  msgid "Start from %s to Scan"
825
  msgstr "从 %s 开始扫描"
826
 
827
- #: qqworld-auto-save-images.php:1025
828
  #, fuzzy
829
  msgid "All"
830
  msgstr "所有"
831
 
832
- #: qqworld-auto-save-images.php:1029
833
  #, fuzzy
834
  msgid "Posts"
835
  msgstr "热门文章"
836
 
837
- #: qqworld-auto-save-images.php:1039
838
  msgid "Any"
839
  msgstr "任意"
840
 
841
- #: qqworld-auto-save-images.php:1049
842
  msgid "Order By"
843
  msgstr "排序依据"
844
 
845
- #: qqworld-auto-save-images.php:1055
846
  #, fuzzy
847
  msgid "Author"
848
  msgstr "名称"
849
 
850
- #: qqworld-auto-save-images.php:1057
851
  #, fuzzy
852
  msgid "Date"
853
  msgstr "日期"
854
 
855
- #: qqworld-auto-save-images.php:1058
856
  #, fuzzy
857
  msgid "Last Modified"
858
  msgstr "最后回复"
859
 
860
- #: qqworld-auto-save-images.php:1059
861
  msgid "Comment Count"
862
  msgstr "评论数"
863
 
864
- #: qqworld-auto-save-images.php:1069
865
  #, fuzzy
866
  msgid "Order"
867
  msgstr "顺序"
868
 
869
- #: qqworld-auto-save-images.php:1079
870
  msgid "Speed"
871
  msgstr "速度"
872
 
873
- #: qqworld-auto-save-images.php:1079
874
  msgid "If the server is too much stress may be appropriately reduced speed."
875
  msgstr "如果服务器压力过大,可以适当调低速度。"
876
 
877
- #: qqworld-auto-save-images.php:1092
878
  msgid ""
879
  "Scan posts and keep remote images in all posts to local media library. Maybe "
880
  "take a long time."
881
  msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
882
 
883
- #: qqworld-auto-save-images.php:1093
884
  msgid ""
885
  "The list displayed will show you which posts including remote images, then "
886
  "you can keep them to local manually via click \"Fetch\" button."
@@ -888,15 +911,15 @@ msgstr ""
888
  "显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
889
  "存。"
890
 
891
- #: qqworld-auto-save-images.php:1203
892
  msgid "Has Missing/Undownloadable images."
893
  msgstr "有 不存在/不可下载 的远程图像。"
894
 
895
- #: qqworld-auto-save-images.php:1210
896
  msgid "No remote images found."
897
  msgstr "没有远程图像。"
898
 
899
- #: qqworld-auto-save-images.php:1334
900
  msgid "Original Link"
901
  msgstr "原始链接"
902
 
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-04-09 15:21+0800\n"
6
+ "PO-Revision-Date: 2015-04-09 15:21+0800\n"
7
  "Last-Translator: Michael Wang <admin@qqworld.org>\n"
8
  "Language-Team: QQWorld <admin@qqworld.org>\n"
9
  "Language: zh_CN\n"
19
  "Plural-Forms: nplurals=1; plural=0;\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
 
22
+ #: qqworld-auto-save-images.php:57
23
  msgid "Michael Wang"
24
  msgstr "王晓骞"
25
 
26
+ #: qqworld-auto-save-images.php:143
27
  msgid ""
28
  "Your server PHP does not support cUrl, please remove ';' from in front of "
29
  "extension=php_curl.dll in the php.ini."
30
  msgstr ""
31
  "你的服务器PHP不支持cUrl,请在php.ini中移除extension=php_curl.dll前面的‘;’。"
32
 
33
+ #: qqworld-auto-save-images.php:144
34
  msgid ""
35
  "Your server PHP does not support GD2, please remove ';' from in front of "
36
  "extension=php_gd2.dll in the <strong>php.ini</strong>."
37
  msgstr ""
38
  "你的服务器PHP不支持GD2,请在php.ini中移除extension=php_gd2.dll前面的‘;’。"
39
 
40
+ #: qqworld-auto-save-images.php:145
41
  msgid ""
42
  "Your server PHP does not support fopen, please set allow_url_fopen=1 in the "
43
  "php.ini."
44
  msgstr "你的服务器PHP不支持fopen,请在php.ini中设置allow_url_fopen=1。"
45
 
46
+ #: qqworld-auto-save-images.php:181
47
  msgid "No taxonomies found."
48
  msgstr "没有相关分类方法。"
49
 
50
+ #: qqworld-auto-save-images.php:189 qqworld-auto-save-images.php:388
51
+ #: qqworld-auto-save-images.php:1241
52
  msgid "All remote images have been saved."
53
  msgstr "已保存所有远程图像。"
54
 
55
+ #: qqworld-auto-save-images.php:189 qqworld-auto-save-images.php:190
56
  #, php-format
57
  msgid " <a href=\"%s\">View</a>"
58
  msgstr " <a href=\"%s\">查看</a>"
59
 
60
+ #: qqworld-auto-save-images.php:190
61
  msgid "Has missing images or image which could not download."
62
  msgstr "内容包含 不存在/无法下载 的图像。"
63
 
64
+ #: qqworld-auto-save-images.php:211
65
  msgid "In Process..."
66
  msgstr "正在保存……"
67
 
68
+ #: qqworld-auto-save-images.php:212
69
  msgid "Something error, please check."
70
  msgstr "出错了,请检查。"
71
 
72
+ #: qqworld-auto-save-images.php:234
73
  msgid ""
74
  "Are you sure?<br />Before you click the yes button, I recommend backup site "
75
  "database."
76
  msgstr "你确定吗?<br />在点击确定按钮之前,我建议你备份网站的数据库。"
77
 
78
+ #: qqworld-auto-save-images.php:235 qqworld-auto-save-images.php:1047
79
  msgid "Please select post types."
80
  msgstr "请选择文章类型。"
81
 
82
+ #: qqworld-auto-save-images.php:236
83
  msgid "May be a problem with some posts: "
84
  msgstr "也许一些文章有问题:"
85
 
86
+ #: qqworld-auto-save-images.php:237
87
  #, php-format
88
  msgid "No need enter \"%s\"."
89
  msgstr "不需要输入“%s”。"
90
 
91
+ #: qqworld-auto-save-images.php:238
92
  #, php-format
93
  msgid "%d post has been scanned."
94
  msgstr "已扫描%d篇文章。"
95
 
96
+ #: qqworld-auto-save-images.php:239
97
  #, php-format
98
  msgid "%d posts have been scanned."
99
  msgstr "已扫描%d篇文章。"
100
 
101
+ #: qqworld-auto-save-images.php:240
102
  #, php-format
103
  msgid "%d post included remote images processed."
104
  msgstr "已处理%d篇包含远程图像的文章。"
105
 
106
+ #: qqworld-auto-save-images.php:241
107
  #, php-format
108
  msgid "%d posts included remote images processed."
109
  msgstr "已处理%d篇包含远程图像的文章。"
110
 
111
+ #: qqworld-auto-save-images.php:242
112
  #, php-format
113
  msgid "%d post has missing images couldn't be processed."
114
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
115
 
116
+ #: qqworld-auto-save-images.php:243
117
  #, php-format
118
  msgid "%d posts have missing images couldn't be processed."
119
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
120
 
121
+ #: qqworld-auto-save-images.php:244
122
  #, php-format
123
  msgid "found %d post including remote images."
124
  msgstr "找到%d篇包含远程图像的文章。"
125
 
126
+ #: qqworld-auto-save-images.php:245
127
  #, php-format
128
  msgid "found %d posts including remote images."
129
  msgstr "找到%d篇包含远程图像的文章。"
130
 
131
+ #: qqworld-auto-save-images.php:246
132
  #, php-format
133
  msgid "And with %d post has missing images."
134
  msgstr "其中有%d篇文章包含不存在的远程图像。"
135
 
136
+ #: qqworld-auto-save-images.php:247
137
  #, php-format
138
  msgid "And with %d posts have missing images."
139
  msgstr "其中有%d篇文章包含不存在的远程图像。"
140
 
141
+ #: qqworld-auto-save-images.php:248
142
  msgid "No posts processed."
143
  msgstr "未处理任何文章。"
144
 
145
+ #: qqworld-auto-save-images.php:249
146
  msgid "No post has remote images found."
147
  msgstr "没有文章包含远程图像。"
148
 
149
+ #: qqworld-auto-save-images.php:250
150
  msgid "No posts found."
151
  msgstr "未找到任何文章。"
152
 
153
+ #: qqworld-auto-save-images.php:251
154
  msgid "All done."
155
  msgstr "全部完成。"
156
 
157
+ #: qqworld-auto-save-images.php:252
158
  #, fuzzy
159
  msgid "Yes"
160
  msgstr "是"
161
 
162
+ #: qqworld-auto-save-images.php:253 qqworld-auto-save-images.php:648
163
  msgid "No"
164
  msgstr ""
165
 
166
+ #: qqworld-auto-save-images.php:254
167
  msgid "Scanning..."
168
  msgstr "扫描中……"
169
 
170
+ #: qqworld-auto-save-images.php:255
171
  msgid "Listing..."
172
  msgstr "显示列表中……"
173
 
174
+ #: qqworld-auto-save-images.php:256 qqworld-auto-save-images.php:1089
175
  #, fuzzy
176
  msgid "ID"
177
  msgstr "博客ID"
178
 
179
+ #: qqworld-auto-save-images.php:257
180
  msgid "Post Type"
181
  msgstr "文章类型"
182
 
183
+ #: qqworld-auto-save-images.php:258 qqworld-auto-save-images.php:1091
184
  #, fuzzy
185
  msgid "Title"
186
  msgstr "标题"
187
 
188
+ #: qqworld-auto-save-images.php:259 qqworld-auto-save-images.php:1069
189
  #, fuzzy
190
  msgid "Status"
191
  msgstr "状态"
192
 
193
+ #: qqworld-auto-save-images.php:260
194
  msgid "Control"
195
  msgstr "控制"
196
 
197
+ #: qqworld-auto-save-images.php:261
198
  #, fuzzy
199
  msgid "Done"
200
  msgstr "全部完成。"
201
 
202
+ #: qqworld-auto-save-images.php:262 qqworld-auto-save-images.php:630
203
  #, fuzzy
204
  msgid "Delete"
205
  msgstr "删除"
206
 
207
+ #: qqworld-auto-save-images.php:285
208
  msgid "Congratulation! FTP successfully connected."
209
  msgstr "恭喜!成功连接FTP。"
210
 
211
+ #: qqworld-auto-save-images.php:287
212
  msgid "Failed to change ftp directory, Did dirctory not exist?"
213
  msgstr "切换FTP目录失败,目录不存在?"
214
 
215
+ #: qqworld-auto-save-images.php:290
216
  msgid "Whoops, FTP logon has failed!"
217
  msgstr "哎呀,登录FTP失败。"
218
 
219
+ #: qqworld-auto-save-images.php:293
220
  msgid "Whoops, FTP connection has failed!"
221
  msgstr "哎呀,连接FTP失败。"
222
 
223
+ #: qqworld-auto-save-images.php:388 qqworld-auto-save-images.php:422
224
  msgid "Has missing images."
225
  msgstr "有不存在的远程图像。"
226
 
227
+ #: qqworld-auto-save-images.php:422
228
  msgid "Normal"
229
  msgstr "正常"
230
 
231
+ #: qqworld-auto-save-images.php:423
232
  msgid "Fetch"
233
  msgstr "抓取"
234
 
235
+ #: qqworld-auto-save-images.php:465
236
  msgid "Save Remote Images"
237
  msgstr "保存远程图片"
238
 
239
+ #: qqworld-auto-save-images.php:476 qqworld-auto-save-images.php:519
240
  #, fuzzy
241
  msgid "Settings"
242
  msgstr "光箱选项"
243
 
244
+ #: qqworld-auto-save-images.php:484
245
  msgid "Auto Save Images"
246
  msgstr "自动保存图片"
247
 
248
+ #: qqworld-auto-save-images.php:486 qqworld-auto-save-images.php:513
249
  msgid "QQWorld Auto Save Images"
250
  msgstr "QQWorld自动保存图片"
251
 
252
+ #: qqworld-auto-save-images.php:495
253
  msgid "Installation"
254
  msgstr "安装说明"
255
 
256
+ #: qqworld-auto-save-images.php:496
257
  msgid ""
258
  "<ol><li>Make sure the server configuration <strong>allow_url_fopen=1</"
259
  "strong> in php.ini.</li><li>Warning: If your website domain has been "
264
  "告:如果你的网站域名更改了,必须在数据库中将所有的图片链接更新到新域名,否则"
265
  "插件会把未更改的图片再保存一次。</li></ol>"
266
 
267
+ #: qqworld-auto-save-images.php:500
268
  msgid "Notice"
269
  msgstr "注意"
270
 
271
+ #: qqworld-auto-save-images.php:501
272
  msgid ""
273
  "<ul><li>This plugin has a little problem that is all the image url must be "
274
  "full url, it means must included \"http(s)://\", for example:<ul><li>&lt;img "
297
  "让图片的URL完整。<br />所以,如果你碰到这样的代码,请手动将图片地址改成完整"
298
  "的,或者使用采集工具自动补完图片的URL然后从外部提交给Wordpress。"
299
 
300
+ #: qqworld-auto-save-images.php:505
301
  #, fuzzy
302
  msgid "About"
303
  msgstr "关于主题"
304
 
305
+ #: qqworld-auto-save-images.php:506
306
  msgid ""
307
  "<p>Hi everyone, My name is Michael Wang from china.</p><p>I made this plugin "
308
  "just for play in the first place, after 1 year, oneday someone sent an email "
316
  "后随着越来越多的人向我寻求帮助,我的插件也变得越来越强大。这就是我的插件,我"
317
  "希望你们能喜欢它,谢谢。</p>"
318
 
319
+ #: qqworld-auto-save-images.php:514
320
  msgid ""
321
  "Automatically keep the all remote picture to the local, and automatically "
322
  "set featured image."
323
  msgstr ""
324
  "自动保存远程图片到本地,自动设置特色图片,并且支持机器人采集软件从外部提交。"
325
 
326
+ #: qqworld-auto-save-images.php:520
327
  msgid "Optimization"
328
  msgstr "优化"
329
 
330
+ #: qqworld-auto-save-images.php:520 qqworld-auto-save-images.php:521
331
  msgid "Preview"
332
  msgstr "预览"
333
 
334
+ #: qqworld-auto-save-images.php:521
335
  msgid "Watermark"
336
  msgstr "水印"
337
 
338
+ #: qqworld-auto-save-images.php:522
339
  msgid "Scan Posts"
340
  msgstr "扫描文章"
341
 
342
+ #: qqworld-auto-save-images.php:525
343
  msgid "General Options"
344
  msgstr "常规选项"
345
 
346
+ #: qqworld-auto-save-images.php:529 qqworld-auto-save-images.php:531
347
+ #: qqworld-auto-save-images.php:766 qqworld-auto-save-images.php:768
348
  msgid "Mode"
349
  msgstr "模式"
350
 
351
+ #: qqworld-auto-save-images.php:534 qqworld-auto-save-images.php:1127
352
  msgid "Automatic"
353
  msgstr "自动"
354
 
355
+ #: qqworld-auto-save-images.php:535
356
  msgid ""
357
  "Automatically save all remote images to local media libary when you save or "
358
  "publish post."
359
  msgstr "在保存或发布文章时,自动将所有远程图像保存到本地媒体库。"
360
 
361
+ #: qqworld-auto-save-images.php:538 qqworld-auto-save-images.php:1128
362
  msgid "Manual"
363
  msgstr "手动"
364
 
365
+ #: qqworld-auto-save-images.php:539
366
  msgid ""
367
  "Manually save all remote images to local media libary when you click the "
368
  "button on the top of editor."
369
  msgstr "当单击编辑器顶部的按钮时,手动将所有远程图像保存到本地媒体库。"
370
 
371
+ #: qqworld-auto-save-images.php:544 qqworld-auto-save-images.php:546
372
  msgid "When"
373
  msgstr "什么时候"
374
 
375
+ #: qqworld-auto-save-images.php:549
376
  msgid "Save post (Publish, save draft or pedding review)."
377
  msgstr "保存文章时(发布文章,保存草稿或提交审核)。"
378
 
379
+ #: qqworld-auto-save-images.php:553
380
  msgid "Publish post only."
381
  msgstr "仅发布文章时。"
382
 
383
+ #: qqworld-auto-save-images.php:559 qqworld-auto-save-images.php:561
384
  msgid "Remote Publishing"
385
  msgstr "远程发布"
386
 
387
+ #: qqworld-auto-save-images.php:559
388
  msgid ""
389
  "Save remote images via remote publishing from IFTTT or other way using "
390
  "XMLRPC. Only supports publish post."
391
  msgstr "保存通过IFTTT或其他使用XMLRPC方法远程发布的远程图片。仅支持发布文章。"
392
 
393
+ #: qqworld-auto-save-images.php:569 qqworld-auto-save-images.php:571
394
  msgid "Set Featured Image"
395
  msgstr "设置特色图片"
396
 
397
+ #: qqworld-auto-save-images.php:569
398
  msgid "Set first one of the remote images as featured image."
399
  msgstr "设置远程图片中的第1个为特色图片。"
400
 
401
+ #: qqworld-auto-save-images.php:579
402
  msgid "Filter Options"
403
  msgstr "过滤选项"
404
 
405
+ #: qqworld-auto-save-images.php:583 qqworld-auto-save-images.php:585
406
  msgid "Grabbing from Each Posts"
407
  msgstr "从每篇文章抓取"
408
 
409
+ #: qqworld-auto-save-images.php:587
410
  msgid "All Images"
411
  msgstr "全部图片"
412
 
413
+ #: qqworld-auto-save-images.php:591
414
  #, php-format
415
  msgid "First %d image only"
416
  msgid_plural "First %d images only"
417
  msgstr[0] "前 %d 张图片"
418
 
419
+ #: qqworld-auto-save-images.php:598 qqworld-auto-save-images.php:600
420
  msgid "Minimum Picture Size"
421
  msgstr "最小图像尺寸"
422
 
423
+ #: qqworld-auto-save-images.php:598
424
  msgid "Ignore smaller than this size picture."
425
  msgstr "忽略比这个尺寸更小的图像。"
426
 
427
+ #: qqworld-auto-save-images.php:602 qqworld-auto-save-images.php:614
428
+ #: qqworld-auto-save-images.php:927
429
  msgid "Width:"
430
  msgstr "宽度:"
431
 
432
+ #: qqworld-auto-save-images.php:602 qqworld-auto-save-images.php:605
433
+ #: qqworld-auto-save-images.php:614 qqworld-auto-save-images.php:617
434
+ #: qqworld-auto-save-images.php:927 qqworld-auto-save-images.php:930
435
  msgid "(px)"
436
  msgstr "(像素)"
437
 
438
+ #: qqworld-auto-save-images.php:605 qqworld-auto-save-images.php:617
439
+ #: qqworld-auto-save-images.php:930
440
  msgid "Height:"
441
  msgstr "高度:"
442
 
443
+ #: qqworld-auto-save-images.php:610 qqworld-auto-save-images.php:612
444
  msgid "Maximum Picture Size"
445
  msgstr "最大图像尺寸"
446
 
447
+ #: qqworld-auto-save-images.php:610
448
  msgid ""
449
  "Automatic reduction is greater than the size of the picture. if you want "
450
  "image width less than 800px with any size height, please set width 800 and "
453
  "自动缩小大于该尺寸的图像。如果你想要宽度不超过800px和任意高度图片,请设置宽度"
454
  "800,并设置高度为空。"
455
 
456
+ #: qqworld-auto-save-images.php:622 qqworld-auto-save-images.php:624
457
  msgid "Exclude Domain/Keyword"
458
  msgstr "排除域名/关键词"
459
 
460
+ #: qqworld-auto-save-images.php:622
461
  msgid "Images will not be saved, if that url contains Exclude-Domain/Keyword."
462
  msgstr "如果图片地址包含排除域名/关键词,则不会保存该图片。"
463
 
464
+ #: qqworld-auto-save-images.php:634
465
  msgid "Add a Domain/Keyword"
466
  msgstr "添加域名/关键词"
467
 
468
+ #: qqworld-auto-save-images.php:639
469
  msgid "Format Options"
470
  msgstr "格式化选项"
471
 
472
+ #: qqworld-auto-save-images.php:643 qqworld-auto-save-images.php:646
473
  msgid "Change Image Filename"
474
  msgstr "更改图片文件名"
475
 
476
+ #: qqworld-auto-save-images.php:649
477
  msgid ""
478
  "Only change remote images filename that have Non-ASCii characters (for "
479
  "Windows Server)"
480
  msgstr "仅修改包含非ASCii字符的远程图片文件名(用于Windows服务器)"
481
 
482
+ #: qqworld-auto-save-images.php:650
483
  msgid ""
484
  "Change all remote images Filename and Alt as post name (for Linux Server)"
485
  msgstr "改变所有远程图片文件名为文章名(Post Name)(用于Linux服务器)"
486
 
487
+ #: qqworld-auto-save-images.php:655 qqworld-auto-save-images.php:657
488
  msgid "Custom Filename Structure"
489
  msgstr "自定文件名结构"
490
 
491
+ #: qqworld-auto-save-images.php:662
492
  msgid "Original filename or automatic changed filename."
493
  msgstr "原文件名或自动更改的文件名。"
494
 
495
+ #: qqworld-auto-save-images.php:663
496
  msgid "Full date, e.g. 20150209."
497
  msgstr "完整的日期,例如:20150209。"
498
 
499
+ #: qqworld-auto-save-images.php:664
500
  msgid "YYYY, e.g. 2015."
501
  msgstr "YYYY,例如:2015。"
502
 
503
+ #: qqworld-auto-save-images.php:665
504
  msgid "MM, e.g. 02."
505
  msgstr "MM,例如:02。"
506
 
507
+ #: qqworld-auto-save-images.php:666
508
  msgid "DD, e.g. 15."
509
  msgstr "DD,例如:15。"
510
 
511
+ #: qqworld-auto-save-images.php:667
512
  msgid "HHMMSS, e.g. 182547."
513
  msgstr "HHMMSS,例如:182547。"
514
 
515
+ #: qqworld-auto-save-images.php:668
516
  #, php-format
517
  msgid "Unix timestamp, e.g. %s."
518
  msgstr "Unix时间戳,例如:%s。"
519
 
520
+ #: qqworld-auto-save-images.php:673 qqworld-auto-save-images.php:675
521
  msgid "Change Title & Alt"
522
  msgstr "更改标题和替代文本"
523
 
524
+ #: qqworld-auto-save-images.php:673
525
  msgid "Automatically add title & alt of image as post title."
526
  msgstr "自动依照文章标题添加图片的标题和替代文本。"
527
 
528
+ #: qqworld-auto-save-images.php:682 qqworld-auto-save-images.php:684
529
  msgid "Keep Outside Links"
530
  msgstr "保留外链"
531
 
532
+ #: qqworld-auto-save-images.php:682
533
  msgid "Keep the outside links of remote images if exist."
534
  msgstr "将会保留远程图片的链接,如果存在的话。"
535
 
536
+ #: qqworld-auto-save-images.php:691 qqworld-auto-save-images.php:693
537
  msgid "Save Outside Links"
538
  msgstr "保存外链"
539
 
540
+ #: qqworld-auto-save-images.php:691
541
  msgid "Save the outside links to description of attachments."
542
  msgstr "保存外部链接到附件的描述。"
543
 
544
+ #: qqworld-auto-save-images.php:700 qqworld-auto-save-images.php:702
545
  msgid "Image Size"
546
  msgstr "图像尺寸"
547
 
548
+ #: qqworld-auto-save-images.php:700
549
  msgid "Replace images you want size to display."
550
  msgstr "替换成你想要显示的尺寸的图像。"
551
 
552
+ #: qqworld-auto-save-images.php:707
553
  #, fuzzy
554
  msgid "Thumbnail"
555
  msgstr ""
556
  "一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
557
  "jQuery路径。"
558
 
559
+ #: qqworld-auto-save-images.php:708
560
  msgid "Medium"
561
  msgstr ""
562
 
563
+ #: qqworld-auto-save-images.php:709
564
  msgid "Large"
565
  msgstr ""
566
 
567
+ #: qqworld-auto-save-images.php:710
568
  #, fuzzy
569
  msgid "Full Size"
570
  msgstr "链接到全尺寸图像"
571
 
572
+ #: qqworld-auto-save-images.php:719 qqworld-auto-save-images.php:721
573
  msgid "Link To"
574
  msgstr "链接到"
575
 
576
+ #: qqworld-auto-save-images.php:719
577
  msgid "If you checked Keep-Outside-Links, this option will not works."
578
  msgstr "如果你勾选了保留外链,本项将不起作用。"
579
 
580
+ #: qqworld-auto-save-images.php:726
581
  #, fuzzy
582
  msgid "Media File"
583
  msgstr "添加文件"
584
 
585
+ #: qqworld-auto-save-images.php:727
586
  #, fuzzy
587
  msgid "Attachment Page"
588
  msgstr "(附件)"
589
 
590
+ #: qqworld-auto-save-images.php:728
591
  msgid "None"
592
  msgstr ""
593
 
594
+ #: qqworld-auto-save-images.php:737 qqworld-auto-save-images.php:739
595
  msgid "Additional Content"
596
  msgstr "额外的内容"
597
 
598
+ #: qqworld-auto-save-images.php:737
599
  msgid ""
600
  "This content will be displayed after the each remote images code. you can "
601
  "use [Attachment ID] indicate current attachment ID."
602
  msgstr "此内容将在每个远程图像编码后显​​示。您可以使用[附件ID]指示当前连接ID。"
603
 
604
+ #: qqworld-auto-save-images.php:742
605
  msgid "For example: [Gbuy id='[Attachment ID]']"
606
  msgstr "例如:[Gbuy id='[Attachment ID]']"
607
 
608
+ #: qqworld-auto-save-images.php:752 qqworld-auto-save-images.php:899
609
  msgid ""
610
  "Just for preview, The complete feature will on the Pro version. Don't worry, "
611
  "other features will be free forever."
612
  msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
613
 
614
+ #: qqworld-auto-save-images.php:753
615
  msgid "Optimization Options"
616
  msgstr "优化选项"
617
 
618
+ #: qqworld-auto-save-images.php:757 qqworld-auto-save-images.php:759
619
+ #: qqworld-auto-save-images.php:832 qqworld-auto-save-images.php:834
620
+ #: qqworld-auto-save-images.php:864 qqworld-auto-save-images.php:866
621
  msgid "Enabled"
622
  msgstr "开启"
623
 
624
+ #: qqworld-auto-save-images.php:757
625
  msgid "Use Cookie-Free Domains to display images."
626
  msgstr "使用免Cookie域名(Cookie-Free Domains)来显示图片。"
627
 
628
+ #: qqworld-auto-save-images.php:766
629
  msgid ""
630
  "If you wanna use local media library, please choose the Use-local-server."
631
  msgstr "如果你想使用本地媒体库,请选择使用本地服务器。"
632
 
633
+ #: qqworld-auto-save-images.php:772
634
  msgid "Use local server"
635
  msgstr "使用本地服务器"
636
 
637
+ #: qqworld-auto-save-images.php:773
638
  msgid "Use remote server"
639
  msgstr "使用远程服务器"
640
 
641
+ #: qqworld-auto-save-images.php:781 qqworld-auto-save-images.php:783
642
  msgid "Domain & Folder"
643
  msgstr "域名 & 目录"
644
 
645
+ #: qqworld-auto-save-images.php:781
646
  msgid "Do not end with '/'."
647
  msgstr "结尾不要有 '/'。"
648
 
649
+ #: qqworld-auto-save-images.php:789
650
  msgid "Host"
651
  msgstr "主机"
652
 
653
+ #: qqworld-auto-save-images.php:790
654
  msgid "Folder (Can be empty)"
655
  msgstr "目录(可以为空)"
656
 
657
+ #: qqworld-auto-save-images.php:796 qqworld-auto-save-images.php:798
658
  msgid "FTP Settings"
659
  msgstr "FTP设置"
660
 
661
+ #: qqworld-auto-save-images.php:801
662
  msgid "IP Address"
663
  msgstr "IP地址"
664
 
665
+ #: qqworld-auto-save-images.php:805
666
  msgid "Port"
667
  msgstr "端口"
668
 
669
+ #: qqworld-auto-save-images.php:809
670
  msgid "Username"
671
  msgstr "用户名"
672
 
673
+ #: qqworld-auto-save-images.php:813
674
  msgid "Password"
675
  msgstr "密码"
676
 
677
+ #: qqworld-auto-save-images.php:817
678
  msgid "Directory"
679
  msgstr "目录"
680
 
681
+ #: qqworld-auto-save-images.php:821
682
  msgid "Test FTP"
683
  msgstr "测试FTP"
684
 
685
+ #: qqworld-auto-save-images.php:828
686
  msgid "Proxy Settings"
687
  msgstr "代理设置"
688
 
689
+ #: qqworld-auto-save-images.php:832
690
  msgid "Use proxy server to download images."
691
  msgstr "使用代理服务器下载图片。"
692
 
693
+ #: qqworld-auto-save-images.php:841 qqworld-auto-save-images.php:843
694
  msgid "Timeout"
695
  msgstr "超时"
696
 
697
+ #: qqworld-auto-save-images.php:841
698
  msgid "Set timeout period on proxy."
699
  msgstr "设置代理超时时间。"
700
 
701
+ #: qqworld-auto-save-images.php:845
702
  msgid "Second(s)"
703
  msgstr "秒"
704
 
705
+ #: qqworld-auto-save-images.php:850 qqworld-auto-save-images.php:852
706
  msgid "Proxy Address"
707
  msgstr "代理地址"
708
 
709
+ #: qqworld-auto-save-images.php:850
710
  msgid "For example: 127.0.0.1:8087"
711
  msgstr "示例:127.0.0.1:8087"
712
 
713
+ #: qqworld-auto-save-images.php:860
714
+ msgid "Images Compression Options"
715
+ msgstr "图片压缩选项"
716
+
717
+ #: qqworld-auto-save-images.php:864
718
+ msgid "Enable compress images when uploading."
719
+ msgstr "启用上传时压缩图像。"
720
+
721
+ #: qqworld-auto-save-images.php:873 qqworld-auto-save-images.php:875
722
+ msgid "Quality"
723
+ msgstr "品质"
724
+
725
+ #: qqworld-auto-save-images.php:873
726
+ msgid ""
727
+ "Compression level, ranges from 0 (worst quality, smaller file) to 100 (best "
728
+ "quality, biggest file)."
729
+ msgstr "压缩级别,范围从0(最低品质,文件较小)到100(最高品质,文件较大)。"
730
+
731
+ #: qqworld-auto-save-images.php:878
732
+ msgid " (Recommend)"
733
+ msgstr "(推荐)"
734
+
735
+ #: qqworld-auto-save-images.php:888 qqworld-auto-save-images.php:1017
736
  msgid "Buy"
737
  msgstr "购买"
738
 
739
+ #: qqworld-auto-save-images.php:889 qqworld-auto-save-images.php:1018
740
  msgid "QQWorld Auto Save Images Pro"
741
  msgstr "QQWorld自动保存图片专业版"
742
 
743
+ #: qqworld-auto-save-images.php:903 qqworld-auto-save-images.php:905
744
  msgid "Enabled Watermark"
745
  msgstr "启用水印"
746
 
747
+ #: qqworld-auto-save-images.php:903
748
  msgid "Use for both of remote images and the local upload."
749
  msgstr "同时用于远程图片和本地上传。"
750
 
751
+ #: qqworld-auto-save-images.php:913 qqworld-auto-save-images.php:915
752
  msgid "Ignore animated GIF"
753
  msgstr "忽略GIF动画"
754
 
755
+ #: qqworld-auto-save-images.php:923 qqworld-auto-save-images.php:925
756
  msgid "Filter"
757
  msgstr "过滤"
758
 
759
+ #: qqworld-auto-save-images.php:923
760
  msgid "Skip images that smaller than this size."
761
  msgstr "跳过比这个尺寸更小的图像。"
762
 
763
+ #: qqworld-auto-save-images.php:936
764
  msgid "Align To"
765
  msgstr "对齐方式"
766
 
767
+ #: qqworld-auto-save-images.php:958
768
  msgid "Position"
769
  msgstr "位置"
770
 
771
+ #: qqworld-auto-save-images.php:958
772
  msgid "You can try to drag the watermark image."
773
  msgstr "你可以试着拖动水印图片。"
774
 
775
+ #: qqworld-auto-save-images.php:975 qqworld-auto-save-images.php:977
776
+ #: qqworld-auto-save-images.php:1056
777
  msgid "Offset"
778
  msgstr "偏移"
779
 
780
+ #: qqworld-auto-save-images.php:988 qqworld-auto-save-images.php:990
781
  msgid "Opacity"
782
  msgstr "不透明度"
783
 
784
+ #: qqworld-auto-save-images.php:998 qqworld-auto-save-images.php:1000
785
  msgid "Upload Watermark Image"
786
  msgstr "上传水印图片"
787
 
788
+ #: qqworld-auto-save-images.php:1002
789
  msgid "Insert a Watermark Image"
790
  msgstr "插入水印图片"
791
 
792
+ #: qqworld-auto-save-images.php:1013
793
  msgid "Default Watermark"
794
  msgstr "默认水印"
795
 
796
+ #: qqworld-auto-save-images.php:1032
797
  msgid "Select post types"
798
  msgstr "选择文章类型"
799
 
800
+ #: qqworld-auto-save-images.php:1032
801
  msgid ""
802
  "If you have too many posts to be scan, sometimes in process looks like "
803
  "stopping, but it may be fake. please be patient."
805
  "如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
806
  "请耐心等待。"
807
 
808
+ #: qqworld-auto-save-images.php:1046
809
  #, fuzzy
810
  msgid "Categories"
811
  msgstr "%s分类"
812
 
813
+ #: qqworld-auto-save-images.php:1046
814
  msgid "Default empty to scan all categories."
815
  msgstr "默认留空扫描所有分类。"
816
 
817
+ #: qqworld-auto-save-images.php:1051
818
  msgid "Scope of Post ID"
819
  msgstr "文章ID范围"
820
 
821
+ #: qqworld-auto-save-images.php:1051
822
  msgid ""
823
  "Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
824
  "100. please type '50' and '100' or '100' and '50', The order in which two "
829
  "者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
830
  "该ID。"
831
 
832
+ #: qqworld-auto-save-images.php:1052
833
  #, php-format
834
  msgid "From %1$s to %2$s"
835
  msgstr "从 %1$s 到 %2$s"
836
 
837
+ #: qqworld-auto-save-images.php:1056
838
  msgid ""
839
  "Default scan all posts. If you want to scan 50-150 posts, please type '50' "
840
  "in the textfield and select '100'."
842
  "默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
843
  "选择“100”。"
844
 
845
+ #: qqworld-auto-save-images.php:1058
846
  #, php-format
847
  msgid "Start from %s to Scan"
848
  msgstr "从 %s 开始扫描"
849
 
850
+ #: qqworld-auto-save-images.php:1060
851
  #, fuzzy
852
  msgid "All"
853
  msgstr "所有"
854
 
855
+ #: qqworld-auto-save-images.php:1064
856
  #, fuzzy
857
  msgid "Posts"
858
  msgstr "热门文章"
859
 
860
+ #: qqworld-auto-save-images.php:1074
861
  msgid "Any"
862
  msgstr "任意"
863
 
864
+ #: qqworld-auto-save-images.php:1084
865
  msgid "Order By"
866
  msgstr "排序依据"
867
 
868
+ #: qqworld-auto-save-images.php:1090
869
  #, fuzzy
870
  msgid "Author"
871
  msgstr "名称"
872
 
873
+ #: qqworld-auto-save-images.php:1092
874
  #, fuzzy
875
  msgid "Date"
876
  msgstr "日期"
877
 
878
+ #: qqworld-auto-save-images.php:1093
879
  #, fuzzy
880
  msgid "Last Modified"
881
  msgstr "最后回复"
882
 
883
+ #: qqworld-auto-save-images.php:1094
884
  msgid "Comment Count"
885
  msgstr "评论数"
886
 
887
+ #: qqworld-auto-save-images.php:1104
888
  #, fuzzy
889
  msgid "Order"
890
  msgstr "顺序"
891
 
892
+ #: qqworld-auto-save-images.php:1114
893
  msgid "Speed"
894
  msgstr "速度"
895
 
896
+ #: qqworld-auto-save-images.php:1114
897
  msgid "If the server is too much stress may be appropriately reduced speed."
898
  msgstr "如果服务器压力过大,可以适当调低速度。"
899
 
900
+ #: qqworld-auto-save-images.php:1127
901
  msgid ""
902
  "Scan posts and keep remote images in all posts to local media library. Maybe "
903
  "take a long time."
904
  msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
905
 
906
+ #: qqworld-auto-save-images.php:1128
907
  msgid ""
908
  "The list displayed will show you which posts including remote images, then "
909
  "you can keep them to local manually via click \"Fetch\" button."
911
  "显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
912
  "存。"
913
 
914
+ #: qqworld-auto-save-images.php:1238
915
  msgid "Has Missing/Undownloadable images."
916
  msgstr "有 不存在/不可下载 的远程图像。"
917
 
918
+ #: qqworld-auto-save-images.php:1245
919
  msgid "No remote images found."
920
  msgstr "没有远程图像。"
921
 
922
+ #: qqworld-auto-save-images.php:1373
923
  msgid "Original Link"
924
  msgstr "原始链接"
925
 
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.13.2
7
  Author: Michael Wang
8
  Author URI: http://www.qqworld.org
9
  Text Domain: qqworld_auto_save_images
@@ -40,6 +40,8 @@ class QQWorld_auto_save_images {
40
  var $ftp;
41
  var $ftp_connection;
42
 
 
 
43
  var $proxy;
44
  var $proxy_enabled;
45
  var $proxy_timeout;
@@ -86,6 +88,10 @@ class QQWorld_auto_save_images {
86
  $this->proxy_timeout = isset($this->proxy['timeout']) ? $this->proxy['timeout'] : '5';
87
  $this->proxy_address = isset($this->proxy['address']) ? $this->proxy['address'] : '127.0.0.1:8087';
88
 
 
 
 
 
89
  $this->watermark_enabled = get_option('qqworld-auto-save-images-watermark-enabled', 'no');
90
  $this->ignore_animated_gif = get_option('qqworld-auto-save-images-watermark-ignore-animated-gif', 'yes');
91
  $this->filter_size = get_option('qqworld-auto-save-images-watermark-filter-size', array('width'=>300, 'height'=>300));
@@ -372,7 +378,7 @@ class QQWorld_auto_save_images {
372
  $post_type_object = get_post_type_object($post_type);
373
  if ($this->has_remote_image) :
374
  $class = 'has_remote_images';
375
- if ($this->has_missing_image) $class += ' has_not_exits_remote_images';
376
  $class = ' class="' . $class . '"';
377
  ?>
378
  <tr<?php echo $class; ?>>
@@ -849,6 +855,35 @@ class QQWorld_auto_save_images {
849
  </label>
850
  </fieldset></td>
851
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
852
  <tr valign="top">
853
  <th scope="row"><label><?php _e('Buy', 'qqworld_auto_save_images'); ?></label></th>
854
  <td><a href="http://www.qqworld.org/products/qqworld-auto-save-images-pro" target="_blank"><?php _e('QQWorld Auto Save Images Pro', 'qqworld_auto_save_images'); ?></a></td>
@@ -1242,6 +1277,10 @@ class QQWorld_auto_save_images {
1242
  if ($this->remote_publishing) add_action('xmlrpc_publish_post', array($this, 'fetch_images') );
1243
  }
1244
 
 
 
 
 
1245
  public function content_save_pre($content, $post_id=null, $action='save') {
1246
  $this->count = 1;
1247
  $this->change_attachment_url_to_permalink($content);
@@ -1331,7 +1370,7 @@ class QQWorld_auto_save_images {
1331
  if ( preg_match('/<a[^>]*href=\"(.*?)\".*?>/i', $matches[0], $match) ) {
1332
  $args = array(
1333
  'ID' => $attachment_id,
1334
- 'post_content' => '<a href="'.$match[1].'" target="_blank">'.__('Original Link', 'qqworld_auto_save_images').'</a>'
1335
  );
1336
  wp_update_post($args);
1337
  }
@@ -1483,7 +1522,7 @@ class QQWorld_auto_save_images {
1483
 
1484
  function fsockopen_image_header($image_url, $mode='Content-Type') { // 'Content-Length' | 'Content-Type' | 'Date' | 'Last-Modified'
1485
  $url = parse_url($image_url);
1486
- $fp = fsockopen($url['host'], 80, $errno, $errstr, 30);
1487
  if ($fp) {
1488
  //������������ΪHEAD
1489
  $out = "HEAD {$url['path']} HTTP/1.1\r\n";
@@ -1523,7 +1562,7 @@ class QQWorld_auto_save_images {
1523
  // GD
1524
  $img = @imagecreatefromstring($file);
1525
  if (!$img && function_exists('fsockopen')) {
1526
- $type = $this->fsockopen_image_header($image_url);
1527
  if ($type && in_array($type, array('image/jpeg', 'image/gif', 'image/png'))) {
1528
  $type = substr($type, 6);
1529
  $img = call_user_func("imagecreatefrom{$type}", $image_url);
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.13.3
7
  Author: Michael Wang
8
  Author URI: http://www.qqworld.org
9
  Text Domain: qqworld_auto_save_images
40
  var $ftp;
41
  var $ftp_connection;
42
 
43
+ var $compression;
44
+
45
  var $proxy;
46
  var $proxy_enabled;
47
  var $proxy_timeout;
88
  $this->proxy_timeout = isset($this->proxy['timeout']) ? $this->proxy['timeout'] : '5';
89
  $this->proxy_address = isset($this->proxy['address']) ? $this->proxy['address'] : '127.0.0.1:8087';
90
 
91
+ $this->compression = get_option('qqworld-auto-save-images-compression', array('quality' => 75));
92
+ $this->compression_enabled = isset($this->compression['enabled']) ? $this->compression['enabled'] : '';
93
+ $this->compression_level = isset($this->compression['quality']) ? $this->compression['quality'] : '';
94
+
95
  $this->watermark_enabled = get_option('qqworld-auto-save-images-watermark-enabled', 'no');
96
  $this->ignore_animated_gif = get_option('qqworld-auto-save-images-watermark-ignore-animated-gif', 'yes');
97
  $this->filter_size = get_option('qqworld-auto-save-images-watermark-filter-size', array('width'=>300, 'height'=>300));
378
  $post_type_object = get_post_type_object($post_type);
379
  if ($this->has_remote_image) :
380
  $class = 'has_remote_images';
381
+ if ($this->has_missing_image) $class .= ' has_not_exits_remote_images';
382
  $class = ' class="' . $class . '"';
383
  ?>
384
  <tr<?php echo $class; ?>>
855
  </label>
856
  </fieldset></td>
857
  </tr>
858
+ </tbody>
859
+ </table>
860
+ <h2><?php _e('Images Compression Options', 'qqworld_auto_save_images'); ?></h2>
861
+ <table class="form-table">
862
+ <tbody>
863
+ <tr valign="top">
864
+ <th scope="row"><label for="enabled_compression"><?php _e('Enabled', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e('Enable compress images when uploading.', 'qqworld_auto_save_images'); ?>"></span></th>
865
+ <td><fieldset>
866
+ <legend class="screen-reader-text"><span><?php _e('Enabled', 'qqworld_auto_save_images'); ?></span></legend>
867
+ <label>
868
+ <input name="qqworld-auto-save-images-compression[enabled]" type="checkbox" id="enabled_compression" value="yes" <?php checked('yes', $this->compression_enabled); ?> />
869
+ </label>
870
+ </fieldset></td>
871
+ </tr>
872
+ <tr valign="top">
873
+ <th scope="row"><label for="enabled_compression"><?php _e('Quality', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e('Compression level, ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file).', 'qqworld_auto_save_images'); ?>"></span></th>
874
+ <td><fieldset>
875
+ <legend class="screen-reader-text"><span><?php _e('Quality', 'qqworld_auto_save_images'); ?></span></legend>
876
+ <select id="protocol" name="qqworld-auto-save-images-compression[quality]">
877
+ <?php for ($q=100; $q>=0; $q-=5) : ?>
878
+ <option value="<?php echo $q; ?>"<?php selected($q, $this->compression_level); ?>><?php echo $q; ?><?php if ($q==75) _e(' (Recommend)', 'qqworld_auto_save_images'); ?></option>
879
+ <?php endfor; ?>
880
+ </select>
881
+ </fieldset></td>
882
+ </tr>
883
+ </tbody>
884
+ </table>
885
+ <table class="form-table">
886
+ <tbody>
887
  <tr valign="top">
888
  <th scope="row"><label><?php _e('Buy', 'qqworld_auto_save_images'); ?></label></th>
889
  <td><a href="http://www.qqworld.org/products/qqworld-auto-save-images-pro" target="_blank"><?php _e('QQWorld Auto Save Images Pro', 'qqworld_auto_save_images'); ?></a></td>
1277
  if ($this->remote_publishing) add_action('xmlrpc_publish_post', array($this, 'fetch_images') );
1278
  }
1279
 
1280
+ public function has_missing_images() {
1281
+
1282
+ }
1283
+
1284
  public function content_save_pre($content, $post_id=null, $action='save') {
1285
  $this->count = 1;
1286
  $this->change_attachment_url_to_permalink($content);
1370
  if ( preg_match('/<a[^>]*href=\"(.*?)\".*?>/i', $matches[0], $match) ) {
1371
  $args = array(
1372
  'ID' => $attachment_id,
1373
+ 'post_content' => '<a href="'.$match[1].'" target="_blank" rel="nofollow">'.__('Original Link', 'qqworld_auto_save_images').'</a>'
1374
  );
1375
  wp_update_post($args);
1376
  }
1522
 
1523
  function fsockopen_image_header($image_url, $mode='Content-Type') { // 'Content-Length' | 'Content-Type' | 'Date' | 'Last-Modified'
1524
  $url = parse_url($image_url);
1525
+ $fp = @fsockopen($url['host'], 80, $errno, $errstr, 30);
1526
  if ($fp) {
1527
  //������������ΪHEAD
1528
  $out = "HEAD {$url['path']} HTTP/1.1\r\n";
1562
  // GD
1563
  $img = @imagecreatefromstring($file);
1564
  if (!$img && function_exists('fsockopen')) {
1565
+ $type = @$this->fsockopen_image_header($image_url);
1566
  if ($type && in_array($type, array('image/jpeg', 'image/gif', 'image/png'))) {
1567
  $type = substr($type, 6);
1568
  $img = call_user_func("imagecreatefrom{$type}", $image_url);