QQWorld Auto Save Images - Version 1.7.12.5

Version Description

Download this release

Release Info

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

Code changes from version 1.7.12.4 to 1.7.12.5

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-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"
@@ -11,7 +11,7 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=1; plural=0;\n"
14
- "X-Generator: Poedit 1.7\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
17
  "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
@@ -30,7 +30,7 @@ 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
 
@@ -57,7 +57,7 @@ msgid ""
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
 
@@ -153,7 +153,7 @@ msgstr "扫描中……"
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"
@@ -162,12 +162,12 @@ msgstr "博客ID"
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 "状态"
@@ -309,7 +309,7 @@ msgstr "常规选项"
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
 
@@ -319,7 +319,7 @@ msgid ""
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
 
@@ -372,18 +372,18 @@ 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
 
@@ -446,149 +446,157 @@ 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,20 +604,20 @@ msgstr ""
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,12 +628,12 @@ msgstr ""
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,68 +641,68 @@ msgstr ""
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,14 +710,17 @@ msgstr ""
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."
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-12 19:09+0800\n"
6
+ "PO-Revision-Date: 2015-01-12 19:10+0800\n"
7
  "Last-Translator: Michael Wang <admin@qqworld.org>\n"
8
  "Language-Team: QQWorld <admin@qqworld.org>\n"
9
  "Language: zh_CN\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=1; plural=0;\n"
14
+ "X-Generator: Poedit 1.7.3\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
17
  "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
30
  msgstr "没有相关分类方法。"
31
 
32
  #: qqworld-auto-save-images.php:111 qqworld-auto-save-images.php:285
33
+ #: qqworld-auto-save-images.php:946
34
  msgid "All remote images have been saved."
35
  msgstr "已保存所有远程图像。"
36
 
57
  "database."
58
  msgstr "你确定吗?<br />在点击确定按钮之前,我建议你备份网站的数据库。"
59
 
60
+ #: qqworld-auto-save-images.php:157 qqworld-auto-save-images.php:756
61
  msgid "Please select post types."
62
  msgstr "请选择文章类型。"
63
 
153
  msgid "Listing..."
154
  msgstr "显示列表中……"
155
 
156
+ #: qqworld-auto-save-images.php:178 qqworld-auto-save-images.php:798
157
  #, fuzzy
158
  msgid "ID"
159
  msgstr "博客ID"
162
  msgid "Post Type"
163
  msgstr "文章类型"
164
 
165
+ #: qqworld-auto-save-images.php:180 qqworld-auto-save-images.php:800
166
  #, fuzzy
167
  msgid "Title"
168
  msgstr "标题"
169
 
170
+ #: qqworld-auto-save-images.php:181 qqworld-auto-save-images.php:778
171
  #, fuzzy
172
  msgid "Status"
173
  msgstr "状态"
309
  msgid "Mode"
310
  msgstr "模式"
311
 
312
+ #: qqworld-auto-save-images.php:430 qqworld-auto-save-images.php:836
313
  msgid "Automatic"
314
  msgstr "自动"
315
 
319
  "publish post."
320
  msgstr "在保存或发布文章时,自动将所有远程图像保存到本地媒体库。"
321
 
322
+ #: qqworld-auto-save-images.php:434 qqworld-auto-save-images.php:837
323
  msgid "Manual"
324
  msgstr "手动"
325
 
372
  msgstr "忽略比这个尺寸更小的图像。"
373
 
374
  #: qqworld-auto-save-images.php:483 qqworld-auto-save-images.php:495
375
+ #: qqworld-auto-save-images.php:636
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:636 qqworld-auto-save-images.php:639
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:639
387
  msgid "Height:"
388
  msgstr "高度:"
389
 
446
  msgstr "改变所有远程图片文件名为文章名(Post Name)"
447
 
448
  #: qqworld-auto-save-images.php:536 qqworld-auto-save-images.php:538
