-
Notifications
You must be signed in to change notification settings - Fork 1
/
AmuleWebUI-Reloaded-zh-cn.patch
1846 lines (1784 loc) · 117 KB
/
AmuleWebUI-Reloaded-zh-cn.patch
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
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
diff -ruN a/AmuleWebUI-Reloaded/amuleweb-main-dload.php b/AmuleWebUI-Reloaded/amuleweb-main-dload.php
--- a/AmuleWebUI-Reloaded/amuleweb-main-dload.php 2022-09-23 22:05:06.000000000 +0800
+++ b/AmuleWebUI-Reloaded/amuleweb-main-dload.php 2023-06-27 21:21:56.326998178 +0800
@@ -14,7 +14,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Inclusion of bootstrap css -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
+ <script src="//ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" integrity="sha384-7tY7Dc2Q8WQTKGz2Fa0vC4dWQo07N4mJjKvHfIGnxuC4vPqFGFQppd9b3NWpf18/" crossorigin="anonymous">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" integrity="sha384-BD3p+z3TqIhBK2OaMBRzK4Nz02t4OQcwrEkJxy3PAqU2Rwm1giS6RCgvBDk6+iPH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
@@ -232,7 +232,7 @@
function formCommandSubmit(command)
{
if ( command == "cancel" ) {
- var res = confirm("Delete selected files ?")
+ var res = confirm("删除选定的文件?")
if ( res == false ) {
return;
}
@@ -240,7 +240,7 @@
if ( command != "filter" ) {
<?php
if ($_SESSION["guest_login"] != 0) {
- echo 'alert("You logged in as guest - commands are disabled");';
+ echo 'alert("您以访客身份登录 - 命令被禁用");';
echo "return;";
}
?>
@@ -261,27 +261,27 @@
<div class="collapse navbar-collapse">
<div class="btn-group">
<!-- Downloads -->
- <a class="btn navbar-link" title="Downloads and Uploads" href="amuleweb-main-dload.php">
+ <a class="btn navbar-link" title="下载和上传" href="amuleweb-main-dload.php">
<span class="glyphicon glyphicon-transfer"></span>
- <div style="font-size:9px"><br>Transfer</div>
+ <div style="font-size:9px"><br>传输</div>
</a>
<!-- Shared -->
- <a class="btn navbar-link" title="Sharing" href="amuleweb-main-shared.php">
+ <a class="btn navbar-link" title="分享" href="amuleweb-main-shared.php">
<span class="glyphicon glyphicon-share"></span>
- <div style="font-size:9px"><br>Shared</div>
+ <div style="font-size:9px"><br>分享</div>
</a>
<!-- Search -->
- <a class="btn navbar-link" title="Search" href="amuleweb-main-search.php">
+ <a class="btn navbar-link" title="搜索" href="amuleweb-main-search.php">
<span class="glyphicon glyphicon-search"></span>
- <div style="font-size:9px"><br>Search</div>
+ <div style="font-size:9px"><br>搜索</div>
</a>
<!-- Servers -->
- <a class="btn navbar-link" title="Servers" href="amuleweb-main-servers.php">
+ <a class="btn navbar-link" title="服务器" href="amuleweb-main-servers.php">
<span class="glyphicon glyphicon-tasks"></span>
- <div style="font-size:9px"><br>Server</div>
+ <div style="font-size:9px"><br>服务器</div>
</a>
<!-- Kad -->
@@ -291,29 +291,29 @@
</a>
<!-- Stats -->
- <a class="btn navbar-link" title="Statistics" href="amuleweb-main-stats.php">
+ <a class="btn navbar-link" title="统计数据" href="amuleweb-main-stats.php">
<span class="glyphicon glyphicon-stats"></span>
- <div style="font-size:9px"><br>Stats</div>
+ <div style="font-size:9px"><br>统计数据</div>
</a>
</div>
<div class="btn-group">
<!-- Configuration -->
- <a class="btn navbar-link" title="Configurations" href="amuleweb-main-prefs.php">
+ <a class="btn navbar-link" title="配置" href="amuleweb-main-prefs.php">
<span class="glyphicon glyphicon-cog"></span>
- <div style="font-size:9px"><br>Settings</div>
+ <div style="font-size:9px"><br>设置</div>
</a>
<!-- Log -->
- <a class="btn navbar-link" title="Log" href="amuleweb-main-log.php">
+ <a class="btn navbar-link" title="日志" href="amuleweb-main-log.php">
<span class="glyphicon glyphicon-flag"></span>
- <div style="font-size:9px"><br>Logs</div>
+ <div style="font-size:9px"><br>日志</div>
</a>
<!-- Exit -->
- <a class="btn navbar-link" title="Exit" href="login.php">
+ <a class="btn navbar-link" title="退出" href="login.php">
<span class="glyphicon glyphicon-off"></span>
- <div style="font-size:9px"><br>Exit</div>
+ <div style="font-size:9px"><br>退出</div>
</a>
</div>
@@ -330,33 +330,33 @@
<div class="panel-body container panel-center">
<div class="form-inline form-tasks">
<div class="btn-group">
- <a class="btn" href="javascript:formCommandSubmit('pause');" title="Pause">
+ <a class="btn" href="javascript:formCommandSubmit('暂停');" title="暂停">
<span class="glyphicon glyphicon-pause"></span>
- <div style="font-size:9px"><br>Pause</div>
+ <div style="font-size:9px"><br>暂停</div>
</a>
- <a class="btn" href="javascript:formCommandSubmit('resume');" title="Resume">
+ <a class="btn" href="javascript:formCommandSubmit('恢复');" title="恢复">
<span class="glyphicon glyphicon-play"></span>
- <div style="font-size:9px"><br>Resume</div>
+ <div style="font-size:9px"><br>恢复</div>
</a>
</div>
<div class="btn-group">
- <a class="btn" href="javascript:formCommandSubmit('priodown');" title="Lower priority">
+ <a class="btn" href="javascript:formCommandSubmit('priodown');" title="较低优先级">
<span class="glyphicon glyphicon-download"></span>
- <div style="font-size:9px"><br>Lower Priority</div>
+ <div style="font-size:9px"><br>较低优先级</div>
</a>
- <a class="btn" href="javascript:formCommandSubmit('cancel');" title="Remove">
+ <a class="btn" href="javascript:formCommandSubmit('cancel');" title="删除">
<span class="glyphicon glyphicon-remove-circle"></span>
- <div style="font-size:9px"><br>Remove</div>
+ <div style="font-size:9px"><br>删除</div>
</a>
- <a class="btn" href="javascript:formCommandSubmit('prioup');" title="Higher priority">
+ <a class="btn" href="javascript:formCommandSubmit('prioup');" title="更高优先级">
<span class="glyphicon glyphicon-upload"></span>
- <div style="font-size:9px"><br>High Priority</div>
+ <div style="font-size:9px"><br>高优先级</div>
</a>
</div>
<!-- Inserting filtering php -->
<div class="btn-group">
<?php
- $all_status = array("all", "Waiting", "Paused", "Downloading");
+ $all_status = array("全部", "等待", "已暂停", "正在下载");
if ( $HTTP_GET_VARS["command"] == "filter") {
$_SESSION["filter_status"] = $HTTP_GET_VARS["status"];
$_SESSION["filter_cat"] = $HTTP_GET_VARS["category"];
@@ -380,11 +380,11 @@
?>
<a class="btn btn-filter" href="javascript:formCommandSubmit('filter');" title="Filter">
<span class="glyphicon glyphicon-filter"></span>
- <div style="font-size:9px"><br>Filter</div>
+ <div style="font-size:9px"><br>筛选</div>
</a>
<?php
if ($_SESSION["guest_login"] != 0) {
- echo '<br><br><span class="label label-warning">You logged in as guest - commands are disabled</span>';
+ echo '<br><br><span class="label label-warning">您以访客身份登录 - 命令被禁用</span>';
}
?>
</div>
@@ -397,18 +397,18 @@
<!-- Table Download -->
<div class="panel" style="margin-bottom: 10px;">
- <div class="panel-heading panel-center"><h4>DOWNLOAD</h4></div>
+ <div class="panel-heading panel-center"><h4>下载</h4></div>
<table class="table">
<thead>
<tr>
- <th><a href="amuleweb-main-dload.php?sort=name">File name</a></th>
- <th><a href="amuleweb-main-dload.php?sort=size">Size</a></th>
- <th><a href="amuleweb-main-dload.php?sort=size_done">Completed</a></th>
- <th><a href="amuleweb-main-dload.php?sort=speed">Speed</a></th>
- <th><a href="amuleweb-main-dload.php?sort=progress">Progress</a></th>
- <th><a href="amuleweb-main-dload.php?sort=srccount">Sources</a></th>
- <th><a href="amuleweb-main-dload.php?sort=status">Status</a></th>
- <th><a href="amuleweb-main-dload.php?sort=prio">Priority</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=name">文件名</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=size">大小</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=size_done">完整</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=speed">速度</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=progress">进度</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=srccount">来源</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=status">状态</a></th>
+ <th><a href="amuleweb-main-dload.php?sort=prio">优先</a></th>
</tr>
</thead>
<tbody>
@@ -429,11 +429,11 @@
function StatusString($file) {
if ( $file->status == 7 ) {
- return '<span class="label label-info" style="font-size:12px; padding-top:3.6px;">Paused</span>';
+ return '<span class="label label-info" style="font-size:12px; padding-top:3.6px;">已暂停</span>';
} elseif ( $file->src_count_xfer > 0 ) {
- return '<span class="label label-success" style="font-size:12px;">Downloading</span>';
+ return '<span class="label label-success" style="font-size:12px;">正在下载</span>';
} else {
- return '<span class="label label-warning" style="font-size:12px;">Waiting</span>';
+ return '<span class="label label-warning" style="font-size:12px;">等待</span>';
}
}
@@ -605,7 +605,7 @@
}
if (count($downloads)>0) {
print "<tr>";
- echo "<td style='font-size:12px;color:#c9c9c9;padding-bottom:0;text-align: right;padding-right: 20px;'>Total</td>";
+ echo "<td style='font-size:12px;color:#c9c9c9;padding-bottom:0;text-align: right;padding-right: 20px;'>全部的</td>";
echo "<td style='font-size:12px;color:#c9c9c9;padding-bottom:0;'>", CastToXBytes($countSize, $fakevar), "</td>";
echo "<td style='font-size:12px;color:#c9c9c9;padding-bottom:0;'>", CastToXBytes($countCompleted, $fakevar), " (",
((float)$countCompleted*100)/((float)$countSize), "%)</td>";
@@ -624,15 +624,15 @@
<!-- Table Upload -->
<div class="panel" style="margin-bottom: 60px;background-color:#39425f;">
- <div class="panel-heading panel-center" style="background-color:#319a9b;"><h4>UPLOAD</h4></div>
+ <div class="panel-heading panel-center" style="background-color:#319a9b;"><h4>上传</h4></div>
<table class="table">
<thead>
<tr>
- <th style="color:#4db6ac">File Name</th>
- <th style="color:#4db6ac">Username</th>
- <th style="color:#4db6ac">Up</th>
- <th style="color:#4db6ac">Down</th>
- <th style="color:#4db6ac">Speed</th>
+ <th style="color:#4db6ac">文件名</th>
+ <th style="color:#4db6ac">用户名</th>
+ <th style="color:#4db6ac">上传</th>
+ <th style="color:#4db6ac">下载</th>
+ <th style="color:#4db6ac">速度</th>
</tr>
</thead>
<tbody>
@@ -709,7 +709,7 @@
<div class="col-md-5">
<form name="formlink" method="post" class="form-inline" action="amuleweb-main-dload.php" role="form" id="formed2link">
<div class="btn-group">
- <input class="form-control btn-group" name="ed2klink" type="text" id="ed2klink" placeholder="ed2k:// - Insert link" style="border-top-right-radius: 0px; border-bottom-right-radius: 0px; height: 30px;" size="25">
+ <input class="form-control btn-group" name="ed2klink" type="text" id="ed2klink" placeholder="ed2k:// - 添加链接" style="border-top-right-radius: 0px; border-bottom-right-radius: 0px; height: 30px;" size="25">
<select class="form-control btn-group" name="selectcat" id="selectcat" style="height: 30px;">
<?php
@@ -737,7 +737,7 @@
}
?>
</select>
- <input class="btn btn-default btn-group" type="submit" name="Submit" value="Download link" onClick="amuleweb-main-dload.php" style="height: 30px;">
+ <input class="btn btn-default btn-group" type="submit" name="Submit" value="下载链接" onClick="amuleweb-main-dload.php" style="height: 30px;">
</div>
</form>
</div>
@@ -746,17 +746,17 @@
<?php
$stats = amule_get_stats();
if ( $stats["id"] == 0 ) {
- $ed2k = "Not connected";
+ $ed2k = "未连接";
$ed2k_status = "danger";
} elseif ( $stats["id"] == 0xffffffff ) {
- $ed2k = "Connecting ...";
+ $ed2k = "正在连接...";
$ed2k_status = "info";
} else {
- $ed2k = "Connected " . (($stats["id"] < 16777216) ? "(low)" : "(high)") . " " . $stats["serv_name"] . " " . $stats["serv_addr"];
+ $ed2k = "连接的 " . (($stats["id"] < 16777216) ? "(low)" : "(high)") . " " . $stats["serv_name"] . " " . $stats["serv_addr"];
$ed2k_status = (($stats["id"] < 16777216) ? "warning" : "success");
}
if ( $stats["kad_connected"] == 1 ) {
- $kad1 = "Connected";
+ $kad1 = "连接的";
if ( $stats["kad_firewalled"] == 1 ) {
$kad2 = "(FW)";
$kad_status = "warning";
@@ -765,7 +765,7 @@
$kad_status = "success";
}
} else {
- $kad1 = "Disconnected";
+ $kad1 = "已断开连接";
$kad2 = "";
$kad_status = "danger";
}
diff -ruN a/AmuleWebUI-Reloaded/amuleweb-main-kad.php b/AmuleWebUI-Reloaded/amuleweb-main-kad.php
--- a/AmuleWebUI-Reloaded/amuleweb-main-kad.php 2022-09-23 22:05:06.000000000 +0800
+++ b/AmuleWebUI-Reloaded/amuleweb-main-kad.php 2023-06-27 21:21:56.330998064 +0800
@@ -13,7 +13,7 @@
?>
<!-- Inclusion of bootstrap css -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
+ <script src="//ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" integrity="sha384-7tY7Dc2Q8WQTKGz2Fa0vC4dWQo07N4mJjKvHfIGnxuC4vPqFGFQppd9b3NWpf18/" crossorigin="anonymous">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" integrity="sha384-BD3p+z3TqIhBK2OaMBRzK4Nz02t4OQcwrEkJxy3PAqU2Rwm1giS6RCgvBDk6+iPH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
@@ -195,7 +195,7 @@
function formCommandSubmit(command)
{
if ( command == "cancel" ) {
- var res = confirm("Delete selected files ?")
+ var res = confirm("删除选定的文件?")
if ( res == false ) {
return;
}
@@ -203,7 +203,7 @@
if ( command != "filter" ) {
<?php
if ($_SESSION["guest_login"] != 0) {
- echo 'alert("You logged in as guest - commands are disabled");';
+ echo 'alert("您以访客身份登录 - 命令被禁用");';
echo "return;";
}
?>
@@ -227,24 +227,24 @@
<div class="collapse navbar-collapse">
<div class="btn-group">
<!-- Downloads -->
- <a class="btn navbar-link" title="Downloads and Uploads" href="amuleweb-main-dload.php">
+ <a class="btn navbar-link" title="下载和上传" href="amuleweb-main-dload.php">
<span class="glyphicon glyphicon-transfer"></span>
- <div style="font-size:9px"><br>Transfer</div>
+ <div style="font-size:9px"><br>传输</div>
</a>
<!-- Shared -->
- <a class="btn navbar-link" title="Sharing" href="amuleweb-main-shared.php">
+ <a class="btn navbar-link" title="分享" href="amuleweb-main-shared.php">
<span class="glyphicon glyphicon-share"></span>
- <div style="font-size:9px"><br>Shared</div>
+ <div style="font-size:9px"><br>分享</div>
</a>
<!-- Search -->
- <a class="btn navbar-link" title="Search" href="amuleweb-main-search.php">
+ <a class="btn navbar-link" title="搜索" href="amuleweb-main-search.php">
<span class="glyphicon glyphicon-search"></span>
- <div style="font-size:9px"><br>Search</div>
+ <div style="font-size:9px"><br>搜索</div>
</a>
<!-- Servers -->
- <a class="btn navbar-link" title="Servers" href="amuleweb-main-servers.php">
+ <a class="btn navbar-link" title="服务器" href="amuleweb-main-servers.php">
<span class="glyphicon glyphicon-tasks"></span>
- <div style="font-size:9px"><br>Server</div>
+ <div style="font-size:9px"><br>服务器</div>
</a>
<!-- Kad -->
<a class="btn navbar-link" title="Kademlia" href="amuleweb-main-kad.php">
@@ -252,26 +252,26 @@
<div style="font-size:9px"><br>Kad</div>
</a>
<!-- Stats -->
- <a class="btn navbar-link" title="Statistics" href="amuleweb-main-stats.php">
+ <a class="btn navbar-link" title="统计数据" href="amuleweb-main-stats.php">
<span class="glyphicon glyphicon-stats"></span>
- <div style="font-size:9px"><br>Stats</div>
+ <div style="font-size:9px"><br>统计数据</div>
</a>
</div>
<div class="btn-group">
<!-- Configuration -->
- <a class="btn navbar-link" title="Configurations" href="amuleweb-main-prefs.php">
+ <a class="btn navbar-link" title="配置" href="amuleweb-main-prefs.php">
<span class="glyphicon glyphicon-cog"></span>
- <div style="font-size:9px"><br>Settings</div>
+ <div style="font-size:9px"><br>设置</div>
</a>
<!-- Log -->
- <a class="btn navbar-link" title="Log" href="amuleweb-main-log.php">
+ <a class="btn navbar-link" title="日志" href="amuleweb-main-log.php">
<span class="glyphicon glyphicon-flag"></span>
- <div style="font-size:9px"><br>Logs</div>
+ <div style="font-size:9px"><br>日志</div>
</a>
<!-- Exit -->
- <a class="btn navbar-link" title="Exit" href="login.php">
+ <a class="btn navbar-link" title="退出" href="login.php">
<span class="glyphicon glyphicon-off"></span>
- <div style="font-size:9px"><br>Exit</div>
+ <div style="font-size:9px"><br>退出</div>
</a>
</div>
</div>
@@ -285,7 +285,7 @@
<div class="panel-body container panel-center">
<div class="form-inline form-tasks">
<div class="btn-group">
- <label class="control-label form-control btn-group" id="text-label" style="background-color:#39425f;"><b style="color:#4db6ac">Bootstrap from Node</b></label>
+ <label class="control-label form-control btn-group" id="text-label" style="background-color:#39425f;"><b style="color:#4db6ac">从节点引导</b></label>
<input class="form-control btn-group" style="background-color:#ffffff;" type="text" name="ip3" maxlength="3" id="ip-text" placeholder="255">
<label class="control-label form-control btn-group" style="background-color:#ffffff;" id="ip-label">.</label>
<input class="form-control btn-group" style="background-color:#ffffff;" type="text" name="ip2" maxlength="3" id="ip-text" placeholder="255">
@@ -294,8 +294,8 @@
<label class="control-label form-control btn-group" style="background-color:#ffffff;" id="ip-label">.</label>
<input class="form-control btn-group" style="background-color:#ffffff;" type="text" name="ip0" maxlength="3" id="ip-text" placeholder="255">
<label class="control-label form-control btn-group" style="background-color:#ffffff;" id="ip-label">:</label>
- <input class="form-control btn-group" style="background-color:#ffffff;" type="text" name="port" id="port-text" maxlength="5" placeholder="Port">
- <input class="btn btn-warning btn-group" type="submit" name="Submit" value="Connect">
+ <input class="form-control btn-group" style="background-color:#ffffff;" type="text" name="port" id="port-text" maxlength="5" placeholder="端口">
+ <input class="btn btn-warning btn-group" type="submit" name="Submit" value="连接">
</div>
</div>
</div>
@@ -305,23 +305,23 @@
<!-- BEGIN OF CENTRAL BODY -->
<div class="container-fluid panel-tr" style="margin-bottom: 60px;">
<div class="panel">
- <div class="panel-heading panel-center"><h4>KAD STATUS</h4></div>
+ <div class="panel-heading panel-center"><h4>KAD 状态</h4></div>
<?php
function print_table($kad1, $kad2) {
echo '<table class="table status-table" style="width:auto; margin: 0 auto; margin-bottom: 15px; margin-top:15px;">
<thead>
<tr>
- <th>Parameter</th>
- <th>Status</th>
+ <th>范围</th>
+ <th>状态</th>
</tr>
</thead>
<tbody>
<tr>
- <td>Connection</td>
+ <td>网络连接</td>
<td>'.$kad1.'</td>
</tr>
<tr>
- <td>Firewall</td>
+ <td>防火墙</td>
<td>'.$kad2.'</td>
</tr>
<tr>
@@ -338,12 +338,12 @@
if ($status["kad_firewalled"] == 0) { return '<span class="label label-success">OK</span>'; }
else { return '<span class="label label-warning">OK</span>'; }
} else {
- return '<span class="label label-danger">ERROR</span>';
+ return '<span class="label label-danger">错误</span>';
}
}
function print_kad2($status) {
if ($status["kad_firewalled"] == 0) { return '<span class="label label-success">OK</span>'; }
- else { return '<span class="label label-danger">ERROR</span>'; }
+ else { return '<span class="label label-danger">错误</span>'; }
}
$stats = amule_get_stats();
@@ -363,7 +363,7 @@
<div class="col-md-5">
<form name="formlink" method="post" class="form-inline" action="amuleweb-main-kad.php" role="form" id="formed2link">
<div class="btn-group">
- <input class="form-control btn-group" name="ed2klink" type="text" id="ed2klink" placeholder="ed2k:// - Insert link" style="border-top-right-radius: 0px; border-bottom-right-radius: 0px; height: 30px;" size="25">
+ <input class="form-control btn-group" name="ed2klink" type="text" id="ed2klink" placeholder="ed2k:// - 添加链接" style="border-top-right-radius: 0px; border-bottom-right-radius: 0px; height: 30px;" size="25">
<select class="form-control btn-group" name="selectcat" id="selectcat" style="height: 30px;">
<?php
$cats = amule_get_categories();
@@ -390,7 +390,7 @@
?>
</select>
- <input class="btn btn-default btn-group" type="submit" name="Submit" value="Download link" onClick="amuleweb-main-dload.php" style="height: 30px;">
+ <input class="btn btn-default btn-group" type="submit" name="Submit" value="下载链接" onClick="amuleweb-main-dload.php" style="height: 30px;">
</div>
</form>
</div>
@@ -399,26 +399,26 @@
<?php
$stats = amule_get_stats();
if ( $stats["id"] == 0 ) {
- $ed2k = "Not connected";
+ $ed2k = "未连接";
$ed2k_status = "danger";
} elseif ( $stats["id"] == 0xffffffff ) {
- $ed2k = "Connecting ...";
+ $ed2k = "正在连接...";
$ed2k_status = "info";
} else {
- $ed2k = "Connected " . (($stats["id"] < 16777216) ? "(low)" : "(high)") . " " . $stats["serv_name"] . " " . $stats["serv_addr"];
+ $ed2k = "连接的 " . (($stats["id"] < 16777216) ? "(low)" : "(high)") . " " . $stats["serv_name"] . " " . $stats["serv_addr"];
$ed2k_status = (($stats["id"] < 16777216) ? "warning" : "success");
}
if ( $stats["kad_connected"] == 1 ) {
- $kad1 = "Connected";
+ $kad1 = "连接的";
if ( $stats["kad_firewalled"] == 1 ) {
$kad2 = "(FW)";
- $kad_status = "warning";
+ $kad_status = "警告";
} else {
$kad2 = "(OK)";
- $kad_status = "success";
+ $kad_status = "成功";
}
} else {
- $kad1 = "Disconnected";
+ $kad1 = "已断开连接";
$kad2 = "";
$kad_status = "danger";
}
diff -ruN a/AmuleWebUI-Reloaded/amuleweb-main-log.php b/AmuleWebUI-Reloaded/amuleweb-main-log.php
--- a/AmuleWebUI-Reloaded/amuleweb-main-log.php 2022-09-23 22:05:06.000000000 +0800
+++ b/AmuleWebUI-Reloaded/amuleweb-main-log.php 2023-06-27 21:21:56.334997950 +0800
@@ -12,7 +12,7 @@
?>
<!-- Inclusion of bootstrap css -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
+ <script src="//ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" integrity="sha384-7tY7Dc2Q8WQTKGz2Fa0vC4dWQo07N4mJjKvHfIGnxuC4vPqFGFQppd9b3NWpf18/" crossorigin="anonymous">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" integrity="sha384-BD3p+z3TqIhBK2OaMBRzK4Nz02t4OQcwrEkJxy3PAqU2Rwm1giS6RCgvBDk6+iPH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
@@ -183,25 +183,25 @@
<div class="collapse navbar-collapse">
<div class="btn-group">
<!-- Downloads -->
- <a class="btn navbar-link" title="Downloads and Uploads" href="amuleweb-main-dload.php">
+ <a class="btn navbar-link" title="下载和上传" href="amuleweb-main-dload.php">
<span class="glyphicon glyphicon-transfer"></span>
- <div style="font-size:9px"><br>Transfer</div>
+ <div style="font-size:9px"><br>传输</div>
</a>
<!-- Shared -->
- <a class="btn navbar-link" title="Sharing" href="amuleweb-main-shared.php">
+ <a class="btn navbar-link" title="分享" href="amuleweb-main-shared.php">
<span class="glyphicon glyphicon-share"></span>
- <div style="font-size:9px"><br>Shared</div>
+ <div style="font-size:9px"><br>分享</div>
</a>
<!-- Search -->
- <a class="btn navbar-link" title="Search" href="amuleweb-main-search.php">
+ <a class="btn navbar-link" title="搜索" href="amuleweb-main-search.php">
<span class="glyphicon glyphicon-search"></span>
- <div style="font-size:9px"><br>Search</div>
+ <div style="font-size:9px"><br>搜索</div>
</a>
<!-- Servers -->
- <a class="btn navbar-link" title="Servers" href="amuleweb-main-servers.php">
+ <a class="btn navbar-link" title="服务器" href="amuleweb-main-servers.php">
<span class="glyphicon glyphicon-tasks"></span>
- <div style="font-size:9px"><br>Server</div>
+ <div style="font-size:9px"><br>服务器</div>
</a>
<!-- Kad -->
<a class="btn navbar-link" title="Kademlia" href="amuleweb-main-kad.php">
@@ -209,26 +209,26 @@
<div style="font-size:9px"><br>Kad</div>
</a>
<!-- Stats -->
- <a class="btn navbar-link" title="Statistics" href="amuleweb-main-stats.php">
+ <a class="btn navbar-link" title="统计数据" href="amuleweb-main-stats.php">
<span class="glyphicon glyphicon-stats"></span>
- <div style="font-size:9px"><br>Stats</div>
+ <div style="font-size:9px"><br>统计数据</div>
</a>
</div>
<div class="btn-group">
<!-- Configuration -->
- <a class="btn navbar-link" title="Configurations" href="amuleweb-main-prefs.php">
+ <a class="btn navbar-link" title="配置" href="amuleweb-main-prefs.php">
<span class="glyphicon glyphicon-cog"></span>
- <div style="font-size:9px"><br>Settings</div>
+ <div style="font-size:9px"><br>设置</div>
</a>
<!-- Log -->
- <a class="btn navbar-link" title="Log" href="amuleweb-main-log.php">
+ <a class="btn navbar-link" title="日志" href="amuleweb-main-log.php">
<span class="glyphicon glyphicon-flag"></span>
- <div style="font-size:9px"><br>Logs</div>
+ <div style="font-size:9px"><br>日志</div>
</a>
<!-- Exit -->
- <a class="btn navbar-link" title="Exit" href="login.php">
+ <a class="btn navbar-link" title="退出" href="login.php">
<span class="glyphicon glyphicon-off"></span>
- <div style="font-size:9px"><br>Exit</div>
+ <div style="font-size:9px"><br>退出</div>
</a>
</div>
</div>
@@ -243,15 +243,15 @@
<div class="form-inline form-tasks">
<div class="btn-group">
<a class="btn btn-default btn-group" href="amuleweb-main-log.php">
- <span class="glyphicon glyphicon-refresh"></span> Refresh Log
+ <span class="glyphicon glyphicon-refresh"></span> 刷新日志
</a>
</div>
<div class="btn-group">
- <b class="btn btn-group" style="background-color:#ef5350" href="amuleweb-main-log.php?rstlog=1" onclick="return confirm('Do you really want to RESET aMule log?')">
- <span class="glyphicon glyphicon-floppy-remove" style="color:#ffffff"></span> Clear aMule Log
+ <b class="btn btn-group" style="background-color:#ef5350" href="amuleweb-main-log.php?rstlog=1" onclick="return confirm('您真的要重置 aMule 日志吗?')">
+ <span class="glyphicon glyphicon-floppy-remove" style="color:#ffffff"></span> 清除 aMule 日志
</b>
- <b class="btn btn-group" style="background-color:#ef5350" href="amuleweb-main-log.php?rstsrv=1" onclick="return confirm('Do you really want to RESET Server log?')">
- <span class="glyphicon glyphicon-floppy-remove" style="color:#ffffff"></span> Clear Server Log
+ <b class="btn btn-group" style="background-color:#ef5350" href="amuleweb-main-log.php?rstsrv=1" onclick="return confirm('您确实要重置服务器日志吗?')">
+ <span class="glyphicon glyphicon-floppy-remove" style="color:#ffffff"></span> 清除服务器日志
</b>
</div>
</div>
@@ -260,7 +260,7 @@
<div class="container-fluid panel-tr">
<div class="panel">
- <div class="panel-heading panel-center"><h4>AMULE LOG</h4></div>
+ <div class="panel-heading panel-center"><h4>AMULE 日志</h4></div>
<?php
$amulelog = '<pre style="height:300px;background-color:#39425f;color:#ffffff"><code>' . amule_get_log($HTTP_GET_VARS['rstlog']) . '</code></pre>';
echo $amulelog;
@@ -270,7 +270,7 @@
<div class="container-fluid panel-tr" style="margin-bottom:60px;">
<div class="panel">
- <div class="panel-heading panel-center"><h4>SERVER LOG</h4></div>
+ <div class="panel-heading panel-center"><h4>服务器日志</h4></div>
<?php
$serverlog = '<pre style="height:300px;background-color:#39425f;color:#ffffff"><code>' . amule_get_serverinfo($HTTP_GET_VARS['rstsrv']) . '</code></pre>';
echo $serverlog;
@@ -284,7 +284,7 @@
<div class="col-md-5">
<form name="formlink" method="post" class="form-inline" action="amuleweb-main-log.php" role="form" id="formed2link">
<div class="btn-group">
- <input class="form-control btn-group" name="ed2klink" type="text" id="ed2klink" placeholder="ed2k:// - Insert link" style="border-top-right-radius: 0px; border-bottom-right-radius: 0px; height: 30px;" size="25">
+ <input class="form-control btn-group" name="ed2klink" type="text" id="ed2klink" placeholder="ed2k:// - 添加链接" style="border-top-right-radius: 0px; border-bottom-right-radius: 0px; height: 30px;" size="25">
<select class="form-control btn-group" name="selectcat" id="selectcat" style="height: 30px;">
<?php
@@ -313,7 +313,7 @@
?>
</select>
- <input class="btn btn-default btn-group" type="submit" name="Submit" value="Download link" onClick="amuleweb-main-dload.php" style="height: 30px;">
+ <input class="btn btn-default btn-group" type="submit" name="Submit" value="下载链接" onClick="amuleweb-main-dload.php" style="height: 30px;">
</div>
</form>
</div>
@@ -322,26 +322,26 @@
<?php
$stats = amule_get_stats();
if ( $stats["id"] == 0 ) {
- $ed2k = "Not connected";
+ $ed2k = "未连接";
$ed2k_status = "danger";
} elseif ( $stats["id"] == 0xffffffff ) {
- $ed2k = "Connecting ...";
+ $ed2k = "正在连接...";
$ed2k_status = "info";
} else {
- $ed2k = "Connected " . (($stats["id"] < 16777216) ? "(low)" : "(high)") . " " . $stats["serv_name"] . " " . $stats["serv_addr"];
+ $ed2k = "连接的 " . (($stats["id"] < 16777216) ? "(low)" : "(high)") . " " . $stats["serv_name"] . " " . $stats["serv_addr"];
$ed2k_status = (($stats["id"] < 16777216) ? "warning" : "success");
}
if ( $stats["kad_connected"] == 1 ) {
- $kad1 = "Connected";
+ $kad1 = "连接的";
if ( $stats["kad_firewalled"] == 1 ) {
$kad2 = "(FW)";
$kad_status = "warning";
} else {
$kad2 = "(OK)";
- $kad_status = "success";
+ $kad_status = "成功";
}
} else {
- $kad1 = "Disconnected";
+ $kad1 = "已断开连接";
$kad2 = "";
$kad_status = "danger";
}
diff -ruN a/AmuleWebUI-Reloaded/amuleweb-main-prefs.php b/AmuleWebUI-Reloaded/amuleweb-main-prefs.php
--- a/AmuleWebUI-Reloaded/amuleweb-main-prefs.php 2022-09-23 22:05:06.000000000 +0800
+++ b/AmuleWebUI-Reloaded/amuleweb-main-prefs.php 2023-06-27 21:21:56.338997835 +0800
@@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Inclusion of bootstrap css -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
+ <script src="//ajax.lug.ustc.edu.cn/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha384-/Gm+ur33q/W+9ANGYwB2Q4V0ZWApToOzRuA8md/1p9xMMxpqnlguMvk8QuEFWA1B" crossorigin="anonymous"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" integrity="sha384-7tY7Dc2Q8WQTKGz2Fa0vC4dWQo07N4mJjKvHfIGnxuC4vPqFGFQppd9b3NWpf18/" crossorigin="anonymous">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" integrity="sha384-BD3p+z3TqIhBK2OaMBRzK4Nz02t4OQcwrEkJxy3PAqU2Rwm1giS6RCgvBDk6+iPH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
@@ -273,24 +273,24 @@
<div class="collapse navbar-collapse">
<div class="btn-group">
<!-- Downloads -->
- <a class="btn navbar-link" title="Downloads and Uploads" href="amuleweb-main-dload.php">
+ <a class="btn navbar-link" title="下载和上传" href="amuleweb-main-dload.php">
<span class="glyphicon glyphicon-transfer"></span>
- <div style="font-size:9px"><br>Transfer</div>
+ <div style="font-size:9px"><br>传输</div>
</a>
<!-- Shared -->
- <a class="btn navbar-link" title="Sharing" href="amuleweb-main-shared.php">
+ <a class="btn navbar-link" title="分享" href="amuleweb-main-shared.php">
<span class="glyphicon glyphicon-share"></span>
- <div style="font-size:9px"><br>Shared</div>
+ <div style="font-size:9px"><br>分享</div>
</a>
<!-- Search -->
- <a class="btn navbar-link" title="Search" href="amuleweb-main-search.php">
+ <a class="btn navbar-link" title="搜索" href="amuleweb-main-search.php">
<span class="glyphicon glyphicon-search"></span>
- <div style="font-size:9px"><br>Search</div>
+ <div style="font-size:9px"><br>搜索</div>
</a>
<!-- Servers -->
- <a class="btn navbar-link" title="Servers" href="amuleweb-main-servers.php">
+ <a class="btn navbar-link" title="服务器" href="amuleweb-main-servers.php">
<span class="glyphicon glyphicon-tasks"></span>
- <div style="font-size:9px"><br>Server</div>
+ <div style="font-size:9px"><br>服务器</div>
</a>
<!-- Kad -->
<a class="btn navbar-link" title="Kademlia" href="amuleweb-main-kad.php">
@@ -298,26 +298,26 @@
<div style="font-size:9px"><br>Kad</div>
</a>
<!-- Stats -->
- <a class="btn navbar-link" title="Statistics" href="amuleweb-main-stats.php">
+ <a class="btn navbar-link" title="统计数据" href="amuleweb-main-stats.php">
<span class="glyphicon glyphicon-stats"></span>
- <div style="font-size:9px"><br>Stats</div>
+ <div style="font-size:9px"><br>统计数据</div>
</a>
</div>
<div class="btn-group">
<!-- Configuration -->
- <a class="btn navbar-link" title="Configurations" href="amuleweb-main-prefs.php">
+ <a class="btn navbar-link" title="配置" href="amuleweb-main-prefs.php">
<span class="glyphicon glyphicon-cog"></span>
- <div style="font-size:9px"><br>Settings</div>
+ <div style="font-size:9px"><br>设置</div>
</a>
<!-- Log -->
- <a class="btn navbar-link" title="Log" href="amuleweb-main-log.php">
+ <a class="btn navbar-link" title="日志" href="amuleweb-main-log.php">
<span class="glyphicon glyphicon-flag"></span>
- <div style="font-size:9px"><br>Logs</div>
+ <div style="font-size:9px"><br>日志</div>
</a>
<!-- Exit -->
- <a class="btn navbar-link" title="Exit" href="login.php">
+ <a class="btn navbar-link" title="退出" href="login.php">
<span class="glyphicon glyphicon-off"></span>
- <div style="font-size:9px"><br>Exit</div>
+ <div style="font-size:9px"><br>退出</div>
</a>
</div>
</div>
@@ -333,10 +333,10 @@
<div class="form-inline form-tasks">
<?php
if ($_SESSION["guest_login"] == 0) {
- echo '<input class="btn btn-warning" type="submit" name="Submit" value="Apply">';
+ echo '<input class="btn btn-warning" type="submit" name="Submit" value="保存">';
} else {
echo '<input class="btn btn-warning" type="submit" name="Submit" value="Apply" disabled>';
- echo '<br><br><span class="label label-warning">You logged in as guest - commands are disabled</span>';
+ echo '<br><br><span class="label label-warning">您以访客身份登录 - 命令被禁用</span>';
}
?>
</div>
@@ -346,10 +346,10 @@
<div class="container-fluid panel-tr" style="margin-bottom:60px;">
<div class="panel">
- <div class="panel-heading panel-center"><h4>PREFERENCES</h4></div>
+ <div class="panel-heading panel-center"><h4>优先</h4></div>
<div style="width:600px; margin: auto; margin-top: 20px;">
- <p><b style="font-size:16px;width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">WEBSERVER</b>
+ <p><b style="font-size:16px;width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">网络服务器</b>
<div class="btn-group form-inline">
<label class="form-control btn-group"
@@ -359,7 +359,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('autorefresh_time')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Page refresh interval
+ 页面刷新间隔
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -374,7 +374,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="use_gzip">
- Use gzip compression
+ 使用gzip压缩
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -382,7 +382,7 @@
width: 100px" disabled="true" name="nothing">
</div></p>
- <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">BANDWIDTH LIMITS</b>
+ <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">带宽限制</b>
<div class="btn-group form-inline">
<label class="form-control btn-group"
@@ -392,7 +392,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('max_down_limit')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Max download rate
+ 最大下载速率
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -407,7 +407,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('max_up_limit')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Max Upload Rate
+ 最大上传速率
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -430,7 +430,7 @@
width: 100px" name="slot_alloc">
</div></p>
- <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">CONNECTION SETTINGS</b>
+ <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">连接设置</b>
<div class="btn-group form-inline">
<label class="form-control btn-group"
@@ -440,7 +440,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('max_conn_total')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Max total connections
+ 最大总连接数
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -455,7 +455,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('max_file_src')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Max sources per file
+ 每个文件的最大源数
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -470,7 +470,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="autoconn_en">
- Autoconnect at startup
+ 启动时自动连接
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -485,7 +485,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="reconn_en">
- Reconnect when connection lost
+ 连接丢失时重新连接
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -493,7 +493,7 @@
width: 100px" disabled="true" name="nothing">
</div></p>
- <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">CONNECTION SETTINGS</b>
+ <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">连接设置</b>
<div class="btn-group form-inline">
<label class="form-control btn-group"
@@ -503,7 +503,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('tcp_port')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- TCP Port
+ TCP 端口
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -518,7 +518,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('udp_port')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- UDP Port
+ UDP 端口
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -533,7 +533,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="udp_dis">
- Disable UDP connections
+ 禁用 UDP 连接
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -541,7 +541,7 @@
width: 100px" disabled="true" name="nothing">
</div></p>
- <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">LINE CAPACITY (STATISTICS)</b>
+ <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">速度限制(统计)</b>
<div class="btn-group form-inline">
<label class="form-control btn-group"
@@ -551,7 +551,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('max_line_down_cap')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Max download rate
+ 最大下载速率
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -566,7 +566,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;" onclick="javascript:focusName('max_line_up_cap')">
<input type="checkbox" class="btn btn-default" name="nothing" disabled>
- Max upload rate
+ 最大上传速率
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -574,7 +574,7 @@
width: 100px" name="max_line_up_cap">
</div></p>
- <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">FILE SETTINGS</b>
+ <p><b style="font-size:16px; width:550px;background-color:#319a9b;color:cfd8dc" class="form-control">文件设置</b>
<div class="btn-group form-inline">
<label class="form-control btn-group"
@@ -585,7 +585,7 @@
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="check_free_space"
onclick="javascript:toggleStatus('check_free_space','min_free_space')">
- Check free minimum space (MB)
+ 检查可用最小空间 (MB)
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -600,7 +600,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="new_files_auto_dl_prio">
- Added download with auto priority
+ 添加自动优先下载
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -615,7 +615,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="new_files_auto_ul_prio">
- New shared files with auto priority
+ 具有自动优先级的新共享文件
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -630,7 +630,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="ich_en">
- I.C.H. active
+ I.C.H. 活跃
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -645,7 +645,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="aich_trust">
- AICH trusts every hash (not recommended)
+ AICH 信任每个哈希值(不推荐)
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -660,7 +660,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="alloc_full_chunks">
- Alloc full chunks for <code>.part</code> files
+ 为 <code>.part</code> 文件分配完整块
</label>
<input type="text" class="btn-group form-control"
style=" border-top-left-radius:0px;
@@ -675,7 +675,7 @@
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;">
<input type="checkbox" class="btn btn-default" name="alloc_full">
- Alloc full disk space for <code>.part</code> files
+ 为 <code>.part</code> 文件分配完整磁盘空间
</label>