QQWorld Auto Save Images - Version 1.7.12.2

Version Description

Download this release

Release Info

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

Code changes from version 1.7.11.4 to 1.7.12.2

css/style.css CHANGED
@@ -52,6 +52,10 @@
52
  #watermark-align-to td {
53
  border: 1px solid #ddd;
54
  background: #fff;
 
 
 
 
55
  padding: 5px;
56
  }
57
  #watermark-align-to td:hover {
52
  #watermark-align-to td {
53
  border: 1px solid #ddd;
54
  background: #fff;
55
+ padding: 0;
56
+ }
57
+ #watermark-align-to td label{
58
+ display: block;
59
  padding: 5px;
60
  }
61
  #watermark-align-to td:hover {
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: 2014-12-21 18:39+0800\n"
6
- "PO-Revision-Date: 2014-12-21 18:40+0800\n"
7
  "Last-Translator: Michael Wang <admin@qqworld.org>\n"
8
  "Language-Team: QQWorld <admin@qqworld.org>\n"
9
  "Language: zh_CN\n"
@@ -21,205 +21,205 @@ msgstr ""
21
  "X-Poedit-Basepath: ..\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
- #: qqworld-auto-save-images.php:34
25
  msgid "Michael Wang"
26
  msgstr "王晓骞"
27
 
28
- #: qqworld-auto-save-images.php:99
29
  msgid "No taxonomies found."
30
  msgstr "没有相关分类方法。"
31
 
32
- #: qqworld-auto-save-images.php:107 qqworld-auto-save-images.php:281
33
- #: qqworld-auto-save-images.php:928
34
  msgid "All remote images have been saved."
35
  msgstr "已保存所有远程图像。"
36
 
37
- #: qqworld-auto-save-images.php:107 qqworld-auto-save-images.php:108
38
  #, php-format
39
  msgid " <a href=\"%s\">View</a>"
40
  msgstr " <a href=\"%s\">查看</a>"
41
 
42
- #: qqworld-auto-save-images.php:108
43
  msgid "Has missing images or image which could not download."
44
  msgstr "内容包含 不存在/无法下载 的图像。"
45
 
46
- #: qqworld-auto-save-images.php:129
47
  msgid "In Process..."
48
  msgstr "正在保存……"
49
 
50
- #: qqworld-auto-save-images.php:130
51
  msgid "Something error, please check."
52
  msgstr "出错了,请检查。"
53
 
54
- #: qqworld-auto-save-images.php:152
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:153 qqworld-auto-save-images.php:740
61
  msgid "Please select post types."
62
  msgstr "请选择文章类型。"
63
 
64
- #: qqworld-auto-save-images.php:154
65
  msgid "May be a problem with some posts: "
66
  msgstr "也许一些文章有问题:"
67
 
68
- #: qqworld-auto-save-images.php:155
69
  #, php-format
70
  msgid "No need enter \"%s\"."
71
  msgstr "不需要输入“%s”。"
72
 
73
- #: qqworld-auto-save-images.php:156
74
  #, php-format
75
  msgid "%d post has been scanned."
76
  msgstr "已扫描%d篇文章。"
77
 
78
- #: qqworld-auto-save-images.php:157
79
  #, php-format
80
  msgid "%d posts have been scanned."
81
  msgstr "已扫描%d篇文章。"
82
 
83
- #: qqworld-auto-save-images.php:158
84
  #, php-format
85
  msgid "%d post included remote images processed."
86
  msgstr "已处理%d篇包含远程图像的文章。"
87
 
88
- #: qqworld-auto-save-images.php:159
89
  #, php-format
90
  msgid "%d posts included remote images processed."
91
  msgstr "已处理%d篇包含远程图像的文章。"
92
 
93
- #: qqworld-auto-save-images.php:160
94
  #, php-format
95
  msgid "%d post has missing images couldn't be processed."
96
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
97
 
98
- #: qqworld-auto-save-images.php:161
99
  #, php-format
100
  msgid "%d posts have missing images couldn't be processed."
101
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
102
 
103
- #: qqworld-auto-save-images.php:162
104
  #, php-format
105
  msgid "found %d post including remote images."
106
  msgstr "找到%d篇包含远程图像的文章。"
107
 
108
- #: qqworld-auto-save-images.php:163
109
  #, php-format
110
  msgid "found %d posts including remote images."
111
  msgstr "找到%d篇包含远程图像的文章。"
112
 
113
- #: qqworld-auto-save-images.php:164
114
  #, php-format
115
  msgid "And with %d post has missing images."
116
  msgstr "其中有%d篇文章包含不存在的远程图像。"
117
 
118
- #: qqworld-auto-save-images.php:165
119
  #, php-format
120
  msgid "And with %d posts have missing images."
121
  msgstr "其中有%d篇文章包含不存在的远程图像。"
122
 
123
- #: qqworld-auto-save-images.php:166
124
  msgid "No posts processed."
125
  msgstr "未处理任何文章。"
126
 
127
- #: qqworld-auto-save-images.php:167
128
  msgid "No post has remote images found."
129
  msgstr "没有文章包含远程图像。"
130
 
131
- #: qqworld-auto-save-images.php:168
132
  msgid "No posts found."
133
  msgstr "未找到任何文章。"
134
 
135
- #: qqworld-auto-save-images.php:169
136
  msgid "All done."
137
  msgstr "全部完成。"
138
 
139
- #: qqworld-auto-save-images.php:170
140
  #, fuzzy
141
  msgid "Yes"
142
  msgstr "是"
143
 
144
- #: qqworld-auto-save-images.php:171
145
  msgid "No"
146
  msgstr ""
147
 
148
- #: qqworld-auto-save-images.php:172
149
  msgid "Scanning..."
150
  msgstr "扫描中……"
151
 
152
- #: qqworld-auto-save-images.php:173
153
  msgid "Listing..."
154
  msgstr "显示列表中……"
155
 
156
- #: qqworld-auto-save-images.php:174 qqworld-auto-save-images.php:782
157
  #, fuzzy
158
  msgid "ID"
159
  msgstr "博客ID"
160
 
161
- #: qqworld-auto-save-images.php:175
162
  msgid "Post Type"
163
  msgstr "文章类型"
164
 
165
- #: qqworld-auto-save-images.php:176 qqworld-auto-save-images.php:784
166
  #, fuzzy
167
  msgid "Title"
168
  msgstr "标题"
169
 
170
- #: qqworld-auto-save-images.php:177 qqworld-auto-save-images.php:762
171
  #, fuzzy
172
  msgid "Status"
173
  msgstr "状态"
174
 
175
- #: qqworld-auto-save-images.php:178
176
  msgid "Control"
177
  msgstr "控制"
178
 
179
- #: qqworld-auto-save-images.php:179
180
  #, fuzzy
181
  msgid "Done"
182
  msgstr "全部完成。"
183
 
184
- #: qqworld-auto-save-images.php:180 qqworld-auto-save-images.php:507
185
  #, fuzzy
186
  msgid "Delete"
187
  msgstr "删除"
188
 
189
- #: qqworld-auto-save-images.php:281 qqworld-auto-save-images.php:315
190
  msgid "Has missing images."
191
  msgstr "有不存在的远程图像。"
192
 
193
- #: qqworld-auto-save-images.php:315
194
  msgid "Normal"
195
  msgstr "正常"
196
 
197
- #: qqworld-auto-save-images.php:316
198
  msgid "Fetch"
199
  msgstr "抓取"
200
 
201
- #: qqworld-auto-save-images.php:358
202
  msgid "Save Remote Images"
203
  msgstr "保存远程图片"
204
 
205
- #: qqworld-auto-save-images.php:369 qqworld-auto-save-images.php:412
206
  #, fuzzy
207
  msgid "Settings"
208
  msgstr "光箱选项"
209
 
210
- #: qqworld-auto-save-images.php:377
211
  msgid "Auto Save Images"
212
  msgstr "自动保存图片"
213
 
214
- #: qqworld-auto-save-images.php:379 qqworld-auto-save-images.php:406
215
  msgid "QQWorld Auto Save Images"
216
  msgstr "QQWorld自动保存图片"
217
 
218
- #: qqworld-auto-save-images.php:388
219
  msgid "Installation"
220
  msgstr "安装说明"