449
+ msgid "Change Title & Alt"
450
+ msgstr "更改标题和替代文本"
451
+
452
+ #: qqworld-auto-save-images.php:536
453
+ msgid "Automatically add title & alt of image as post title."
454
+ msgstr "自动依照文章标题添加图片的标题和替代文本。"
455
+
456
+ #: qqworld-auto-save-images.php:545 qqworld-auto-save-images.php:547
457
  msgid "Keep Outside Links"
458
  msgstr "保留外链"
459
 
460
+ #: qqworld-auto-save-images.php:545
461
  msgid "Keep the outside links of remote images if exist."
462
  msgstr "将会保留远程图片的链接,如果存在的话。"
463
 
464
+ #: qqworld-auto-save-images.php:554 qqworld-auto-save-images.php:556
465
  msgid "Image Size"
466
  msgstr "图像尺寸"
467
 
468
+ #: qqworld-auto-save-images.php:554
469
  msgid "Replace images you want size to display."
470
  msgstr "替换成你想要显示的尺寸的图像。"
471
 
472
+ #: qqworld-auto-save-images.php:561
473
  #, fuzzy
474
  msgid "Thumbnail"
475
  msgstr ""
476
  "一个数组,可以包含数个函数,每个函数返回可能的缩略图图片对象相对于时间对象的"
477
  "jQuery路径。"
478
 
479
+ #: qqworld-auto-save-images.php:562
480
  msgid "Medium"
481
  msgstr ""
482
 
483
+ #: qqworld-auto-save-images.php:563
484
  msgid "Large"
485
  msgstr ""
486
 
487
+ #: qqworld-auto-save-images.php:564
488
  #, fuzzy
489
  msgid "Full Size"
490
  msgstr "链接到全尺寸图像"
491
 
492
+ #: qqworld-auto-save-images.php:573 qqworld-auto-save-images.php:575
493
  msgid "Link To"
494
  msgstr "链接到"
495
 
496
+ #: qqworld-auto-save-images.php:573
497
  msgid "If you checked Keep-Outside-Links, this option will not works."
498
  msgstr "如果你勾选了保留外链,本项将不起作用。"
499
 
500
+ #: qqworld-auto-save-images.php:580
501
  #, fuzzy
502
  msgid "Media File"
503
  msgstr "添加文件"
504
 
505
+ #: qqworld-auto-save-images.php:581
506
  #, fuzzy
507
  msgid "Attachment Page"
508
  msgstr "(附件)"
509
 
510
+ #: qqworld-auto-save-images.php:582
511
  msgid "None"
512
  msgstr ""
513
 
514
+ #: qqworld-auto-save-images.php:591 qqworld-auto-save-images.php:593
515
  msgid "Additional Content"
516
  msgstr "额外的内容"
517
 
518
+ #: qqworld-auto-save-images.php:591
519
  msgid ""
520
  "This content will be displayed after the each remote images code. you can "
521
  "use [Attachment ID] indicate current attachment ID."
522
  msgstr "此内容将在每个远程图像编码后显​​示。您可以使用[附件ID]指示当前连接ID。"
523
 
524
+ #: qqworld-auto-save-images.php:596
525
  msgid "For example: [Gbuy id='[Attachment ID]']"
526
  msgstr "例如:[Gbuy id='[Attachment ID]']"
527
 
528
+ #: qqworld-auto-save-images.php:608
529
  msgid ""
530
  "Just for preview, The complete feature will on the Pro version. Don't worry, "
531
  "other features will be free forever."
532
  msgstr "仅仅用于预览,专业版将提供完整的功能。别担心,其他功能将永久免费。"
533
 
534
+ #: qqworld-auto-save-images.php:612 qqworld-auto-save-images.php:614
535
  msgid "Enabled Watermark"
536
  msgstr "启用水印"
537
 
538
+ #: qqworld-auto-save-images.php:612
539
  msgid "Use for both of remote images and the local upload."
540
  msgstr "同时用于远程图片和本地上传。"
541
 
542
+ #: qqworld-auto-save-images.php:622 qqworld-auto-save-images.php:624
543
  msgid "Ignore animated GIF"
