-
Notifications
You must be signed in to change notification settings - Fork 0
/
interface.json
718 lines (708 loc) · 32.3 KB
/
interface.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
[
{
"title": "Site",
"title_zh_cn": "网站设置",
"title_zh_tw": "網站設定",
"groups": [
{
"title": "Site Info",
"title_zh_cn": "网站信息",
"title_zh_tw": "網站訊息",
"cells": [
{
"parts_per_line": 3,
"parts": [
{
"key": "title",
"title": "Site Title",
"title_zh_cn": "网站标题",
"title_zh_tw": "網站標題",
"default_value": "My Site",
"model": "text"
},
{
"title": "Site Keywords",
"title_zh_cn": "网站关键词",
"title_zh_tw": "網站關鍵詞",
"key": "keywords",
"model":"text"
},
{
"key": "avatar",
"title": "Site Avatar (drag image here to replace)",
"title_zh_cn": "网站头像 (拖曳圖片更換)",
"title_zh_tw": "網站頭像 (拖曳圖片更換)",
"value": "/_image/avatar.jpg",
"model": "image",
"width": 120,
"height": 120
}
]
},
{
"parts_per_line": 1,
"parts":[
{
"title": "Site Description",
"title_zh_cn": "网站描述",
"title_zh_tw": "網站描述",
"key": "raw_content",
"model":"textarea"
},
{
"title": "Site's Cover (drag image here to replace)",
"title_zh_cn": "网站封面 (拖入图片替换)",
"title_zh_tw": "網站封面 (拖入圖片替換)",
"key": "cover",
"model":"image",
"value": "/_image/cover.jpg",
"height": 120
}
]
}
]
},
{
"title": "Contents Display",
"title_zh_cn": "内容显示",
"title_zh_tw": "內容顯示",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "posts_per_page",
"title": "Posts per Page",
"title_zh_cn": "每页显示日志数",
"title_zh_tw": "每頁顯示文章數",
"default_value": 3
},
{
"key": "post_content_type",
"title": "Post Content Type",
"title_zh_cn": "正文格式",
"title_zh_tw": "正文格式",
"model": "select",
"default_value": "markdown",
"options": [
{
"value": "markdown",
"title": "Markdown"
},
{
"value": "plain",
"title": "Plain Text with Images"
}
],
"options_zh_cn": [
{
"value": "markdown",
"title": "Markdown"
},
{
"value": "plain",
"title": "普通文本+图片"
}
],
"options_zh_tw": [
{
"value": "markdown",
"title": "Markdown"
},
{
"value": "plain",
"title": "一般文本+圖片"
}
]
},
{
"key": "post_paragraph_indent",
"title": "Paragraph Text Indent",
"title_zh_cn": "段落首行缩进",
"title_zh_tw": "段落首行縮進",
"model": "select",
"default_value": "no",
"options": [
{
"value": "no",
"title": "No indent"
},
{
"value": "hard",
"title": "2 Letters Indent (Natural Mode)"
},
{
"value": "yes",
"title": "2 Letters Indent (P tag in HTML)"
}
],
"options_zh_cn": [
{
"value": "no",
"title": "不缩进"
},
{
"value": "hard",
"title": "缩进2字(自然模式)"
},
{
"value": "yes",
"title": "缩进2字 (HTML的P标签缩进)"
}
],
"options_zh_tw": [
{
"value": "no",
"title": "不縮進"
},
{
"value": "hard",
"title": "縮進2字(自然模式)"
},
{
"value": "yes",
"title": "每段縮進2字 (HTML的P標簽縮進)"
}
]
},
{
"key": "file_path",
"title": "Albums Root Path",
"title_zh_cn": "相册根目录",
"title_zh_tw": "相簿位置",
"model": "select",
"options": "root"
},
{
"key": "show_toc",
"title": "Table of Contents",
"title_zh_cn": "文章自动目录",
"title_zh_tw": "文章自動目錄",
"model": "select",
"default_value": "no",
"options": [
{
"value": "no",
"title": "Not Display"
},
{
"value": "yes",
"title": "Display"
}
],
"options_zh_cn": [
{
"value": "no",
"title": "不显示"
},
{
"value": "yes",
"title": "显示"
}
],
"options_zh_tw": [
{
"value": "no",
"title": "不顯示"
},
{
"value": "yes",
"title": "顯示"
}
]
},
{
"key": "mathjax",
"title": "Use MathJax",
"title_zh_cn": "使用MathJax",
"title_zh_tw": "使用MathJax",
"model": "select",
"default_value": "no",
"options": [
{
"value": "no",
"title": "No"
},
{
"value": "yes",
"title": "Yes"
}
],
"options_zh_cn": [
{
"value": "no",
"title": "不"
},
{
"value": "yes",
"title": "使用"
}
],
"options_zh_tw": [
{
"value": "no",
"title": "不"
},
{
"value": "yes",
"title": "使用"
}
]
}
]
}
]
},
{
"title": "Social Comments",
"title_zh_cn": "第三方评论",
"title_zh_tw": "第三方評論",
"cells":[
{
"parts_per_line": 2,
"parts": [
{
"key": "disqus",
"title": "Disqus",
"title_zh_cn": "Disqus",
"model": "text",
"default_value": "Disqus Shortname"
},
{
"key": "duoshuo",
"title": "DuoShuo",
"title_zh_cn": "多说",
"model": "text",
"default_value": "DuoShuo ID"
}
]
}
]
}
]
},
{
"title": "TemplateEngine",
"title_zh_cn": "模板引擎",
"title_zh_tw": "模板引擎",
"groups":[
{
"title":"Runtime",
"title_zh_cn":"运行",
"title_zh_tw":"運行",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "template_priority",
"title": "Template Priority",
"title_zh_cn": "模板优先级",
"title_zh_tw": "模板優先級",
"model": "select",
"default_value": "auto",
"options": [
{
"value": "auto",
"title": "Auto"
},
{
"value": "self",
"title": "Custom Template"
},
{
"value": "default",
"title": "Default Template"
}
],
"options_zh_cn": [
{
"value": "auto",
"title": "自动"
},
{
"value": "self",
"title": "自定义模板"
},
{
"value": "default",
"title": "默认模板"
}
],
"options_zh_tw": [
{
"value": "auto",
"title": "自動"
},
{
"value": "self",
"title": "自定義模板"
},
{
"value": "default",
"title": "預設模板"
}
]
},
{
"key": "template_inherit",
"title": "Base Template Inherit",
"title_zh_cn": "基础模板继承",
"title_zh_tw": "基礎模板引用",
"model": "select",
"default_value": "yes",
"options": [
{
"value": "yes",
"title": "Inherits Default Template"
},
{
"value": "no",
"title": "No Inherit"
}
],
"options_zh_cn": [
{
"value": "yes",
"title": "引用預設模板"
},
{
"value": "no",
"title": "不继承"
}
],
"options_zh_tw": [
{
"value": "yes",
"title": "從默認模板繼承"
},
{
"value": "no",
"title": "不繼承"
}
]
},
{
"key": "template_clone_allowed",
"title": "Allow Template Clone",
"title_zh_cn": "允许模板克隆",
"title_zh_tw": "允許複製模板",
"model": "select",
"default_value": "yes",
"options": [
{
"value": "yes",
"title": "Allow Others Clone Template!"
},
{
"value": "no",
"title": "No Allowed"
}
],
"options_zh_cn": [
{
"value": "yes",
"title": "允许别人克隆模板"
},
{
"value": "no",
"title": "不允许"
}
],
"options_zh_tw": [
{
"value": "yes",
"title": "允許別人複製模板"
},
{
"value": "no",
"title": "不允許"
}
]
},
{
"key": "autoreload",
"title": "AutoReload",
"title_zh_cn": "AutoReload",
"model": "select",
"default_value": "auto",
"options": [
{
"value": "auto",
"title": "Auto"
},
{
"value": "admin",
"title": "For Yourself Only"
},
{
"value": "yes",
"title": "For Everyone"
},
{
"value": "no",
"title": "Not Allowed"
}
],
"options_zh_cn": [
{
"value": "auto",
"title": "自动"
},
{
"value": "admin",
"title": "仅自己"
},
{
"value": "yes",
"title": "每个访客都有效"
},
{
"value": "no",
"title": "不允许"
}
],
"options_zh_tw": [
{
"value": "auto",
"title": "自動"
},
{
"value": "admin",
"title": "僅自己"
},
{
"value": "yes",
"title": "每個訪客都有效"
},
{
"value": "no",
"title": "不允許"
}
]
},
{
"key": "post_url_format",
"title": "Post URL Format",
"title_zh_cn": "日志URL格式",
"title_zh_tw": "日誌URL格式",
"model": "select",
"default_value": "normal",
"options": [
{
"value": "normal",
"title": "/post/<url>"
},
{
"value": "no_prefix",
"title": "/<url>"
}
]
}
]
}
]
},
{
"title": "Insert Scripts",
"title_zh_cn":"插入脚本",
"title_zh_tw":"插入腳本",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "scripts_per_page",
"title": "Insert following code into every HTML page.",
"title_zh_cn": "将下面的代码插入到每个HTML页面中",
"title_zh_tw": "將下面的程式碼插入到每個HTML頁面中",
"model":"textarea"
},
{
"key": "scripts_for_doc",
"title": "Insert following code into Doc(post/image) page.",
"title_zh_cn": "将下面的代码插入到文档(日志或图片)详细页中",
"title_zh_tw": "將下面程式碼插入文件(文章或圖片)頁面內",
"model":"textarea"
}
]
}
]
}
]
},
{
"title": "Advanced",
"title_zh_cn": "高级",
"title_zh_tw": "高級",
"groups":[
{
"title": "Feature",
"title_zh_cn": "功能",
"title_zh_tw": "功能",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "auto_image",
"title": "<small>beta</small> Make Images Vivider Automatically. <a href='http://help.farbox.com/read/auto-image-enhance' target=_blank> demo </a>",
"title_zh_cn": "<small>beta</small> 自动美化照片. <a href='http://help.farbox.com/read/auto-image-enhance' target=_blank> demo </a>",
"model":"check",
"default_value": "no"
},
{
"key": "smart_login",
"title": "<small>beta</small> Smart Login",
"title_zh_cn": "<small>beta</small> 智能登录",
"title_zh_tw": "<small>beta</small> 智能登入",
"model":"check",
"default_value": "no"
}
]
}
]
},
{
"title": "Data",
"title_zh_cn": "数据",
"title_zh_tw": "數據",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "comment",
"title": "Comments Allowed (if not, visitors can't comment on your posts or images).",
"title_zh_cn": "允许评论(如不勾选,则访客无法评论你的文章、图片)",
"title_zh_tw": "允許評論(如不勾選,則訪客無法評論你的文章、圖片)",
"model":"check",
"default_value": "yes"
},
{
"key": "sync_by_3rd",
"title": "Other people put data into your site will be allowed (in the `share` folder).",
"title_zh_cn": "允许其他人推送内容到你的网站(`share`目录下)",
"title_zh_tw": "允許其他人推送內容倒你的網站(`share`目錄下)",
"model":"check",
"default_value": "no"
},
{
"key": "sync_by_3rd_public",
"title": "No need to login when other people put data into your site.",
"title_zh_cn": "其他人推送内容时,无需登录",
"title_zh_tw": "其他人推送內容時,無需登錄",
"model":"check",
"default_value": "no"
}
]
}
]
},
{
"title":"Data Mining",
"title_zh_cn":"数据挖掘",
"title_zh_tw":"资料探勘",
"cells":[
{
"parts_per_line": 3,
"parts":[
{
"key": "score_degree",
"title": "Hottest Sort Degree(days)",
"title_zh_cn": "热门排序维度(天)",
"title_zh_tw": "熱門排序維度(天)",
"default_value": 0.5
}
]
}
]
},
{
"title": "URLs Forbidden",
"title_zh_cn":"URLs禁止访问",
"title_zh_tw":"URLs禁止訪問",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "hidden_urls",
"title": "URL Paths to be forbidden, one record one line, `the_path` or `the_path/*`",
"title_zh_cn": "如果访问路径为以下所示,将禁止访问,每行一条记录,`the_path`或`the_path/*`",
"title_zh_tw": "如果訪問路徑為以下所示,將禁止訪問,每行一條記錄,`the_path`或`the_path/*`",
"model":"textarea",
"is_list": true
}
]
}
]
},
{
"title": "Passwords for Visitors",
"title_zh_cn":"访问密码",
"title_zh_tw":"訪問密碼",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "users",
"title": "Visitors must input the username and password to access, format is 'username@password', one record one line",
"title_zh_cn": "访客须输入用户名、密码才能访问,格式为'username@password', 每行一条记录 ",
"title_zh_tw": "訪客須輸入用戶名、密碼才能訪問,格式為'username@password', 每行一條記錄 ",
"model":"textarea",
"is_list": true
}
]
}
]
}
]
},
{
"title": "Bind",
"title_zh_cn": "域名",
"title_zh_tw": "域名",
"groups":[
{
"title": "Bind Domain",
"title_zh_cn": "域名绑定",
"title_zh_tw": "域名綁定",
"cells": [
{
"parts_per_line": 2,
"parts": [
{
"key": "domain",
"title": "Domain <a target='_blank' href='http://help.farbox.com/read/domain'> need help?</a>",
"title_zh_cn": "域名 <a target='_blank' href='http://help.farbox.com/read/domain'> need help?</a>",
"title_zh_tw": "域名 <a target='_blank' href='http://help.farbox.com/read/domain'> need help?</a>"
}
]
}
]
},
{
"title": "Multi Domains Binding",
"title_zh_cn":"多域名绑定",
"title_zh_tw":"多域名綁定",
"cells":[
{
"parts_per_line": 1,
"parts":[
{
"key": "domains",
"title": "one line one domain which needed to bind, no more than 10 lines.",
"title_zh_cn": "每行一条需绑定的域名,最多不超过10条",
"title_zh_tw": "每行一條需綁定的域名,最多不超過10條",
"model":"textarea",
"is_list": true
}
]
}
]
}
]
}
]