221
 
222
- #: qqworld-auto-save-images.php:389
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 +230,11 @@ msgstr ""
230
  "告:如果你的网站域名更改了,必须在数据库中将所有的图片链接更新到新域名,否则"
231
  "插件会把未更改的图片再保存一次。</li></ol>"
232
 
233
- #: qqworld-auto-save-images.php:393
234
  msgid "Notice"
235
  msgstr "注意"
236
 
237
- #: qqworld-auto-save-images.php:394
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>&lt;img "
@@ -263,12 +263,12 @@ msgstr ""
263
  "让图片的URL完整。<br />所以,如果你碰到这样的代码,请手动将图片地址改成完整"
264
  "的,或者使用采集工具自动补完图片的URL然后从外部提交给Wordpress。"
265
 
266
- #: qqworld-auto-save-images.php:398
267
  #, fuzzy
268
  msgid "About"
269
  msgstr "关于主题"
270
 
271
- #: qqworld-auto-save-images.php:399
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 +282,116 @@ msgstr ""
282
  "后随着越来越多的人向我寻求帮助,我的插件也变得越来越强大。这就是我的插件,我"
283
  "希望你们能喜欢它,谢谢。</p>"
284
 
285
- #: qqworld-auto-save-images.php:407
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:413
293
  msgid "Watermark"
294
  msgstr "水印"
295
 
296
- #: qqworld-auto-save-images.php:413
297
  msgid "Trial"
298
  msgstr "试用"
299
 
300
- #: qqworld-auto-save-images.php:414
301
  msgid "Scan Posts"
302
  msgstr "扫描文章"
303
 
304
- #: qqworld-auto-save-images.php:417
305
  msgid "General Options"
306
  msgstr "常规选项"
307
 
308
- #: qqworld-auto-save-images.php:421 qqworld-auto-save-images.php:423
309
  msgid "Mode"
310
  msgstr "模式"
311
 
312
- #: qqworld-auto-save-images.php:426 qqworld-auto-save-images.php:820
313
  msgid "Automatic"
314
  msgstr "自动"
315
 
316
- #: qqworld-auto-save-images.php:427
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:430 qqworld-auto-save-images.php:821
323
  msgid "Manual"
324
  msgstr "手动"
325
 
326
- #: qqworld-auto-save-images.php:431
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:436 qqworld-auto-save-images.php:438
333
  msgid "When"
334
  msgstr "什么时候"
335
 
336
- #: qqworld-auto-save-images.php:441
337
  msgid "Save post (Publish, save draft or pedding review)."
338
  msgstr "保存文章时(发布文章,保存草稿或提交审核)。"
339
 
340
- #: qqworld-auto-save-images.php:445
341
  msgid "Publish post only."
342
  msgstr "仅发布文章时。"
343
 
344
- #: qqworld-auto-save-images.php:451 qqworld-auto-save-images.php:453
345
  msgid "Remote Publishing"
346
  msgstr "远程发布"
347
 
348
- #: qqworld-auto-save-images.php:451
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:461 qqworld-auto-save-images.php:463
355
  msgid "Set Featured Image"
356
  msgstr "设置特色图片"
357
 
358
- #: qqworld-auto-save-images.php:461
359
  msgid "Set first one of the remote images as featured image."
360
  msgstr "设置远程图片中的第1个为特色图片。"
361
 
362
- #: qqworld-auto-save-images.php:471
363
  msgid "Filter Options"
364
  msgstr "过滤选项"
365
 
366
- #: qqworld-auto-save-images.php:475 qqworld-auto-save-images.php:477
367
  msgid "Minimum Picture Size"
368
  msgstr "最小图像尺寸"
369
 
370
- #: qqworld-auto-save-images.php:475
371
  msgid "Ignore smaller than this size picture."
372
  msgstr "忽略比这个尺寸更小的图像。"
373
 
374
- #: qqworld-auto-save-images.php:479 qqworld-auto-save-images.php:491
375
- #: qqworld-auto-save-images.php:620
376
  msgid "Width:"
377
  msgstr "宽度:"
378
 
379
- #: qqworld-auto-save-images.php:479 qqworld-auto-save-images.php:482
380
- #: qqworld-auto-save-images.php:491 qqworld-auto-save-images.php:494
381
- #: qqworld-auto-save-images.php:620 qqworld-auto-save-images.php:623
382
  msgid "(px)"
383
  msgstr "(像素)"
384
 
385
- #: qqworld-auto-save-images.php:482 qqworld-auto-save-images.php:494
386
- #: qqworld-auto-save-images.php:623
387
  msgid "Height:"
388
  msgstr "高度:"
389
 
390
- #: qqworld-auto-save-images.php:487 qqworld-auto-save-images.php:489
391
  msgid "Maximum Picture Size"
392
  msgstr "最大图像尺寸"
393
 
394
- #: qqworld-auto-save-images.php:487
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,183 +400,195 @@ msgstr ""
400
  "自动缩小大于该尺寸的图像。如果你想要宽度不超过800px和任意高度图片,请设置宽度"
401
  "800,并设置高度为空。"
402
 
403
- #: qqworld-auto-save-images.php:487
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:499 qqworld-auto-save-images.php:501
408
  msgid "Exclude Domain/Keyword"
409
  msgstr "排除域名/关键词"
410
 
411
- #: qqworld-auto-save-images.php:499
412
  msgid "Images will not be saved, if that url contains Exclude-Domain/Keyword."
413
  msgstr "如果图片地址包含排除域名/关键词,则不会保存该图片。"
414
 
415
- #: qqworld-auto-save-images.php:511
416
  msgid "Add a Domain/Keyword"
417
  msgstr "添加域名/关键词"
418
 
419
- #: qqworld-auto-save-images.php:516
420
  msgid "Format Options"
421
  msgstr "格式化选项"
422
 
423
- #: qqworld-auto-save-images.php:520 qqworld-auto-save-images.php:522
424
  msgid "Change Image Filename"
425
  msgstr "更改图片文件名"
426
 
427
- #: qqworld-auto-save-images.php:520
428
  msgid ""
429
- "If you checked this, when the remote image filename have Chinese or other "
430
- "East Asian characters. system will automatically change image filename. I "
431
- "suggest enable it."
 
432
  msgstr ""
433
- "如果勾选了此项,当远程图片名包含中文或其他东亚字符的时候,将自动更改图片文件"
434
- "名。建议开启。"
 
 
 
 
 
 
 
435
 
436
- #: qqworld-auto-save-images.php:529 qqworld-auto-save-images.php:531
 
 
 
 
437
  msgid "Keep Outside Links"
438
  msgstr "保留外链"
439
 
440
- #: qqworld-auto-save-images.php:529
441
  msgid "Keep the outside links of remote images if exist."
442
  msgstr "将会保留远程图片的链接,如果存在的话。"
443
 
444
- #: qqworld-auto-save-images.php:538 qqworld-auto-save-images.php:540
445
  msgid "Image Size"
446
  msgstr "图像尺寸"
447
 
448
- #: qqworld-auto-save-images.php:538
449
  msgid "Replace images you want size to display."
450
  msgstr "替换成你想要显示的尺寸的图像。"
451
 
452
- #: qqworld-auto-save-images.php:545
453
  #, fuzzy
454
  msgid "Thumbnail"
455
  msgstr ""
456
  "一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
457
  "jQuery路径。"
458
 
459
- #: qqworld-auto-save-images.php:546
460
  msgid "Medium"
461
  msgstr ""
462
 
463
- #: qqworld-auto-save-images.php:547
464
  msgid "Large"
465
  msgstr ""
466
 
467
- #: qqworld-auto-save-images.php:548
468
  #, fuzzy
469
  msgid "Full Size"
470
  msgstr "链接到全尺寸图像"
471
 
472
- #: qqworld-auto-save-images.php:557 qqworld-auto-save-images.php:559
473
  msgid "Link To"
474
  msgstr "链接到"
475
 
476
- #: qqworld-auto-save-images.php:557
477
  msgid "If you checked Keep-Outside-Links, this option will not works."
478
  msgstr "如果你勾选了保留外链,本项将不起作用。"
479
 
480
- #: qqworld-auto-save-images.php:564
481
  #, fuzzy
482
  msgid "Media File"