544
  msgstr "忽略GIF动画"
545
 
546
+ #: qqworld-auto-save-images.php:632 qqworld-auto-save-images.php:634
547
  msgid "Filter"
548
  msgstr "过滤"
549
 
550
+ #: qqworld-auto-save-images.php:632
551
  msgid "Skip images that smaller than this size."
552
  msgstr "跳过比这个尺寸更小的图像。"
553
 
554
+ #: qqworld-auto-save-images.php:645
555
  msgid "Align To"
556
  msgstr "对齐方式"
557
 
558
+ #: qqworld-auto-save-images.php:667
559
  msgid "Position"
560
  msgstr "位置"
561
 
562
+ #: qqworld-auto-save-images.php:667
563
  msgid "You can try to drag the watermark image."
564
  msgstr "你可以试着拖动水印图片。"
565
 
566
+ #: qqworld-auto-save-images.php:684 qqworld-auto-save-images.php:686
567
+ #: qqworld-auto-save-images.php:765
568
  msgid "Offset"
569
  msgstr "偏移"
570
 
571
+ #: qqworld-auto-save-images.php:697 qqworld-auto-save-images.php:699
572
  msgid "Opacity"
573
  msgstr "不透明度"
574
 
575
+ #: qqworld-auto-save-images.php:707 qqworld-auto-save-images.php:709
576
  msgid "Upload Watermark Image"
577
  msgstr "上传水印图片"
578
 
579
+ #: qqworld-auto-save-images.php:711
580
  msgid "Insert a Watermark Image"
581
  msgstr "插入水印图片"
582
 
583
+ #: qqworld-auto-save-images.php:722
584
  msgid "Default Watermark"
585
  msgstr "默认水印"
586
 
587
+ #: qqworld-auto-save-images.php:726
588
  msgid "Buy"
589
  msgstr "购买"
590
 
591
+ #: qqworld-auto-save-images.php:727
592
  msgid "Coming.. I don't know when, Who cares.."
593
  msgstr "即将…我不知道什么时候,管它呢……"
594
 
595
+ #: qqworld-auto-save-images.php:741
596
  msgid "Select post types"
597
  msgstr "选择文章类型"
598
 
599
+ #: qqworld-auto-save-images.php:741
600
  msgid ""
601
  "If you have too many posts to be scan, sometimes in process looks like "
602
  "stopping, but it may be fake. please be patient."
604
  "如果有太多文章需要扫描,有时候在扫描过程中看起来像是停止了,但可能是假停止,"
605
  "请耐心等待。"
606
 
607
+ #: qqworld-auto-save-images.php:755
608
  #, fuzzy
609
  msgid "Categories"
610
  msgstr "%s分类"
611
 
612
+ #: qqworld-auto-save-images.php:755
613
  msgid "Default empty to scan all categories."
614
  msgstr "默认留空扫描所有分类。"
615
 
616
+ #: qqworld-auto-save-images.php:760
617
  msgid "Scope of Post ID"
618
  msgstr "文章ID范围"
619
 
620
+ #: qqworld-auto-save-images.php:760
621
  msgid ""
622
  "Default empty for scan all posts ID. If you want to scan posts ID from 50 to "
623
  "100. please type '50' and '100' or '100' and '50', The order in which two "
628
  "者'100'和'50',两个数字的顺序可以颠倒。如果你只输入了1个数字,则系统只会扫描"
629
  "该ID。"
630
 
631
+ #: qqworld-auto-save-images.php:761
632
  #, php-format
633
  msgid "From %1$s to %2$s"
634
  msgstr "从 %1$s 到 %2$s"
635
 
636
+ #: qqworld-auto-save-images.php:765
637
  msgid ""
638
  "Default scan all posts. If you want to scan 50-150 posts, please type '50' "
639
  "in the textfield and select '100'."
641
  "默认扫秒全部文章,如果想扫描50-150篇文章,请在文本框中输入“50”并在下拉菜单中"
642
  "选择“100”。"
643
 
644
+ #: qqworld-auto-save-images.php:767
645
  #, php-format
