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