483
  msgstr "添加文件"
484
 
485
- #: qqworld-auto-save-images.php:565
486
  #, fuzzy
487
  msgid "Attachment Page"
488
  msgstr "(附件)"
489
 
490
- #: qqworld-auto-save-images.php:566
491
  msgid "None"
492
  msgstr ""
493
 
494
- #: qqworld-auto-save-images.php:575 qqworld-auto-save-images.php:577
495
  msgid "Additional Content"
496
  msgstr "额外的内容"
497
 
498
- #: qqworld-auto-save-images.php:575
499
  msgid ""
500
  "This content will be displayed after the each remote images code. you can "
501
  "use [Attachment ID] indicate current attachment ID."
502
  msgstr "此内容将在每个远程图像编码后显​​示。您可以使用[附件ID]指示当前连接ID。"
503
 
504
- #: qqworld-auto-save-images.php:580
505
  msgid "For example: [Gbuy id='[Attachment ID]']"
506
  msgstr "例如:[Gbuy id='[Attachment ID]']"
507
 
508
- #: qqworld-auto-save-images.php:592
509
  msgid ""
510
  "Just for preview, The complete feature will on the Pro version. Don't worry, "
511
  "other features will be free forever."
512
  msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
513
 
514
- #: qqworld-auto-save-images.php:596 qqworld-auto-save-images.php:598
515
  msgid "Enabled Watermark"
516
  msgstr "启用水印"
517
 
518
- #: qqworld-auto-save-images.php:596
519
  msgid "Use for both of remote images and the local upload."
520
  msgstr "同时用于远程图片和本地上传。"
521
 
522
- #: qqworld-auto-save-images.php:606 qqworld-auto-save-images.php:608
523
  msgid "Ignore animated GIF"
524
  msgstr "忽略GIF动画"
525
 
526
- #: qqworld-auto-save-images.php:616 qqworld-auto-save-images.php:618
527
  msgid "Filter"
528
  msgstr "过滤"
529
 
530
- #: qqworld-auto-save-images.php:616
531
  msgid "Skip images that smaller than this size."
532
  msgstr "跳过比这个尺寸更小的图像。"
533
 
534
- #: qqworld-auto-save-images.php:629
535
  msgid "Align To"
536
  msgstr "对齐方式"
537
 
538
- #: qqworld-auto-save-images.php:651
539
  msgid "Position"
540
  msgstr "位置"
541
 
542
- #: qqworld-auto-save-images.php:651
543
  msgid "You can try to drag the watermark image."
544
  msgstr "你可以试着拖动水印图片。"
545
 
546
- #: qqworld-auto-save-images.php:668 qqworld-auto-save-images.php:670
547
- #: qqworld-auto-save-images.php:749
548
  msgid "Offset"
549
  msgstr "偏移"
550
 
551
- #: qqworld-auto-save-images.php:681 qqworld-auto-save-images.php:683
552
  msgid "Opacity"
553
  msgstr "不透明度"
554
 
555
- #: qqworld-auto-save-images.php:691 qqworld-auto-save-images.php:693
556
  msgid "Upload Watermark Image"
557
  msgstr "上传水印图片"
558
 
559
- #: qqworld-auto-save-images.php:695
560
  msgid "Insert a Watermark Image"
561
  msgstr "插入水印图片"
562
 
563
- #: qqworld-auto-save-images.php:706
564
  msgid "Default Watermark"
565
  msgstr "默认水印"
566
 
567
- #: qqworld-auto-save-images.php:710
568
  msgid "Buy"
569
  msgstr "购买"
570
 
571
- #: qqworld-auto-save-images.php:711
572
  msgid "Coming.. I don't know when, Who cares.."
573
  msgstr "即将…我不知道什么时候,管它呢……"
574
 
575
- #: qqworld-auto-save-images.php:725
576
  msgid "Select post types"
577
  msgstr "选择文章类型"
578
 
579
- #: qqworld-auto-save-images.php:725
580
  msgid ""
581
  "If you have too many posts to be scan, sometimes in process looks like "
582
  "stopping, but it may be fake. please be patient."
@@ -584,20 +596,20 @@ msgstr ""
584
  "如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
585
  "请耐心等待。"
586
 
587
- #: qqworld-auto-save-images.php:739
588
  #, fuzzy
589
  msgid "Categories"
590
  msgstr "%s分类"
591
 
592
- #: qqworld-auto-save-images.php:739
593
  msgid "Default empty to scan all categories."
594
  msgstr "默认留空扫描所有分类。"
595
 
596
- #: qqworld-auto-save-images.php:744
597
  msgid "Scope of Post ID"
598
  msgstr "文章ID范围"
599
 
600
- #: qqworld-auto-save-images.php:744
601
  msgid ""
602
  "Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
603
  "100. please type '50' and '100' or '100' and '50', The order in which two "
@@ -608,12 +620,12 @@ msgstr ""
608
  "者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
609
  "该ID。"
610
 
611
- #: qqworld-auto-save-images.php:745
612
  #, php-format
613
  msgid "From %1$s to %2$s"
614
  msgstr "从 %1$s 到 %2$s"
615
 
616
- #: qqworld-auto-save-images.php:749
617
  msgid ""
618
  "Default scan all posts. If you want to scan 50-150 posts, please type '50' "
619
  "in the textfield and select '100'."
@@ -621,68 +633,68 @@ msgstr ""
621
  "默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
622
  "选择“100”。"
623
 
624
- #: qqworld-auto-save-images.php:751
625
  #, php-format
626
  msgid "Start from %s to Scan"
627
  msgstr "从 %s 开始扫描"
628
 
629
- #: qqworld-auto-save-images.php:753
630
  #, fuzzy
631
  msgid "All"
632
  msgstr "所有"
633
 
634
- #: qqworld-auto-save-images.php:757
635
  #, fuzzy
636
  msgid "Posts"
637
  msgstr "热门文章"
638
 
639
- #: qqworld-auto-save-images.php:767
640
  msgid "Any"
641
  msgstr "任意"
642
 
643
- #: qqworld-auto-save-images.php:777
644
  msgid "Order By"
645
  msgstr "排序依据"
646
 
647
- #: qqworld-auto-save-images.php:783
648
  #, fuzzy
649
  msgid "Author"
650
  msgstr "名称"
651
 
652
- #: qqworld-auto-save-images.php:785
653
  #, fuzzy
654
  msgid "Date"
655
  msgstr "日期"
656
 
657
- #: qqworld-auto-save-images.php:786
658
  #, fuzzy
659
  msgid "Last Modified"
660
  msgstr "最后回复"
661
 
662
- #: qqworld-auto-save-images.php:787
663
  msgid "Comment Count"
664
  msgstr "评论数"
665
 
666
- #: qqworld-auto-save-images.php:797
667
  #, fuzzy
668
  msgid "Order"
669
  msgstr "顺序"
670
 
671
- #: qqworld-auto-save-images.php:807
672
  msgid "Speed"
673
  msgstr "速度"
674
 
675
- #: qqworld-auto-save-images.php:807
676
  msgid "If the server is too much stress may be appropriately reduced speed."
677
  msgstr "如果服务器压力过大,可以适当调低速度。"
678
 
679
- #: qqworld-auto-save-images.php:820
680
  msgid ""
681
  "Scan posts and keep remote images in all posts to local media library. Maybe "
682
  "take a long time."
683
  msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
684
 
685
- #: qqworld-auto-save-images.php:821
686
  msgid ""
687
  "The list displayed will show you which posts including remote images, then "
688
  "you can keep them to local manually via click \"Fetch\" button."
@@ -690,14 +702,36 @@ msgstr ""
690
  "显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
691
  "存。"
692
 
693
- #: qqworld-auto-save-images.php:925
694
  msgid "Has Missing/Undownloadable images."
695
  msgstr "有 不存在/不可下载 的远程图像。"
696
 
697
- #: qqworld-auto-save-images.php:932
698
  msgid "No remote images found."
699
  msgstr "没有远程图像。"
700
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701
  #~ msgid ""
702
  #~ "Automatic reduction is greater than the size of the picture. if you want "
703
  #~ "image width less than 800px with any size height, please set width 800 "
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-01-01 13:31+0800\n"
6
+ "PO-Revision-Date: 2015-01-01 13:31+0800\n"
7
  "Last-Translator: Michael Wang <admin@qqworld.org>\n"