646
  msgid "Start from %s to Scan"
647
  msgstr "从 %s 开始扫描"
648
 
649
+ #: qqworld-auto-save-images.php:769
650
  #, fuzzy
651
  msgid "All"
652
  msgstr "所有"
653
 
654
+ #: qqworld-auto-save-images.php:773
655
  #, fuzzy
656
  msgid "Posts"
657
  msgstr "热门文章"
658
 
659
+ #: qqworld-auto-save-images.php:783
660
  msgid "Any"
661
  msgstr "任意"
662
 
663
+ #: qqworld-auto-save-images.php:793
664
  msgid "Order By"
665
  msgstr "排序依据"
666
 
667
+ #: qqworld-auto-save-images.php:799
668
  #, fuzzy
669
  msgid "Author"
670
  msgstr "名称"
671
 
672
+ #: qqworld-auto-save-images.php:801
673
  #, fuzzy
674
  msgid "Date"
675
  msgstr "日期"
676
 
677
+ #: qqworld-auto-save-images.php:802
678
  #, fuzzy
679
  msgid "Last Modified"
680
  msgstr "最后回复"
681
 
682
+ #: qqworld-auto-save-images.php:803
683
  msgid "Comment Count"
684
  msgstr "评论数"
685
 
686
+ #: qqworld-auto-save-images.php:813
687
  #, fuzzy
688
  msgid "Order"
689
  msgstr "顺序"
690
 
691
+ #: qqworld-auto-save-images.php:823
692
  msgid "Speed"
693
  msgstr "速度"
694
 
695
+ #: qqworld-auto-save-images.php:823
696
  msgid "If the server is too much stress may be appropriately reduced speed."
697
  msgstr "如果服务器压力过大,可以适当调低速度。"
698
 
699
+ #: qqworld-auto-save-images.php:836
700
  msgid ""
701
  "Scan posts and keep remote images in all posts to local media library. Maybe "
702
  "take a long time."
703
  msgstr "扫描所有的文章,将所有远程图片保存到本地,可能需要很长时间。"
704
 
705
+ #: qqworld-auto-save-images.php:837
706
  msgid ""
707
  "The list displayed will show you which posts including remote images, then "
708
  "you can keep them to local manually via click \"Fetch\" button."
710
  "显示的列表中将告诉你哪些文章包含远程图片,然后你可以通过点击“抓取”按钮手动保"
711
  "存。"
712
 
713
+ #: qqworld-auto-save-images.php:943
714
  msgid "Has Missing/Undownloadable images."
715
  msgstr "有 不存在/不可下载 的远程图像。"
716
 
717
+ #: qqworld-auto-save-images.php:950
718
  msgid "No remote images found."
719
  msgstr "没有远程图像。"
720
 
721
+ #~ msgid "Automatically add title & alt of image as post name."
722
+ #~ msgstr "自动依照文章标题添加图片的标题和替代文本。"
723
+
724
  #~ msgid ""
725
  #~ "Recommeded choose option 2, if you choose option 3, make sure post name | "
726
  #~ "slug exclude Chinese or other East Asian characters."
qqworld-auto-save-images.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: QQWorld Auto Save Images
4
  Plugin URI: https://wordpress.org/plugins/qqworld-auto-save-images/
5
  Description: Automatically keep the all remote picture to the local, and automatically set featured image.
6
- Version: 1.7.12.4
7
  Author: Michael Wang
8
  Author URI: http://www.qqworld.org
9
  Text Domain: qqworld_auto_save_images
@@ -23,6 +23,7 @@ class QQWorld_auto_save_images {
23
  var $maximum_picture_size;
24
  var $exclude_domain;
25
  var $format;
 
26
  var $additional_content;
27
 
28
  var $watermark_enabled;
@@ -45,6 +46,7 @@ class QQWorld_auto_save_images {
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');
47
  $this->format = get_option('qqworld-auto-save-images-format', array('size'=>'full', 'link-to'=>'none'));
 
48
  $this->keep_outside_links = isset($this->format['keep-outside-links']) ? $this->format['keep-outside-links'] : 'no';
49
  $this->additional_content = isset($this->format['additional-content']) ? $this->format['additional-content'] : array('before'=>'', 'after'=>'');
50
 
@@ -532,6 +534,15 @@ class QQWorld_auto_save_images {
532
  </select>
533
  </fieldset></td>
534
  </tr>
 
 
 
 
 
 
 
 
 
535
  <tr valign="top">
536
  <th scope="row"><label><?php _e('Keep Outside Links', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e("Keep the outside links of remote images if exist.", 'qqworld_auto_save_images'); ?>"></span></th>
537
  <td><fieldset>
@@ -1064,15 +1075,16 @@ class QQWorld_auto_save_images {
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;
1076
  if ($title) {
1077
  $attachment = array(
1078
  'ID' => $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.5
7
  Author: Michael Wang
8
  Author URI: http://www.qqworld.org
9
  Text Domain: qqworld_auto_save_images
23
  var $maximum_picture_size;
24
  var $exclude_domain;
25
  var $format;
26
+ var $change_title_alt;
27
  var $additional_content;
28
 
29
  var $watermark_enabled;
46
  $this->maximum_picture_size = get_option('qqworld_auto_save_images_maximum_picture_size', array('width'=>1280, 'height'=>1280));
47
  $this->exclude_domain = get_option('qqworld-auto-save-images-exclude-domain');
48
  $this->format = get_option('qqworld-auto-save-images-format', array('size'=>'full', 'link-to'=>'none'));
49
+ $this->change_title_alt = isset($this->format['title-alt']) ? $this->format['title-alt'] : 'no';
50
  $this->keep_outside_links = isset($this->format['keep-outside-links']) ? $this->format['keep-outside-links'] : 'no';
51
  $this->additional_content = isset($this->format['additional-content']) ? $this->format['additional-content'] : array('before'=>'', 'after'=>'');
52
 
534
  </select>
535
  </fieldset></td>
536
  </tr>
537
+ <tr valign="top">
538
+ <th scope="row"><label><?php _e('Change Title & Alt', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e('Automatically add title & alt of image as post title.', 'qqworld_auto_save_images'); ?>"></span></th>
539
+ <td><fieldset>
540
+ <legend class="screen-reader-text"><span><?php _e('Change Title & Alt', 'qqworld_auto_save_images'); ?></span></legend>
541
+ <label for="qqworld_auto_save_images_format_title_alt">
542
+ <input name="qqworld-auto-save-images-format[title-alt]" type="checkbox" id="qqworld_auto_save_images_format_title_alt" value="yes" <?php checked('yes', $this->change_title_alt); ?> />
543
+ </label>
544
+ </fieldset></td>
545
+ </tr>
546
  <tr valign="top">
547
  <th scope="row"><label><?php _e('Keep Outside Links', 'qqworld_auto_save_images'); ?></label> <span class="icon help" title="<?php _e("Keep the outside links of remote images if exist.", 'qqworld_auto_save_images'); ?>"></span></th>
548
  <td><fieldset>
1075
  }
1076
 
1077
  public function set_img_metadata($img, $attachment_id) {
1078
+ if ($this->change_title_alt == 'no') {
1079
  $pattern = '/<img\s[^>]*alt=[\"|\\\'](.*?)[\"|\\\'].*?>/i';
1080
  $alt = preg_match($pattern, $img, $matches) ? $matches[1] : null;
1081
+ $pattern = '/<img\s[^>]*title=[\"|\\\'](.*?)[\"|\\\'].*?>/i';
1082
+ $title = preg_match($pattern, $img, $matches)? $matches[1] : null;
1083
  } else {
1084
  $alt = $this->get_post_title() ? $this->get_post_title() : null;
1085
+ $title = $this->get_post_title() ? $this->get_post_title() : null;
1086
  }
1087
  if ($alt) update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt);
 
 
1088
  if ($title) {
1089
  $attachment = array(
1090
  'ID' => $attachment_id,