8
  "Language-Team: QQWorld <admin@qqworld.org>\n"
9
  "Language: zh_CN\n"
21
  "X-Poedit-Basepath: ..\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
+ #: qqworld-auto-save-images.php:35
25
  msgid "Michael Wang"
26
  msgstr "王晓骞"
27
 
28
+ #: qqworld-auto-save-images.php:103
29
  msgid "No taxonomies found."
30
  msgstr "没有相关分类方法。"
31
 
32
+ #: qqworld-auto-save-images.php:111 qqworld-auto-save-images.php:285
33
+ #: qqworld-auto-save-images.php:937
34
  msgid "All remote images have been saved."
35
  msgstr "已保存所有远程图像。"
36
 
37
+ #: qqworld-auto-save-images.php:111 qqworld-auto-save-images.php:112
38
  #, php-format
39
  msgid " <a href=\"%s\">View</a>"
40
  msgstr " <a href=\"%s\">查看</a>"
41
 
42
+ #: qqworld-auto-save-images.php:112
43
  msgid "Has missing images or image which could not download."
44
  msgstr "内容包含 不存在/无法下载 的图像。"
45
 
46
+ #: qqworld-auto-save-images.php:133
47
  msgid "In Process..."
48
  msgstr "正在保存……"
49
 
50
+ #: qqworld-auto-save-images.php:134
51
  msgid "Something error, please check."
52
  msgstr "出错了,请检查。"
53
 
54
+ #: qqworld-auto-save-images.php:156
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:157 qqworld-auto-save-images.php:747
61
  msgid "Please select post types."
62
  msgstr "请选择文章类型。"
63
 
64
+ #: qqworld-auto-save-images.php:158
65
  msgid "May be a problem with some posts: "
66
  msgstr "也许一些文章有问题:"
67
 
68
+ #: qqworld-auto-save-images.php:159
69
  #, php-format
70
  msgid "No need enter \"%s\"."
71
  msgstr "不需要输入“%s”。"
72
 
73
+ #: qqworld-auto-save-images.php:160
74
  #, php-format
75
  msgid "%d post has been scanned."
76
  msgstr "已扫描%d篇文章。"
77
 
78
+ #: qqworld-auto-save-images.php:161
79
  #, php-format
80
  msgid "%d posts have been scanned."
81
  msgstr "已扫描%d篇文章。"
82
 
83
+ #: qqworld-auto-save-images.php:162
84
  #, php-format
85
  msgid "%d post included remote images processed."
86
  msgstr "已处理%d篇包含远程图像的文章。"
87
 
88
+ #: qqworld-auto-save-images.php:163
89
  #, php-format
90
  msgid "%d posts included remote images processed."
91
  msgstr "已处理%d篇包含远程图像的文章。"
92
 
93
+ #: qqworld-auto-save-images.php:164
94
  #, php-format
95
  msgid "%d post has missing images couldn't be processed."
96
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
97
 
98
+ #: qqworld-auto-save-images.php:165
99
  #, php-format
100
  msgid "%d posts have missing images couldn't be processed."
101
  msgstr "%d篇包含不存在的远程图像的文章无法处理。"
102
 
103
+ #: qqworld-auto-save-images.php:166
104
  #, php-format
105
  msgid "found %d post including remote images."
106
  msgstr "找到%d篇包含远程图像的文章。"
107
 
108
+ #: qqworld-auto-save-images.php:167
109
  #, php-format
110
  msgid "found %d posts including remote images."
111
  msgstr "找到%d篇包含远程图像的文章。"
112
 
113
+ #: qqworld-auto-save-images.php:168
114
  #, php-format
115
  msgid "And with %d post has missing images."
116
  msgstr "其中有%d篇文章包含不存在的远程图像。"
117
 
118
+ #: qqworld-auto-save-images.php:169
119
  #, php-format
120
  msgid "And with %d posts have missing images."
121
  msgstr "其中有%d篇文章包含不存在的远程图像。"
122
 
123
+ #: qqworld-auto-save-images.php:170
124
  msgid "No posts processed."
125
  msgstr "未处理任何文章。"
126
 
127
+ #: qqworld-auto-save-images.php:171
128
  msgid "No post has remote images found."
129
  msgstr "没有文章包含远程图像。"
130
 
131
+ #: qqworld-auto-save-images.php:172
132
  msgid "No posts found."
133
  msgstr "未找到任何文章。"
134
 
135
+ #: qqworld-auto-save-images.php:173
136
  msgid "All done."
137
  msgstr "全部完成。"
138
 
139
+ #: qqworld-auto-save-images.php:174
140
  #, fuzzy
141
  msgid "Yes"
142
  msgstr "是"
143
 
144
+ #: qqworld-auto-save-images.php:175 qqworld-auto-save-images.php:529
145
  msgid "No"
146
  msgstr ""
147
 
148
+ #: qqworld-auto-save-images.php:176
149
  msgid "Scanning..."
150
  msgstr "扫描中……"
151
 
152
+ #: qqworld-auto-save-images.php:177
153
  msgid "Listing..."
154
  msgstr "显示列表中……"
155
 
156
+ #: qqworld-auto-save-images.php:178 qqworld-auto-save-images.php:789
157
  #, fuzzy
158
  msgid "ID"
159
  msgstr "博客ID"
160
 
161
+ #: qqworld-auto-save-images.php:179
162
  msgid "Post Type"
163
  msgstr "文章类型"
164
 
165
+ #: qqworld-auto-save-images.php:180 qqworld-auto-save-images.php:791
166
  #, fuzzy
167
  msgid "Title"
168
  msgstr "标题"
169
 
170
+ #: qqworld-auto-save-images.php:181 qqworld-auto-save-images.php:769
171
  #, fuzzy
172
  msgid "Status"
173
  msgstr "状态"
174
 
175
+ #: qqworld-auto-save-images.php:182
176
  msgid "Control"
177
  msgstr "控制"
178
 
179
+ #: qqworld-auto-save-images.php:183
180
  #, fuzzy
181
  msgid "Done"
182
  msgstr "全部完成。"
183
 
184
+ #: qqworld-auto-save-images.php:184 qqworld-auto-save-images.php:511
185
  #, fuzzy
186
  msgid "Delete"
187
  msgstr "删除"
188
 
189
+ #: qqworld-auto-save-images.php:285 qqworld-auto-save-images.php:319
190
  msgid "Has missing images."
191
  msgstr "有不存在的远程图像。"
192
 
193
+ #: qqworld-auto-save-images.php:319
194
  msgid "Normal"
195
  msgstr "正常"
196
 
197
+ #: qqworld-auto-save-images.php:320
198
  msgid "Fetch"
199
  msgstr "抓取"
200
 
201
+ #: qqworld-auto-save-images.php:362
202
  msgid "Save Remote Images"
203
  msgstr "保存远程图片"
204
 
205
+ #: qqworld-auto-save-images.php:373 qqworld-auto-save-images.php:416
206
  #, fuzzy
207
  msgid "Settings"
208
  msgstr "光箱选项"
209
 
210
+ #: qqworld-auto-save-images.php:381
211
  msgid "Auto Save Images"
212
  msgstr "自动保存图片"
213
 
214
+ #: qqworld-auto-save-images.php:383 qqworld-auto-save-images.php:410
215
  msgid "QQWorld Auto Save Images"
216
  msgstr "QQWorld自动保存图片"
217
 
218
+ #: qqworld-auto-save-images.php:392
219
  msgid "Installation"
220
  msgstr "安装说明"
221
 
222
+ #: qqworld-auto-save-images.php:393
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
  "告:如果你的网站域名更改了,必须在数据库中将所有的图片链接更新到新域名,否则"
231
  "插件会把未更改的图片再保存一次。</li></ol>"
232
 
233
+ #: qqworld-auto-save-images.php:397
234
  msgid "Notice"
235
  msgstr "注意"
236
 
237
+ #: qqworld-auto-save-images.php:398
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>&lt;img "
263
  "让图片的URL完整。<br />所以,如果你碰到这样的代码,请手动将图片地址改成完整"
264
  "的,或者使用采集工具自动补完图片的URL然后从外部提交给Wordpress。"
265
 
266
+ #: qqworld-auto-save-images.php:402
267
  #, fuzzy
268
  msgid "About"
269
  msgstr "关于主题"
270
 
271
+ #: qqworld-auto-save-images.php:403
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
  "后随着越来越多的人向我寻求帮助,我的插件也变得越来越强大。这就是我的插件,我"
283
  "希望你们能喜欢它,谢谢。</p>"
284
 
285
+ #: qqworld-auto-save-images.php:411
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:417
293
  msgid "Watermark"
294
  msgstr "水印"
295
 
296
+ #: qqworld-auto-save-images.php:417
297
  msgid "Trial"
298
  msgstr "试用"
299
 
300
+ #: qqworld-auto-save-images.php:418
301
  msgid "Scan Posts"
302
  msgstr "扫描文章"
303
 
304
+ #: qqworld-auto-save-images.php:421
305
  msgid "General Options"
306
  msgstr "常规选项"
307
 
308
+ #: qqworld-auto-save-images.php:425 qqworld-auto-save-images.php:427
309
  msgid "Mode"
310
  msgstr "模式"
311
 
312
+ #: qqworld-auto-save-images.php:430 qqworld-auto-save-images.php:827
313
  msgid "Automatic"
314
  msgstr "自动"
315
 
316
+ #: qqworld-auto-save-images.php:431
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:434 qqworld-auto-save-images.php:828
323
  msgid "Manual"
324
  msgstr "手动"
325
 
326
+ #: qqworld-auto-save-images.php:435
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:440 qqworld-auto-save-images.php:442
333
  msgid "When"
334
  msgstr "什么时候"
335
 
336
+ #: qqworld-auto-save-images.php:445
337
  msgid "Save post (Publish, save draft or pedding review)."
338
  msgstr "保存文章时(发布文章,保存草稿或提交审核)。"
339
 
340
+ #: qqworld-auto-save-images.php:449
341
  msgid "Publish post only."
342
  msgstr "仅发布文章时。"
343
 
344
+ #: qqworld-auto-save-images.php:455 qqworld-auto-save-images.php:457
345
  msgid "Remote Publishing"
346
  msgstr "远程发布"
347
 
348
+ #: qqworld-auto-save-images.php:455
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:465 qqworld-auto-save-images.php:467
355
  msgid "Set Featured Image"
356
  msgstr "设置特色图片"
357
 
358
+ #: qqworld-auto-save-images.php:465
359
  msgid "Set first one of the remote images as featured image."
360
  msgstr "设置远程图片中的第1个为特色图片。"
361
 
362
+ #: qqworld-auto-save-images.php:475
363
  msgid "Filter Options"
364
  msgstr "过滤选项"
365
 
366
+ #: qqworld-auto-save-images.php:479 qqworld-auto-save-images.php:481
367
  msgid "Minimum Picture Size"
368
  msgstr "最小图像尺寸"
369
 
370
+ #: qqworld-auto-save-images.php:479
371
  msgid "Ignore smaller than this size picture."
372
  msgstr "忽略比这个尺寸更小的图像。"
373
 
374
+ #: qqworld-auto-save-images.php:483 qqworld-auto-save-images.php:495
375
+ #: qqworld-auto-save-images.php:627
376
  msgid "Width:"
377
  msgstr "宽度:"
378
 
379
+ #: qqworld-auto-save-images.php:483 qqworld-auto-save-images.php:486
380
+ #: qqworld-auto-save-images.php:495 qqworld-auto-save-images.php:498
381
+ #: qqworld-auto-save-images.php:627 qqworld-auto-save-images.php:630
382
  msgid "(px)"
383
  msgstr "(像素)"
384
 
385
+ #: qqworld-auto-save-images.php:486 qqworld-auto-save-images.php:498
386
+ #: qqworld-auto-save-images.php:630
387
  msgid "Height:"
388
  msgstr "高度:"
389
 
390
+ #: qqworld-auto-save-images.php:491 qqworld-auto-save-images.php:493
391
  msgid "Maximum Picture Size"
392
  msgstr "最大图像尺寸"
393
 
394
+ #: qqworld-auto-save-images.php:491
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
  "自动缩小大于该尺寸的图像。如果你想要宽度不超过800px和任意高度图片,请设置宽度"
401
  "800,并设置高度为空。"
402
 
403
+ #: qqworld-auto-save-images.php:491
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:503 qqworld-auto-save-images.php:505
408
  msgid "Exclude Domain/Keyword"
409
  msgstr "排除域名/关键词"
410
 
411
+ #: qqworld-auto-save-images.php:503
412
  msgid "Images will not be saved, if that url contains Exclude-Domain/Keyword."
413
  msgstr "如果图片地址包含排除域名/关键词,则不会保存该图片。"
414
 
415
+ #: qqworld-auto-save-images.php:515
416
  msgid "Add a Domain/Keyword"
417
  msgstr "添加域名/关键词"
418
 
419
+ #: qqworld-auto-save-images.php:520
420
  msgid "Format Options"
421
  msgstr "格式化选项"
422
 
423
+ #: qqworld-auto-save-images.php:524 qqworld-auto-save-images.php:527
424
  msgid "Change Image Filename"
425
  msgstr "更改图片文件名"
426
 
427
+ #: qqworld-auto-save-images.php:524
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 "
431
+ "OS is linux, you can choose option 1 and would not cause coding mess up, "
432
+ "because of linux is using UTF8 encoding, as same as Wordpress."
433
  msgstr ""
434
+ "推荐选择第2项,如果选择第3项,请确保文章名(Post Name | Slug)不包含中文和其"
435
+ "他东亚字符。提示:如果您的主机操作系统是Linux,可以选择第1项而不会导致乱码,"
436
+ "因为Linux的编码是UTF8,和Wordpress一样。"
437
+
438
+ #: qqworld-auto-save-images.php:530
439
+ msgid ""
440
+ "Only change remote images filename that has Chinese or other East Asian "
441
+ "characters"
442
+ msgstr "仅改变包含中文或其他东亚字符的远程图片文件名"
443
 
444
+ #: qqworld-auto-save-images.php:531
445
+ msgid "Change all remote images Filename and Alt as post name"
446
+ msgstr "改变所有远程图片文件名为文章名(Post Name)"
447
+
448
+ #: qqworld-auto-save-images.php:536 qqworld-auto-save-images.php:538
449
  msgid "Keep Outside Links"
450
  msgstr "保留外链"
451
 
452
+ #: qqworld-auto-save-images.php:536
453
  msgid "Keep the outside links of remote images if exist."
454
  msgstr "将会保留远程图片的链接,如果存在的话。"
455
 
456
+ #: qqworld-auto-save-images.php:545 qqworld-auto-save-images.php:547
457
  msgid "Image Size"
458
  msgstr "图像尺寸"
459
 
460
+ #: qqworld-auto-save-images.php:545
461
  msgid "Replace images you want size to display."
462
  msgstr "替换成你想要显示的尺寸的图像。"
463
 
464
+ #: qqworld-auto-save-images.php:552
465
  #, fuzzy
466
  msgid "Thumbnail"
467
  msgstr ""
468
  "一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
469
  "jQuery路径。"
470
 
471
+ #: qqworld-auto-save-images.php:553
472
  msgid "Medium"
473
  msgstr ""
474
 
475
+ #: qqworld-auto-save-images.php:554
476
  msgid "Large"
477
  msgstr ""
478
 
479
+ #: qqworld-auto-save-images.php:555
480
  #, fuzzy
481
  msgid "Full Size"
482
  msgstr "链接到全尺寸图像"
483
 
484
+ #: qqworld-auto-save-images.php:564 qqworld-auto-save-images.php:566
485
  msgid "Link To"
486
  msgstr "链接到"
487
 
488
+ #: qqworld-auto-save-images.php:564
489
  msgid "If you checked Keep-Outside-Links, this option will not works."
490
  msgstr "如果你勾选了保留外链,本项将不起作用。"
491
 
492
+ #: qqworld-auto-save-images.php:571
493
  #, fuzzy
494
  msgid "Media File"
495
  msgstr "添加文件"
496
 
497
+ #: qqworld-auto-save-images.php:572
498
  #, fuzzy
499
  msgid "Attachment Page"
500
  msgstr "(附件)"
501
 
502
+ #: qqworld-auto-save-images.php:573
503
  msgid "None"
504
  msgstr ""
505
 
506
+ #: qqworld-auto-save-images.php:582 qqworld-auto-save-images.php:584
507
  msgid "Additional Content"
508
  msgstr "额外的内容"
509
 
510
+ #: qqworld-auto-save-images.php:582
511
  msgid ""
512
  "This content will be displayed after the each remote images code. you can "
513
  "use [Attachment ID] indicate current attachment ID."
514
  msgstr "此内容将在每个远程图像编码后显​​示。您可以使用[附件ID]指示当前连接ID。"
515
 
516
+ #: qqworld-auto-save-images.php:587
517
  msgid "For example: [Gbuy id='[Attachment ID]']"
518
  msgstr "例如:[Gbuy id='[Attachment ID]']"
519
 
520
+ #: qqworld-auto-save-images.php:599
521
  msgid ""
522
  "Just for preview, The complete feature will on the Pro version. Don't worry, "
523
  "other features will be free forever."
524
  msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
525
 
526
+ #: qqworld-auto-save-images.php:603 qqworld-auto-save-images.php:605
527
  msgid "Enabled Watermark"
528
  msgstr "启用水印"
529
 
530
+ #: qqworld-auto-save-images.php:603
531
  msgid "Use for both of remote images and the local upload."
532
  msgstr "同时用于远程图片和本地上传。"
533
 
534
+ #: qqworld-auto-save-images.php:613 qqworld-auto-save-images.php:615
535
  msgid "Ignore animated GIF"
536
  msgstr "忽略GIF动画"
537
 
538
+ #: qqworld-auto-save-images.php:623 qqworld-auto-save-images.php:625
539
  msgid "Filter"
540
  msgstr "过滤"
541
 
542
+ #: qqworld-auto-save-images.php:623
543
  msgid "Skip images that smaller than this size."
544
  msgstr "跳过比这个尺寸更小的图像。"
545
 
546
+ #: qqworld-auto-save-images.php:636
547
  msgid "Align To"
548
  msgstr "对齐方式"
549
 
550
+ #: qqworld-auto-save-images.php:658
551
  msgid "Position"
552
  msgstr "位置"
553
 
554
+ #: qqworld-auto-save-images.php:658
555
  msgid "You can try to drag the watermark image."
556
  msgstr "你可以试着拖动水印图片。"
557
 
558
+ #: qqworld-auto-save-images.php:675 qqworld-auto-save-images.php:677
559
+ #: qqworld-auto-save-images.php:756
560
  msgid "Offset"
561
  msgstr "偏移"
562
 
563
+ #: qqworld-auto-save-images.php:688 qqworld-auto-save-images.php:690
564
  msgid "Opacity"
565
  msgstr "不透明度"
566
 
567
+ #: qqworld-auto-save-images.php:698 qqworld-auto-save-images.php:700
568
  msgid "Upload Watermark Image"
569
  msgstr "上传水印图片"
570
 
571
+ #: qqworld-auto-save-images.php:702
572
  msgid "Insert a Watermark Image"
573
  msgstr "插入水印图片"
574
 
575
+ #: qqworld-auto-save-images.php:713
576
  msgid "Default Watermark"
577
  msgstr "默认水印"
578
 
579
+ #: qqworld-auto-save-images.php:717
580
  msgid "Buy"
581
  msgstr "购买"
582
 
583
+ #: qqworld-auto-save-images.php:718
584
  msgid "Coming.. I don't know when, Who cares.."
585
  msgstr "即将…我不知道什么时候,管它呢……"
586
 
587
+ #: qqworld-auto-save-images.php:732
588
  msgid "Select post types"
589
  msgstr "选择文章类型"
590
 
591
+ #: qqworld-auto-save-images.php:732
592
  msgid ""
593
  "If you have too many posts to be scan, sometimes in process looks like "
594
  "stopping, but it may be fake. please be patient."
596
  "如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
597
  "请耐心等待。"
598
 
599
+ #: qqworld-auto-save-images.php:746
600
  #, fuzzy
601
  msgid "Categories"
602
  msgstr "%s分类"
603
 
604
+ #: qqworld-auto-save-images.php:746
605
  msgid "Default empty to scan all categories."
606
  msgstr "默认留空扫描所有分类。"
607
 
608
+ #: qqworld-auto-save-images.php:751
609
  msgid "Scope of Post ID"
610
  msgstr "文章ID范围"
611
 
612
+ #: qqworld-auto-save-images.php:751
613
  msgid ""
614
  "Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
615
  "100. please type '50' and '100' or '100' and '50', The order in which two "
620
  "者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
621
  "该ID。"
622
 
623
+ #: qqworld-auto-save-images.php:752
624
  #, php-format
625
  msgid "From %1$s to %2$s"
626
  msgstr "从 %1$s 到 %2$s"
627
 
628
+ #: qqworld-auto-save-images.php:756
629
  msgid ""
630
  "Default scan all posts. If you want to scan 50-150 posts, please type '50' "
631
  "in the textfield and select '100'."
633
  "默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
634
  "选择“100”。"
635
 
636
+ #: qqworld-auto-save-images.php:758
637
  #, php-format
638
  msgid "Start from %s to Scan"
639
  msgstr "从 %s 开始扫描"
640
 
641
+ #: qqworld-auto-save-images.php:760
642
  #, fuzzy
643
  msgid "All"
644
  msgstr "所有"
645
 
646
+ #: qqworld-auto-save-images.php:764
647
  #, fuzzy
648
  msgid "Posts"
649
  msgstr "热门文章"
650
 
651
+ #: qqworld-auto-save-images.php:774
652
  msgid "Any"
653
  msgstr "任意"
654
 
655
+ #: qqworld-auto-save-images.php:784
656
  msgid "Order By"
657
  msgstr "排序依据"
658
 
659
+ #: qqworld-auto-save-images.php:790
660
  #, fuzzy
661
  msgid "Author"
662
  msgstr "名称"
663
 
664
+ #: qqworld-auto-save-images.php:792
665
  #, fuzzy
666
  msgid "Date"
667
  msgstr "日期"
668
 
669
+ #: qqworld-auto-save-images.php:793
670
  #, fuzzy
671
  msgid "Last Modified"
672
  msgstr "最后回复"
673
 
674
+ #: qqworld-auto-save-images.php:794
675
  msgid "Comment Count"
676
  msgstr "评论数"
677
 
678
+ #: qqworld-auto-save-images.php:804
679
  #, fuzzy
680
  msgid "Order"
681
  msgstr "顺序"
682
 
683
+ #: qqworld-auto-save-images.php:814
684
  msgid "Speed"
685
  msgstr "速度"
686
 
687
+ #: qqworld-auto-save-images.php:814
688
  msgid "If the server is too much stress may be appropriately reduced speed."
689
  msgstr "如果服务器压力过大,可以适当调低速度。"
690
 
691
+ #: qqworld-auto-save-images.php:827
692
  msgid ""
693
  "Scan posts and keep remote images in all posts to local media library. Maybe "
694
  "take a long time."
695
  msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
696
 
697
+ #: qqworld-auto-save-images.php:828
698
  msgid ""
699
  "The list displayed will show you which posts including remote images, then "
700
  "you can keep them to local manually via click \"Fetch\" button."
702
  "显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
703
  "存。"
704
 
705
+ #: qqworld-auto-save-images.php:934
706
  msgid "Has Missing/Undownloadable images."
707
  msgstr "有 不存在/不可下载 的远程图像。"
708
 
709
+ #: qqworld-auto-save-images.php:941
710
  msgid "No remote images found."
711
  msgstr "没有远程图像。"
712
 
713
+ #~ msgid ""
714
+ #~ "Recommeded choose option 2, if you choose option 3, make sure post name | "
715
+ #~ "slug exclude Chinese or other East Asian characters."
716
+ #~ msgstr ""
717
+ #~ "推荐选择第2项,如果选择第3项,请确保文章名(Post Name | Slug)不包含中文和"
718
+ #~ "其他东亚字符。"
719
+
720
+ #~ msgid ""
721
+ #~ "Recommeded enable option 2, if you choose option 3, make sure post name | "
722
+ #~ "slug exclude Chinese or other East Asian characters."
723
+ #~ msgstr ""
724
+ #~ "推荐启用第2项,如果选择第3项,请确保文章名(Post Name | Slug)不包含中文和"
725
+ #~ "其他东亚字符。"
726
+
727
+ #~ msgid ""
728
+ #~ "If you checked this, when the remote image filename have Chinese or other "
729
+ #~ "East Asian characters. system will automatically change image filename. I "
730
+ #~ "suggest enable it."
731
+ #~ msgstr ""
732
+ #~ "如果勾选了此项,当远程图片名包含中文或其他东亚字符的时候,将自动更改图片文"
733
+ #~ "件名。建议开启。"
734
+
735
  #~ msgid ""
736
  #~ "Automatic reduction is greater than the size of the picture. if you want "
737
  #~ "image width less than 800px with any size height, please set width 800 "
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.11.4
7
  Author: Michael Wang
8
  Author URI: http://www.qqworld.org
9
  Text Domain: qqworld_auto_save_images
@@ -15,6 +15,7 @@ class QQWorld_auto_save_images {
15
  var $mode;
16
  var $when;
17
  var $remote_publishing;
 
18
  var $change_image_name;
19
  var $has_remote_image;
20
  var $has_missing_image;
@@ -36,7 +37,10 @@ class QQWorld_auto_save_images {
36
  $this->when = get_option('qqworld_auto_save_images_when', 'publish');
37
  $this->remote_publishing = get_option('qqworld_auto_save_images_remote_publishing', 'yes');
38
  $this->featured_image = get_option('qqworld_auto_save_images_set_featured_image', 'yes');
39
- $this->change_image_name = get_option('qqworld_auto_save_images_auto_change_name', 'yes');
 
 
 
40
  $this->minimum_picture_size = get_option('qqworld_auto_save_images_minimum_picture_size', array('width'=>32, 'height'=>32));
41
  $this->maximum_picture_size = get_option('qqworld_auto_save_images_maximum_picture_size', array('width'=>1280, 'height'=>1280));
42
  $this->exclude_domain = get_option('qqworld-auto-save-images-exclude-domain');
@@ -119,7 +123,7 @@ class QQWorld_auto_save_images {
119
 
120
  public function add_to_post_php() {
121
  global $post;
122
- if ($GLOBALS['hook_suffix'] == 'post.php') {
123
  wp_register_script('noty', QQWORLD_AUTO_SAVE_IMAGES_URL . 'js/jquery.noty.packaged.min.js', array('jquery') );
124
  wp_enqueue_script('noty');
125
  wp_register_script('qqworld-auto-save-images-script-post', QQWORLD_AUTO_SAVE_IMAGES_URL . 'js/manual.js', array('jquery') );
@@ -517,12 +521,15 @@ class QQWorld_auto_save_images {
517
  <table class="form-table">
518
  <tbody>
519
  <tr valign="top">
520
- <th scope="row"><label><?php _e('Change Image Filename', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e("If you checked this, when the remote image filename have Chinese or other East Asian characters. system will automatically change image filename. I suggest enable it.", 'qqworld_auto_save_images'); ?>"></span></th>
521
- <td><fieldset>
 
522
  <legend class="screen-reader-text"><span><?php _e('Change Image Filename', 'qqworld_auto_save_images'); ?></span></legend>
523
- <label for="qqworld_auto_save_images_auto_change_name">
524
- <input name="qqworld_auto_save_images_auto_change_name" type="checkbox" id="qqworld_auto_save_images_auto_change_name" value="yes" <?php checked('yes', $this->change_image_name); ?> />
525
- </label>
 
 
526
  </fieldset></td>
527
  </tr>
528
  <tr valign="top">
@@ -630,19 +637,19 @@ class QQWorld_auto_save_images {
630
  <td>
631
  <table id="watermark-align-to">
632
  <tr>
633
- <td><input type="radio" value="lt" id="lt" name="qqworld-auto-save-images-watermark-align-to" <?php checked('lt', $this->align_to)?> /></td>
634
- <td><input type="radio" value="ct" id="ct" name="qqworld-auto-save-images-watermark-align-to" <?php checked('ct', $this->align_to)?> /></td>
635
- <td><input type="radio" value="rt" id="rt" name="qqworld-auto-save-images-watermark-align-to" <?php checked('rt', $this->align_to)?> /></td>
636
  </tr>
637
  <tr>
638
- <td><input type="radio" value="lc" id="lc" name="qqworld-auto-save-images-watermark-align-to" <?php checked('lc', $this->align_to)?> /></td>
639
- <td><input type="radio" value="cc" id="cc" name="qqworld-auto-save-images-watermark-align-to" <?php checked('cc', $this->align_to)?> /></td>
640
- <td><input type="radio" value="rc" id="rc" name="qqworld-auto-save-images-watermark-align-to" <?php checked('rc', $this->align_to)?> /></td>
641
  </tr>
642
  <tr>
643
- <td><input type="radio" value="lb" id="lb" name="qqworld-auto-save-images-watermark-align-to" <?php checked('lb', $this->align_to)?> /></td>
644
- <td><input type="radio" value="cb" id="cb" name="qqworld-auto-save-images-watermark-align-to" <?php checked('cb', $this->align_to)?> /></td>
645
- <td><input type="radio" value="rb" id="rb" name="qqworld-auto-save-images-watermark-align-to" <?php checked('rb', $this->align_to)?> /></td>
646
  </tr>
647
  </table>
648
  </td>
@@ -911,6 +918,8 @@ class QQWorld_auto_save_images {
911
  if ( !current_user_can('edit_post', $post_id) )
912
  return;
913
 
 
 
914
  $this->has_remote_image = 0;
915
  $this->has_missing_image = 0;
916
 
@@ -944,6 +953,8 @@ class QQWorld_auto_save_images {
944
 
945
  if ( !current_user_can('edit_post', $post_id) )
946
  return;
 
 
947
 
948
  $this->has_remote_image = 0;
949
  $this->has_missing_image = 0;
@@ -1033,7 +1044,8 @@ class QQWorld_auto_save_images {
1033
  }
1034
  }
1035
  $alt = isset($args['alt']) ? ' alt="'.$args['alt'].'"' : '';
1036
- $img = '<img class="size-'.$size.' wp-image-'.$attachment_id.'" src="'.$src.'" width="'.$width.'" height="'.$height.'"'.$alt.' />';
 
1037
  $link_to = $this->keep_outside_links=='no' ? $this->format['link-to'] : 'none';
1038
  switch ($link_to) {
1039
  case 'none':
@@ -1052,8 +1064,12 @@ class QQWorld_auto_save_images {
1052
  }
1053
 
1054
  public function set_img_metadata($img, $attachment_id) {
1055
- $pattern = '/<img\s[^>]*alt=[\"|\\\'](.*?)[\"|\\\'].*?>/i';
1056
- $alt = preg_match($pattern, $img, $matches) ? $matches[1] : null;
 
 
 
 
1057
  if ($alt) update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt);
1058
  $pattern = '/<img\s[^>]*title=[\"|\\\'](.*?)[\"|\\\'].*?>/i';
1059
  $title = preg_match($pattern, $img, $matches)? $matches[1] : null;
@@ -1070,12 +1086,24 @@ class QQWorld_auto_save_images {
1070
  );
1071
  }
1072
 
 
 
 
 
 
 
 
 
 
1073
  public function change_images_filename($name, $extension) {
1074
- if ($this->change_image_name) {
1075
  preg_match( '/^[\x7f-\xff]+$/', $name, $match );
1076
  if ( !empty($match) ) {
1077
- return md5($name) . $extension;
1078
  }
 
 
 
1079
  }
1080
  return $name . $extension;
1081
  }
@@ -1147,6 +1175,7 @@ class QQWorld_auto_save_images {
1147
  if ( function_exists('getimagesizefromstring') ) list($file, $width, $height) = $this->automatic_reduction($file);
1148
 
1149
  $res=wp_upload_bits($img_name,'',$file);
 
1150
  $attachment_id = $this->insert_attachment($res['file'], $post_id);
1151
  $res['id'] = $attachment_id;
1152
  $meta_data = wp_get_attachment_metadata($attachment_id);
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.2
7
  Author: Michael Wang
8
  Author URI: http://www.qqworld.org
9
  Text Domain: qqworld_auto_save_images
15
  var $mode;
16
  var $when;
17
  var $remote_publishing;
18
+ var $current_post_id; // for xmlrpc
19
  var $change_image_name;
20
  var $has_remote_image;
21
  var $has_missing_image;
37
  $this->when = get_option('qqworld_auto_save_images_when', 'publish');
38
  $this->remote_publishing = get_option('qqworld_auto_save_images_remote_publishing', 'yes');
39
  $this->featured_image = get_option('qqworld_auto_save_images_set_featured_image', 'yes');
40
+ $this->change_image_name = get_option('qqworld_auto_save_images_auto_change_name', 'east-asian');
41
+ // temporary start
42
+ $this->change_image_name = $this->change_image_name == 'yes' ? 'east-asian' : $this->change_image_name;
43
+ // temporary end
44
  $this->minimum_picture_size = get_option('qqworld_auto_save_images_minimum_picture_size', array('width'=>32, 'height'=>32));
45
  $this->maximum_picture_size = get_option('qqworld_auto_save_images_maximum_picture_size', array('width'=>1280, 'height'=>1280));
46
  $this->exclude_domain = get_option('qqworld-auto-save-images-exclude-domain');
123
 
124
  public function add_to_post_php() {
125
  global $post;
126
+ if ( $this->mode == 'manual' && ($GLOBALS['hook_suffix'] == 'post.php' || $GLOBALS['hook_suffix'] == 'post-new.php') ) {
127
  wp_register_script('noty', QQWORLD_AUTO_SAVE_IMAGES_URL . 'js/jquery.noty.packaged.min.js', array('jquery') );
128
  wp_enqueue_script('noty');
129
  wp_register_script('qqworld-auto-save-images-script-post', QQWORLD_AUTO_SAVE_IMAGES_URL . 'js/manual.js', array('jquery') );
521
  <table class="form-table">
522
  <tbody>
523
  <tr valign="top">
524
+ <th scope="row"><label for="auto_change_name"><?php _e('Change Image Filename', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e("Recommeded choose option 2, if you choose option 3, make sure post name | slug exclude Chinese or other East Asian characters. Notices: If your host OS is linux, you can choose option 1 and would not cause coding mess up, because of linux is using UTF8 encoding, as same as Wordpress.", 'qqworld_auto_save_images'); ?>"></span></th>
525
+ <td>
526
+ <fieldset>
527
  <legend class="screen-reader-text"><span><?php _e('Change Image Filename', 'qqworld_auto_save_images'); ?></span></legend>
528
+ <select id="auto_change_name" name="qqworld_auto_save_images_auto_change_name">
529
+ <option value="none" <?php selected('none', $this->change_image_name); ?>>1. <?php _e('No'); ?></option>
530
+ <option value="east-asian" <?php selected('east-asian', $this->change_image_name); ?>>2. <?php _e('Only change remote images filename that has Chinese or other East Asian characters', 'qqworld_auto_save_images'); ?></option>
531
+ <option value="all" <?php selected('all', $this->change_image_name); ?>>3. <?php _e('Change all remote images Filename and Alt as post name', 'qqworld_auto_save_images'); ?></option>
532
+ </select>
533
  </fieldset></td>
534
  </tr>
535
  <tr valign="top">
637
  <td>
638
  <table id="watermark-align-to">
639
  <tr>
640
+ <td><label><input type="radio" value="lt" id="lt" name="qqworld-auto-save-images-watermark-align-to" <?php checked('lt', $this->align_to)?> /></label></td>
641
+ <td><label><input type="radio" value="ct" id="ct" name="qqworld-auto-save-images-watermark-align-to" <?php checked('ct', $this->align_to)?> /></label></td>
642
+ <td><label><input type="radio" value="rt" id="rt" name="qqworld-auto-save-images-watermark-align-to" <?php checked('rt', $this->align_to)?> /></label></td>
643
  </tr>
644
  <tr>
645
+ <td><label><input type="radio" value="lc" id="lc" name="qqworld-auto-save-images-watermark-align-to" <?php checked('lc', $this->align_to)?> /></label></td>
646
+ <td><label><input type="radio" value="cc" id="cc" name="qqworld-auto-save-images-watermark-align-to" <?php checked('cc', $this->align_to)?> /></label></td>
647
+ <td><label><input type="radio" value="rc" id="rc" name="qqworld-auto-save-images-watermark-align-to" <?php checked('rc', $this->align_to)?> /></label></td>
648
  </tr>
649
  <tr>
650
+ <td><label><input type="radio" value="lb" id="lb" name="qqworld-auto-save-images-watermark-align-to" <?php checked('lb', $this->align_to)?> /></label></td>
651
+ <td><label><input type="radio" value="cb" id="cb" name="qqworld-auto-save-images-watermark-align-to" <?php checked('cb', $this->align_to)?> /></label></td>
652
+ <td><label><input type="radio" value="rb" id="rb" name="qqworld-auto-save-images-watermark-align-to" <?php checked('rb', $this->align_to)?> /></label></td>
653
  </tr>
654
  </table>
655
  </td>
918
  if ( !current_user_can('edit_post', $post_id) )
919
  return;
920
 
921
+ $this->current_post_id = $post_id;
922
+
923
  $this->has_remote_image = 0;
924
  $this->has_missing_image = 0;
925
 
953
 
954
  if ( !current_user_can('edit_post', $post_id) )
955
  return;
956
+
957
+ $this->current_post_id = $post_id;
958
 
959
  $this->has_remote_image = 0;
960
  $this->has_missing_image = 0;
1044
  }
1045
  }
1046
  $alt = isset($args['alt']) ? ' alt="'.$args['alt'].'"' : '';
1047
+ $title = isset($args['title']) ? ' title="'.$args['title'].'"' : '';
1048
+ $img = '<img class="size-'.$size.' wp-image-'.$attachment_id.'" src="'.$src.'" width="'.$width.'" height="'.$height.'"'.$alt.$title.' />';
1049
  $link_to = $this->keep_outside_links=='no' ? $this->format['link-to'] : 'none';
1050
  switch ($link_to) {
1051
  case 'none':
1064
  }
1065
 
1066
  public function set_img_metadata($img, $attachment_id) {
1067
+ if ($this->change_image_name != 'all') {
1068
+ $pattern = '/<img\s[^>]*alt=[\"|\\\'](.*?)[\"|\\\'].*?>/i';
1069
+ $alt = preg_match($pattern, $img, $matches) ? $matches[1] : null;
1070
+ } else {
1071
+ $alt = $this->get_post_title() ? $this->get_post_title() : null;
1072
+ }
1073
  if ($alt) update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt);
1074
  $pattern = '/<img\s[^>]*title=[\"|\\\'](.*?)[\"|\\\'].*?>/i';
1075
  $title = preg_match($pattern, $img, $matches)? $matches[1] : null;
1086
  );
1087
  }
1088
 
1089
+ public function get_post_title() {
1090
+ $post = get_post($this->current_post_id);
1091
+ return $post->post_title;
1092
+ }
1093
+
1094
+ public function get_post_name() {
1095
+ return sanitize_title_with_dashes( $this->get_post_title() );
1096
+ }
1097
+
1098
  public function change_images_filename($name, $extension) {
1099
+ if ($this->change_image_name == 'east-asian') {
1100
  preg_match( '/^[\x7f-\xff]+$/', $name, $match );
1101
  if ( !empty($match) ) {
1102
+ $name = md5($name);
1103
  }
1104
+ } elseif ($this->change_image_name == 'all') {
1105
+ global $post;
1106
+ $name = urldecode($this->get_post_name());
1107
  }
1108
  return $name . $extension;
1109
  }
1175
  if ( function_exists('getimagesizefromstring') ) list($file, $width, $height) = $this->automatic_reduction($file);
1176
 
1177
  $res=wp_upload_bits($img_name,'',$file);
1178
+ if (isset( $res['error'] ) && !empty($res['error'])) return false;
1179
  $attachment_id = $this->insert_attachment($res['file'], $post_id);
1180
  $res['id'] = $attachment_id;
1181
  $meta_data = wp_get_attachment_metadata($attachment_id);